OSDN Git Service

fix: local manifest/add helper
[pettanr/pettanr.git] / public / local_manifest.json
index 342511e..6f8d14a 100644 (file)
         }\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
         "belongs_to": [\r
           "license",\r
           "artist"\r
+        ],\r
+        "has_one": [\r
+          "resource_picture_pictures.by_picture"\r
         ]\r
       }\r
     },\r
           "license_group",\r
           "license",\r
           "artist"\r
+        ],\r
+        "has_many": [\r
+          "resource_picture_pictures.by_resource_picture"\r
+        ]\r
+      }\r
+    },\r
+    "resource_picture_picture": {\r
+      "column_names": [\r
+        "original_picture_id",\r
+        "resource_picture_id",\r
+        "picture_id"\r
+      ],\r
+      "associations": {\r
+        "belongs_to": [\r
+          "original_picture",\r
+          "resource_picture",\r
+          "picture"\r
         ]\r
       }\r
     },\r
         "type": "none"\r
       }\r
     },\r
+    "resource_picture_picture": {\r
+      "symbol": {\r
+        "type": "default",\r
+        "args": {\r
+          "face": {\r
+            "type": "picture"\r
+          }\r
+        }\r
+      },\r
+      "caption": {\r
+        "type": "none"\r
+      },\r
+      "summary": {},\r
+      "edit": {\r
+        "type": "none"\r
+      }\r
+    },\r
     "speech_balloon_template": {\r
       "symbol": {\r
         "type": "default",\r
         }\r
       }\r
     },\r
+    "original_picture": {\r
+      "uses": {\r
+        "multipart": {\r
+          "fields": {\r
+            "file": {\r
+              "label": {\r
+                "type": "none"\r
+              },\r
+              "tag": {\r
+                "type": "file"\r
+              }\r
+            }\r
+          },\r
+          "field_names": [\r
+            "file"\r
+          ]\r
+        }\r
+      }\r
+    },\r
     "original_picture_license_group": {\r
       "uses": {\r
         "default": {\r