OpenSlides/client/src/app/site/topics/topics.config.ts

18 lines
543 B
TypeScript
Raw Normal View History

2019-06-17 14:27:47 +02:00
import { AppConfig } from '../../core/app-config';
import { TopicRepositoryService } from 'app/core/repositories/topics/topic-repository.service';
import { Topic } from '../../shared/models/topics/topic';
2019-06-17 14:27:47 +02:00
import { ViewTopic } from './models/view-topic';
export const TopicsAppConfig: AppConfig = {
name: 'topics',
models: [
{
collectionString: 'topics/topic',
model: Topic,
viewModel: ViewTopic,
searchOrder: 1,
repository: TopicRepositoryService
}
]
};