mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 09:35:38 -05:00
31 lines
885 B
TypeScript
31 lines
885 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import * as azdata from 'azdata';
|
|
import { SKURecommendation } from './product';
|
|
|
|
export interface Base {
|
|
uuid: string;
|
|
}
|
|
|
|
export interface BaseRequest extends Base { }
|
|
|
|
export interface BaseResponse<T> extends Base {
|
|
error?: string;
|
|
response: T;
|
|
}
|
|
|
|
export interface GatherInformationRequest extends BaseRequest {
|
|
connection: azdata.connection.Connection;
|
|
}
|
|
|
|
export interface SKURecommendations {
|
|
recommendations: SKURecommendation[];
|
|
}
|
|
|
|
export interface GatherInformationResponse extends BaseResponse<SKURecommendations> {
|
|
}
|
|
|