[Table Designer] Support hash index and column store index (#20562)

This commit is contained in:
Hai Cao
2022-09-08 11:39:36 -07:00
committed by GitHub
parent f38077069c
commit 40b2c1e74e
4 changed files with 56 additions and 16 deletions

View File

@@ -817,6 +817,7 @@ declare module 'azdata' {
ForeignKeys = 'foreignKeys',
CheckConstraints = 'checkConstraints',
Indexes = 'indexes',
PrimaryKey = 'primaryKey',
PrimaryKeyName = 'primaryKeyName',
PrimaryKeyDescription = 'primaryKeyDescription',
PrimaryKeyColumns = 'primaryKeyColumns'
@@ -944,6 +945,10 @@ declare module 'azdata' {
* Additional primary key properties. Common primary key properties: primaryKeyName, primaryKeyDescription.
*/
additionalPrimaryKeyProperties?: DesignerDataPropertyInfo[];
/**
* Components to be placed under the pre-defined tabs.
*/
additionalComponents?: DesignerDataPropertyWithTabInfo[];
/**
* Whether to use advanced save mode. for advanced save mode, a publish changes dialog will be opened with preview of changes.
*/
@@ -1016,6 +1021,16 @@ declare module 'azdata' {
componentProperties: InputBoxProperties | CheckBoxProperties | DropDownProperties | DesignerTableProperties;
}
/**
* The definition of the property in the designer with tab info.
*/
export interface DesignerDataPropertyWithTabInfo extends DesignerDataPropertyInfo {
/**
* The tab info where this property belongs to.
*/
tab: TableProperty.Columns | TableProperty.PrimaryKey | TableProperty.ForeignKeys | TableProperty.CheckConstraints | TableProperty.Indexes;
}
/**
* The child component types supported by designer.
*/