You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// z.enum(['ASC', 'DESC']).describe('The direction to order by: ASC for ascending, DESC for descending'),
61
-
// )
62
-
// .optional()
63
-
// .describe('An optional object specifying the order of the results, where each key is a column name and the value is the order direction (ASC or DESC). The object can be empty.'),
64
-
filters: z
65
-
.object({
66
-
column: z.string().describe('The column name to filter by'),
.describe('An optional object specifying the order of the results, where each key is a column name and the value is the order direction (ASC or DESC). The object can be empty.'),
.describe('The operator to use for the filter, must be one of the available SQL operators'),
70
-
values: z
71
-
.array(z.string().describe('A value to filter by for the specified column and operator'))
72
-
.describe('The values to filter by for the given column and operator'),
73
-
})
74
-
.array()
75
-
.describe('An array of filter objects, each specifying a column, operator, and values to filter by'),
76
-
}).describe('An object with a single property "filters" that is an array of filters'),
77
-
schemaDescription: 'An array of objects with the following properties: column, operator, value where the operator is one of the SQL operators available',
78
-
output: 'object',
64
+
values: 'string[]',
65
+
}).array(),
66
+
}).describe('An object with filters array and optional orderBy object; each filter has column, operator, and values; orderBy maps column names to sort direction.'),
67
+
description: 'An array of objects with the following properties: column, operator, values where the operator is one of the SQL operators available',
0 commit comments