2019-08-05 15:00:21 +02:00
|
|
|
import { AppConfig } from '../../core/definitions/app-config';
|
2018-09-20 13:03:51 +02:00
|
|
|
import { Config } from '../../shared/models/core/config';
|
2019-02-01 13:56:08 +01:00
|
|
|
import { ConfigRepositoryService } from '../../core/repositories/config/config-repository.service';
|
|
|
|
import { ViewConfig } from './models/view-config';
|
2018-09-20 13:03:51 +02:00
|
|
|
|
2018-09-18 15:51:57 +02:00
|
|
|
export const ConfigAppConfig: AppConfig = {
|
2018-09-20 13:03:51 +02:00
|
|
|
name: 'settings',
|
2019-10-18 14:18:49 +02:00
|
|
|
models: [{ model: Config, viewModel: ViewConfig, repository: ConfigRepositoryService }],
|
2018-09-20 13:03:51 +02:00
|
|
|
mainMenuEntries: [
|
|
|
|
{
|
|
|
|
route: '/settings',
|
|
|
|
displayName: 'Settings',
|
2018-10-11 14:03:44 +02:00
|
|
|
icon: 'settings',
|
2019-01-10 15:06:10 +01:00
|
|
|
weight: 1300,
|
2018-09-20 13:03:51 +02:00
|
|
|
permission: 'core.can_manage_config'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|