* feat: getRepository * getRepository return type * export action * add: acl * feat: setResourceAction * feat: action alias * chore: code struct * feat: removeResourceAction * chore: file name * ignorecase * remove ACL * feat: ACL * feat: role toJSON * using emit Co-authored-by: chenos <chenlinxh@gmail.com>
11 lines
270 B
TypeScript
11 lines
270 B
TypeScript
export interface AvailableActionOptions {
|
|
aliases?: string[] | string;
|
|
type: 'new-data' | 'old-data';
|
|
displayName?: string;
|
|
resource?: string;
|
|
}
|
|
|
|
export class AclAvailableAction {
|
|
constructor(private name: string, private options: AvailableActionOptions) {}
|
|
}
|