-
Notifications
You must be signed in to change notification settings - Fork 3
/
routes.ts
49 lines (47 loc) · 1.32 KB
/
routes.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import IndexPage from 'view/main/Index.page';
import AggregateRootPage from 'view/main/AggregateRoot.page';
import EntityPage from 'view/main/Entity.page';
import CreateEntityPage from 'view/main/CreateEntity.page';
import EditEntityPage from 'view/main/EditEntity.page';
import EditSubEntityPage from 'view/main/EditSubEntity.page';
import CreateSubEntityPage from 'view/main/CreateSubEntity.page';
import EntityTreePage from 'view/main/EntityTree.page';
import UiPage from './view/ui/ui.page';
export default {
'/': {
name: 'index',
component: IndexPage
},
'/entities/:name/': {
name: 'entities',
component: AggregateRootPage
},
'/entity/:hierarchies/': {
name: 'entity',
component: EntityPage
},
'/create/:name/': {
name: 'createEntity',
component: CreateEntityPage
},
'/edit/:hierarchies/': {
name: 'editEntity',
component: EditEntityPage
},
'/create-sub/:hierarchies/:name': {
name: 'createSubEntity',
component: CreateSubEntityPage
},
'/edit-sub/:hierarchies/': {
name: 'editSubEntity',
component: EditSubEntityPage
},
'/tree/:name': {
name: 'tree',
component: EntityTreePage
},
'/ui/:name': {
name: 'ui',
component: UiPage
}
};