2019-01-31 13:40:27 +01:00
|
|
|
import { AppConfig } from '../../core/app-config';
|
2018-09-20 13:03:51 +02:00
|
|
|
import { Config } from '../../shared/models/core/config';
|
2019-01-31 13:40:27 +01:00
|
|
|
import { ConfigRepositoryService } from './services/config-repository.service';
|
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-01-31 13:40:27 +01:00
|
|
|
models: [{ collectionString: 'core/config', model: Config, 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'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|