Skip to content

canvasOpsResponseSchema

const canvasOpsResponseSchema: ZodObject<{ results: ZodArray<ZodUnion<[ZodObject<{ humanShapes: ZodOptional<ZodArray<ZodString, "many">>; ids: ZodArray<ZodString, "many">; ok: ZodLiteral<true>; suggested: ZodOptional<ZodBoolean>; }, "strip", ZodTypeAny, { humanShapes?: string[]; ids: string[]; ok: true; suggested?: boolean; }, { humanShapes?: string[]; ids: string[]; ok: true; suggested?: boolean; }>, ZodObject<{ error: ZodString; ok: ZodLiteral<false>; }, "strip", ZodTypeAny, { error: string; ok: false; }, { error: string; ok: false; }>]>, "many">; suggestionId: ZodNullable<ZodString>; }, "strip", ZodTypeAny, { results: ({ humanShapes?: string[]; ids: string[]; ok: true; suggested?: boolean; } | { error: string; ok: false; })[]; suggestionId: string | null; }, { results: ({ humanShapes?: string[]; ids: string[]; ok: true; suggested?: boolean; } | { error: string; ok: false; })[]; suggestionId: string | null; }>

Defined in: index.ts:282