Skip to content

AI Assistant: update filterValue command public types#33750

Open
anna-shakhova wants to merge 1 commit into
DevExpress:26_1from
anna-shakhova:26_1__ai_assistant_filter_dts
Open

AI Assistant: update filterValue command public types#33750
anna-shakhova wants to merge 1 commit into
DevExpress:26_1from
anna-shakhova:26_1__ai_assistant_filter_dts

Conversation

@anna-shakhova
Copy link
Copy Markdown
Contributor

No description provided.

@anna-shakhova anna-shakhova self-assigned this May 27, 2026
Copilot AI review requested due to automatic review settings May 27, 2026 14:08
@anna-shakhova anna-shakhova requested a review from a team as a code owner May 27, 2026 14:08
@github-actions github-actions Bot added the .d.ts label May 27, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the public TypeScript types for the AI Assistant filterValue command in DevExtreme grids by switching from nested filter expression objects to an ID-based expression tree model, and propagates the new types through internal AI command code and wrapper re-exports.

Changes:

  • Replaces FilterExprObj with a new FilterExprTree model (rootId + flat nodes) for PredefinedCommands.filterValue.expression.
  • Renames filter expression public types (*Obj → non-Obj) and changes combined/negated expression structure to use *Id references.
  • Updates internal AI assistant filtering command typings and Angular/React/Vue wrapper type re-exports.

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/devextreme/ts/dx.all.d.ts Updates global/public grid type declarations for the new FilterExprTree-based filterValue command.
packages/devextreme/js/common/grids.d.ts Updates the public devextreme/common/grids module types to expose the new filter expression tree model.
packages/devextreme/js/__internal/grids/grid_core/ai_assistant/commands/filtering.ts Switches internal AI filter command typings to import the new public filter tree types.
packages/devextreme-vue/src/common/index.ts Re-exports the renamed/new grid filter expression types in the Vue wrapper surface.
packages/devextreme-vue/src/common/grids.ts Re-exports the renamed/new grid filter expression types from devextreme/common/grids for Vue.
packages/devextreme-react/src/common/index.ts Re-exports the renamed/new grid filter expression types in the React wrapper surface.
packages/devextreme-react/src/common/grids.ts Re-exports the renamed/new grid filter expression types from devextreme/common/grids for React.
packages/devextreme-angular/src/common/index.ts Re-exports the renamed/new grid filter expression types in the Angular wrapper surface.
packages/devextreme-angular/src/common/grids/index.ts Re-exports the renamed/new grid filter expression types from devextreme/common/grids for Angular.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants