2019-08-05 15:00:21 +02:00
|
|
|
import { AppConfig } from '../../core/definitions/app-config';
|
2019-06-17 14:27:47 +02:00
|
|
|
import { TopicRepositoryService } from 'app/core/repositories/topics/topic-repository.service';
|
2019-07-26 11:46:59 +02:00
|
|
|
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: [
|
|
|
|
{
|
|
|
|
model: Topic,
|
|
|
|
viewModel: ViewTopic,
|
|
|
|
searchOrder: 1,
|
|
|
|
repository: TopicRepositoryService
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|