OSDN Git Service

manifest view profiler
[pettanr/pettanr.git] / public / manifest.json
index 1cafc04..7856fc9 100644 (file)
@@ -21,8 +21,7 @@
           }\r
         },\r
         "show": {\r
-          "type": "show",\r
-          "name": "show"\r
+          "type": "show"\r
         },\r
         "count": {\r
           "type": "count",\r
@@ -35,6 +34,9 @@
         },\r
         "count_by_panel": {\r
           "type": "count"\r
+        },\r
+        "new": {\r
+          "type": "new"\r
         }\r
       }\r
     },\r
@@ -52,6 +54,9 @@
         "by_scroll": {\r
           "type": "list"\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
@@ -77,6 +82,9 @@
         "by_author": {\r
           "type": "list"\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
             "list_name": "play"\r
           }\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
         "by_sheet": {\r
           "type": "list"\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
             "list_name": "play"\r
           }\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
         "by_panel": {\r
           "type": "list"\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
         "by_speech_balloon_template": {\r
           "type": "list"\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
         "by_author": {\r
           "type": "list"\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
         "by_author": {\r
           "type": "list"\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
         "by_writing_format": {\r
           "type": "list"\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
             "list_name": "public_list"\r
           }\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
         "by_author": {\r
           "type": "list"\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
         "by_author": {\r
           "type": "list"\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
             "list_name": "private_list"\r
           }\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
         "by_artist": {\r
           "type": "list"\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
             "list_name": "public_list"\r
           }\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
         "by_system_picture": {\r
           "type": "list"\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
             "list_name": "public_list"\r
           }\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
         "by_system_picture": {\r
           "type": "list"\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
             "list_name": "ground_colors"\r
           }\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
             "list_name": "resource_pictures"\r
           }\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
             "list_name": "public_list"\r
           }\r
         },\r
+        "show": {\r
+          "type": "show"\r
+        },\r
         "count": {\r
           "type": "count",\r
           "args": {\r
           }\r
         },\r
         "by_panel": {\r
-          "type": "through_filter"\r
+          "type": "through_filter",\r
+          "args": {\r
+            "filter_item_name": "panel",\r
+            "through": "scroll_panels",\r
+            "filter_key": "panel_id"\r
+          }\r
         },\r
         "play": {\r
-          "type": "play"\r
+          "type": "play",\r
+          "args": {\r
+            "filter_item_name": "scroll",\r
+            "filter_model_name": "scroll_panel",\r
+            "filter_key": "scroll_id"\r
+          }\r
         }\r
       }\r
     },\r
           "type": "private"\r
         },\r
         "by_scroll": {\r
-          "type": "through_filter"\r
+          "type": "through_filter",\r
+          "args": {\r
+            "filter_item_name": "scroll",\r
+            "through": "scroll_panels",\r
+            "filter_key": "scroll_id"\r
+          }\r
         },\r
         "by_sheet": {\r
           "type": "through_filter"\r
             "list_name": "by_scroll"\r
           }\r
         },\r
-        "columns": [\r
+        "column_names": [\r
           "id",\r
           "title",\r
           "description",\r
       },\r
       "system_picture": {\r
         "lists": {\r
-          "speech_balloon_templates.by_system_picture": {\r
-            "model_name": "speech_balloon_template",\r
-            "list_name": "by_system_picture"\r
-          },\r
           "licenses.by_system_picture": {\r
             "model_name": "license",\r
             "list_name": "by_system_picture"\r
         "associations": {\r
           "belongs_to": [],\r
           "has_many": [\r
-            "speech_balloon_templates.by_system_picture",\r
             "licenses.by_system_picture"\r
           ],\r
           "has_one": []\r
       "scroll": {\r
         "public_list": {},\r
         "private_list": {},\r
-        "by_author": {\r
-          "where": "author",\r
-          "includes": "author_id"\r
-        },\r
-        "by_panel": {\r
-          "type": "through_filter",\r
-          "args": {\r
-            "from": "panel",\r
-            "through": "scroll_panels",\r
-            "filter_key": "panel_id"\r
-          }\r
-        },\r
-        "play": {\r
-          "type": "play",\r
-          "args": {\r
-            "model": "scroll_panel",\r
-            "filter_key": "scroll_id"\r
-          }\r
-        }\r
+        "by_author": {},\r
+        "by_panel": {},\r
+        "play": {}\r
       },\r
       "scroll_panel": {\r
         "public_list": {},\r
         "private_list": {},\r
-        "by_scroll": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "scroll",\r
-            "filter_key": "scroll_id"\r
-          }\r
-        },\r
-        "by_panel": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "panel",\r
-            "filter_key": "panel_id"\r
-          }\r
-        }\r
+        "by_scroll": {},\r
+        "by_panel": {}\r
       },\r
       "comic": {\r
         "public_list": {},\r
         "private_list": {},\r
-        "by_author": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "author",\r
-            "filter_key": "author_id"\r
-          }\r
-        }\r
+        "by_author": {}\r
       },\r
       "story": {\r
         "public_list": {},\r
         "private_list": {},\r
-        "by_comic": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "comic",\r
-            "filter_key": "comic_id"\r
-          }\r
-        },\r
-        "by_sheet": {\r
-          "type": "through_filter",\r
-          "args": {\r
-            "from": "sheet",\r
-            "through": "story_sheets",\r
-            "filter_key": "sheet_id"\r
-          }\r
-        },\r
+        "by_comic": {},\r
+        "by_sheet": {},\r
         "by_author": {\r
           "type": "element_filter",\r
           "args": {\r
         }\r
       },\r
       "story_sheet": {\r
-        "public_list": {\r
-          "type": "public"\r
-        },\r
-        "private_list": {\r
-          "type": "private"\r
-        },\r
-        "by_story": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "story",\r
-            "filter_key": "story_id"\r
-          }\r
-        },\r
-        "by_sheet": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "sheet",\r
-            "filter_key": "sheet_id"\r
-          }\r
-        }\r
+        "public_list": {},\r
+        "private_list": {},\r
+        "by_story": {},\r
+        "by_sheet": {}\r
       },\r
       "sheet": {\r
         "public_list": {},\r
         "private_list": {},\r
-        "by_story": {\r
-          "type": "through_filter",\r
-          "args": {\r
-            "from": "story",\r
-            "through": "story_sheets",\r
-            "filter_key": "story_id"\r
-          }\r
-        },\r
-        "by_panel": {\r
-          "type": "through_filter",\r
-          "args": {\r
-            "from": "panel",\r
-            "through": "sheet_panels",\r
-            "filter_key": "panel_id"\r
-          }\r
-        },\r
-        "by_author": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "author",\r
-            "filter_key": "author_id"\r
-          }\r
-        },\r
+        "by_story": {},\r
+        "by_panel": {},\r
+        "by_author": {},\r
         "play": {\r
           "type": "play",\r
           "args": {\r
       "sheet_panel": {\r
         "public_list": {},\r
         "private_list": {},\r
-        "by_sheet": {\r
-          "type": "filter",\r
-          "args": {\r
-            "association_name": "sheet_panels",\r
-            "from": "sheet",\r
-            "filter_key": "sheet_id"\r
-          }\r
-        },\r
-        "by_panel": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "panel",\r
-            "filter_key": "panel_id"\r
-          }\r
-        }\r
+        "by_sheet": {},\r
+        "by_panel": {}\r
       },\r
       "panel": {\r
         "public_list": {},\r
         "private_list": {},\r
-        "by_scroll": {\r
-          "type": "through_filter",\r
-          "args": {\r
-            "from": "scroll",\r
-            "through": "scroll_panels",\r
-            "filter_key": "scroll_id"\r
-          }\r
-        },\r
-        "by_sheet": {\r
-          "type": "through_filter",\r
-          "args": {\r
-            "from": "sheet",\r
-            "through": "sheet_panels",\r
-            "filter_key": "sheet_id"\r
-          }\r
-        },\r
-        "by_author": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "author",\r
-            "filter_key": "author_id"\r
-          }\r
-        },\r
+        "by_scroll": {},\r
+        "by_sheet": {},\r
+        "by_author": {},\r
         "by_speech_balloon_template": {\r
           "type": "through_filter",\r
           "args": {\r
       "panel_picture": {\r
         "public_list": {},\r
         "private_list": {},\r
-        "by_panel": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "panel",\r
-            "filter_key": "panel_id"\r
-          }\r
-        },\r
+        "by_panel": {},\r
         "by_author": {\r
           "where": "by_author_where",\r
           "includes": "by_author_includes"\r
       "speech_balloon": {\r
         "public_list": {},\r
         "private_list": {},\r
-        "by_panel": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "panel",\r
-            "filter_key": "panel_id"\r
-          }\r
-        },\r
+        "by_panel": {},\r
         "by_speech_balloon_template": {\r
           "type": "filter",\r
           "args": {\r
             "filter_key": "speech_balloon_template_id"\r
           }\r
         },\r
-        "by_author": {\r
-          "type": "element_filter",\r
-          "args": {\r
-            "from": "author",\r
-            "filter_key": "author_id"\r
-          }\r
-        }\r
+        "by_author": {}\r
       },\r
       "speech": {\r
         "public_list": {},\r
       },\r
       "ground_picture": {\r
         "public_list": {},\r
-        "private_list": {\r
-          "type": "private"\r
-        },\r
+        "private_list": {},\r
         "by_panel": {\r
           "type": "filter",\r
           "args": {\r
             "filter_key": "license_id"\r
           }\r
         },\r
-        "by_artist": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "artist",\r
-            "filter_key": "artist_id"\r
-          }\r
-        }\r
+        "by_artist": {}\r
       },\r
       "speech_balloon_template": {\r
         "public_list": {},\r
         "select_items": {\r
           "type": "system_resource"\r
         },\r
-        "by_system_picture": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "system_picture",\r
-            "filter_key": "system_picture_id"\r
-          }\r
-        }\r
+        "by_system_picture": {}\r
       },\r
       "license_group": {\r
         "public_list": {},\r
       },\r
       "license": {\r
         "public_list": {},\r
-        "by_license_group": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "license_group",\r
-            "filter_key": "license_group_id"\r
-          }\r
-        },\r
-        "by_system_picture": {\r
-          "type": "filter",\r
-          "args": {\r
-            "from": "system_picture",\r
-            "filter_key": "system_picture_id"\r
-          }\r
-        }\r
+        "by_license_group": {},\r
+        "by_system_picture": {}\r
       },\r
       "author": {\r
         "public_list": {}\r
     ],\r
     "forms": {\r
       "base": {\r
+        "scroll": {\r
+          "fields": {\r
+            "title": {\r
+              "args": {\r
+                "column": "title",\r
+                "label": {},\r
+                "tag": {\r
+                  "type": "text"\r
+                },\r
+                "row_break": true\r
+              }\r
+            },\r
+            "description": {\r
+              "args": {\r
+                "column": "description",\r
+                "label": {},\r
+                "tag": {\r
+                  "type": "text_area",\r
+                  "args": {\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
+                  }\r
+                }\r
+              }\r
+            },\r
+            "visible": {\r
+              "args": {\r
+                "column": "visible",\r
+                "label": {},\r
+                "tag": {\r
+                  "type": "select"\r
+                },\r
+                "row_break": true\r
+              }\r
+            },\r
+            "id": {\r
+              "args": {\r
+                "column": "id",\r
+                "label": {\r
+                  "type": "none"\r
+                },\r
+                "tag": {\r
+                  "type": "hidden"\r
+                }\r
+              }\r
+            },\r
+            "author_id": {\r
+              "args": {\r
+                "column": "author_id",\r
+                "label": {\r
+                  "type": "none"\r
+                },\r
+                "tag": {\r
+                  "type": "hidden"\r
+                }\r
+              }\r
+            }\r
+          },\r
+          "field_names": [\r
+            "title",\r
+            "description",\r
+            "visible",\r
+            "id",\r
+            "author_id"\r
+          ]\r
+        },\r
         "panel": {\r
           "fields": {\r
             "caption": {\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 }\r
               }\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 },\r
                 "row_break": true\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 }\r
               }\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 }\r
               }\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 },\r
                 "row_break": true\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 },\r
                 "helpers": {\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 },\r
                 "helpers": {\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 },\r
                 "helpers": {\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 }\r
               }\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 },\r
                 "row_break": true\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 }\r
               }\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 },\r
                 "row_break": true\r
                 "tag": {\r
                   "type": "text",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 }\r
               }\r
                 "tag": {\r
                   "type": "text_area",\r
                   "args": {\r
-                    "size": "45x5"\r
+                    "options": {\r
+                      "size": "45x5"\r
+                    }\r
                   }\r
                 }\r
               }\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 }\r
               }\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 },\r
                 "row_break": true\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 }\r
               }\r
                 "tag": {\r
                   "type": "number",\r
                   "args": {\r
-                    "size": 5\r
+                    "options": {\r
+                      "size": 5\r
+                    }\r
                   }\r
                 },\r
                 "row_break": true\r