OSDN Git Service

add: resource_picture_pictures
[pettanr/pettanr.git] / app / assets / javascripts / work / controllers.js.coffee.erb
index cb68550..96529b6 100644 (file)
@@ -1,7 +1,6 @@
 #マニフェスト\r
 @controllers = {\r
   folders: {\r
-    item_name: 'folder',\r
     actions: {\r
       root: {\r
         type: 'show',\r
@@ -9,7 +8,6 @@
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
       watch: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   scrolls: {\r
-    item_name: 'scroll',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
       play: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'scroll_panel',\r
-          list_name: 'play',\r
+          alias: 'scroll_panels.by_scroll',\r
+          order: 't',\r
+          direction: 1\r
         },\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   scroll_panels: {\r
-    item_name: 'scroll_panel',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
-      count_by_scroll: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   comics: {\r
-    item_name: 'comic',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
       play: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'comic_story',\r
-          list_name: 'play',\r
+          alias: 'comic_stories.by_comic',\r
+          max_page_size: -1,\r
+          order: 't',\r
+          direction: 1\r
         },\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
-      count_by_story: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   comic_stories: {\r
-    item_name: 'comic_story',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
           param_id: 'suffix',\r
         },\r
       },\r
-      show: {\r
-        type: 'show',\r
-      },\r
-      count: {\r
-        type: 'count',\r
+      by_author: {\r
+        type: 'list',\r
         args: {\r
-          list_name: 'public',\r
+          param_id: 'suffix',\r
         },\r
       },\r
-      count_by_comic: {\r
-        type: 'count',\r
-      },\r
-      count_by_story: {\r
-        type: 'count',\r
+      show: {\r
+        type: 'show',\r
       },\r
       new: {\r
         type: 'new',\r
     },\r
   },\r
   stories: {\r
-    item_name: 'story',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
       play: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'story_sheet',\r
-          list_name: 'play',\r
+          alias: 'story_sheets.by_story',\r
+          max_page_size: -1,\r
+          order: 't',\r
+          direction: 1\r
         },\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_sheet: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   story_sheets: {\r
-    item_name: 'story_sheet',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
-      count_by_story: {\r
-        type: 'count',\r
-      },\r
-      count_by_sheet: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   sheets: {\r
-    item_name: 'sheet',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
       play: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'sheet_panel',\r
-          list_name: 'play',\r
+          alias: 'sheet_panels.by_sheet',\r
+          order: 't',\r
+          direction: 1\r
         },\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
-      count_by_story: {\r
-        type: 'count',\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   sheet_panels: {\r
-    item_name: 'sheet_panel',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
-      count_by_sheet: {\r
-        type: 'count',\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   panels: {\r
-    item_name: 'panel',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
-      count_by_scroll: {\r
-        type: 'count',\r
-      },\r
-      count_by_sheet: {\r
-        type: 'count',\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
     },\r
   },\r
   panel_pictures: {\r
-    item_name: 'panel_picture',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   speech_balloons: {\r
-    item_name: 'speech_balloon',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\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
     },\r
   },\r
   speeches: {\r
-    item_name: 'speech',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
           param_id: 'suffix',\r
         },\r
       },\r
-      show: {\r
-        type: 'show',\r
+      by_speech_balloon: {\r
+        type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
-      count: {\r
-        type: 'count',\r
+      by_speech_balloon_template: {\r
+        type: 'list',\r
         args: {\r
-          list_name: 'public',\r
+          param_id: 'suffix',\r
         },\r
       },\r
-      count_by_author: {\r
-        type: 'count',\r
+      by_writing_format: {\r
+        type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
+      },\r
+      show: {\r
+        type: 'show',\r
       },\r
       new: {\r
         type: 'new',\r
     },\r
   },\r
   balloons: {\r
-    item_name: 'balloon',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
           param_id: 'suffix',\r
         },\r
       },\r
-      show: {\r
-        type: 'show',\r
+      by_speech_balloon: {\r
+        type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
+      },\r
+      by_speech_balloon_template: {\r
+        type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
-      count: {\r
-        type: 'count',\r
+      by_system_picture: {\r
+        type: 'list',\r
         args: {\r
-          list_name: 'public',\r
+          param_id: 'suffix',\r
         },\r
       },\r
-      count_by_author: {\r
-        type: 'count',\r
+      show: {\r
+        type: 'show',\r
       },\r
       new: {\r
         type: 'new',\r
     },\r
   },\r
   ground_pictures: {\r
-    item_name: 'ground_picture',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   ground_colors: {\r
-    item_name: 'ground_color',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   original_pictures: {\r
-    item_name: 'original_picture',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'private',\r
           param_id: 'none',\r
         },\r
       },\r
       history: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'private',\r
-        },\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   pictures: {\r
-    item_name: 'picture',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\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
-    item_name: 'resource_picture',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
+      by_original_picture: {\r
+        type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
+      },\r
       by_license_group: {\r
         type: 'list',\r
         args: {\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
+    },\r
+  },\r
+  resource_picture_pictures: {\r
+    actions: {\r
+      index: {\r
+        type: 'list',\r
+        args: {\r
+          param_id: 'none',\r
+        },\r
+      },\r
+      by_original_picture: {\r
+        type: 'list',\r
         args: {\r
-          list_name: 'public',\r
+          param_id: 'suffix',\r
         },\r
       },\r
-      count_by_license_group: {\r
-        type: 'count',\r
+      by_resource_picture: {\r
+        type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
-      count_by_license: {\r
-        type: 'count',\r
+      by_picture: {\r
+        type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
-      count_by_artist: {\r
-        type: 'count',\r
+      show: {\r
+        type: 'show',\r
       },\r
     },\r
   },\r
   speech_balloon_templates: {\r
-    item_name: 'speech_balloon_template',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
+          max_page_size: -1,\r
+          order: 't',\r
+          direction: 1\r
         },\r
       },\r
       by_panel: {\r
           param_id: 'suffix',\r
         },\r
       },\r
-      show: {\r
-        type: 'show',\r
-      },\r
-      count: {\r
-        type: 'count',\r
+      by_system_picture: {\r
+        type: 'list',\r
         args: {\r
-          list_name: 'public',\r
+          param_id: 'suffix',\r
         },\r
       },\r
-      count_by_panel: {\r
-        type: 'count',\r
+      show: {\r
+        type: 'show',\r
       },\r
       new: {\r
         type: 'new',\r
     },\r
   },\r
   writing_formats: {\r
-    item_name: 'writing_format',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
+          max_page_size: -1,\r
+          order: 't',\r
+          direction: 1\r
         },\r
       },\r
       by_system_picture: {\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
-      count_by_system_picture: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   license_groups: {\r
-    item_name: 'license_group',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
+          max_page_size: -1,\r
+          order: 't',\r
+          direction: 1\r
         },\r
       },\r
-      show: {\r
-        type: 'show',\r
-      },\r
-      count: {\r
-        type: 'count',\r
+      by_resource_picture: {\r
+        type: 'list',\r
         args: {\r
-          list_name: 'public',\r
+          param_id: 'suffix',\r
         },\r
       },\r
+      show: {\r
+        type: 'show',\r
+      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   licenses: {\r
-    item_name: 'license',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
+          max_page_size: -1,\r
+          order: 'name',\r
+          direction: 1\r
         },\r
       },\r
       by_license_group: {\r
         type: 'list',\r
         args: {\r
           param_id: 'suffix',\r
+          order: 'name',\r
+          direction: 1\r
         },\r
       },\r
       by_system_picture: {\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
-      count_by_license_group: {\r
-        type: 'count',\r
-      },\r
-      count_by_system_picture: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
     },\r
   },\r
   authors: {\r
-    item_name: 'author',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\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
     },\r
   },\r
   artists: {\r
-    item_name: 'artist',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\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
     },\r
   },\r
   system_pictures: {\r
-    item_name: 'system_picture',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'public',\r
           param_id: 'none',\r
         },\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          list_name: 'public',\r
-        },\r
-      },\r
     },\r
   },\r
   home: {\r
       scrolls: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'scroll',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'scrolls_count',\r
+          alias: 'scrolls.index',\r
         },\r
       },\r
       scroll_panels: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'scroll_panel',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'scroll_panels_count',\r
+          alias: 'scroll_panels.index',\r
         },\r
       },\r
       comics: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'comic',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'comics_count',\r
+          alias: 'comics.index',\r
+        },\r
+      },\r
+      comic_stories: {\r
+        type: 'list',\r
+        args: {\r
+          alias: 'comic_stories.index',\r
         },\r
       },\r
       stories: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'story',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'stories_count',\r
+          alias: 'stories.index',\r
         },\r
       },\r
       story_sheets: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'story_sheet',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'story_sheets_count',\r
+          alias: 'story_sheets.index',\r
         },\r
       },\r
       sheets: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'sheet',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'sheets_count',\r
+          alias: 'sheets.index',\r
         },\r
       },\r
       sheet_panels: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'sheet_panel',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'sheet_panels_count',\r
+          alias: 'sheet_panels.index',\r
         },\r
       },\r
       panels: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'panel',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'panels_count',\r
+          alias: 'panels.index',\r
         },\r
       },\r
       panel_pictures: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'panel_picture',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'panel_pictures_count',\r
+          alias: 'panel_pictures.index',\r
         },\r
       },\r
       speech_balloons: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'speech_balloon',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'speech_balloons_count',\r
+          alias: 'speech_balloons.index',\r
         },\r
       },\r
       speeches: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'speech',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'speeches_count',\r
+          alias: 'speeches.index',\r
         },\r
       },\r
       balloons: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'balloon',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'balloons_count',\r
+          alias: 'balloons.index',\r
         },\r
       },\r
       ground_pictures: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'ground_picture',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'ground_pictures_count',\r
+          alias: 'ground_pictures.index',\r
         },\r
       },\r
       ground_colors: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'ground_color',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'ground_colors_count',\r
+          alias: 'ground_colors.index',\r
         },\r
       },\r
       original_pictures: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'original_picture',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'count',\r
+          alias: 'original_pictures.index',\r
         },\r
       },\r
       resource_pictures: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'resource_picture',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-          counter_name: 'resource_pictures_count',\r
-        },\r
-      },\r
-      scrolls_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'scroll',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      scroll_panels_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'scroll_panel',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      comics_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'comic',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      stories_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'story',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      story_sheets_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'story_sheet',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      sheets_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'sheet',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      sheet_panels_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'sheet_panel',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      panels_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'panel',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      panel_pictures_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'panel_picture',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      speech_balloons_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'speech_balloon',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      speeches_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'speech',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      balloons_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'balloon',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      ground_pictures_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'ground_picture',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      ground_colors_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'ground_color',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      original_pictures_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'original_picture',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      resource_pictures_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'resource_picture',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
+          alias: 'resource_pictures.index',\r
         },\r
       },\r
     },\r