2019-08-05 15:00:21 +02:00
|
|
|
import { AppConfig } from '../../core/definitions/app-config';
|
2019-02-01 13:56:08 +01:00
|
|
|
import { ItemRepositoryService } from 'app/core/repositories/agenda/item-repository.service';
|
2019-07-26 11:46:59 +02:00
|
|
|
import { ListOfSpeakersRepositoryService } from 'app/core/repositories/agenda/list-of-speakers-repository.service';
|
2019-04-23 16:57:35 +02:00
|
|
|
import { ListOfSpeakers } from 'app/shared/models/agenda/list-of-speakers';
|
2019-07-26 11:46:59 +02:00
|
|
|
import { Item } from '../../shared/models/agenda/item';
|
|
|
|
import { ViewItem } from './models/view-item';
|
2019-04-23 16:57:35 +02:00
|
|
|
import { ViewListOfSpeakers } from './models/view-list-of-speakers';
|
2018-09-20 13:03:51 +02:00
|
|
|
|
|
|
|
export const AgendaAppConfig: AppConfig = {
|
|
|
|
name: 'agenda',
|
2019-01-10 12:54:48 +01:00
|
|
|
models: [
|
2019-02-01 13:56:08 +01:00
|
|
|
{ collectionString: 'agenda/item', model: Item, viewModel: ViewItem, repository: ItemRepositoryService },
|
2019-04-23 16:57:35 +02:00
|
|
|
{
|
|
|
|
collectionString: 'agenda/list-of-speakers',
|
|
|
|
model: ListOfSpeakers,
|
|
|
|
viewModel: ViewListOfSpeakers,
|
|
|
|
repository: ListOfSpeakersRepositoryService
|
2019-02-01 13:56:08 +01:00
|
|
|
}
|
2019-01-10 12:54:48 +01:00
|
|
|
],
|
2018-09-20 13:03:51 +02:00
|
|
|
mainMenuEntries: [
|
|
|
|
{
|
|
|
|
route: '/agenda',
|
|
|
|
displayName: 'Agenda',
|
2018-10-11 14:03:44 +02:00
|
|
|
icon: 'today', // 'calendar_today' aligns wrong!
|
2018-09-20 13:03:51 +02:00
|
|
|
weight: 200,
|
|
|
|
permission: 'agenda.can_see'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|