Skip to content

liveOpsResponseSchema

const liveOpsResponseSchema: ZodObject<{ results: ZodArray<ZodUnion<[ZodObject<{ blockIds: ZodArray<ZodString, "many">; ok: ZodLiteral<true>; }, "strip", ZodTypeAny, { blockIds: string[]; ok: true; }, { blockIds: string[]; ok: true; }>, ZodObject<{ error: ZodString; ok: ZodLiteral<false>; }, "strip", ZodTypeAny, { error: string; ok: false; }, { error: string; ok: false; }>]>, "many">; suggestionId: ZodNullable<ZodString>; }, "strip", ZodTypeAny, { results: ({ blockIds: string[]; ok: true; } | { error: string; ok: false; })[]; suggestionId: string | null; }, { results: ({ blockIds: string[]; ok: true; } | { error: string; ok: false; })[]; suggestionId: string | null; }>

Defined in: index.ts:83