mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-03 16:46:00 +00:00
public commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export class Permission<Name extends string = string> {
|
||||
constructor(public name: Name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
toJSON() {
|
||||
return {
|
||||
name: this.name
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user