2019-01-31 13:40:27 +01:00
|
|
|
import { AppConfig } from '../../core/app-config';
|
2018-09-20 13:03:51 +02:00
|
|
|
import { ChatMessage } from '../../shared/models/core/chat-message';
|
2019-01-31 13:40:27 +01:00
|
|
|
import { ChatMessageRepositoryService } from 'app/core/repositories/common/chatmessage-repository.service';
|
2018-09-20 13:03:51 +02:00
|
|
|
|
|
|
|
export const CommonAppConfig: AppConfig = {
|
|
|
|
name: 'common',
|
2019-01-31 13:40:27 +01:00
|
|
|
models: [{ collectionString: 'core/chat-message', model: ChatMessage, repository: ChatMessageRepositoryService }],
|
2018-09-20 13:03:51 +02:00
|
|
|
mainMenuEntries: [
|
|
|
|
{
|
|
|
|
route: '/',
|
|
|
|
displayName: 'Home',
|
|
|
|
icon: 'home',
|
|
|
|
weight: 100,
|
|
|
|
permission: 'core.can_see_frontpage'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|