Files
bknd/app/src/core/security/Permission.ts
T

12 lines
193 B
TypeScript

export class Permission<Name extends string = string> {
constructor(public name: Name) {
this.name = name;
}
toJSON() {
return {
name: this.name,
};
}
}