OSDN Git Service

fix: view
[pettanr/pettanr.git] / app / assets / javascripts / work / list_groups.js.coffee.erb
1 #マニフェスト\r
2 @list_groups = {\r
3   folders: {\r
4     lists: {\r
5       index: {\r
6         type: 'public',\r
7       },\r
8     },\r
9   },\r
10   scrolls: {\r
11     lists: {\r
12       index: {\r
13         type: 'public',\r
14       },\r
15       by_author: {\r
16         type: 'filter',\r
17       },\r
18       by_panel: {\r
19         type: 'through_filter',\r
20         args: {\r
21           through: 'scroll_panels',\r
22         },\r
23       },\r
24       play: {\r
25         type: 'play',\r
26         args: {\r
27           filter_item_name: 'scroll',\r
28           wheres: ['index', 'play'],\r
29         },\r
30       },\r
31     },\r
32   },\r
33   scroll_panels: {\r
34     lists: {\r
35       index: {\r
36         type: 'public',\r
37       },\r
38       by_scroll: {\r
39         type: 'filter',\r
40       },\r
41       by_panel: {\r
42         type: 'filter',\r
43       },\r
44       by_author: {\r
45         type: 'foreign_filter',\r
46         args: {\r
47           includes: {\r
48             type: 'method',\r
49           },\r
50         },\r
51       },\r
52     },\r
53   },\r
54   comics: {\r
55     lists: {\r
56       index: {\r
57         type: 'public',\r
58       },\r
59       by_author: {\r
60         type: 'filter',\r
61       },\r
62       by_story: {\r
63         type: 'through_filter',\r
64         args: {\r
65           through: 'comic_stories',\r
66         },\r
67       },\r
68       play: {\r
69         type: 'play',\r
70         args: {\r
71           filter_item_name: 'comic',\r
72           wheres: ['index', 'play'],\r
73         },\r
74       },\r
75     },\r
76   },\r
77   comic_stories: {\r
78     lists: {\r
79       index: {\r
80         type: 'public',\r
81       },\r
82       by_comic: {\r
83         type: 'filter',\r
84       },\r
85       by_story: {\r
86         type: 'filter',\r
87       },\r
88       by_author: {\r
89         type: 'foreign_filter',\r
90         args: {\r
91           includes: {\r
92             type: 'method',\r
93           },\r
94         },\r
95       },\r
96     },\r
97   },\r
98   stories: {\r
99     lists: {\r
100       index: {\r
101         type: 'public',\r
102       },\r
103       by_comic: {\r
104         type: 'through_filter',\r
105         args: {\r
106           through: 'comic_stories',\r
107         },\r
108       },\r
109       by_sheet: {\r
110         type: 'through_filter',\r
111         args: {\r
112           through: 'story_sheets',\r
113         },\r
114       },\r
115       by_author: {\r
116         type: 'filter',\r
117       },\r
118       play: {\r
119         type: 'play',\r
120         args: {\r
121           filter_item_name: 'story',\r
122           wheres: ['index', 'play'],\r
123         },\r
124       },\r
125     },\r
126   },\r
127   story_sheets: {\r
128     lists: {\r
129       index: {\r
130         type: 'public',\r
131       },\r
132       by_story: {\r
133         type: 'filter',\r
134       },\r
135       by_sheet: {\r
136         type: 'filter',\r
137       },\r
138       by_author: {\r
139         type: 'foreign_filter',\r
140         args: {\r
141           includes: {\r
142             type: 'method',\r
143           },\r
144         },\r
145       },\r
146     },\r
147   },\r
148   sheets: {\r
149     lists: {\r
150       index: {\r
151         type: 'public',\r
152       },\r
153       by_story: {\r
154         type: 'through_filter',\r
155         args: {\r
156           through: 'story_sheets',\r
157         },\r
158       },\r
159       by_panel: {\r
160         type: 'through_filter',\r
161         args: {\r
162           through: 'sheet_panels',\r
163         },\r
164       },\r
165       by_author: {\r
166         type: 'filter',\r
167       },\r
168       play: {\r
169         type: 'public',\r
170       },\r
171     },\r
172   },\r
173   sheet_panels: {\r
174     lists: {\r
175       index: {\r
176         type: 'public',\r
177       },\r
178       by_sheet: {\r
179         type: 'filter',\r
180       },\r
181       by_panel: {\r
182         type: 'filter',\r
183       },\r
184       by_author: {\r
185         type: 'foreign_filter',\r
186         args: {\r
187           includes: {\r
188             type: 'method',\r
189           },\r
190         },\r
191       },\r
192     },\r
193   },\r
194   panels: {\r
195     lists: {\r
196       index: {\r
197         type: 'public',\r
198       },\r
199       by_scroll: {\r
200         type: 'through_filter',\r
201         args: {\r
202           through: 'scroll_panels',\r
203         },\r
204       },\r
205       by_sheet: {\r
206         type: 'through_filter',\r
207         args: {\r
208           through: 'sheet_panels',\r
209         },\r
210       },\r
211       by_author: {\r
212         type: 'filter',\r
213       },\r
214       by_speech_balloon_template: {\r
215         type: 'through_filter',\r
216         args: {\r
217           through: 'speech_balloons',\r
218         },\r
219       },\r
220     },\r
221   },\r
222   panel_pictures: {\r
223     lists: {\r
224       index: {\r
225         type: 'public',\r
226       },\r
227       by_panel: {\r
228         type: 'filter',\r
229       },\r
230       by_author: {\r
231         type: 'foreign_filter',\r
232         args: {\r
233           includes: {\r
234             type: 'method',\r
235           },\r
236         },\r
237       },\r
238     },\r
239   },\r
240   speech_balloons: {\r
241     lists: {\r
242       index: {\r
243         type: 'public',\r
244       },\r
245       by_panel: {\r
246         type: 'filter',\r
247       },\r
248       by_speech_balloon_template: {\r
249         type: 'filter',\r
250       },\r
251       by_author: {\r
252         type: 'foreign_filter',\r
253         args: {\r
254           includes: {\r
255             type: 'method',\r
256           },\r
257         },\r
258       },\r
259     },\r
260   },\r
261   speeches: {\r
262     lists: {\r
263       index: {\r
264         type: 'public',\r
265       },\r
266       by_speech_balloon: {\r
267         type: 'filter',\r
268       },\r
269       by_speech_balloon_template: {\r
270         type: 'filter',\r
271       },\r
272       by_writing_format: {\r
273         type: 'filter',\r
274       },\r
275       by_author: {\r
276         type: 'foreign_filter',\r
277         args: {\r
278           includes: {\r
279             type: 'method',\r
280           },\r
281         },\r
282       },\r
283     },\r
284   },\r
285   balloons: {\r
286     lists: {\r
287       index: {\r
288         type: 'public',\r
289       },\r
290       by_speech_balloon: {\r
291         type: 'filter',\r
292       },\r
293       by_speech_balloon_template: {\r
294         type: 'filter',\r
295       },\r
296       by_system_picture: {\r
297         type: 'filter',\r
298       },\r
299       by_author: {\r
300         type: 'foreign_filter',\r
301         args: {\r
302           includes: {\r
303             type: 'method',\r
304           },\r
305         },\r
306       },\r
307     },\r
308   },\r
309   ground_pictures: {\r
310     lists: {\r
311       index: {\r
312         type: 'public',\r
313       },\r
314       by_panel: {\r
315         type: 'filter',\r
316       },\r
317       by_author: {\r
318         type: 'foreign_filter',\r
319         args: {\r
320           includes: {\r
321             type: 'method',\r
322           },\r
323         },\r
324       },\r
325     },\r
326   },\r
327   ground_colors: {\r
328     lists: {\r
329       index: {\r
330         type: 'public',\r
331       },\r
332       by_panel: {\r
333         type: 'filter',\r
334       },\r
335       by_author: {\r
336         type: 'foreign_filter',\r
337         args: {\r
338           includes: {\r
339             type: 'method',\r
340           },\r
341         },\r
342       },\r
343     },\r
344   },\r
345   original_pictures: {\r
346     lists: {\r
347       index: {\r
348         type: 'public',\r
349         args: {\r
350           wheres: ['index', 'private'],\r
351         },\r
352       },\r
353     },\r
354   },\r
355   pictures: {\r
356     lists: {\r
357       index: {\r
358         type: 'public',\r
359       },\r
360       by_artist: {\r
361         type: 'filter',\r
362       },\r
363     },\r
364   },\r
365   resource_pictures: {\r
366     lists: {\r
367       index: {\r
368         type: 'public',\r
369       },\r
370       by_original_picture: {\r
371         type: 'filter',\r
372       },\r
373       by_license_group: {\r
374         type: 'filter',\r
375       },\r
376       by_license: {\r
377         type: 'filter',\r
378       },\r
379       by_artist: {\r
380         type: 'filter',\r
381       },\r
382     },\r
383   },\r
384   resource_picture_pictures: {\r
385     lists: {\r
386       index: {\r
387         type: 'public',\r
388       },\r
389       by_original_picture: {\r
390         type: 'filter',\r
391       },\r
392       by_resource_picture: {\r
393         type: 'filter',\r
394       },\r
395       by_picture: {\r
396         type: 'filter',\r
397       },\r
398     },\r
399   },\r
400   speech_balloon_templates: {\r
401     lists: {\r
402       index: {\r
403         type: 'public',\r
404       },\r
405       by_panel: {\r
406         type: 'through_filter',\r
407         args: {\r
408           through: 'speech_balloons',\r
409         },\r
410       },\r
411       by_system_picture: {\r
412         type: 'filter',\r
413       },\r
414     },\r
415   },\r
416   writing_formats: {\r
417     lists: {\r
418       index: {\r
419         type: 'public',\r
420         args: {\r
421           after_method_name: 'enable',\r
422         },\r
423       },\r
424       by_system_picture: {\r
425         type: 'filter',\r
426       },\r
427     },\r
428   },\r
429   license_groups: {\r
430     lists: {\r
431       index: {\r
432         type: 'public',\r
433       },\r
434       by_resource_picture: {\r
435         type: 'filter',\r
436       },\r
437     },\r
438   },\r
439   licenses: {\r
440     lists: {\r
441       index: {\r
442         type: 'public',\r
443       },\r
444       by_license_group: {\r
445         type: 'filter',\r
446       },\r
447       by_system_picture: {\r
448         type: 'filter',\r
449       },\r
450     },\r
451   },\r
452   authors: {\r
453     lists: {\r
454       index: {\r
455         type: 'public',\r
456       },\r
457     },\r
458   },\r
459   artists: {\r
460     lists: {\r
461       index: {\r
462         type: 'public',\r
463       },\r
464     },\r
465   },\r
466   system_pictures: {\r
467     lists: {\r
468       index: {\r
469         type: 'public',\r
470       },\r
471     },\r
472   },\r
473   home: {\r
474     lists: {\r
475       scrolls: {\r
476         type: 'public',\r
477         args: {\r
478           wheres: ['index', 'private'],\r
479         },\r
480       },\r
481       scroll_panels: {\r
482         type: 'public',\r
483         args: {\r
484           wheres: ['index', 'private'],\r
485         },\r
486       },\r
487       comics: {\r
488         type: 'public',\r
489         args: {\r
490           wheres: ['index', 'private'],\r
491         },\r
492       },\r
493       comic_stories: {\r
494         type: 'public',\r
495         args: {\r
496           wheres: ['index', 'private'],\r
497         },\r
498       },\r
499       stories: {\r
500         type: 'public',\r
501         args: {\r
502           wheres: ['index', 'private'],\r
503         },\r
504       },\r
505       story_sheets: {\r
506         type: 'public',\r
507         args: {\r
508           wheres: ['index', 'private'],\r
509         },\r
510       },\r
511       sheets: {\r
512         type: 'public',\r
513         args: {\r
514           wheres: ['index', 'private'],\r
515         },\r
516       },\r
517       sheet_panels: {\r
518         type: 'public',\r
519         args: {\r
520           wheres: ['index', 'private'],\r
521         },\r
522       },\r
523       panels: {\r
524         type: 'public',\r
525         args: {\r
526           wheres: ['index', 'private'],\r
527         },\r
528       },\r
529       panel_pictures: {\r
530         type: 'public',\r
531         args: {\r
532           wheres: ['index', 'private'],\r
533         },\r
534       },\r
535       speech_balloons: {\r
536         type: 'public',\r
537         args: {\r
538           wheres: ['index', 'private'],\r
539         },\r
540       },\r
541       speeches: {\r
542         type: 'public',\r
543         args: {\r
544           wheres: ['index', 'private'],\r
545         },\r
546       },\r
547       balloons: {\r
548         type: 'public',\r
549         args: {\r
550           wheres: ['index', 'private'],\r
551         },\r
552       },\r
553       ground_pictures: {\r
554         type: 'public',\r
555         args: {\r
556           wheres: ['index', 'private'],\r
557         },\r
558       },\r
559       ground_colors: {\r
560         type: 'public',\r
561         args: {\r
562           wheres: ['index', 'private'],\r
563         },\r
564       },\r
565       original_pictures: {\r
566         type: 'public',\r
567         args: {\r
568           wheres: ['index', 'private'],\r
569         },\r
570       },\r
571       resource_pictures: {\r
572         type: 'public',\r
573         args: {\r
574           wheres: ['index', 'private'],\r
575         },\r
576       },\r
577     },\r
578   },\r
579 }\r