Table Designer - Save Changes feature and Editor related features (#17335)

* table designer add/remove row support

* save changes and editor support

* address comments

* fix build error

* including missing change

* lower case request name
This commit is contained in:
Alan Ren
2021-10-11 15:09:25 -07:00
committed by GitHub
parent e5f50499ce
commit ce4459a7b2
23 changed files with 495 additions and 90 deletions

View File

@@ -1015,12 +1015,19 @@ declare module 'azdata' {
*/
getTableDesignerInfo(table: TableInfo): Thenable<TableDesignerInfo>;
/**
*
* Process the table change.
* @param table the table information
* @param data the object contains the state of the table designer
* @param tableChangeInfo the information about the change user made through the UI.
*/
processTableEdit(table: TableInfo, data: DesignerData, tableChangeInfo: DesignerEdit): Thenable<DesignerEditResult>;
/**
* Save the table
* @param table the table information
* @param data the object contains the state of the table designer
*/
saveTable(table: TableInfo, data: DesignerData): Thenable<void>;
}
/**
@@ -1047,6 +1054,10 @@ declare module 'azdata' {
* A boolean value indicates whether a new table is being designed.
*/
isNewTable: boolean;
/**
* If this is not a new table, the id will be set to uniquely identify a table.
*/
id?: string;
/**
* Extension can store additional information that the provider needs to uniquely identify a table.
*/
@@ -1095,7 +1106,8 @@ declare module 'azdata' {
DefaultValue = 'defaultValue',
Length = 'length',
Name = 'name',
Type = 'type'
Type = 'type',
IsPrimaryKey = 'isPrimaryKey'
}
/**
@@ -1229,7 +1241,7 @@ declare module 'azdata' {
/**
* the new value
*/
value: any;
value?: any;
}
/**