OSDN Git Service

add lg_id in resource picture
[pettanr/pettanr.git] / app / assets / javascripts / manifest / work / controllers.js.coffee.erb
index 58fd878..604a318 100644 (file)
@@ -1,5 +1,33 @@
 #マニフェスト\r
 @controllers = {\r
+  folders: {\r
+    actions: {\r
+      root: {\r
+        type: 'show',\r
+      },\r
+      index: {\r
+        type: 'list',\r
+        args: {\r
+          list_name: 'public',\r
+        },\r
+      },\r
+      show: {\r
+        type: 'show',\r
+      },\r
+      count: {\r
+        type: 'count',\r
+        args: {\r
+          list_name: 'public',\r
+        },\r
+      },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
+    },\r
+  },\r
   scrolls: {\r
     actions: {\r
       index: {\r
@@ -17,6 +45,7 @@
       play: {\r
         type: 'list',\r
         args: {\r
+          item_name: 'scroll_panel',\r
           list_name: 'play',\r
         },\r
       },\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   scroll_panels: {\r
@@ -58,6 +96,9 @@
       by_scroll: {\r
         type: 'list',\r
       },\r
+      by_author: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
       count_by_scroll: {\r
         type: 'count',\r
       },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
       new: {\r
         type: 'new',\r
       },\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   comics: {\r
           \r
         },\r
       },\r
+      by_story: {\r
+        type: 'list',\r
+      },\r
       by_author: {\r
         type: 'list',\r
       },\r
+      play: {\r
+        type: 'list',\r
+        args: {\r
+          item_name: 'comic_story',\r
+          list_name: 'play',\r
+        },\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
           list_name: 'public',\r
         },\r
       },\r
+      count_by_story: {\r
+        type: 'count',\r
+      },\r
       count_by_author: {\r
         type: 'count',\r
       },\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
+    },\r
+  },\r
+  comic_stories: {\r
+    actions: {\r
+      index: {\r
+        type: 'list',\r
+        args: {\r
+          list_name: 'public',\r
+          \r
+        },\r
+      },\r
+      by_comic: {\r
+        type: 'list',\r
+      },\r
+      by_story: {\r
+        type: 'list',\r
+      },\r
+      by_author: {\r
+        type: 'list',\r
+      },\r
+      show: {\r
+        type: 'show',\r
+      },\r
+      count: {\r
+        type: 'count',\r
+        args: {\r
+          list_name: 'public',\r
+        },\r
+      },\r
+      count_by_comic: {\r
+        type: 'count',\r
+      },\r
+      count_by_story: {\r
+        type: 'count',\r
+      },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   stories: {\r
       play: {\r
         type: 'list',\r
         args: {\r
+          item_name: 'story_sheet',\r
           list_name: 'play',\r
         },\r
       },\r
           list_name: 'public',\r
         },\r
       },\r
-      by_comic: {\r
+      count_by_comic: {\r
         type: 'count',\r
       },\r
-      by_sheet: {\r
+      count_by_sheet: {\r
         type: 'count',\r
       },\r
       count_by_author: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   story_sheets: {\r
       by_sheet: {\r
         type: 'list',\r
       },\r
+      by_author: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
       count_by_sheet: {\r
         type: 'count',\r
       },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
       new: {\r
         type: 'new',\r
       },\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   sheets: {\r
       play: {\r
         type: 'list',\r
         args: {\r
+          item_name: 'sheet_panel',\r
           list_name: 'play',\r
         },\r
       },\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   sheet_panels: {\r
       by_panel: {\r
         type: 'list',\r
       },\r
+      by_author: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
       count_by_panel: {\r
         type: 'count',\r
       },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
       new: {\r
         type: 'new',\r
       },\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   panels: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   panel_pictures: {\r
       count_by_author: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   speech_balloons: {\r
       by_author: {\r
         type: 'list',\r
       },\r
+      by_speech_balloon_template: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
       count_by_author: {\r
         type: 'count',\r
       },\r
+      count_by_speech_balloon_template: {\r
+        type: 'count',\r
+      },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   speeches: {\r
           \r
         },\r
       },\r
-      by_writing_format: {\r
+      by_author: {\r
         type: 'list',\r
       },\r
       show: {\r
           list_name: 'public',\r
         },\r
       },\r
-      count_by_writing_format: {\r
+      count_by_author: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   balloons: {\r
           \r
         },\r
       },\r
-      #by_system_picture: {\r
-      #  type: 'list',\r
-      #  args: {\r
-      #    list_name: 'by_system_picture',\r
-      #  },\r
-      #},\r
+      by_author: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
           list_name: 'public',\r
         },\r
       },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   ground_pictures: {\r
       count_by_author: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   ground_colors: {\r
       count_by_author: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   original_pictures: {\r
       show: {\r
         type: 'show',\r
       },\r
+      history: {\r
+        type: 'show',\r
+      },\r
       count: {\r
         type: 'count',\r
         args: {\r
           list_name: 'public',\r
         },\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   pictures: {\r
     actions: {\r
+      index: {\r
+        type: 'list',\r
+        args: {\r
+          list_name: 'public',\r
+          \r
+        },\r
+      },\r
+      by_artist: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
+      count: {\r
+        type: 'count',\r
+        args: {\r
+          list_name: 'public',\r
+        },\r
+      },\r
+      count_by_artist: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
   resource_pictures: {\r
           \r
         },\r
       },\r
-      by_original_picture: {\r
+      by_license_group: {\r
         type: 'list',\r
       },\r
       by_license: {\r
           list_name: 'public',\r
         },\r
       },\r
+      count_by_license_group: {\r
+        type: 'count',\r
+      },\r
       count_by_license: {\r
         type: 'count',\r
       },\r
           \r
         },\r
       },\r
+      by_panel: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
           list_name: 'public',\r
         },\r
       },\r
+      count_by_panel: {\r
+        type: 'count',\r
+      },\r
       new: {\r
         type: 'new',\r
       },\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   writing_formats: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   license_groups: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   licenses: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   authors: {\r
           \r
         },\r
       },\r
-      scrolls: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'scrolls',\r
-        },\r
-      },\r
-      comics: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'comics',\r
-        },\r
-      },\r
-      stories: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'stories',\r
-        },\r
-      },\r
-      sheets: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'sheets',\r
-        },\r
-      },\r
-      panels: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'panels',\r
-        },\r
-      },\r
-      panel_pictures: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'panel_pictures',\r
-        },\r
-      },\r
-      speech_balloons: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'speech_balloons',\r
-        },\r
-      },\r
-      ground_pictures: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'ground_pictures',\r
-        },\r
-      },\r
-      ground_colors: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'ground_colors',\r
-        },\r
-      },\r
       show: {\r
         type: 'show',\r
       },\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   artists: {\r
           \r
         },\r
       },\r
-      resource_pictures: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'resource_pictures',\r
-        },\r
-      },\r
       show: {\r
         type: 'show',\r
       },\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   system_pictures: {\r