Kaizen
Browse modulesBookingsbookings/serverSchemas and constants

Variable: bookingPolicyDomainConfigSchema

const bookingPolicyDomainConfigSchema: ZodDefault<ZodObject<{
  effect: ZodDefault<ZodLiteral<"deny">>;
  events: ZodOptional<ZodArray<ZodString>>;
  message: ZodOptional<ZodString>;
}, $strip>>;

Defined in: server/bookings/policy-guards.ts:82

domain_config shape for domain: "bookings" rules. A matched rule DENIES the events it guards; effect is explicit so a future allow/ priority-override semantic stays an additive change. An absent config means "deny the default claim events".