skuRecommendationPage & azdata change (#11863)

* skuRecommendationPage

* fix
This commit is contained in:
Amir Omidi
2020-08-19 13:04:08 -07:00
committed by GitHub
parent 97b6d71a06
commit d2e4eeac88
9 changed files with 244 additions and 34 deletions

View File

@@ -0,0 +1,30 @@
/*---------------------------------------------------------------------------------------------
* 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> {
}