Skip to content

mutationEnvelopeSchema

const mutationEnvelopeSchema: ZodObject<{ baseServerVersion: ZodOptional<ZodString>; clientTimestampUs: ZodString; entityKey: ZodRecord<ZodString, ZodString>; kind: ZodEnum<{ create: "create"; delete: "delete"; update: "update"; }>; mutationId: ZodUUID; mutationSeq: ZodNumber; payload: ZodUnknown; tableName: ZodString; }, $strict>

Defined in: packages/contracts/src/mutation.ts:32