2019-08-05 15:00:21 +02:00
|
|
|
import { AppConfig } from '../../core/definitions/app-config';
|
2019-01-31 13:40:27 +01:00
|
|
|
import { CountdownRepositoryService } from 'app/core/repositories/projector/countdown-repository.service';
|
2019-07-26 11:46:59 +02:00
|
|
|
import { ProjectionDefaultRepositoryService } from 'app/core/repositories/projector/projection-default-repository.service';
|
2019-02-14 12:29:02 +01:00
|
|
|
import { ProjectorMessageRepositoryService } from 'app/core/repositories/projector/projector-message-repository.service';
|
2019-07-26 11:46:59 +02:00
|
|
|
import { ProjectorRepositoryService } from 'app/core/repositories/projector/projector-repository.service';
|
|
|
|
import { Countdown } from 'app/shared/models/core/countdown';
|
2019-03-26 14:57:04 +01:00
|
|
|
import { ProjectionDefault } from 'app/shared/models/core/projection-default';
|
2019-07-26 11:46:59 +02:00
|
|
|
import { Projector } from 'app/shared/models/core/projector';
|
|
|
|
import { ProjectorMessage } from 'app/shared/models/core/projector-message';
|
|
|
|
import { ViewCountdown } from './models/view-countdown';
|
2019-03-26 14:57:04 +01:00
|
|
|
import { ViewProjectionDefault } from './models/view-projection-default';
|
2019-07-26 11:46:59 +02:00
|
|
|
import { ViewProjector } from './models/view-projector';
|
|
|
|
import { ViewProjectorMessage } from './models/view-projector-message';
|
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
|
|
|
|
},
|
2019-03-26 14:57:04 +01:00
|
|
|
{
|
|
|
|
collectionString: 'core/projection-default',
|
|
|
|
model: ProjectionDefault,
|
|
|
|
viewModel: ViewProjectionDefault,
|
|
|
|
repository: ProjectionDefaultRepositoryService
|
|
|
|
},
|
2019-02-01 13:56:08 +01:00
|
|
|
{
|
|
|
|
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'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|