import { AppConfig } from '../../core/definitions/app-config';
import { TopicRepositoryService } from 'app/core/repositories/topics/topic-repository.service';
import { Topic } from '../../shared/models/topics/topic';
import { ViewTopic } from './models/view-topic';

export const TopicsAppConfig: AppConfig = {
    name: 'topics',
    models: [
        {
            collectionString: 'topics/topic',
            model: Topic,
            viewModel: ViewTopic,
            searchOrder: 1,
            repository: TopicRepositoryService
        }
    ]
};
