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/ResponsePermission.d.ts
Nicolai Ort f6c6013368
All checks were successful
continuous-integration/drone Build is passing
new lib version [CI SKIP]
2021-01-03 18:16:14 +00:00

27 lines
650 B
TypeScript

export declare type ResponsePermission = {
id: number;
principal: any;
target: ResponsePermission.target;
action: ResponsePermission.action;
};
export declare namespace ResponsePermission {
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"
}
}