lfk-client-js/dist/models/Permission.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
704 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",
SCAN = "SCAN",
STATION = "STATION",
CARD = "CARD",
DONATION = "DONATION"
}
enum action {
GET = "GET",
CREATE = "CREATE",
UPDATE = "UPDATE",
DELETE = "DELETE",
IMPORT = "IMPORT"
}
}