Skip to content

Commit 5f2d993

Browse files
authored
AI Assistant: Schema fix (DevExpress#33649)
1 parent 582c167 commit 5f2d993

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/devextreme/js/__internal/grids/grid_core/ai_assistant/commands

packages/devextreme/js/__internal/grids/grid_core/ai_assistant/commands/selection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const selectByKeysCommand = defineGridCommand({
4444
});
4545

4646
const selectByIndexesCommandSchema = z.object({
47-
indexes: z.array(z.number().int().positive()).min(1),
47+
indexes: z.array(z.number().int().min(1)).min(1),
4848
}).strict();
4949

5050
export const selectByIndexesCommand = defineGridCommand({

0 commit comments

Comments
 (0)