mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 09:35:38 -05:00
skuRecommendationPage & azdata change (#11863)
* skuRecommendationPage * fix
This commit is contained in:
30
extensions/sql-migration/src/models/externalContract.ts
Normal file
30
extensions/sql-migration/src/models/externalContract.ts
Normal 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> {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user