lfk-client-js/dist/models/CreatePermission.d.ts
Nicolai Ort f2b867cd04
All checks were successful
continuous-integration/drone Build is passing
🚀New lib version v0.0.12 [CI SKIP]
2021-01-13 19:36:10 +00:00

30 lines
735 B
TypeScript

export declare type CreatePermission = {
principal: number;
target: CreatePermission.target;
action: CreatePermission.action;
};
export declare namespace CreatePermission {
enum target {
RUNNER = "RUNNER",
ORGANISATION = "ORGANISATION",
TEAM = "TEAM",
TRACK = "TRACK",
USER = "USER",
USERGROUP = "USERGROUP",
PERMISSION = "PERMISSION",
STATSCLIENT = "STATSCLIENT",
DONOR = "DONOR",
SCAN = "SCAN",
STATION = "STATION",
CARD = "CARD",
DONATION = "DONATION"
}
enum action {
GET = "GET",
CREATE = "CREATE",
UPDATE = "UPDATE",
DELETE = "DELETE",
IMPORT = "IMPORT"
}
}