2018-09-20 13:03:51 +02:00
|
|
|
import { AppConfig } from '../base/app-config';
|
|
|
|
import { Motion } from '../../shared/models/motions/motion';
|
|
|
|
import { Category } from '../../shared/models/motions/category';
|
|
|
|
import { Workflow } from '../../shared/models/motions/workflow';
|
|
|
|
import { MotionCommentSection } from '../../shared/models/motions/motion-comment-section';
|
|
|
|
import { MotionChangeReco } from '../../shared/models/motions/motion-change-reco';
|
|
|
|
import { MotionBlock } from '../../shared/models/motions/motion-block';
|
2018-10-12 12:32:19 +02:00
|
|
|
import { StatuteParagraph } from '../../shared/models/motions/statute-paragraph';
|
2018-09-20 13:03:51 +02:00
|
|
|
|
|
|
|
export const MotionsAppConfig: AppConfig = {
|
|
|
|
name: 'motions',
|
|
|
|
models: [
|
2018-11-07 08:43:48 +01:00
|
|
|
{ collectionString: 'motions/motion', model: Motion, searchOrder: 2 },
|
|
|
|
{ collectionString: 'motions/category', model: Category, searchOrder: 6 },
|
2018-09-20 13:03:51 +02:00
|
|
|
{ collectionString: 'motions/workflow', model: Workflow },
|
|
|
|
{ collectionString: 'motions/motion-comment-section', model: MotionCommentSection },
|
|
|
|
{ collectionString: 'motions/motion-change-recommendation', model: MotionChangeReco },
|
2018-11-07 08:43:48 +01:00
|
|
|
{ collectionString: 'motions/motion-block', model: MotionBlock, searchOrder: 7 },
|
|
|
|
{ collectionString: 'motions/statute-paragraph', model: StatuteParagraph, searchOrder: 9 }
|
2018-09-20 13:03:51 +02:00
|
|
|
],
|
|
|
|
mainMenuEntries: [
|
|
|
|
{
|
|
|
|
route: '/motions',
|
|
|
|
displayName: 'Motions',
|
2018-10-11 14:03:44 +02:00
|
|
|
icon: 'assignment',
|
2018-09-20 13:03:51 +02:00
|
|
|
weight: 300,
|
|
|
|
permission: 'motions.can_see'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|