2019-01-31 13:40:27 +01:00
|
|
|
import { AppConfig } from '../../core/app-config';
|
2019-01-10 15:06:10 +01:00
|
|
|
import { Projector } from 'app/shared/models/core/projector';
|
|
|
|
import { Countdown } from 'app/shared/models/core/countdown';
|
|
|
|
import { ProjectorMessage } from 'app/shared/models/core/projector-message';
|
2019-01-31 13:40:27 +01:00
|
|
|
import { ProjectorRepositoryService } from 'app/core/repositories/projector/projector-repository.service';
|
|
|
|
import { CountdownRepositoryService } from 'app/core/repositories/projector/countdown-repository.service';
|
|
|
|
import { ProjectorMessageRepositoryService } from 'app/core/repositories/projector/projectormessage-repository.service';
|
2019-02-01 13:56:08 +01:00
|
|
|
import { ViewProjector } from './models/view-projector';
|
|
|
|
import { ViewCountdown } from './models/view-countdown';
|
|
|
|
import { ViewProjectorMessage } from './models/view-projectormessage';
|
2019-01-10 15:06:10 +01:00
|
|
|
|
|
|
|
export const ProjectorAppConfig: AppConfig = {
|
|
|
|
name: 'projector',
|
|
|
|
models: [
|
2019-02-01 13:56:08 +01:00
|
|
|
{
|
|
|
|
collectionString: 'core/projector',
|
|
|
|
model: Projector,
|
|
|
|
viewModel: ViewProjector,
|
|
|
|
repository: ProjectorRepositoryService
|
|
|
|
},
|
|
|
|
{
|
|
|
|
collectionString: 'core/countdown',
|
|
|
|
model: Countdown,
|
|
|
|
viewModel: ViewCountdown,
|
|
|
|
repository: CountdownRepositoryService
|
|
|
|
},
|
2019-01-31 13:40:27 +01:00
|
|
|
{
|
|
|
|
collectionString: 'core/projector-message',
|
|
|
|
model: ProjectorMessage,
|
2019-02-01 13:56:08 +01:00
|
|
|
viewModel: ViewProjectorMessage,
|
2019-01-31 13:40:27 +01:00
|
|
|
repository: ProjectorMessageRepositoryService
|
|
|
|
}
|
2019-01-10 15:06:10 +01:00
|
|
|
],
|
|
|
|
mainMenuEntries: [
|
|
|
|
{
|
2019-01-24 16:25:50 +01:00
|
|
|
route: '/projectors',
|
2019-01-10 15:06:10 +01:00
|
|
|
displayName: 'Projector',
|
|
|
|
icon: 'videocam',
|
|
|
|
weight: 700,
|
|
|
|
permission: 'core.can_see_projector'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|