Skip to content

activityMessageSchema

const activityMessageSchema: ZodObject<{ summary: ZodObject<{ docName: ZodString; lastEditedAt: ZodNullable<ZodString>; lastEditor: ZodNullable<ZodObject<{ color: ZodOptional<ZodString>; id: ZodString; kind: ZodEnum<["human", "agent"]>; name: ZodString; onBehalfOf: ZodOptional<ZodObject<{ id: ZodString; name: ZodString; }, "strip", ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>>; }, "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<ZodString>; id: ZodString; kind: ZodEnum<[…, …]>; name: ZodString; onBehalfOf: ZodOptional<ZodObject<…, …, …, …, …>>; }, "strip", ZodTypeAny, { color?: string; id: string; kind: "human" | "agent"; name: string; onBehalfOf?: { id: …; name: …; }; }, { color?: string; id: string; kind: "human" | "agent"; name: string; onBehalfOf?: { id: …; name: …; }; }>; approverId: ZodNullable<ZodString>; approverName: ZodNullable<ZodString>; createdAt: ZodString; id: ZodString; }, "strip", ZodTypeAny, { actor: { color?: string; id: string; kind: "human" | "agent"; name: string; onBehalfOf?: { id: string; name: string; }; }; approverId: string | null; approverName: string | null; createdAt: string; id: string; }, { actor: { color?: string; id: string; kind: "human" | "agent"; name: string; onBehalfOf?: { id: string; name: string; }; }; 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: ZodString; name: ZodString; }, "strip", ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>>; }, "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[]; }>; type: ZodLiteral<"activity">; }, "strip", ZodTypeAny, { summary: { 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[]; }; type: "activity"; }, { summary: { 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[]; }; type: "activity"; }>

Defined in: index.ts:913