src/types/role.type.ts
Properties |
name |
name:
|
Type : string
|
Defined in src/types/role.type.ts:2
|
validationFunction |
validationFunction:
|
Type : function
|
Defined in src/types/role.type.ts:3
|
export interface Role {
name: string;
validationFunction: () => boolean | Promise<boolean>;
}