merge dev
This commit is contained in:
+3
-3
@@ -14,9 +14,9 @@ export interface AuthState {
|
||||
|
||||
export type Permission = 'C' | 'R' | 'U' | 'D'
|
||||
|
||||
export interface RoleAccess {
|
||||
export interface RoleAccesses {
|
||||
[role: string]: Permission[]
|
||||
}
|
||||
|
||||
export type PagePath = keyof typeof PAGE_PERMISSIONS
|
||||
export type PagePermission = (typeof PAGE_PERMISSIONS)[PagePath]
|
||||
// export type PagePath = keyof typeof PAGE_PERMISSIONS
|
||||
// export type PagePermission = (typeof PAGE_PERMISSIONS)[PagePath]
|
||||
|
||||
Reference in New Issue
Block a user