import { GeneratedSchema } from './../foundations/index.js'; import { RoleType } from './custom-types.js'; /** * * @remarks This is a type for database creation. * @see {@link Role} for the original type. */ export type CreateRole = { tenantId?: string; id: string; name: string; description: string; type?: RoleType; /** If the role is the default role for a new user. Should be ignored for `MachineToMachine` roles. */ isDefault?: boolean; }; export type Role = { tenantId: string; id: string; name: string; description: string; type: RoleType; /** If the role is the default role for a new user. Should be ignored for `MachineToMachine` roles. */ isDefault: boolean; }; export type RoleKeys = 'tenantId' | 'id' | 'name' | 'description' | 'type' | 'isDefault'; export declare const Roles: GeneratedSchema;