OSDN Git Service

fix extend for profiler
[pettanr/pettanr.git] / app / assets / javascripts / manifest / work / items.js.coffee.erb
1 #マニフェスト\r
2 @items = {\r
3   scroll: {\r
4     type: 'binder',\r
5     args: {\r
6     },\r
7   },\r
8   scroll_panel: {\r
9     type: 'leaf',\r
10     args: {\r
11       parent_model_name: 'scroll',\r
12     },\r
13   },\r
14   comic: {\r
15     type: 'binder',\r
16     args: {\r
17     },\r
18   },\r
19   story: {\r
20     type: 'binder',\r
21     args: {\r
22     },\r
23   },\r
24   story_sheet: {\r
25     type: 'leaf',\r
26     args: {\r
27       parent_model_name: 'story',\r
28     },\r
29   },\r
30   sheet: {\r
31     type: 'root',\r
32     args: {\r
33     },\r
34   },\r
35   sheet_panel: {\r
36     type: 'element',\r
37     args: {\r
38       parent_model_name: 'sheet',\r
39     },\r
40   },\r
41   panel: {\r
42     type: 'root',\r
43     args: {\r
44     },\r
45   },\r
46   panel_picture: {\r
47     type: 'element',\r
48     args: {\r
49       parent_model_name: 'panel',\r
50     },\r
51   },\r
52   speech_balloon: {\r
53     type: 'element',\r
54     args: {\r
55       parent_model_name: 'panel',\r
56       boost: {\r
57         speech_balloon_template: {\r
58           setter_method_name: 'extend_speech_balloon=',\r
59           getter_method_name: 'extend_speech_balloon',\r
60         },\r
61       },\r
62     },\r
63   }, \r
64   balloon: {\r
65     type: 'element',\r
66     args: {\r
67       parent_model_name: 'speech_balloon',\r
68       boost: {\r
69         speech_balloon_template: {\r
70           setter_method_name: 'extend_balloon=',\r
71           getter_method_name: 'extend_balloon',\r
72         },\r
73       },\r
74     },\r
75   },\r
76   speech: {\r
77     type: 'element',\r
78     args: {\r
79       parent_model_name: 'speech_balloon',\r
80       boost: {\r
81         writing_format: {\r
82         },\r
83         speech_balloon_template: {\r
84           setter_method_name: 'extend_speech=',\r
85           getter_method_name: 'extend_speech',\r
86         },\r
87       },\r
88     },\r
89   },\r
90   ground_picture: {\r
91     type: 'element',\r
92     args: {\r
93       parent_model_name: 'panel',\r
94     },\r
95   },\r
96   ground_color: {\r
97     type: 'element',\r
98     args: {\r
99       parent_model_name: 'panel',\r
100     },\r
101   },\r
102   original_picture: {\r
103   },\r
104   picture: {\r
105     args: {\r
106       boost: {\r
107         license_group: {\r
108         },\r
109         license: {\r
110           extend_item_name: 'attribute',\r
111         },\r
112         credit_picture: {\r
113           level: 'read',\r
114           extend_model_class_name: 'CreditPicture',\r
115           extend_item_name: 'credit_picture',\r
116           extend_column_name: 'license_group_classname',\r
117         },\r
118       },\r
119     },\r
120   },\r
121   resource_picture: {\r
122     args: {\r
123       boost: {\r
124         license_group: {\r
125         },\r
126         license: {\r
127           extend_item_name: 'attribute',\r
128         },\r
129         credit_picture: {\r
130           level: 'read',\r
131           extend_model_class_name: 'CreditPicture',\r
132           extend_item_name: 'credit_picture',\r
133           extend_column_name: 'license_group_classname',\r
134         },\r
135       },\r
136     },\r
137   },\r
138   speech_balloon_template: {\r
139   },\r
140   writing_format: {\r
141   },\r
142   license_group: {\r
143   },\r
144   license: {\r
145     type: 'leaf',\r
146     args: {\r
147       parent_model_name: 'license_group',\r
148       boost: {\r
149         license_group: {\r
150         },\r
151         credit_picture: {\r
152           extend_item_name: 'credit_picture',\r
153           extend_column_name: 'license_group_classname',\r
154         },\r
155       },\r
156     },\r
157   },\r
158   author: {\r
159   },\r
160   artist: {\r
161   },\r
162   system_picture: {\r
163   },\r
164 }\r
165 \r