19 lines
658 B
TypeScript
19 lines
658 B
TypeScript
import { AppConfig } from '../../core/definitions/app-config';
|
|
import { Config } from '../../shared/models/core/config';
|
|
import { ConfigRepositoryService } from '../../core/repositories/config/config-repository.service';
|
|
import { ViewConfig } from './models/view-config';
|
|
|
|
export const ConfigAppConfig: AppConfig = {
|
|
name: 'settings',
|
|
models: [{ model: Config, viewModel: ViewConfig, repository: ConfigRepositoryService }],
|
|
mainMenuEntries: [
|
|
{
|
|
route: '/settings',
|
|
displayName: 'Settings',
|
|
icon: 'settings',
|
|
weight: 1300,
|
|
permission: 'core.can_manage_config'
|
|
}
|
|
]
|
|
};
|