-
Notifications
You must be signed in to change notification settings - Fork 5
/
knockout.yml
162 lines (145 loc) · 6.42 KB
/
knockout.yml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
parameters:
avro_generator.use_owner: true
avro_generator.files:
controller:
filename: 'Controller/{{ entity }}Controller.php'
template: 'AvroGeneratorBundle:Templates/Knockout/Controller/Controller.php'
parameters:
actions: ['list', 'new', 'edit', 'delete', 'restore', 'getForm', 'import', 'batch', 'batchDelete', 'batchRestore']
tags: ['controller', 'crud']
manipulator:
service: 'avro_generator.routing.manipulator'
method: 'updateBundleRouting'
filename: 'Resources/config/routing.yml'
setters:
format: 'yml'
list_view:
filename: 'Resources/views/{{ entity }}/list.html.twig'
template: 'AvroGeneratorBundle:Templates/Knockout/Resources/views/list.html.twig'
tags: ['view', 'crud']
table_view:
filename: 'Resources/views/{{ entity }}/table.html.twig'
template: 'AvroGeneratorBundle:Templates/Knockout/Resources/views/table.html.twig'
tags: ['view', 'crud']
searchForm_view:
filename: 'Resources/views/{{ entity }}/searchForm.html.twig'
template: 'AvroGeneratorBundle:Templates/Knockout/Resources/views/searchForm.html.twig'
tags: ['view', 'crud']
form_view:
filename: 'Resources/views/{{ entity }}/form.html.twig'
template: 'AvroGeneratorBundle:Templates/Knockout/Resources/views/form.html.twig'
tags: ['view', 'crud']
import_view:
filename: 'Resources/views/{{ entity }}/import.html.twig'
template: 'AvroGeneratorBundle:Templates/Knockout/Resources/views/import.html.twig'
tags: ['view', 'crud', 'import']
features:
filename: 'Features/{{ entity }}.feature'
template: 'AvroGeneratorBundle:Templates/Knockout/Features/feature.feature'
tags: ['test', 'feature']
entity:
filename: 'Entity/{{ entity }}.php'
template: 'AvroGeneratorBundle:Templates/Knockout/Entity/Entity.php'
tags: ['entity', 'crud']
entity_manager:
filename: 'Entity/{{ entity }}Manager.php'
template: 'AvroGeneratorBundle:Templates/Knockout/Entity/EntityManager.php'
tags: ['entity', 'crud']
form_type:
filename: 'Form/Type/{{ entity }}FormType.php'
template: 'AvroGeneratorBundle:Templates/Knockout/Form/Type/FormType.php'
tags: ['form', 'crud']
searchForm_type:
filename: 'Form/Type/{{ entity }}SearchFormType.php'
template: 'AvroGeneratorBundle:Templates/Knockout/Form/Type/SearchFormType.php'
tags: ['form', 'crud']
form_handler:
filename: 'Form/Handler/{{ entity }}FormHandler.php'
template: 'AvroGeneratorBundle:Templates/Knockout/Form/Handler/FormHandler.php'
tags: ['form', 'crud']
entity_model:
filename: 'Resources/assets/js/knockoutjs/{{ entityCC }}Model.js'
template: 'AvroGeneratorBundle:Templates/Knockout/Resources/assets/js/knockoutjs/model.js'
tags: ['knockout']
entity_listModel:
filename: 'Resources/assets/js/knockoutjs/{{ entityCC }}ListModel.js'
template: 'AvroGeneratorBundle:Templates/Knockout/Resources/assets/js/knockoutjs/listModel.js'
tags: ['knockout']
service_config:
filename: 'Resources/config/services/{{ entityCC }}.yml'
template: 'AvroGeneratorBundle:Templates/Knockout/Resources/config/services/service.yml'
tags: ['service', 'crud']
manipulator:
service: 'avro_generator.config.manipulator'
method: 'addResource'
filename: 'Resources/config/config.yml'
setters:
format: 'yml'
avro_generator.bundle_folders:
controller:
path: 'Controller'
entity:
path: 'Entity'
form:
path: 'Form'
form_type:
path: 'Form/Type'
form_handler:
path: 'Form/Handler'
features:
path: 'Features'
listener:
path: 'Listener'
resources:
path: 'Resources'
views:
path: 'Resources/views'
doc:
path: 'Resources/doc'
meta:
path: 'Resources/meta'
css:
path: 'Resources/public/css'
images:
path: 'Resources/public/images'
js:
path: 'Resources/public/js'
uploads:
path: 'Resources/public/uploads'
translations:
path: 'Resources/translations'
config:
path: 'Resources/config'
services:
path: 'Resources/config/services'
avro_generator.bundle_files:
bundle:
filename: '{{ bundleName }}.php'
template: 'AvroGeneratorBundle:Templates/Knockout/Bundle.php'
configuration:
filename: 'DependencyInjection/Configuration.php'
template: 'AvroGeneratorBundle:Templates/Knockout/DependencyInjection/Configuration.php'
extension:
filename: 'DependencyInjection/{{ bundleVendor }}{{ bundleCoreName }}Extension.php'
template: 'AvroGeneratorBundle:Templates/Knockout/DependencyInjection/Extension.php'
readme:
filename: 'README.md'
template: 'AvroGeneratorBundle:Templates/Knockout/README.md'
layout:
filename: 'Resources/views/layout.html.twig'
template: 'AvroGeneratorBundle:Templates/Knockout/Resources/views/layout.html.twig'
routing:
filename: 'Resources/config/routing.yml'
template: 'AvroGeneratorBundle:Templates/Knockout/Resources/config/routing.yml'
config:
filename: 'Resources/config/config.yml'
template: 'AvroGeneratorBundle:Templates/Knockout/Resources/config/config.yml'
license:
filename: 'Resources/meta/LICENSE'
template: 'AvroGeneratorBundle:Templates/Knockout/Resources/meta/LICENSE'
git_ignore:
filename: '.gitignore'
template: 'AvroGeneratorBundle:Templates/Knockout/gitignore.html.twig'
composer:
filename: 'composer.json'
template: 'AvroGeneratorBundle:Templates/Knockout/composer.json'