Skip to content

summariesResponseSchema

const summariesResponseSchema: ZodObject<{ summaries: ZodArray<ZodObject<{ docName: ZodString; lastEditedAt: ZodNullable<ZodString>; lastEditor: ZodNullable<ZodObject<{ color: ZodOptional<ZodString>; id: ZodString; kind: ZodEnum<["human", "agent"]>; name: ZodString; onBehalfOf: ZodOptional<ZodObject<{ id: …; name: …; }, "strip", ZodTypeAny, { id: …; name: …; }, { id: …; name: …; }>>; }, "strip", ZodTypeAny, { color?: string; id: string; kind: "human" | "agent"; name: string; onBehalfOf?: { id: string; name: string; }; }, { color?: string; id: string; kind: "human" | "agent"; name: string; onBehalfOf?: { id: string; name: string; }; }>>; pending: ZodArray<ZodObject<{ actor: ZodObject<{ color: ZodOptional<…>; id: ZodString; kind: ZodEnum<…>; name: ZodString; onBehalfOf: ZodOptional<…>; }, "strip", ZodTypeAny, { color?: … | …; id: string; kind: … | …; name: string; onBehalfOf?: … | …; }, { color?: … | …; id: string; kind: … | …; name: string; onBehalfOf?: … | …; }>; approverId: ZodNullable<ZodString>; approverName: ZodNullable<ZodString>; createdAt: ZodString; id: ZodString; }, "strip", ZodTypeAny, { actor: { color?: string; id: string; kind: "human" | "agent"; name: string; onBehalfOf?: { id: …; name: …; }; }; approverId: string | null; approverName: string | null; createdAt: string; id: string; }, { actor: { color?: string; id: string; kind: "human" | "agent"; name: string; onBehalfOf?: { id: …; name: …; }; }; approverId: string | null; approverName: string | null; createdAt: string; id: string; }>, "many">; present: ZodArray<ZodObject<{ color: ZodOptional<ZodString>; id: ZodString; kind: ZodEnum<["human", "agent"]>; name: ZodString; onBehalfOf: ZodOptional<ZodObject<{ id: …; name: …; }, "strip", ZodTypeAny, { id: …; name: …; }, { id: …; name: …; }>>; }, "strip", ZodTypeAny, { color?: string; id: string; kind: "human" | "agent"; name: string; onBehalfOf?: { id: string; name: string; }; }, { color?: string; id: string; kind: "human" | "agent"; name: string; onBehalfOf?: { id: string; name: string; }; }>, "many">; seenAt: ZodDefault<ZodNullable<ZodString>>; writing: ZodArray<ZodObject<{ kind: ZodEnum<["human", "agent"]>; name: ZodString; section: ZodNullable<ZodString>; }, "strip", ZodTypeAny, { kind: "human" | "agent"; name: string; section: string | null; }, { kind: "human" | "agent"; name: string; section: string | null; }>, "many">; }, "strip", ZodTypeAny, { docName: string; lastEditedAt: string | null; lastEditor: { color?: string; id: string; kind: "human" | "agent"; name: string; onBehalfOf?: { id: string; name: string; }; } | null; pending: object[]; present: object[]; seenAt: string | null; writing: object[]; }, { docName: string; lastEditedAt: string | null; lastEditor: { color?: string; id: string; kind: "human" | "agent"; name: string; onBehalfOf?: { id: string; name: string; }; } | null; pending: object[]; present: object[]; seenAt?: string | null; writing: object[]; }>, "many">; }, "strip", ZodTypeAny, { summaries: object[]; }, { summaries: object[]; }>

Defined in: index.ts:896