OSDN Git Service

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