This repository has been archived on 2023-11-06. You can view files and clone it, but cannot push or open issues or pull requests.
lfk-client-node/dist/models/Permission.d.ts
Nicolai Ort 75fa469974
All checks were successful
continuous-integration/drone Build is passing
new lib version [CI SKIP]
2020-12-30 18:01:28 +00:00

25 lines
573 B
TypeScript

export declare type Permission = {
id: number;
target: Permission.target;
action: Permission.action;
};
export declare namespace Permission {
enum target {
RUNNER = "RUNNER",
ORGANISATION = "ORGANISATION",
TEAM = "TEAM",
TRACK = "TRACK",
USER = "USER",
USERGROUP = "USERGROUP",
PERMISSION = "PERMISSION",
STATSCLIENT = "STATSCLIENT"
}
enum action {
GET = "GET",
CREATE = "CREATE",
UPDATE = "UPDATE",
DELETE = "DELETE",
IMPORT = "IMPORT"
}
}