OSDN Git Service

add: resource_picture_pictures
[pettanr/pettanr.git] / app / assets / javascripts / work / list_groups.js.coffee.erb
index 1712ae6..755837f 100644 (file)
       },\r
       play: {\r
         type: 'play',\r
+        args: {\r
+          filter_item_name: 'scroll',\r
+          wheres: ['index', 'play'],\r
+        },\r
       },\r
     },\r
   },\r
       },\r
       play: {\r
         type: 'play',\r
+        args: {\r
+          filter_item_name: 'comic',\r
+          wheres: ['index', 'play'],\r
+        },\r
       },\r
     },\r
   },\r
       },\r
       play: {\r
         type: 'play',\r
+        args: {\r
+          filter_item_name: 'story',\r
+          wheres: ['index', 'play'],\r
+        },\r
       },\r
     },\r
   },\r
         type: 'filter',\r
       },\r
       play: {\r
-        type: 'play',\r
+        type: 'public',\r
       },\r
     },\r
   },\r
   original_pictures: {\r
     lists: {\r
       index: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
     },\r
   },\r
       },\r
     },\r
   },\r
+  resource_picture_pictures: {\r
+    lists: {\r
+      index: {\r
+        type: 'public',\r
+      },\r
+      by_original_picture: {\r
+        type: 'filter',\r
+      },\r
+      by_resource_picture: {\r
+        type: 'filter',\r
+      },\r
+      by_picture: {\r
+        type: 'filter',\r
+      },\r
+    },\r
+  },\r
   speech_balloon_templates: {\r
     lists: {\r
       index: {\r
     lists: {\r
       index: {\r
         type: 'public',\r
+        args: {\r
+          after_method_name: 'enable',\r
+        },\r
       },\r
       by_system_picture: {\r
         type: 'filter',\r
   home: {\r
     lists: {\r
       scrolls: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       scroll_panels: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       comics: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       comic_stories: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       stories: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       story_sheets: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       sheets: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       sheet_panels: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       panels: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       panel_pictures: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       speech_balloons: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       speeches: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       balloons: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       ground_pictures: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       ground_colors: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       original_pictures: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
       resource_pictures: {\r
-        type: 'private',\r
+        type: 'public',\r
+        args: {\r
+          wheres: ['index', 'private'],\r
+        },\r
       },\r
     },\r
   },\r