OSDN Git Service

1c9abaf896d37fd44a4f83c27ddd26dc69a13d38
[pettanr/pettanr.git] / app / assets / javascripts / manifest / work / controllers.js.coffee.erb
1 #マニフェスト\r
2 @controllers = {\r
3   folders: {\r
4     actions: {\r
5       root: {\r
6         type: 'show',\r
7       },\r
8       index: {\r
9         type: 'list',\r
10         args: {\r
11           list_name: 'public',\r
12         },\r
13       },\r
14       show: {\r
15         type: 'show',\r
16       },\r
17       count: {\r
18         type: 'count',\r
19         args: {\r
20           list_name: 'public',\r
21         },\r
22       },\r
23       new: {\r
24         type: 'new',\r
25       },\r
26       edit: {\r
27         type: 'edit',\r
28       },\r
29     },\r
30   },\r
31   scrolls: {\r
32     actions: {\r
33       index: {\r
34         type: 'list',\r
35         args: {\r
36           list_name: 'public',\r
37         },\r
38       },\r
39       by_author: {\r
40         type: 'list',\r
41       },\r
42       by_panel: {\r
43         type: 'list',\r
44       },\r
45       play: {\r
46         type: 'list',\r
47         args: {\r
48           item_name: 'scroll_panel',\r
49           list_name: 'play',\r
50         },\r
51       },\r
52       show: {\r
53         type: 'show',\r
54       },\r
55       count: {\r
56         type: 'count',\r
57         args: {\r
58           list_name: 'public',\r
59         },\r
60       },\r
61       count_by_author: {\r
62         type: 'count',\r
63       },\r
64       count_by_panel: {\r
65         type: 'count',\r
66       },\r
67       new: {\r
68         type: 'new',\r
69       },\r
70       edit: {\r
71         type: 'edit',\r
72       },\r
73     },\r
74   },\r
75   scroll_panels: {\r
76     actions: {\r
77       index: {\r
78         type: 'list',\r
79         args: {\r
80           list_name: 'public',\r
81           \r
82         },\r
83       },\r
84       by_panel: {\r
85         type: 'list',\r
86       },\r
87       by_scroll: {\r
88         type: 'list',\r
89       },\r
90       by_author: {\r
91         type: 'list',\r
92       },\r
93       show: {\r
94         type: 'show',\r
95       },\r
96       count: {\r
97         type: 'count',\r
98         args: {\r
99           list_name: 'public',\r
100         },\r
101       },\r
102       count_by_panel: {\r
103         type: 'count',\r
104       },\r
105       count_by_scroll: {\r
106         type: 'count',\r
107       },\r
108       count_by_author: {\r
109         type: 'count',\r
110       },\r
111       new: {\r
112         type: 'new',\r
113       },\r
114       edit: {\r
115         type: 'edit',\r
116       },\r
117     },\r
118   },\r
119   comics: {\r
120     actions: {\r
121       index: {\r
122         type: 'list',\r
123         args: {\r
124           list_name: 'public',\r
125           \r
126         },\r
127       },\r
128       by_author: {\r
129         type: 'list',\r
130       },\r
131       show: {\r
132         type: 'show',\r
133       },\r
134       count: {\r
135         type: 'count',\r
136         args: {\r
137           list_name: 'public',\r
138         },\r
139       },\r
140       count_by_author: {\r
141         type: 'count',\r
142       },\r
143       new: {\r
144         type: 'new',\r
145       },\r
146       edit: {\r
147         type: 'edit',\r
148       },\r
149     },\r
150   },\r
151   stories: {\r
152     actions: {\r
153       index: {\r
154         type: 'list',\r
155         args: {\r
156           list_name: 'public',\r
157           \r
158         },\r
159       },\r
160       by_comic: {\r
161         type: 'list',\r
162       },\r
163       by_sheet: {\r
164         type: 'list',\r
165       },\r
166       by_author: {\r
167         type: 'list',\r
168       },\r
169       play: {\r
170         type: 'list',\r
171         args: {\r
172           list_name: 'play',\r
173         },\r
174       },\r
175       show: {\r
176         type: 'show',\r
177       },\r
178       count: {\r
179         type: 'count',\r
180         args: {\r
181           list_name: 'public',\r
182         },\r
183       },\r
184       by_comic: {\r
185         type: 'count',\r
186       },\r
187       by_sheet: {\r
188         type: 'count',\r
189       },\r
190       count_by_author: {\r
191         type: 'count',\r
192       },\r
193       new: {\r
194         type: 'new',\r
195       },\r
196       edit: {\r
197         type: 'edit',\r
198       },\r
199     },\r
200   },\r
201   story_sheets: {\r
202     actions: {\r
203       index: {\r
204         type: 'list',\r
205         args: {\r
206           list_name: 'public',\r
207           \r
208         },\r
209       },\r
210       by_story: {\r
211         type: 'list',\r
212       },\r
213       by_sheet: {\r
214         type: 'list',\r
215       },\r
216       by_author: {\r
217         type: 'list',\r
218       },\r
219       show: {\r
220         type: 'show',\r
221       },\r
222       count: {\r
223         type: 'count',\r
224         args: {\r
225           list_name: 'public',\r
226         },\r
227       },\r
228       count_by_story: {\r
229         type: 'count',\r
230       },\r
231       count_by_sheet: {\r
232         type: 'count',\r
233       },\r
234       count_by_author: {\r
235         type: 'count',\r
236       },\r
237       new: {\r
238         type: 'new',\r
239       },\r
240       edit: {\r
241         type: 'edit',\r
242       },\r
243     },\r
244   },\r
245   sheets: {\r
246     actions: {\r
247       index: {\r
248         type: 'list',\r
249         args: {\r
250           list_name: 'public',\r
251           \r
252         },\r
253       },\r
254       by_story: {\r
255         type: 'list',\r
256       },\r
257       by_panel: {\r
258         type: 'list',\r
259       },\r
260       by_author: {\r
261         type: 'list',\r
262       },\r
263       play: {\r
264         type: 'list',\r
265         args: {\r
266           item_name: 'sheet_panel',\r
267           list_name: 'play',\r
268         },\r
269       },\r
270       show: {\r
271         type: 'show',\r
272       },\r
273       count: {\r
274         type: 'count',\r
275         args: {\r
276           list_name: 'public',\r
277         },\r
278       },\r
279       count_by_story: {\r
280         type: 'count',\r
281       },\r
282       count_by_panel: {\r
283         type: 'count',\r
284       },\r
285       count_by_author: {\r
286         type: 'count',\r
287       },\r
288       new: {\r
289         type: 'new',\r
290       },\r
291       edit: {\r
292         type: 'edit',\r
293       },\r
294     },\r
295   },\r
296   sheet_panels: {\r
297     actions: {\r
298       index: {\r
299         type: 'list',\r
300         args: {\r
301           list_name: 'public',\r
302           \r
303         },\r
304       },\r
305       by_sheet: {\r
306         type: 'list',\r
307       },\r
308       by_panel: {\r
309         type: 'list',\r
310       },\r
311       by_author: {\r
312         type: 'list',\r
313       },\r
314       show: {\r
315         type: 'show',\r
316       },\r
317       count: {\r
318         type: 'count',\r
319         args: {\r
320           list_name: 'public',\r
321         },\r
322       },\r
323       count_by_sheet: {\r
324         type: 'count',\r
325       },\r
326       count_by_panel: {\r
327         type: 'count',\r
328       },\r
329       count_by_author: {\r
330         type: 'count',\r
331       },\r
332       new: {\r
333         type: 'new',\r
334       },\r
335       edit: {\r
336         type: 'edit',\r
337       },\r
338     },\r
339   },\r
340   panels: {\r
341     actions: {\r
342       index: {\r
343         type: 'list',\r
344         args: {\r
345           list_name: 'public',\r
346           \r
347         },\r
348       },\r
349       by_scroll: {\r
350         type: 'list',\r
351       },\r
352       by_sheet: {\r
353         type: 'list',\r
354       },\r
355       by_author: {\r
356         type: 'list',\r
357       },\r
358       by_speech_balloon_template: {\r
359         type: 'list',\r
360       },\r
361       show: {\r
362         type: 'show',\r
363       },\r
364       count: {\r
365         type: 'count',\r
366         args: {\r
367           list_name: 'public',\r
368         },\r
369       },\r
370       count_by_scroll: {\r
371         type: 'count',\r
372       },\r
373       count_by_sheet: {\r
374         type: 'count',\r
375       },\r
376       count_by_author: {\r
377         type: 'count',\r
378       },\r
379       count_by_speech_balloon_template: {\r
380         type: 'count',\r
381       },\r
382       new: {\r
383         type: 'new',\r
384       },\r
385       edit: {\r
386         type: 'edit',\r
387       },\r
388     },\r
389   },\r
390   panel_pictures: {\r
391     actions: {\r
392       index: {\r
393         type: 'list',\r
394         args: {\r
395           list_name: 'public',\r
396           \r
397         },\r
398       },\r
399       by_panel: {\r
400         type: 'list',\r
401       },\r
402       by_author: {\r
403         type: 'list',\r
404       },\r
405       show: {\r
406         type: 'show',\r
407       },\r
408       count: {\r
409         type: 'count',\r
410         args: {\r
411           list_name: 'public',\r
412         },\r
413       },\r
414       count_by_panel: {\r
415         type: 'count',\r
416       },\r
417       count_by_author: {\r
418         type: 'count',\r
419       },\r
420       new: {\r
421         type: 'new',\r
422       },\r
423       edit: {\r
424         type: 'edit',\r
425       },\r
426     },\r
427   },\r
428   speech_balloons: {\r
429     actions: {\r
430       index: {\r
431         type: 'list',\r
432         args: {\r
433           list_name: 'public',\r
434           \r
435         },\r
436       },\r
437       by_panel: {\r
438         type: 'list',\r
439       },\r
440       by_author: {\r
441         type: 'list',\r
442       },\r
443       show: {\r
444         type: 'show',\r
445       },\r
446       count: {\r
447         type: 'count',\r
448         args: {\r
449           list_name: 'public',\r
450         },\r
451       },\r
452       count_by_panel: {\r
453         type: 'count',\r
454       },\r
455       count_by_author: {\r
456         type: 'count',\r
457       },\r
458       new: {\r
459         type: 'new',\r
460       },\r
461       edit: {\r
462         type: 'edit',\r
463       },\r
464     },\r
465   },\r
466   speeches: {\r
467     actions: {\r
468       index: {\r
469         type: 'list',\r
470         args: {\r
471           list_name: 'public',\r
472           \r
473         },\r
474       },\r
475       by_writing_format: {\r
476         type: 'list',\r
477       },\r
478       show: {\r
479         type: 'show',\r
480       },\r
481       count: {\r
482         type: 'count',\r
483         args: {\r
484           list_name: 'public',\r
485         },\r
486       },\r
487       count_by_writing_format: {\r
488         type: 'count',\r
489       },\r
490       new: {\r
491         type: 'new',\r
492       },\r
493       edit: {\r
494         type: 'edit',\r
495       },\r
496     },\r
497   },\r
498   balloons: {\r
499     actions: {\r
500       index: {\r
501         type: 'list',\r
502         args: {\r
503           list_name: 'public',\r
504           \r
505         },\r
506       },\r
507       #by_system_picture: {\r
508       #  type: 'list',\r
509       #  args: {\r
510       #    list_name: 'by_system_picture',\r
511       #  },\r
512       #},\r
513       show: {\r
514         type: 'show',\r
515       },\r
516       count: {\r
517         type: 'count',\r
518         args: {\r
519           list_name: 'public',\r
520         },\r
521       },\r
522       new: {\r
523         type: 'new',\r
524       },\r
525       edit: {\r
526         type: 'edit',\r
527       },\r
528     },\r
529   },\r
530   ground_pictures: {\r
531     actions: {\r
532       index: {\r
533         type: 'list',\r
534         args: {\r
535           list_name: 'public',\r
536           \r
537         },\r
538       },\r
539       by_panel: {\r
540         type: 'list',\r
541       },\r
542       by_author: {\r
543         type: 'list',\r
544       },\r
545       show: {\r
546         type: 'show',\r
547       },\r
548       count: {\r
549         type: 'count',\r
550         args: {\r
551           list_name: 'public',\r
552         },\r
553       },\r
554       count_by_panel: {\r
555         type: 'count',\r
556       },\r
557       count_by_author: {\r
558         type: 'count',\r
559       },\r
560       new: {\r
561         type: 'new',\r
562       },\r
563       edit: {\r
564         type: 'edit',\r
565       },\r
566     },\r
567   },\r
568   ground_colors: {\r
569     actions: {\r
570       index: {\r
571         type: 'list',\r
572         args: {\r
573           list_name: 'public',\r
574           \r
575         },\r
576       },\r
577       by_panel: {\r
578         type: 'list',\r
579       },\r
580       by_author: {\r
581         type: 'list',\r
582       },\r
583       show: {\r
584         type: 'show',\r
585       },\r
586       count: {\r
587         type: 'count',\r
588         args: {\r
589           list_name: 'public',\r
590         },\r
591       },\r
592       count_by_panel: {\r
593         type: 'count',\r
594       },\r
595       count_by_author: {\r
596         type: 'count',\r
597       },\r
598       new: {\r
599         type: 'new',\r
600       },\r
601       edit: {\r
602         type: 'edit',\r
603       },\r
604     },\r
605   },\r
606   original_pictures: {\r
607     actions: {\r
608       index: {\r
609         type: 'list',\r
610         args: {\r
611           list_name: 'private',\r
612         },\r
613       },\r
614       show: {\r
615         type: 'show',\r
616       },\r
617       count: {\r
618         type: 'count',\r
619         args: {\r
620           list_name: 'public',\r
621         },\r
622       },\r
623     },\r
624   },\r
625   pictures: {\r
626     actions: {\r
627       index: {\r
628         type: 'list',\r
629         args: {\r
630           list_name: 'public',\r
631           \r
632         },\r
633       },\r
634       show: {\r
635         type: 'show',\r
636       },\r
637     },\r
638   },\r
639   resource_pictures: {\r
640     actions: {\r
641       index: {\r
642         type: 'list',\r
643         args: {\r
644           list_name: 'public',\r
645           \r
646         },\r
647       },\r
648       by_original_picture: {\r
649         type: 'list',\r
650       },\r
651       by_license: {\r
652         type: 'list',\r
653       },\r
654       by_artist: {\r
655         type: 'list',\r
656       },\r
657       show: {\r
658         type: 'show',\r
659       },\r
660       count: {\r
661         type: 'count',\r
662         args: {\r
663           list_name: 'public',\r
664         },\r
665       },\r
666       count_by_license: {\r
667         type: 'count',\r
668       },\r
669       count_by_artist: {\r
670         type: 'count',\r
671       },\r
672     },\r
673   },\r
674   speech_balloon_templates: {\r
675     actions: {\r
676       index: {\r
677         type: 'list',\r
678         args: {\r
679           list_name: 'public',\r
680           \r
681         },\r
682       },\r
683       show: {\r
684         type: 'show',\r
685       },\r
686       count: {\r
687         type: 'count',\r
688         args: {\r
689           list_name: 'public',\r
690         },\r
691       },\r
692       new: {\r
693         type: 'new',\r
694       },\r
695       edit: {\r
696         type: 'edit',\r
697       },\r
698     },\r
699   },\r
700   writing_formats: {\r
701     actions: {\r
702       index: {\r
703         type: 'list',\r
704         args: {\r
705           list_name: 'public',\r
706           \r
707         },\r
708       },\r
709       by_system_picture: {\r
710         type: 'list',\r
711       },\r
712       show: {\r
713         type: 'show',\r
714       },\r
715       count: {\r
716         type: 'count',\r
717         args: {\r
718           list_name: 'public',\r
719         },\r
720       },\r
721       count_by_system_picture: {\r
722         type: 'count',\r
723       },\r
724       new: {\r
725         type: 'new',\r
726       },\r
727       edit: {\r
728         type: 'edit',\r
729       },\r
730     },\r
731   },\r
732   license_groups: {\r
733     actions: {\r
734       index: {\r
735         type: 'list',\r
736         args: {\r
737           list_name: 'public',\r
738           \r
739         },\r
740       },\r
741       show: {\r
742         type: 'show',\r
743       },\r
744       count: {\r
745         type: 'count',\r
746         args: {\r
747           list_name: 'public',\r
748         },\r
749       },\r
750       new: {\r
751         type: 'new',\r
752       },\r
753       edit: {\r
754         type: 'edit',\r
755       },\r
756     },\r
757   },\r
758   licenses: {\r
759     actions: {\r
760       index: {\r
761         type: 'list',\r
762         args: {\r
763           list_name: 'public',\r
764           \r
765         },\r
766       },\r
767       by_license_group: {\r
768         type: 'list',\r
769       },\r
770       by_system_picture: {\r
771         type: 'list',\r
772       },\r
773       show: {\r
774         type: 'show',\r
775       },\r
776       count: {\r
777         type: 'count',\r
778         args: {\r
779           list_name: 'public',\r
780         },\r
781       },\r
782       count_by_license_group: {\r
783         type: 'count',\r
784       },\r
785       count_by_system_picture: {\r
786         type: 'count',\r
787       },\r
788       new: {\r
789         type: 'new',\r
790       },\r
791       edit: {\r
792         type: 'edit',\r
793       },\r
794     },\r
795   },\r
796   authors: {\r
797     actions: {\r
798       index: {\r
799         type: 'list',\r
800         args: {\r
801           list_name: 'public',\r
802           \r
803         },\r
804       },\r
805       scrolls: {\r
806         type: 'list',\r
807         args: {\r
808           list_name: 'scrolls',\r
809         },\r
810       },\r
811       comics: {\r
812         type: 'list',\r
813         args: {\r
814           list_name: 'comics',\r
815         },\r
816       },\r
817       stories: {\r
818         type: 'list',\r
819         args: {\r
820           list_name: 'stories',\r
821         },\r
822       },\r
823       sheets: {\r
824         type: 'list',\r
825         args: {\r
826           list_name: 'sheets',\r
827         },\r
828       },\r
829       panels: {\r
830         type: 'list',\r
831         args: {\r
832           list_name: 'panels',\r
833         },\r
834       },\r
835       panel_pictures: {\r
836         type: 'list',\r
837         args: {\r
838           list_name: 'panel_pictures',\r
839         },\r
840       },\r
841       speech_balloons: {\r
842         type: 'list',\r
843         args: {\r
844           list_name: 'speech_balloons',\r
845         },\r
846       },\r
847       ground_pictures: {\r
848         type: 'list',\r
849         args: {\r
850           list_name: 'ground_pictures',\r
851         },\r
852       },\r
853       ground_colors: {\r
854         type: 'list',\r
855         args: {\r
856           list_name: 'ground_colors',\r
857         },\r
858       },\r
859       show: {\r
860         type: 'show',\r
861       },\r
862       count: {\r
863         type: 'count',\r
864         args: {\r
865           list_name: 'public',\r
866         },\r
867       },\r
868       new: {\r
869         type: 'new',\r
870       },\r
871       edit: {\r
872         type: 'edit',\r
873       },\r
874     },\r
875   },\r
876   artists: {\r
877     actions: {\r
878       index: {\r
879         type: 'list',\r
880         args: {\r
881           list_name: 'public',\r
882           \r
883         },\r
884       },\r
885       resource_pictures: {\r
886         type: 'list',\r
887         args: {\r
888           list_name: 'resource_pictures',\r
889         },\r
890       },\r
891       show: {\r
892         type: 'show',\r
893       },\r
894       count: {\r
895         type: 'count',\r
896         args: {\r
897           list_name: 'public',\r
898         },\r
899       },\r
900       new: {\r
901         type: 'new',\r
902       },\r
903       edit: {\r
904         type: 'edit',\r
905       },\r
906     },\r
907   },\r
908   system_pictures: {\r
909     actions: {\r
910       index: {\r
911         type: 'list',\r
912         args: {\r
913           list_name: 'public',\r
914           \r
915         },\r
916       },\r
917       show: {\r
918         type: 'show',\r
919       },\r
920       count: {\r
921         type: 'count',\r
922         args: {\r
923           list_name: 'public',\r
924         },\r
925       },\r
926     },\r
927   },\r
928   home: {\r
929     actions: {\r
930       scrolls: {\r
931         type: 'list',\r
932         args: {\r
933           item_name: 'scroll',\r
934           list_name: 'private',\r
935           \r
936         },\r
937       },\r
938       scroll_panels: {\r
939         type: 'list',\r
940         args: {\r
941           item_name: 'scroll_panel',\r
942           list_name: 'private',\r
943           \r
944         },\r
945       },\r
946       comics: {\r
947         type: 'list',\r
948         args: {\r
949           item_name: 'comic',\r
950           list_name: 'private',\r
951           \r
952         },\r
953       },\r
954       stories: {\r
955         type: 'list',\r
956         args: {\r
957           item_name: 'story',\r
958           list_name: 'private',\r
959           \r
960         },\r
961       },\r
962       story_sheets: {\r
963         type: 'list',\r
964         args: {\r
965           item_name: 'story_sheet',\r
966           list_name: 'private',\r
967           \r
968         },\r
969       },\r
970       sheets: {\r
971         type: 'list',\r
972         args: {\r
973           item_name: 'sheet',\r
974           list_name: 'private',\r
975           \r
976         },\r
977       },\r
978       sheet_panels: {\r
979         type: 'list',\r
980         args: {\r
981           item_name: 'sheet_panel',\r
982           list_name: 'private',\r
983           \r
984         },\r
985       },\r
986       panels: {\r
987         type: 'list',\r
988         args: {\r
989           item_name: 'panel',\r
990           list_name: 'private',\r
991           \r
992         },\r
993       },\r
994       panel_pictures: {\r
995         type: 'list',\r
996         args: {\r
997           item_name: 'panel_picture',\r
998           list_name: 'private',\r
999           \r
1000         },\r
1001       },\r
1002       speech_balloons: {\r
1003         type: 'list',\r
1004         args: {\r
1005           item_name: 'speech_balloon',\r
1006           list_name: 'private',\r
1007           \r
1008         },\r
1009       },\r
1010       speeches: {\r
1011         type: 'list',\r
1012         args: {\r
1013           item_name: 'speech',\r
1014           list_name: 'private',\r
1015           \r
1016         },\r
1017       },\r
1018       balloons: {\r
1019         type: 'list',\r
1020         args: {\r
1021           item_name: 'balloon',\r
1022           list_name: 'private',\r
1023           \r
1024         },\r
1025       },\r
1026       ground_pictures: {\r
1027         type: 'list',\r
1028         args: {\r
1029           item_name: 'ground_picture',\r
1030           list_name: 'private',\r
1031           \r
1032         },\r
1033       },\r
1034       ground_colors: {\r
1035         type: 'list',\r
1036         args: {\r
1037           item_name: 'ground_color',\r
1038           list_name: 'private',\r
1039           \r
1040         },\r
1041       },\r
1042       original_pictures: {\r
1043         type: 'list',\r
1044         args: {\r
1045           item_name: 'original_picture',\r
1046           list_name: 'private',\r
1047           \r
1048         },\r
1049       },\r
1050       resource_pictures: {\r
1051         type: 'list',\r
1052         args: {\r
1053           item_name: 'resource_picture',\r
1054           list_name: 'private',\r
1055           \r
1056         },\r
1057       },\r
1058     },\r
1059   },\r
1060 }\r