Skip to content

liveDocOpSchema

const liveDocOpSchema: ZodDiscriminatedUnion<"type", [ZodObject<{ after_block_id: ZodNullable<ZodString>; markdown: ZodString; type: ZodLiteral<"insert">; }, "strip", ZodTypeAny, { after_block_id: string | null; markdown: string; type: "insert"; }, { after_block_id: string | null; markdown: string; type: "insert"; }>, ZodObject<{ block_id: ZodString; markdown: ZodString; type: ZodLiteral<"replace">; }, "strip", ZodTypeAny, { block_id: string; markdown: string; type: "replace"; }, { block_id: string; markdown: string; type: "replace"; }>, ZodObject<{ block_id: ZodString; type: ZodLiteral<"delete">; }, "strip", ZodTypeAny, { block_id: string; type: "delete"; }, { block_id: string; type: "delete"; }>]>

Defined in: tools/src/index.ts:26