Skip to content

versionResponseSchema

const versionResponseSchema: ZodObject<{ cells: ZodDefault<ZodArray<ZodObject<{ after: ZodString; before: ZodString; cell: ZodString; }, "strip", ZodTypeAny, { after: string; before: string; cell: string; }, { after: string; before: string; cell: string; }>, "many">>; diff: ZodArray<ZodObject<{ after: ZodNullable<ZodObject<{ blockId: ZodString; suggestion: ZodNullable<ZodObject<{ actorId: …; actorName: …; approver: …; approverId: …; id: …; kind: …; }, "strip", ZodTypeAny, { actorId: …; actorName: …; approver?: …; approverId?: …; id: …; kind: …; }, { actorId: …; actorName: …; approver?: …; approverId?: …; id: …; kind: …; }>>; text: ZodString; type: ZodString; }, "strip", ZodTypeAny, { blockId: string; suggestion: { actorId: string; actorName: string; approver?: … | …; approverId?: … | …; id: string; kind: … | …; } | null; text: string; type: string; }, { blockId: string; suggestion: { actorId: string; actorName: string; approver?: … | …; approverId?: … | …; id: string; kind: … | …; } | null; text: string; type: string; }>>; before: ZodNullable<ZodObject<{ blockId: ZodString; suggestion: ZodNullable<ZodObject<{ actorId: …; actorName: …; approver: …; approverId: …; id: …; kind: …; }, "strip", ZodTypeAny, { actorId: …; actorName: …; approver?: …; approverId?: …; id: …; kind: …; }, { actorId: …; actorName: …; approver?: …; approverId?: …; id: …; kind: …; }>>; text: ZodString; type: ZodString; }, "strip", ZodTypeAny, { blockId: string; suggestion: { actorId: string; actorName: string; approver?: … | …; approverId?: … | …; id: string; kind: … | …; } | null; text: string; type: string; }, { blockId: string; suggestion: { actorId: string; actorName: string; approver?: … | …; approverId?: … | …; id: string; kind: … | …; } | null; text: string; type: string; }>>; blockId: ZodString; change: ZodEnum<["added", "removed", "changed", "same"]>; }, "strip", ZodTypeAny, { after: { blockId: string; suggestion: { actorId: string; actorName: string; approver?: string; approverId?: string; id: string; kind: "insert" | "delete"; } | null; text: string; type: string; } | null; before: { blockId: string; suggestion: { actorId: string; actorName: string; approver?: string; approverId?: string; id: string; kind: "insert" | "delete"; } | null; text: string; type: string; } | null; blockId: string; change: "added" | "changed" | "removed" | "same"; }, { after: { blockId: string; suggestion: { actorId: string; actorName: string; approver?: string; approverId?: string; id: string; kind: "insert" | "delete"; } | null; text: string; type: string; } | null; before: { blockId: string; suggestion: { actorId: string; actorName: string; approver?: string; approverId?: string; id: string; kind: "insert" | "delete"; } | null; text: string; type: string; } | null; blockId: string; change: "added" | "changed" | "removed" | "same"; }>, "many">; markdown: ZodString; objects: ZodDefault<ZodArray<ZodObject<{ id: ZodString; kind: ZodEnum<["placed", "moved", "resized", "removed", "minimized", "maximized", "restored"]>; title: ZodString; }, "strip", ZodTypeAny, { id: string; kind: "removed" | "minimized" | "maximized" | "placed" | "moved" | "resized" | "restored"; title: string; }, { id: string; kind: "removed" | "minimized" | "maximized" | "placed" | "moved" | "resized" | "restored"; title: string; }>, "many">>; shapes: ZodDefault<ZodArray<ZodObject<{ id: ZodString; kind: ZodEnum<["added", "changed", "removed"]>; label: ZodString; type: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { id: string; kind: "added" | "changed" | "removed"; label: string; type: string; }, { id: string; kind: "added" | "changed" | "removed"; label: string; type?: string; }>, "many">>; slides: ZodDefault<ZodArray<ZodObject<{ kind: ZodEnum<["added", "removed", "changed"]>; label: ZodString; slide: ZodNullable<ZodString>; target: ZodEnum<["slide", "element", "theme"]>; }, "strip", ZodTypeAny, { kind: "added" | "changed" | "removed"; label: string; slide: string | null; target: "element" | "slide" | "theme"; }, { kind: "added" | "changed" | "removed"; label: string; slide: string | null; target: "element" | "slide" | "theme"; }>, "many">>; uptoId: ZodString; }, "strip", ZodTypeAny, { cells: object[]; diff: object[]; markdown: string; objects: object[]; shapes: object[]; slides: object[]; uptoId: string; }, { cells?: object[]; diff: object[]; markdown: string; objects?: object[]; shapes?: object[]; slides?: object[]; uptoId: string; }>

Defined in: index.ts:790