2019-01-31 13:40:27 +01:00
|
|
|
import { AppConfig } from '../../core/app-config';
|
2018-11-09 13:44:39 +01:00
|
|
|
import { History } from 'app/shared/models/core/history';
|
2019-01-31 13:40:27 +01:00
|
|
|
import { HistoryRepositoryService } from 'app/core/repositories/history/history-repository.service';
|
2018-11-09 13:44:39 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Config object for history.
|
|
|
|
* Hooks into the navigation.
|
|
|
|
*/
|
|
|
|
export const HistoryAppConfig: AppConfig = {
|
|
|
|
name: 'history',
|
2019-01-31 13:40:27 +01:00
|
|
|
models: [{ collectionString: 'core/history', model: History, repository: HistoryRepositoryService }],
|
2018-11-09 13:44:39 +01:00
|
|
|
mainMenuEntries: [
|
|
|
|
{
|
|
|
|
route: '/history',
|
|
|
|
displayName: 'History',
|
|
|
|
icon: 'history',
|
|
|
|
weight: 1200,
|
|
|
|
permission: 'core.view_history'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|