Skip to content

canvasReadResponseSchema

const canvasReadResponseSchema: ZodObject<{ connections: ZodArray<ZodObject<{ from: ZodString; id: ZodString; label: ZodString; to: ZodString; }, "strip", ZodTypeAny, { from: string; id: string; label: string; to: string; }, { from: string; id: string; label: string; to: string; }>, "many">; shapes: ZodArray<ZodObject<{ by: ZodNullable<ZodString>; frame: ZodNullable<ZodString>; height: ZodNumber; id: ZodString; label: ZodString; type: ZodString; width: ZodNumber; x: ZodNumber; y: ZodNumber; }, "strip", ZodTypeAny, { by: string | null; frame: string | null; height: number; id: string; label: string; type: string; width: number; x: number; y: number; }, { by: string | null; frame: string | null; height: number; id: string; label: string; type: string; width: number; x: number; y: number; }>, "many">; suggestions: ZodArray<ZodObject<{ actorName: ZodString; approver: ZodOptional<ZodString>; changes: ZodArray<ZodObject<{ id: ZodString; kind: ZodEnum<["added", "changed", "removed"]>; label: ZodString; }, "strip", ZodTypeAny, { id: string; kind: "added" | "changed" | "removed"; label: string; }, { id: string; kind: "added" | "changed" | "removed"; label: string; }>, "many">; id: ZodString; stale: ZodBoolean; }, "strip", ZodTypeAny, { actorName: string; approver?: string; changes: object[]; id: string; stale: boolean; }, { actorName: string; approver?: string; changes: object[]; id: string; stale: boolean; }>, "many">; }, "strip", ZodTypeAny, { connections: object[]; shapes: object[]; suggestions: object[]; }, { connections: object[]; shapes: object[]; suggestions: object[]; }>

Defined in: index.ts:319