test
This commit is contained in:
10
types/menuAkses/access.ts
Normal file
10
types/menuAkses/access.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export interface PageAccess {
|
||||
path?: string
|
||||
permissions?: string[]
|
||||
title?: string;
|
||||
}
|
||||
|
||||
export interface RoleAccess {
|
||||
role?: string
|
||||
pages?: PageAccess[]
|
||||
}
|
||||
40
types/menuAkses/sidebar.ts
Normal file
40
types/menuAkses/sidebar.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
// types/sidebar.ts
|
||||
|
||||
export interface SidebarItem {
|
||||
header?: string;
|
||||
title?: string;
|
||||
icon?: any;
|
||||
id?: number;
|
||||
to?: string;
|
||||
chip?: string;
|
||||
BgColor?: string;
|
||||
chipBgColor?: string;
|
||||
chipColor?: string;
|
||||
chipVariant?: string;
|
||||
chipIcon?: string;
|
||||
children?: menu[];
|
||||
disabled?: boolean;
|
||||
type?: string;
|
||||
subCaption?: string;
|
||||
role?: string[];
|
||||
permission?: string[];
|
||||
}
|
||||
export interface menu {
|
||||
header?: string;
|
||||
title?: string;
|
||||
icon?: any;
|
||||
id?: number;
|
||||
to?: string;
|
||||
chip?: string;
|
||||
BgColor?: string;
|
||||
chipBgColor?: string;
|
||||
chipColor?: string;
|
||||
chipVariant?: string;
|
||||
chipIcon?: string;
|
||||
children?: menu[];
|
||||
disabled?: boolean;
|
||||
type?: string;
|
||||
subCaption?: string;
|
||||
role?: string[];
|
||||
permission?: string[];
|
||||
}
|
||||
Reference in New Issue
Block a user