49 lines
1.1 KiB
TypeScript
49 lines
1.1 KiB
TypeScript
import type { ModuleIntegrations } from '@KTXC/types/moduleTypes';
|
|
|
|
const integrations: ModuleIntegrations = {
|
|
// Admin settings menu
|
|
admin_settings_menu: [
|
|
{
|
|
id: 'user_manager.accounts',
|
|
label: 'Users',
|
|
path: '/user/accounts',
|
|
icon: 'mdi-account-multiple',
|
|
priority: 80,
|
|
},
|
|
{
|
|
id: 'user_manager.roles',
|
|
label: 'Roles',
|
|
path: '/user/roles',
|
|
icon: 'mdi-shield-account',
|
|
priority: 81,
|
|
},
|
|
],
|
|
|
|
// User detail panels
|
|
user_manager_detail_panels: [
|
|
{
|
|
id: 'user_manager.account',
|
|
label: 'Account',
|
|
icon: 'mdi-account',
|
|
priority: 10,
|
|
component: () => import('@/views/AccountPanel.vue'),
|
|
},
|
|
{
|
|
id: 'user_manager.security',
|
|
label: 'Security',
|
|
icon: 'mdi-shield-lock',
|
|
priority: 20,
|
|
component: () => import('@/views/SecurityPanel.vue'),
|
|
},
|
|
{
|
|
id: 'user_manager.roles',
|
|
label: 'Roles',
|
|
icon: 'mdi-shield-account',
|
|
priority: 30,
|
|
component: () => import('@/views/RolesPanel.vue'),
|
|
},
|
|
],
|
|
};
|
|
|
|
export default integrations;
|