Add filters to search record action (#12481)

First PR to add filters to send records. Lot of work left, but I want to
split. I mainly want to validate the architecture there.


https://github.com/user-attachments/assets/63375a75-ba88-49df-8c12-5e3e58de5342

TODO in next PRs:
- fix design
- make filters reliable. Some composite fields are not implemented and
some fields like datetime do not work well
- improve typing
This commit is contained in:
Thomas Trompette
2025-06-06 14:29:53 +02:00
committed by GitHub
parent b85ea721e5
commit 0188b66280
17 changed files with 568 additions and 15 deletions

View File

@ -80,6 +80,13 @@ export const workflowFindRecordsActionSettingsSchema =
input: z.object({
objectName: z.string(),
limit: z.number().optional(),
filter: z
.object({
recordFilterGroups: z.array(z.object({})).optional(),
recordFilters: z.array(z.object({})).optional(),
gqlOperationFilter: z.object({}).optional().nullable(),
})
.optional(),
}),
});