lfk-client-js/dist/models/ResponsePermission.d.ts
Nicolai Ort b9e573311c
All checks were successful
continuous-integration/drone Build is passing
new lib version [CI SKIP]
2021-01-08 19:56:49 +00:00

29 lines
702 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",
SCAN = "SCAN",
STATION = "STATION"
}
enum action {
GET = "GET",
CREATE = "CREATE",
UPDATE = "UPDATE",
DELETE = "DELETE",
IMPORT = "IMPORT"
}
}