OSDN Git Service

fix
[pettanr/pettanr.git] / public / manifest.json
index 7ec287f..d10ace7 100644 (file)
             "list_name": "sheets"\r
           }\r
         },\r
+        "by_comic": {\r
+          "type": "list",\r
+          "list": {\r
+            "list_name": "by_comic"\r
+          }\r
+        },\r
         "by_sheet": {\r
           "type": "list",\r
           "list": {\r
       }\r
     },\r
     "artist": {\r
-      "model_name": "",\r
+      "model_name": "artist",\r
       "actions": {\r
         "index": {\r
           "type": "list",\r
         "has_many": {\r
           "story_sheets": {\r
             "foreign_key": "story_id",\r
-            "list_method": "list_by_story"\r
+            "model": "story_sheet"\r
           },\r
           "sheets": {\r
             "through": "story_sheets",\r
             "foreign_key": "story_id",\r
-            "list_method": "list_by_story"\r
+            "model": "sheet"\r
           }\r
         }\r
       },\r
         "has_many": {\r
           "story_sheets": {\r
             "foreign_key": "story_id",\r
-            "list_method": "list_by_sheet"\r
+            "model": "story_sheet"\r
           },\r
           "stories": {\r
             "through": "story_sheets",\r
             "foreign_key": "sheet_id",\r
-            "list_method": "list_by_sheet"\r
+            "model": "story"\r
           },\r
           "sheet_panels": {\r
             "foreign_key": "sheet_id",\r
-            "list_method": "list_by_sheet"\r
+            "model": "sheet_panel"\r
           },\r
           "panels": {\r
             "through": "sheet_panels",\r
             "foreign_key": "sheet_id",\r
-            "list_method": "list_by_sheet"\r
+            "model": "panel"\r
           }\r
         }\r
       },\r
         "has_many": {\r
           "scroll_panels": {\r
             "foreign_key": "panel_id",\r
-            "list_method": "list_by_panel"\r
+            "model": "scroll_panel"\r
           },\r
           "scrolls": {\r
             "through": "scroll_panels",\r
             "foreign_key": "panel_id",\r
-            "list_method": "list_by_panel"\r
+            "model": "scroll"\r
           },\r
           "sheet_panels": {\r
             "foreign_key": "panel_id",\r
-            "list_method": "list_by_panel"\r
+            "model": "sheet_panel"\r
           },\r
           "sheets": {\r
             "through": "sheet_panels",\r
             "foreign_key": "panel_id",\r
-            "list_method": "list_by_panel"\r
+            "model": "sheet"\r
           },\r
           "panel_pictures": {\r
             "foreign_key": "panel_id",\r
-            "list_method": "list_by_panel"\r
+            "model": "panel_picture"\r
           },\r
           "speech_balloons": {\r
             "foreign_key": "panel_id",\r
-            "list_method": "list_by_panel"\r
+            "model": "speech_balloon"\r
           },\r
           "ground_pictures": {\r
             "foreign_key": "panel_id",\r
-            "list_method": "list_by_panel"\r
+            "model": "ground_picture"\r
           },\r
           "ground_colors": {\r
             "foreign_key": "panel_id",\r
-            "list_method": "list_by_panel"\r
+            "model": "ground_color"\r
           }\r
         }\r
       },\r
         "has_one": {\r
           "balloon": {\r
             "foreign_key": "speech_balloon_id",\r
-            "list_method": "list_by_speech_balloon"\r
+            "model": "balloon"\r
           },\r
           "speech": {\r
             "foreign_key": "speech_balloon_id",\r
-            "list_method": "list_by_speech_balloon"\r
+            "model": "speech"\r
           }\r
         }\r
       },\r
         "has_many": {\r
           "pictures": {\r
             "foreign_key": "original_picture_id",\r
-            "list_method": "list_by_original_picture"\r
+            "model": "picture"\r
           }\r
         },\r
         "has_one": {\r
           "resource_picture": {\r
             "foreign_key": "original_picture_id",\r
-            "list_method": "list_by_original_picture"\r
+            "model": "resource_picture"\r
           }\r
         }\r
       },\r
         "has_many": {\r
           "speech_balloons": {\r
             "foreign_key": "speech_balloon_template_id",\r
-            "list_method": "list_by_speech_balloon_template"\r
+            "model": "speech_balloon"\r
           },\r
           "panels": {\r
             "through": "speech_balloons",\r
             "foreign_key": "speech_balloon_template_id",\r
-            "list_method": "list_by_speech_balloon_template"\r
+            "model": "panel"\r
           }\r
         },\r
         "has_one": {}\r
         "has_many": {\r
           "speeches": {\r
             "foreign_key": "writing_format_id",\r
-            "list_method": "list_by_writing_format"\r
+            "model": "speech"\r
           }\r
         },\r
         "has_one": {}\r
         "has_many": {\r
           "licenses": {\r
             "foreign_key": "license_group_id",\r
-            "list_method": "list_by_license_group"\r
+            "model": "license"\r
           }\r
         },\r
         "has_one": {}\r
         "has_many": {\r
           "resource_pictures": {\r
             "foreign_key": "license_id",\r
-            "list_method": "list_by_license"\r
+            "model": "resource_picture"\r
           }\r
         },\r
         "has_one": {}\r
         "has_many": {\r
           "scrolls": {\r
             "foreign_key": "author_id",\r
-            "list_method": "list_by_author"\r
+            "model": "scroll"\r
           },\r
           "comics": {\r
             "foreign_key": "author_id",\r
-            "list_method": "list_by_author"\r
+            "model": "comic"\r
           },\r
           "stories": {\r
             "foreign_key": "author_id",\r
-            "list_method": "list_by_author"\r
+            "model": "story"\r
           },\r
           "sheets": {\r
             "foreign_key": "author_id",\r
-            "list_method": "list_by_author"\r
+            "model": "sheet"\r
           },\r
           "panels": {\r
             "foreign_key": "author_id",\r
-            "list_method": "list_by_author"\r
+            "model": "panel"\r
           }\r
         },\r
         "has_one": {}\r
         "has_many": {\r
           "resource_pictures": {\r
             "foreign_key": "artist_id",\r
-            "list_method": "list_by_artist"\r
+            "model": "resource_picture"\r
           }\r
         },\r
         "has_one": {}\r
         "has_many": {\r
           "balloons": {\r
             "foreign_key": "system_picture_id",\r
-            "list_method": "list_by_system_picture"\r
+            "model": "balloon"\r
           },\r
           "balloon_templates": {\r
             "foreign_key": "system_picture_id",\r
-            "list_method": "list_by_system_picture"\r
+            "model": "balloon_template"\r
           },\r
           "licenses": {\r
             "foreign_key": "system_picture_id",\r
-            "list_method": "list_by_system_picture"\r
+            "model": "license"\r
           }\r
         },\r
         "has_one": {}\r
           "association_name": "scroll_panels"\r
         },\r
         "panels": {\r
-          "type": "has_many",\r
+          "type": "has_many_through",\r
           "association_name": "panels"\r
         },\r
         "by_author": {\r
         }\r
       },\r
       "speech_balloon_template": {\r
-        "lists": {\r
-          "speech_balloons.by_speech_balloon_template": {\r
-            "model_name": "speech_balloon",\r
-            "list_name": "by_speech_balloon_template"\r
-          },\r
-          "panels.by_speech_balloon_template": {\r
-            "model_name": "panel",\r
-            "list_name": "by_speech_balloon_template"\r
-          }\r
-        },\r
+        "lists": {},\r
         "columns": [\r
           "id",\r
           "name",\r
           "belongs_to": [\r
             "system_picture"\r
           ],\r
-          "has_many": [\r
-            "speech_balloons.by_speech_balloon_template",\r
-            "panels.by_speech_balloon_template"\r
-          ],\r
+          "has_many": [],\r
           "has_one": []\r
         }\r
       },\r
           "name": "/assets/item.png"\r
         },\r
         "caption": {\r
-          "type": "method",\r
-          "name": "plain_scenario",\r
+          "type": "column",\r
+          "name": "caption",\r
           "link": {\r
             "type": "none"\r
           }\r