OpenSlides/client/src/app/site/topics/topics.config.ts
FinnStutzenstein b8d3fa2614 Cleanup
2019-06-28 07:58:36 +02:00

18 lines
543 B
TypeScript

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