@tmlmobilidade/lib
Version:
116 lines (115 loc) • 2.72 kB
TypeScript
export declare const ALLOW_ALL_FLAG = "allow_all";
export declare const Permissions: Readonly<{
agencies: {
actions: {
create: string;
delete: string;
read: string;
toggle_lock: string;
update: string;
};
resources: {};
scope: string;
};
alerts: {
actions: {
create: string;
delete: string;
read: string;
toggle_lock: string;
update: string;
};
resources: {};
scope: string;
};
alerts_realtime: {
actions: {
create: string;
delete: string;
read: string;
toggle_lock: string;
update: string;
};
resources: {
agency_ids: import("zod").ZodArray<import("zod").ZodString, "many">;
};
scope: string;
};
home: {
actions: {
read_links: string;
read_wiki: string;
};
resources: {};
scope: string;
};
plans: {
actions: {
create: string;
delete: string;
read: string;
read_controller: string;
read_pcgi_legacy: string;
toggle_lock: string;
update: string;
update_controller: string;
update_feed_info_dates: string;
update_pcgi_legacy: string;
};
resources: {
agency_ids: import("zod").ZodArray<import("zod").ZodString, "many">;
};
scope: string;
};
rides: {
actions: {
read: string;
toggle_lock: string;
update: string;
};
resources: {};
scope: string;
};
roles: {
actions: {
create: string;
delete: string;
read: string;
update: string;
};
resources: {};
scope: string;
};
stops: {
actions: {
create: string;
delete: string;
read: string;
toggle_lock: string;
update: string;
};
resources: {};
scope: string;
};
users: {
actions: {
create: string;
delete: string;
read: string;
update: string;
};
resources: {};
scope: string;
};
validations: {
actions: {
create: string;
read: string;
request_approval: string;
};
resources: {
agency_ids: import("zod").ZodArray<import("zod").ZodString, "many">;
};
scope: string;
};
}>;