lfk-client-js/dist/models/Permission.d.ts
Nicolai Ort 6c9f6e856d
All checks were successful
continuous-integration/drone Build is passing
new lib version [CI SKIP]
2021-01-03 17:33:51 +00:00

26 lines
598 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",
DONOR = "DONOR"
}
enum action {
GET = "GET",
CREATE = "CREATE",
UPDATE = "UPDATE",
DELETE = "DELETE",
IMPORT = "IMPORT"
}
}