Skip to content

AccessRoleSchema

katanakit-js / AccessRoleSchema

const AccessRoleSchema: ZodString;

Defined in: schemas/access.schema.ts:34

A role slug: lowercase, and made of alphanumeric words joined by _, . or -. The format is enforced so a typo fails loudly at the schema boundary instead of silently granting nothing.