-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Grids AI Assistant: Add (Update) API Descriptions Part 3 #8815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 26_1
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| id: FilterExpr | ||
| module: common/grids | ||
| export: FilterExpr | ||
| type: BasicFilterExpr | CombinedFilterExpr | NegatedFilterExpr | ||
| --- | ||
| --- | ||
| ##### shortDescription | ||
| A DataGrid/TreeList filter expression. | ||
|
|
||
| --- | ||
| **FilterExpr** is a union of multiple types that changes based on the represented filter expression. Refer to the following topics for additional information: | ||
|
|
||
| - [BasicFilterExpr](/api-reference/40%20Common%20Types/15%20grids/BasicFilterExpr '{basewidgetpath}/BasicFilterExpr/') | ||
| - [CombinedFilterExpr](/api-reference/40%20Common%20Types/15%20grids/CombinedFilterExpr '{basewidgetpath}/CombinedFilterExpr/') | ||
| - [NegatedFilterExpr](/api-reference/40%20Common%20Types/15%20grids/NegatedFilterExpr '{basewidgetpath}/NegatedFilterExpr/') | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| --- | ||
| id: FilterExprNode | ||
| module: common/grids | ||
| export: FilterExprNode | ||
| --- | ||
|
arman-boyakhchyan marked this conversation as resolved.
Comment on lines
+1
to
+5
|
||
| --- | ||
| ##### shortDescription | ||
| A node in a filter expression tree ([FilterExprTree]({basewidgetpath}/FilterExprTree/)). | ||
|
|
||
| --- | ||
| This object includes the following fields: | ||
|
|
||
| - **id**: A unique identifier for the node. Nodes reference each other by ID. | ||
| - **expr**: The filter expression ([FilterExpr]({basewidgetpath}/FilterExpr/)). | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,16 @@ | ||||||
| --- | ||||||
| id: FilterExprTree | ||||||
| module: common/grids | ||||||
| export: FilterExprTree | ||||||
| --- | ||||||
|
arman-boyakhchyan marked this conversation as resolved.
Comment on lines
+1
to
+5
|
||||||
| --- | ||||||
| ##### shortDescription | ||||||
| A complex filter expression in a flat data structure. | ||||||
|
|
||||||
| --- | ||||||
| **FilterExprTree** stores a filter expression tree in a flat list instead of a hierarchical structure. A flat data structure ensures broader AI service compatibility for the `filterValue` AI Assistant command. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| This object includes the following fields: | ||||||
|
|
||||||
| - **rootId**: The ID of the root [FilterExprNode]({basewidgetpath}/FilterExprNode/). This node is evaluated first. **rootId** must match the **id** value of an object in the **nodes** array. | ||||||
| - **nodes**: An array of [FilterExprNode]({basewidgetpath}/FilterExprNode/) objects. Each node must have a unique **id**. | ||||||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.