fix assistant widget configuration
This commit is contained in:
1 parent
bd3e4c33f3
commit
35673f113e
20 files changed
+762
-12
No files matched your search
@@ -128,5 +128,9 @@ export const addItemToBoardSchema = z.object({
|
||||
boardId: z.string(),
|
||||
kind: zodEnumFromArray(widgetKinds),
|
||||
options: z.record(z.string(), z.unknown()).default({}),
|
||||
integrationIds: z.array(z.string()).default([]),
|
||||
integrationIds: z
|
||||
.array(z.string())
|
||||
.max(32)
|
||||
.refine((ids) => new Set(ids).size === ids.length)
|
||||
.default([]),
|
||||
});
|
||||
Reference in new issue
Block a user