OSDN Git Service

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