mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 01:25:37 -05:00
* -Added check all null checkbox * Modified declarative table to add check all columns in the column header * -changed to using existing methods for firing events. * -changed table height to auto -center aligned data in table cell -Check all generates event for only changed values * -changes column header from text to column header (#10787) * This fixes the weird angular stuff - we need to do this in every other component * -added changes made by amir for dom object tracking -added automatic checkall detection. -made text-align center in table cells * -fixed styling issues and issue with checkboxes * -Removed unsued function Co-authored-by: Amir Omidi <amomidi@microsoft.com>
35 lines
941 B
TypeScript
35 lines
941 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';
|
|
|
|
/**
|
|
* The main data model that communicates between the pages.
|
|
*/
|
|
export interface ImportDataModel {
|
|
server: azdata.connection.Connection;
|
|
serverId: string;
|
|
ownerUri: string;
|
|
proseColumns: ColumnMetadata[];
|
|
proseDataPreview: string[][];
|
|
database: string;
|
|
table: string;
|
|
schema: string;
|
|
filePath: string;
|
|
fileType: string;
|
|
}
|
|
|
|
/**
|
|
* Metadata of a column
|
|
*/
|
|
export interface ColumnMetadata {
|
|
columnName: string;
|
|
dataType: string;
|
|
primaryKey: boolean;
|
|
nullable: boolean;
|
|
}
|
|
|
|
export type ColumnMetadataArray = (string | number | boolean)[];
|