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/Permission.d.ts
Nicolai Ort f9aa86b553
All checks were successful
continuous-integration/drone Build is passing
🚀New lib version [CI SKIP]
2023-02-02 09:47:35 +00:00

32 lines
748 B
TypeScript

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