OSDN Git Service

v07
[pettanr/pettanr.git] / public / manifest.json
index f9e7597..4e25050 100644 (file)
         "play": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "scroll_panels.by_scroll",\r
+            "return_item_name": "scroll_panel",\r
             "order": "t",\r
             "direction": 1\r
           }\r
         "play": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "comic_stories.by_comic",\r
+            "return_item_name": "comic_story",\r
             "max_page_size": -1,\r
             "order": "t",\r
             "direction": 1\r
         "play": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "story_sheets.by_story",\r
+            "return_item_name": "story_sheet",\r
             "max_page_size": -1,\r
             "order": "t",\r
             "direction": 1\r
         "play": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "sheet_panels.by_sheet",\r
+            "return_item_name": "sheet_panel",\r
             "order": "t",\r
             "direction": 1\r
           }\r
           "type": "show"\r
         },\r
         "history": {\r
-          "type": "show"\r
+          "type": "list",\r
+          "args": {\r
+            "return_item_name": "picture",\r
+            "max_page_size": -1,\r
+            "order": "revision",\r
+            "direction": 1\r
+          }\r
         },\r
         "new": {\r
           "type": "new"\r
         }\r
       }\r
     },\r
+    "original_picture_license_groups": {\r
+      "actions": {\r
+        "new": {\r
+          "type": "new"\r
+        },\r
+        "create": {\r
+          "type": "create"\r
+        }\r
+      }\r
+    },\r
+    "original_picture_licenses": {\r
+      "actions": {\r
+        "new": {\r
+          "type": "new"\r
+        },\r
+        "create": {\r
+          "type": "create"\r
+        }\r
+      }\r
+    },\r
     "resource_picture_pictures": {\r
       "actions": {\r
         "index": {\r
         "scrolls": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "scrolls.index"\r
+            "item_name": "scroll"\r
           }\r
         },\r
         "scroll_panels": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "scroll_panels.index"\r
+            "item_name": "scroll_panel"\r
           }\r
         },\r
         "comics": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "comics.index"\r
+            "item_name": "comic"\r
           }\r
         },\r
         "comic_stories": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "comic_stories.index"\r
+            "item_name": "comic_story"\r
           }\r
         },\r
         "stories": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "stories.index"\r
+            "item_name": "story"\r
           }\r
         },\r
         "story_sheets": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "story_sheets.index"\r
+            "item_name": "story_sheet"\r
           }\r
         },\r
         "sheets": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "sheets.index"\r
+            "item_name": "sheet"\r
           }\r
         },\r
         "sheet_panels": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "sheet_panels.index"\r
+            "item_name": "sheet_panel"\r
           }\r
         },\r
         "panels": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "panels.index"\r
+            "item_name": "panel"\r
           }\r
         },\r
         "panel_pictures": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "panel_pictures.index"\r
+            "item_name": "panel_picture"\r
           }\r
         },\r
         "speech_balloons": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "speech_balloons.index"\r
+            "item_name": "speech_balloon"\r
           }\r
         },\r
         "speeches": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "speeches.index"\r
+            "item_name": "speech"\r
           }\r
         },\r
         "balloons": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "balloons.index"\r
+            "item_name": "balloon"\r
           }\r
         },\r
         "ground_pictures": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "ground_pictures.index"\r
+            "item_name": "ground_picture"\r
           }\r
         },\r
         "ground_colors": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "ground_colors.index"\r
+            "item_name": "ground_color"\r
           }\r
         },\r
         "original_pictures": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "original_pictures.index"\r
+            "item_name": "original_picture"\r
           }\r
         },\r
         "resource_pictures": {\r
           "type": "list",\r
           "args": {\r
-            "alias": "resource_pictures.index"\r
+            "item_name": "resource_picture"\r
           }\r
         }\r
       }\r
     "panel_picture": {\r
       "associations": {\r
         "belongs_to": {\r
-          "panel": {}\r
+          "panel": {},\r
+          "picture": {}\r
         },\r
         "has_many": {}\r
       },\r
     "ground_picture": {\r
       "associations": {\r
         "belongs_to": {\r
-          "panel": {}\r
+          "panel": {},\r
+          "picture": {}\r
         },\r
         "has_many": {}\r
       },\r
         "belongs_to": {\r
           "license": {},\r
           "artist": {},\r
+          "original_picture": {},\r
           "system_picture": {}\r
         },\r
-        "has_many": {},\r
+        "has_many": {\r
+          "panel_pictures": {},\r
+          "ground_pictures": {}\r
+        },\r
         "has_one": {\r
           "resource_picture_picture": {}\r
         }\r
       "associations": {\r
         "belongs_to": {\r
           "original_picture": {},\r
+          "picture": {},\r
           "license_group": {},\r
           "license": {},\r
           "artist": {},\r