Variable domainEventSchemaConst
domainEventSchema: ZodObject<
{
agent: ZodOptional<ZodString>;
created_at: ZodString;
event_name: ZodString;
id: ZodString;
idempotency_key: ZodOptional<ZodString>;
org: ZodOptional<ZodString>;
payload: ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>;
sandbox: ZodOptional<ZodString>;
team: ZodOptional<ZodString>;
user: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{
agent?: string;
created_at: string;
event_name: string;
id: string;
idempotency_key?: string;
org?: string;
payload: Record<string, {} | null>;
sandbox?: string;
team?: string;
user?: string;
},
{
agent?: string;
created_at: string;
event_name: string;
id: string;
idempotency_key?: string;
org?: string;
payload: Record<string, {} | null>;
sandbox?: string;
team?: string;
user?: string;
},
> = ...
Runtime validator for DomainEvent.