OpenSlides/client/src/app/site/config/config.config.ts
2020-03-17 07:24:34 +01:00

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'
}
]
};