Type array filter

This commit is contained in:
Adria Navarro 2024-10-10 13:33:27 +02:00
parent 4324d96833
commit e6b3b4f2a1
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export interface PatchRowResponse extends Row {}
// TODO: exclude InternalSearchFilterOperator.COMPLEX_ID_OPERATOR
const stringBasicFilter = z.record(z.string(), z.string())
const basicFilter = z.record(z.string(), z.any())
const arrayFilter = z.any()
const arrayFilter = z.record(z.string(), z.union([z.any().array(), z.string()]))
const logicFilter = z.any()
const stringOrNumber = z.union([z.string(), z.number()])