[INIT] Initial Project Structure
This commit is contained in:
commit
0fc5f05b6a
105 changed files with 10448 additions and 0 deletions
20
lib/vix/AppResources.ts
Normal file
20
lib/vix/AppResources.ts
Normal file
|
@ -0,0 +1,20 @@
|
|||
export enum IAMResource {
|
||||
Root = "root",
|
||||
Admin = "admin",
|
||||
User = "user",
|
||||
CairoProjectRoot = "cairo-project-root",
|
||||
}
|
||||
|
||||
export enum ManagementResource {
|
||||
ManageAdmin = "manage-admin",
|
||||
ManageUser = "manage-user",
|
||||
ManageProject = "manage-project",
|
||||
}
|
||||
|
||||
export enum OtherResource {
|
||||
Random = "Random",
|
||||
}
|
||||
|
||||
type ResourceEnums<T extends Record<string, string>> = T[keyof T];
|
||||
export const Resource = { ...IAMResource, ...ManagementResource, ...OtherResource };
|
||||
export type Resource = ResourceEnums<typeof Resource>;
|
Loading…
Add table
Add a link
Reference in a new issue