X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=public%2Fmanifest.json;h=4e2505012e3cdc0bb293f685b5d897134e81926c;hp=734953fe5f321757e1e9ac6b35d7283cd709010d;hb=HEAD;hpb=65cd4fb912cd3ecd5772dc8581429c44550c941a diff --git a/public/manifest.json b/public/manifest.json index 734953fe..4e250501 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,4 +1,36 @@ { + "inflectors": { + "folder": "folders", + "scroll": "scrolls", + "scroll_panel": "scroll_panels", + "comic": "comics", + "comic_story": "comic_stories", + "story": "stories", + "story_sheet": "story_sheets", + "sheet": "sheets", + "sheet_panel": "sheet_panels", + "panel": "panels", + "panel_picture": "panel_pictures", + "speech_balloon": "speech_balloons", + "speech": "speeches", + "balloon": "balloons", + "ground_picture": "ground_pictures", + "ground_color": "ground_colors", + "original_picture": "original_pictures", + "picture": "pictures", + "resource_picture": "resource_pictures", + "resource_picture_picture": "resource_picture_pictures", + "original_picture_license_group": "original_picture_license_groups", + "original_picture_license": "original_picture_licenses", + "speech_balloon_template": "speech_balloon_templates", + "writing_format": "writing_formats", + "license_group": "license_groups", + "license": "licenses", + "author": "authors", + "artist": "artists", + "system_picture": "system_pictures", + "home": "home" + }, "items": { "folder": {}, "scroll": { @@ -8,8 +40,8 @@ "scroll_panel": { "type": "leaf", "args": { - "parent_model_name": "scroll", - "destination_model_name": "panel" + "parent_item_name": "scroll", + "destination_item_name": "panel" } }, "comic": { @@ -19,8 +51,8 @@ "comic_story": { "type": "leaf", "args": { - "parent_model_name": "comic", - "destination_model_name": "story" + "parent_item_name": "comic", + "destination_item_name": "story" } }, "story": { @@ -30,8 +62,8 @@ "story_sheet": { "type": "leaf", "args": { - "parent_model_name": "story", - "destination_model_name": "sheet" + "parent_item_name": "story", + "destination_item_name": "sheet" } }, "sheet": { @@ -41,7 +73,7 @@ "sheet_panel": { "type": "element", "args": { - "parent_model_name": "sheet" + "parent_item_name": "sheet" } }, "panel": { @@ -51,13 +83,13 @@ "panel_picture": { "type": "element", "args": { - "parent_model_name": "panel" + "parent_item_name": "panel" } }, "speech_balloon": { "type": "element", "args": { - "parent_model_name": "panel", + "parent_item_name": "panel", "boost": { "speech_balloon_template": { "extend_model_class_name": "SpeechBalloon", @@ -69,7 +101,7 @@ "balloon": { "type": "element", "args": { - "parent_model_name": "speech_balloon", + "parent_item_name": "speech_balloon", "boost": { "speech_balloon_template": { "extend_model_class_name": "Balloon", @@ -81,7 +113,7 @@ "speech": { "type": "element", "args": { - "parent_model_name": "speech_balloon", + "parent_item_name": "speech_balloon", "boost": { "writing_format": { "level": "read", @@ -98,13 +130,13 @@ "ground_picture": { "type": "element", "args": { - "parent_model_name": "panel" + "parent_item_name": "panel" } }, "ground_color": { "type": "element", "args": { - "parent_model_name": "panel" + "parent_item_name": "panel" } }, "original_picture": { @@ -156,6 +188,7 @@ } } }, + "resource_picture_picture": {}, "original_picture_license_group": {}, "original_picture_license": { "args": { @@ -180,7 +213,7 @@ "license": { "type": "system_resource", "args": { - "parent_model_name": "license_group", + "parent_item_name": "license_group", "boost": { "license_group": { "extend_model_class_name": "License", @@ -214,17 +247,14 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } + "watch": { + "type": "show" }, "new": { "type": "new" @@ -242,37 +272,32 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "play": { "type": "list", "args": { - "item_name": "scroll_panel", - "list_name": "play" + "return_item_name": "scroll_panel", + "order": "t", + "direction": 1 } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } - }, - "count_by_author": { - "type": "count" - }, - "count_by_panel": { - "type": "count" - }, "new": { "type": "new" }, @@ -295,35 +320,29 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_scroll": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" - }, - "count_by_scroll": { - "type": "count" - }, - "count_by_author": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -347,37 +366,33 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_story": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "play": { "type": "list", "args": { - "item_name": "comic_story", - "list_name": "play" + "return_item_name": "comic_story", + "max_page_size": -1, + "order": "t", + "direction": 1 } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } - }, - "count_by_story": { - "type": "count" - }, - "count_by_author": { - "type": "count" - }, "new": { "type": "new" }, @@ -400,29 +415,29 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_comic": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_story": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_comic": { - "type": "count" + "by_author": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count_by_story": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -446,43 +461,39 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_comic": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_sheet": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "play": { "type": "list", "args": { - "item_name": "story_sheet", - "list_name": "play" + "return_item_name": "story_sheet", + "max_page_size": -1, + "order": "t", + "direction": 1 } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } - }, - "count_by_comic": { - "type": "count" - }, - "count_by_sheet": { - "type": "count" - }, - "count_by_author": { - "type": "count" - }, "new": { "type": "new" }, @@ -505,35 +516,29 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_story": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_sheet": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_story": { - "type": "count" - }, - "count_by_sheet": { - "type": "count" - }, - "count_by_author": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -557,43 +562,38 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_story": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "play": { "type": "list", "args": { - "item_name": "sheet_panel", - "list_name": "play" + "return_item_name": "sheet_panel", + "order": "t", + "direction": 1 } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } - }, - "count_by_story": { - "type": "count" - }, - "count_by_panel": { - "type": "count" - }, - "count_by_author": { - "type": "count" - }, "new": { "type": "new" }, @@ -616,35 +616,29 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_sheet": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_sheet": { - "type": "count" - }, - "count_by_panel": { - "type": "count" - }, - "count_by_author": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -668,41 +662,35 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_scroll": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_sheet": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_speech_balloon_template": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_scroll": { - "type": "count" - }, - "count_by_sheet": { - "type": "count" - }, - "count_by_author": { - "type": "count" - }, - "count_by_speech_balloon_template": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -726,29 +714,23 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" - }, - "count_by_author": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -763,35 +745,29 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_speech_balloon_template": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" - }, - "count_by_author": { - "type": "count" - }, - "count_by_speech_balloon_template": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -806,23 +782,35 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, - "show": { - "type": "show" + "by_speech_balloon": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count": { - "type": "count", + "by_speech_balloon_template": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_author": { - "type": "count" + "by_writing_format": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "show": { + "type": "show" }, "new": { "type": "new" @@ -837,23 +825,35 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, - "show": { - "type": "show" + "by_speech_balloon": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count": { - "type": "count", + "by_speech_balloon_template": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "by_system_picture": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_author": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -868,29 +868,23 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" - }, - "count_by_author": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -905,29 +899,23 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" - }, - "count_by_author": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -942,19 +930,19 @@ "index": { "type": "list", "args": { - "list_name": "private" + "param_id": "none" } }, "show": { "type": "show" }, "history": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "return_item_name": "picture", + "max_page_size": -1, + "order": "revision", + "direction": 1 } }, "new": { @@ -979,23 +967,17 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_artist": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_artist": { - "type": "count" + "show": { + "type": "show" } } }, @@ -1004,35 +986,89 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" + } + }, + "by_original_picture": { + "type": "list", + "args": { + "param_id": "suffix" } }, "by_license_group": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_license": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_artist": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "show": { "type": "show" }, - "count": { - "type": "count", + "destroy": { + "type": "destroy" + } + } + }, + "original_picture_license_groups": { + "actions": { + "new": { + "type": "new" + }, + "create": { + "type": "create" + } + } + }, + "original_picture_licenses": { + "actions": { + "new": { + "type": "new" + }, + "create": { + "type": "create" + } + } + }, + "resource_picture_pictures": { + "actions": { + "index": { + "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, - "count_by_license_group": { - "type": "count" + "by_original_picture": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count_by_license": { - "type": "count" + "by_resource_picture": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count_by_artist": { - "type": "count" + "by_picture": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "show": { + "type": "show" } } }, @@ -1041,23 +1077,26 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none", + "max_page_size": -1, + "order": "t", + "direction": 1 } }, "by_panel": { - "type": "list" - }, - "show": { - "type": "show" + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count": { - "type": "count", + "by_system_picture": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -1081,23 +1120,20 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none", + "max_page_size": -1, + "order": "t", + "direction": 1 } }, "by_system_picture": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_system_picture": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -1121,18 +1157,21 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none", + "max_page_size": -1, + "order": "t", + "direction": 1 } }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "by_resource_picture": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, + "show": { + "type": "show" + }, "new": { "type": "new" }, @@ -1155,29 +1194,28 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none", + "max_page_size": -1, + "order": "name", + "direction": 1 } }, "by_license_group": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix", + "order": "name", + "direction": 1 + } }, "by_system_picture": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_license_group": { - "type": "count" - }, - "count_by_system_picture": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -1201,18 +1239,12 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } - }, "new": { "type": "new" }, @@ -1235,18 +1267,12 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } - }, "new": { "type": "new" }, @@ -1269,17 +1295,11 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "show": { "type": "show" - }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } } } }, @@ -1288,113 +1308,103 @@ "scrolls": { "type": "list", "args": { - "item_name": "scroll", - "list_name": "private" + "item_name": "scroll" } }, "scroll_panels": { "type": "list", "args": { - "item_name": "scroll_panel", - "list_name": "private" + "item_name": "scroll_panel" } }, "comics": { "type": "list", "args": { - "item_name": "comic", - "list_name": "private" + "item_name": "comic" + } + }, + "comic_stories": { + "type": "list", + "args": { + "item_name": "comic_story" } }, "stories": { "type": "list", "args": { - "item_name": "story", - "list_name": "private" + "item_name": "story" } }, "story_sheets": { "type": "list", "args": { - "item_name": "story_sheet", - "list_name": "private" + "item_name": "story_sheet" } }, "sheets": { "type": "list", "args": { - "item_name": "sheet", - "list_name": "private" + "item_name": "sheet" } }, "sheet_panels": { "type": "list", "args": { - "item_name": "sheet_panel", - "list_name": "private" + "item_name": "sheet_panel" } }, "panels": { "type": "list", "args": { - "item_name": "panel", - "list_name": "private" + "item_name": "panel" } }, "panel_pictures": { "type": "list", "args": { - "item_name": "panel_picture", - "list_name": "private" + "item_name": "panel_picture" } }, "speech_balloons": { "type": "list", "args": { - "item_name": "speech_balloon", - "list_name": "private" + "item_name": "speech_balloon" } }, "speeches": { "type": "list", "args": { - "item_name": "speech", - "list_name": "private" + "item_name": "speech" } }, "balloons": { "type": "list", "args": { - "item_name": "balloon", - "list_name": "private" + "item_name": "balloon" } }, "ground_pictures": { "type": "list", "args": { - "item_name": "ground_picture", - "list_name": "private" + "item_name": "ground_picture" } }, "ground_colors": { "type": "list", "args": { - "item_name": "ground_color", - "list_name": "private" + "item_name": "ground_color" } }, "original_pictures": { "type": "list", "args": { - "item_name": "original_picture", - "list_name": "private" + "item_name": "original_picture" } }, "resource_pictures": { "type": "list", "args": { - "item_name": "resource_picture", - "list_name": "private" + "item_name": "resource_picture" } } } @@ -1893,7 +1903,8 @@ "panel_picture": { "associations": { "belongs_to": { - "panel": {} + "panel": {}, + "picture": {} }, "has_many": {} }, @@ -2242,7 +2253,8 @@ "ground_picture": { "associations": { "belongs_to": { - "panel": {} + "panel": {}, + "picture": {} }, "has_many": {} }, @@ -2395,7 +2407,8 @@ "artist": {} }, "has_many": { - "pictures": {} + "pictures": {}, + "resource_picture_pictures": {} }, "has_one": { "resource_picture": {} @@ -2458,10 +2471,16 @@ "belongs_to": { "license": {}, "artist": {}, + "original_picture": {}, "system_picture": {} }, - "has_many": {}, - "has_one": {} + "has_many": { + "panel_pictures": {}, + "ground_pictures": {} + }, + "has_one": { + "resource_picture_picture": {} + } }, "attributes": { "original_picture_id": { @@ -2556,12 +2575,15 @@ "associations": { "belongs_to": { "original_picture": {}, + "picture": {}, "license_group": {}, "license": {}, "artist": {}, "system_picture": {} }, - "has_many": {}, + "has_many": { + "resource_picture_pictures": {} + }, "has_one": {} }, "attributes": { @@ -2660,6 +2682,40 @@ } } }, + "resource_picture_picture": { + "associations": { + "belongs_to": { + "original_picture": {}, + "resource_picture": {}, + "picture": {} + }, + "has_many": {}, + "has_one": {} + }, + "attributes": { + "original_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "resource_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + } + }, "original_picture_license_group": { "associations": { "belongs_to": { @@ -2722,7 +2778,7 @@ "source": { "type": "filter", "args": { - "resource_list_name": "by_license_group", + "resource_action_name": "by_license_group", "filter_column_name": "license_group_id" } },