OSDN Git Service

fix foreign_filter list includes
[pettanr/pettanr.git] / app / assets / javascripts / manifest / work / list_groups.js.coffee.erb
1 #マニフェスト\r
2 @list_groups = {\r
3   scroll: {\r
4     lists: {\r
5       public: {\r
6         type: 'public',\r
7       },\r
8       private: {\r
9         type: 'private',\r
10       },\r
11       by_author: {\r
12         type: 'filter',\r
13       },\r
14       by_panel: {\r
15         type: 'through_filter',\r
16         args: {\r
17           through: 'scroll_panels',\r
18         },\r
19       },\r
20       play: {\r
21         type: 'play',\r
22         args: {\r
23           filter_item_name: 'scroll',\r
24           filter_model_name: 'scroll_panel',\r
25           filter_key: 'scroll_id',\r
26         },\r
27       },\r
28     },\r
29   },\r
30   scroll_panel: {\r
31     tree_name: 'owner',\r
32     lists: {\r
33       public: {\r
34         type: 'public',\r
35       },\r
36       private: {\r
37         type: 'private',\r
38       },\r
39       by_scroll: {\r
40         type: 'filter',\r
41       },\r
42       by_panel: {\r
43         type: 'filter',\r
44       },\r
45       by_author: {\r
46         type: 'foreign_filter',\r
47         args: {\r
48           includes: {\r
49             type: 'method',\r
50           },\r
51         },\r
52       },\r
53     },\r
54   },\r
55   comic: {\r
56     lists: {\r
57       public: {\r
58         type: 'public',\r
59       },\r
60       private: {\r
61         type: 'private',\r
62       },\r
63       by_author: {\r
64         type: 'filter',\r
65       },\r
66     },\r
67   },\r
68   story: {\r
69     tree_name: 'owner',\r
70     lists: {\r
71       public: {\r
72         type: 'public',\r
73       },\r
74       private: {\r
75         type: 'private',\r
76       },\r
77       by_comic: {\r
78         type: 'filter',\r
79       },\r
80       by_sheet: {\r
81         type: 'through_filter',\r
82         args: {\r
83           through: 'story_sheets',\r
84         },\r
85       },\r
86       by_author: {\r
87         type: 'foreign_filter',\r
88         args: {\r
89           includes: {\r
90             type: 'method',\r
91           },\r
92         },\r
93       },\r
94       play: {\r
95         type: 'play',\r
96       },\r
97     },\r
98   },\r
99   story_sheet: {\r
100     tree_name: 'owner',\r
101     lists: {\r
102       public: {\r
103         type: 'public',\r
104       },\r
105       private: {\r
106         type: 'private',\r
107       },\r
108       by_story: {\r
109         type: 'filter',\r
110       },\r
111       by_sheet: {\r
112         type: 'filter',\r
113       },\r
114       by_author: {\r
115         type: 'foreign_filter',\r
116         args: {\r
117           includes: {\r
118             type: 'method',\r
119           },\r
120         },\r
121       },\r
122     },\r
123   },\r
124   sheet: {\r
125     lists: {\r
126       public: {\r
127         type: 'public',\r
128       },\r
129       private: {\r
130         type: 'private',\r
131       },\r
132       by_story: {\r
133         type: 'through_filter',\r
134         args: {\r
135           through: 'story_sheets',\r
136         },\r
137       },\r
138       by_panel: {\r
139         type: 'through_filter',\r
140         args: {\r
141           through: 'sheet_panels',\r
142         },\r
143       },\r
144       by_author: {\r
145         type: 'filter',\r
146       },\r
147       play: {\r
148         type: 'play',\r
149       },\r
150     },\r
151   },\r
152   sheet_panel: {\r
153     tree_name: 'owner',\r
154     lists: {\r
155       public: {\r
156         type: 'public',\r
157       },\r
158       private: {\r
159         type: 'private',\r
160       },\r
161       by_sheet: {\r
162         type: 'filter',\r
163       },\r
164       by_panel: {\r
165         type: 'filter',\r
166       },\r
167       by_author: {\r
168         type: 'foreign_filter',\r
169         args: {\r
170           includes: {\r
171             type: 'method',\r
172           },\r
173         },\r
174       },\r
175     },\r
176   },\r
177   panel: {\r
178     lists: {\r
179       public: {\r
180         type: 'public',\r
181       },\r
182       private: {\r
183         type: 'private',\r
184       },\r
185       by_scroll: {\r
186         type: 'through_filter',\r
187         args: {\r
188           through: 'scroll_panels',\r
189         },\r
190       },\r
191       by_sheet: {\r
192         type: 'through_filter',\r
193         args: {\r
194           through: 'sheet_panels',\r
195         },\r
196       },\r
197       by_author: {\r
198         type: 'filter',\r
199       },\r
200       by_speech_balloon_template: {\r
201         type: 'through_filter',\r
202       },\r
203     },\r
204   },\r
205   panel_picture: {\r
206     tree_name: 'owner',\r
207     lists: {\r
208       public: {\r
209         type: 'public',\r
210       },\r
211       private: {\r
212         type: 'private',\r
213       },\r
214       by_panel: {\r
215         type: 'filter',\r
216       },\r
217       by_author: {\r
218         type: 'foreign_filter',\r
219         args: {\r
220           includes: {\r
221             type: 'method',\r
222           },\r
223         },\r
224       },\r
225     },\r
226   },\r
227   speech_balloon: {\r
228     tree_name: 'owner',\r
229     lists: {\r
230       public: {\r
231         type: 'public',\r
232       },\r
233       private: {\r
234         type: 'private',\r
235       },\r
236       by_panel: {\r
237         type: 'filter',\r
238       },\r
239       by_speech_balloon_template: {\r
240         type: 'filter',\r
241       },\r
242       by_author: {\r
243         type: 'foreign_filter',\r
244         args: {\r
245           includes: {\r
246             type: 'method',\r
247           },\r
248         },\r
249       },\r
250     },\r
251   },\r
252   speech: {\r
253     tree_name: 'owner',\r
254     lists: {\r
255       public: {\r
256         type: 'public',\r
257       },\r
258       private: {\r
259         type: 'private',\r
260       },\r
261       by_panel: {\r
262         type: 'filter',\r
263       },\r
264       by_speech_balloon: {\r
265         type: 'filter',\r
266       },\r
267       by_author: {\r
268         type: 'foreign_filter',\r
269         args: {\r
270           includes: {\r
271             type: 'method',\r
272           },\r
273         },\r
274       },\r
275     },\r
276   },\r
277   balloon: {\r
278     tree_name: 'owner',\r
279     lists: {\r
280       public: {\r
281         type: 'public',\r
282       },\r
283       by_speech_balloon: {\r
284         type: 'filter',\r
285       },\r
286       by_writing_format: {\r
287         type: 'filter',\r
288       },\r
289       by_author: {\r
290         type: 'foreign_filter',\r
291         args: {\r
292           includes: {\r
293             type: 'method',\r
294           },\r
295         },\r
296       },\r
297     },\r
298   },\r
299   ground_picture: {\r
300     tree_name: 'owner',\r
301     lists: {\r
302       public: {\r
303         type: 'public',\r
304       },\r
305       private: {\r
306         type: 'private',\r
307       },\r
308       by_panel: {\r
309         type: 'filter',\r
310       },\r
311       by_author: {\r
312         type: 'foreign_filter',\r
313         args: {\r
314           includes: {\r
315             type: 'method',\r
316           },\r
317         },\r
318       },\r
319     },\r
320   },\r
321   ground_color: {\r
322     tree_name: 'owner',\r
323     lists: {\r
324       public: {\r
325         type: 'public',\r
326       },\r
327       private: {\r
328         type: 'private',\r
329       },\r
330       by_panel: {\r
331         type: 'filter',\r
332       },\r
333       by_author: {\r
334         type: 'foreign_filter',\r
335         args: {\r
336           includes: {\r
337             type: 'method',\r
338           },\r
339         },\r
340       },\r
341     },\r
342   },\r
343   original_picture: {\r
344     lists: {\r
345       private: {\r
346         type: 'private',\r
347       },\r
348     },\r
349   },\r
350   picture: {\r
351   },\r
352   resource_picture: {\r
353     lists: {\r
354       public: {\r
355         type: 'public',\r
356       },\r
357       private: {\r
358         type: 'private',\r
359       },\r
360       by_original_picture: {\r
361         type: 'filter',\r
362       },\r
363       by_license: {\r
364         type: 'filter',\r
365       },\r
366       by_artist: {\r
367         type: 'filter',\r
368       },\r
369     },\r
370   },\r
371   speech_balloon_template: {\r
372     lists: {\r
373       public: {\r
374         type: 'public',\r
375       },\r
376       select_items: {\r
377         type: 'system_resource',\r
378       },\r
379     },\r
380   },\r
381   writing_format: {\r
382     lists: {\r
383       public: {\r
384         type: 'public',\r
385       },\r
386       select_items: {\r
387         type: 'system_resource',\r
388       },\r
389       by_system_picture: {\r
390         type: 'filter',\r
391       },\r
392     },\r
393   },\r
394   license_group: {\r
395     lists: {\r
396       public: {\r
397         type: 'public',\r
398       },\r
399       select_items: {\r
400         type: 'system_resource',\r
401       },\r
402     },\r
403   },\r
404   license: {\r
405     lists: {\r
406       public: {\r
407         type: 'public',\r
408       },\r
409       by_license_group: {\r
410         type: 'filter',\r
411       },\r
412       by_system_picture: {\r
413         type: 'filter',\r
414       },\r
415     },\r
416   },\r
417   author: {\r
418     lists: {\r
419       public: {\r
420         type: 'public',\r
421       },\r
422     },\r
423   },\r
424   artist: {\r
425     lists: {\r
426       public: {\r
427         type: 'public',\r
428       },\r
429     },\r
430   },\r
431   system_picture: {\r
432     lists: {\r
433       public: {\r
434         type: 'public',\r
435       },\r
436     },\r
437   },\r
438 }\r