Files
azuredatastudio/extensions/machine-learning/src/prediction/interfaces.ts
Leila Lali eec6f64d62 ML - Bug fixing (#13018)
* Fixing couple of bugs
2020-10-26 17:36:37 -07:00

30 lines
902 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export interface TableColumn {
columnName: string;
dataType?: string;
maxLength?: number;
}
export interface PredictColumn extends TableColumn {
paramName?: string;
paramType?: string;
}
export interface DatabaseTable {
databaseName: string | undefined;
tableName: string | undefined;
schema: string | undefined
}
export interface PredictInputParameters extends DatabaseTable {
inputColumns: PredictColumn[] | undefined
}
export interface PredictParameters extends PredictInputParameters {
outputColumns: PredictColumn[] | undefined
}