Skip to content

liveWatchClaimsSchema

const liveWatchClaimsSchema: ZodObject<{ actor: 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; }; }>; docNames: ZodArray<ZodString, "many">; scope: ZodLiteral<"watch">; watchId: ZodString; workspaceId: ZodString; }, "strip", ZodTypeAny, { actor: { color?: string; id: string; kind: "human" | "agent"; name: string; onBehalfOf?: { id: string; name: string; }; }; docNames: string[]; scope: "watch"; watchId: string; workspaceId: string; }, { actor: { color?: string; id: string; kind: "human" | "agent"; name: string; onBehalfOf?: { id: string; name: string; }; }; docNames: string[]; scope: "watch"; watchId: string; workspaceId: string; }>

Defined in: index.ts:851