RoleLike
RoleLike
Defined in: constants/roles.ts:84
Anything with a code, optionally a name from a DB-backed dynamic
role record. Accepts either a raw string or an object — the
ergonomic shape so the same util works for static codes
(roleLabel('seller')) and dynamic records
(roleLabel(orgRoleRecord)).
Properties
code
code:
string
Defined in: constants/roles.ts:85
name?
optionalname?:string
Defined in: constants/roles.ts:86