Skip to content

Commit edf4797

Browse files
authored
AI Assistant: d.ts leftovers (DevExpress#33658)
1 parent 38bbfcc commit edf4797

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

packages/devextreme/js/common/grids.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export type PredefinedCommands = {
163163
};
164164
columnsReorder: {
165165
dataField: string;
166-
visibleIndex: boolean;
166+
visibleIndex: number;
167167
};
168168
columnsPinning: {
169169
dataField: string;

packages/devextreme/js/ui/data_grid.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export type DataGridScrollMode = 'infinite' | 'standard' | 'virtual';
198198
/** @public */
199199
export type DataGridPredefinedColumnButton = 'cancel' | 'delete' | 'edit' | 'save' | 'undelete';
200200
/** @public */
201-
export type DataGridPredefinedToolbarItem = 'addRowButton' | 'applyFilterButton' | 'columnChooserButton' | 'exportButton' | 'groupPanel' | 'revertButton' | 'saveButton' | 'searchPanel';
201+
export type DataGridPredefinedToolbarItem = 'addRowButton' | 'aiAssistantButton' | 'applyFilterButton' | 'columnChooserButton' | 'exportButton' | 'groupPanel' | 'revertButton' | 'saveButton' | 'searchPanel';
202202

203203
type GroupKey = any[];
204204

packages/devextreme/js/ui/tree_list.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export {
177177
/** @public */
178178
export type TreeListPredefinedColumnButton = 'add' | 'cancel' | 'delete' | 'edit' | 'save' | 'undelete';
179179
/** @public */
180-
export type TreeListPredefinedToolbarItem = 'addRowButton' | 'applyFilterButton' | 'columnChooserButton' | 'revertButton' | 'saveButton' | 'searchPanel';
180+
export type TreeListPredefinedToolbarItem = 'addRowButton' | 'aiAssistantButton' | 'applyFilterButton' | 'columnChooserButton' | 'revertButton' | 'saveButton' | 'searchPanel';
181181
/** @public */
182182
export type TreeListCommandColumnType = 'adaptive' | 'ai' | 'buttons' | 'drag';
183183
/** @public */
@@ -1532,7 +1532,7 @@ export default class dxTreeList<TRowData = any, TKey = any> extends Widget<dxTre
15321532
updateDimensions(): void;
15331533
}
15341534

1535-
type DefaultToolbarItemName = 'addRowButton' | 'applyFilterButton' | 'columnChooserButton' | 'revertButton' | 'saveButton' | 'searchPanel';
1535+
type DefaultToolbarItemName = 'addRowButton' | 'aiAssistantButton' | 'applyFilterButton' | 'columnChooserButton' | 'revertButton' | 'saveButton' | 'searchPanel';
15361536
export type dxTreeListToolbar = Toolbar;
15371537
export type dxTreeListToolbarItem = ToolbarItem;
15381538

packages/devextreme/ts/dx.all.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6555,7 +6555,7 @@ declare module DevExpress.common.grids {
65556555
};
65566556
columnsReorder: {
65576557
dataField: string;
6558-
visibleIndex: boolean;
6558+
visibleIndex: number;
65596559
};
65606560
columnsPinning: {
65616561
dataField: string;
@@ -12970,6 +12970,7 @@ declare module DevExpress.ui {
1297012970
};
1297112971
export type DataGridPredefinedToolbarItem =
1297212972
| 'addRowButton'
12973+
| 'aiAssistantButton'
1297312974
| 'applyFilterButton'
1297412975
| 'columnChooserButton'
1297512976
| 'exportButton'
@@ -32245,6 +32246,7 @@ declare module DevExpress.ui {
3224532246
| 'undelete';
3224632247
export type TreeListPredefinedToolbarItem =
3224732248
| 'addRowButton'
32249+
| 'aiAssistantButton'
3224832250
| 'applyFilterButton'
3224932251
| 'columnChooserButton'
3225032252
| 'revertButton'

0 commit comments

Comments
 (0)