X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=public%2Fmanifest.json;h=4e2505012e3cdc0bb293f685b5d897134e81926c;hp=8081e9ccf232b8bdebc8a6a664b2e7504a86f7eb;hb=HEAD;hpb=2c809158353a14cb6c9dca986638ac8db68e4b3a diff --git a/public/manifest.json b/public/manifest.json index 8081e9cc..4e250501 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,5 +1,38 @@ { + "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": { "type": "binder", "args": {} @@ -7,13 +40,21 @@ "scroll_panel": { "type": "leaf", "args": { - "parent_model_name": "scroll" + "parent_item_name": "scroll", + "destination_item_name": "panel" } }, "comic": { "type": "binder", "args": {} }, + "comic_story": { + "type": "leaf", + "args": { + "parent_item_name": "comic", + "destination_item_name": "story" + } + }, "story": { "type": "binder", "args": {} @@ -21,7 +62,8 @@ "story_sheet": { "type": "leaf", "args": { - "parent_model_name": "story" + "parent_item_name": "story", + "destination_item_name": "sheet" } }, "sheet": { @@ -31,7 +73,7 @@ "sheet_panel": { "type": "element", "args": { - "parent_model_name": "sheet" + "parent_item_name": "sheet" } }, "panel": { @@ -41,25 +83,29 @@ "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": {} + "speech_balloon_template": { + "extend_model_class_name": "SpeechBalloon", + "item_name_for_extend_model": "speech_balloon" + } } } }, "balloon": { "type": "element", "args": { - "parent_model_name": "speech_balloon", + "parent_item_name": "speech_balloon", "boost": { "speech_balloon_template": { - "extend_item_name": "balloon" + "extend_model_class_name": "Balloon", + "item_name_for_extend_model": "balloon" } } } @@ -67,11 +113,16 @@ "speech": { "type": "element", "args": { - "parent_model_name": "speech_balloon", + "parent_item_name": "speech_balloon", "boost": { - "writing_format": {}, + "writing_format": { + "level": "read", + "item_name_for_extend_model": "renderer", + "extend_module_name": "RendererModule" + }, "speech_balloon_template": { - "extend_item_name": "speech" + "extend_model_class_name": "Speech", + "item_name_for_extend_model": "speech" } } } @@ -79,151 +130,188 @@ "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": {}, + "original_picture": { + "type": "content" + }, "picture": { + "type": "content", "args": { "boost": { "license_group": { - "resource_name": "license_group", - "engine_resource_name": "license_groups", - "engine_resource_extend_column_name": "license_group_classname", - "extend_column_name": "license_group_classname", - "settings_column_name": "license_group_settings", "extend_model_class_name": "License", - "extend_item_name": "license" + "item_name_for_extend_model": "license" }, "license": { "level": "read", - "resource_name": "license_group", - "engine_resource_name": "license_groups", - "engine_resource_extend_column_name": "license_group_classname", - "extend_column_name": "license_group_classname", - "settings_column_name": "license_settings", + "template_name": "license_group", "extend_model_class_name": "Attribute", - "extend_item_name": "attribute" + "item_name_for_extend_model": "attribute" }, "credit_picture": { "level": "read", - "resource_name": "license_group", - "engine_resource_name": "license_groups", - "engine_resource_extend_column_name": "license_group_classname", - "extend_column_name": "license_group_classname", - "settings_column_name": "credit_picture_settings", + "template_name": "license_group", "extend_model_class_name": "CreditPicture", - "extend_item_name": "credit_picture" + "item_name_for_extend_model": "credit_picture" } } } }, "resource_picture": { + "type": "content", "args": { "boost": { "license_group": { - "resource_name": "license_group", - "engine_resource_name": "license_groups", - "engine_resource_extend_column_name": "license_group_classname", - "extend_column_name": "license_group_classname", - "settings_column_name": "license_group_settings", "extend_model_class_name": "License", - "extend_item_name": "license" + "item_name_for_extend_model": "license" }, "license": { "level": "read", - "resource_name": "license_group", - "engine_resource_name": "license_groups", - "engine_resource_extend_column_name": "license_group_classname", - "extend_column_name": "license_group_classname", - "settings_column_name": "license_settings", + "template_name": "license_group", "extend_model_class_name": "Attribute", - "extend_item_name": "attribute" + "item_name_for_extend_model": "attribute" }, "credit_picture": { "level": "read", - "resource_name": "license_group", - "engine_resource_name": "license_groups", - "engine_resource_extend_column_name": "license_group_classname", - "extend_column_name": "license_group_classname", - "settings_column_name": "credit_picture_settings", + "template_name": "license_group", "extend_model_class_name": "CreditPicture", - "extend_item_name": "credit_picture" + "item_name_for_extend_model": "credit_picture" } } } }, - "speech_balloon_template": {}, - "writing_format": {}, - "license_group": {}, + "resource_picture_picture": {}, + "original_picture_license_group": {}, + "original_picture_license": { + "args": { + "boost": { + "license": { + "template_name": "license_group", + "extend_model_class_name": "Attribute", + "item_name_for_extend_model": "attribute" + } + } + } + }, + "speech_balloon_template": { + "type": "template" + }, + "writing_format": { + "type": "template" + }, + "license_group": { + "type": "template" + }, "license": { - "type": "leaf", + "type": "system_resource", "args": { - "parent_model_name": "license_group", + "parent_item_name": "license_group", "boost": { - "license_group": {}, + "license_group": { + "extend_model_class_name": "License", + "item_name_for_extend_model": "license" + }, "credit_picture": { "level": "read", - "resource_name": "license_group", - "settings_column_name": "credit_picture_settings", + "template_name": "license_group", "extend_model_class_name": "CreditPicture", - "extend_item_name": "credit_picture", - "extend_column_name": "license_group_classname" + "item_name_for_extend_model": "credit_picture" } } } }, - "author": {}, - "artist": {}, - "system_picture": {} + "author": { + "type": "owner" + }, + "artist": { + "type": "owner" + }, + "system_picture": { + "type": "system_resource" + } }, "controllers": { + "folders": { + "actions": { + "root": { + "type": "show" + }, + "index": { + "type": "list", + "args": { + "param_id": "none" + } + }, + "show": { + "type": "show" + }, + "watch": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "destroy": { + "type": "destroy" + } + } + }, "scrolls": { "actions": { "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": { - "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" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -232,35 +320,44 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_scroll": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" + "by_author": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count_by_scroll": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -269,29 +366,93 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" + } + }, + "by_story": { + "type": "list", + "args": { + "param_id": "suffix" } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "play": { + "type": "list", + "args": { + "return_item_name": "comic_story", + "max_page_size": -1, + "order": "t", + "direction": 1 + } }, "show": { "type": "show" }, - "count": { - "type": "count", + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" + } + } + }, + "comic_stories": { + "actions": { + "index": { + "type": "list", + "args": { + "param_id": "none" + } + }, + "by_comic": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "by_story": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_author": { - "type": "count" + "by_author": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "show": { + "type": "show" }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -300,41 +461,53 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_comic": { - "type": "count" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_sheet": { - "type": "count" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "play": { "type": "list", "args": { - "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_author": { - "type": "count" - }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -343,35 +516,44 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_story": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_sheet": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_story": { - "type": "count" + "by_author": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count_by_sheet": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -380,47 +562,52 @@ "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": { - "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" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -429,35 +616,44 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_sheet": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_panel": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_sheet": { - "type": "count" + "by_author": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count_by_panel": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -466,47 +662,50 @@ "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" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -515,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" @@ -552,29 +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" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" + "by_speech_balloon_template": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count_by_author": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -589,23 +782,35 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, - "by_writing_format": { - "type": "list" + "by_author": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "show": { - "type": "show" + "by_speech_balloon": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "by_speech_balloon_template": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count": { - "type": "count", + "by_writing_format": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_writing_format": { - "type": "count" + "show": { + "type": "show" }, "new": { "type": "new" @@ -620,18 +825,36 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, - "show": { - "type": "show" + "by_author": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count": { - "type": "count", + "by_speech_balloon": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, + "by_speech_balloon_template": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "by_system_picture": { + "type": "list", + "args": { + "param_id": "suffix" + } + }, + "show": { + "type": "show" + }, "new": { "type": "new" }, @@ -645,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" @@ -682,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" @@ -719,17 +930,35 @@ "index": { "type": "list", "args": { - "list_name": "private" + "param_id": "none" } }, "show": { "type": "show" }, - "count": { - "type": "count", + "history": { + "type": "list", "args": { - "list_name": "public" + "return_item_name": "picture", + "max_page_size": -1, + "order": "revision", + "direction": 1 } + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -738,7 +967,13 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" + } + }, + "by_artist": { + "type": "list", + "args": { + "param_id": "suffix" } }, "show": { @@ -751,229 +986,279 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "by_original_picture": { - "type": "list" - }, - "by_license": { - "type": "list" - }, - "by_artist": { - "type": "list" - }, - "show": { - "type": "show" + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count": { - "type": "count", + "by_license_group": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_license": { - "type": "count" + "by_license": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count_by_artist": { - "type": "count" - } - } - }, - "speech_balloon_templates": { - "actions": { - "index": { + "by_artist": { "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } + "destroy": { + "type": "destroy" + } + } + }, + "original_picture_license_groups": { + "actions": { + "new": { + "type": "new" }, + "create": { + "type": "create" + } + } + }, + "original_picture_licenses": { + "actions": { "new": { "type": "new" }, - "edit": { - "type": "edit" + "create": { + "type": "create" } } }, - "writing_formats": { + "resource_picture_pictures": { "actions": { "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, - "by_system_picture": { - "type": "list" - }, - "show": { - "type": "show" - }, - "count": { - "type": "count", + "by_original_picture": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, - "count_by_system_picture": { - "type": "count" + "by_resource_picture": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "new": { - "type": "new" + "by_picture": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "edit": { - "type": "edit" + "show": { + "type": "show" } } }, - "license_groups": { + "speech_balloon_templates": { "actions": { "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none", + "max_page_size": -1, + "order": "t", + "direction": 1 } }, - "show": { - "type": "show" + "by_panel": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count": { - "type": "count", + "by_system_picture": { + "type": "list", "args": { - "list_name": "public" + "param_id": "suffix" } }, + "show": { + "type": "show" + }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, - "licenses": { + "writing_formats": { "actions": { "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none", + "max_page_size": -1, + "order": "t", + "direction": 1 } }, - "by_license_group": { - "type": "list" - }, "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" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, - "authors": { + "license_groups": { "actions": { "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none", + "max_page_size": -1, + "order": "t", + "direction": 1 } }, - "scrolls": { + "by_resource_picture": { "type": "list", "args": { - "list_name": "scrolls" + "param_id": "suffix" } }, - "comics": { - "type": "list", - "args": { - "list_name": "comics" - } + "show": { + "type": "show" }, - "stories": { - "type": "list", - "args": { - "list_name": "stories" - } + "new": { + "type": "new" }, - "sheets": { - "type": "list", - "args": { - "list_name": "sheets" - } + "edit": { + "type": "edit" }, - "panels": { - "type": "list", - "args": { - "list_name": "panels" - } + "create": { + "type": "create" }, - "panel_pictures": { + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" + } + } + }, + "licenses": { + "actions": { + "index": { "type": "list", "args": { - "list_name": "panel_pictures" + "param_id": "none", + "max_page_size": -1, + "order": "name", + "direction": 1 } }, - "speech_balloons": { + "by_license_group": { "type": "list", "args": { - "list_name": "speech_balloons" + "param_id": "suffix", + "order": "name", + "direction": 1 } }, - "ground_pictures": { + "by_system_picture": { "type": "list", "args": { - "list_name": "ground_pictures" + "param_id": "suffix" } }, - "ground_colors": { + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" + } + } + }, + "authors": { + "actions": { + "index": { "type": "list", "args": { - "list_name": "ground_colors" + "param_id": "none" } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } - }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -982,29 +1267,26 @@ "index": { "type": "list", "args": { - "list_name": "public" - } - }, - "resource_pictures": { - "type": "list", - "args": { - "list_name": "resource_pictures" + "param_id": "none" } }, "show": { "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } - }, "new": { "type": "new" }, "edit": { "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -1013,17 +1295,11 @@ "index": { "type": "list", "args": { - "list_name": "public" + "param_id": "none" } }, "show": { "type": "show" - }, - "count": { - "type": "count", - "args": { - "list_name": "public" - } } } }, @@ -1032,119 +1308,169 @@ "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" } } } } }, "models": { + "folder": { + "associations": { + "belongs_to": {}, + "has_many": {} + }, + "attributes": { + "name": { + "type": "text", + "rules": { + "required": true + } + }, + "controller_name": { + "type": "text", + "rules": {} + }, + "action_name": { + "type": "text", + "rules": {} + }, + "category_id": { + "type": "number" + }, + "t": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "parent_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "lft": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "rgt": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "depth": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + } + }, "scroll": { "associations": { "belongs_to": { @@ -1153,7 +1479,7 @@ "has_many": { "scroll_panels": {}, "panels": { - "through": "scroll_panel" + "through": "scroll_panels" } } }, @@ -1220,13 +1546,6 @@ "number": true, "min": 0 } - }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } } } }, @@ -1236,7 +1555,10 @@ "author": {} }, "has_many": { - "stories": {} + "comic_stories": {}, + "stories": { + "through": "comic_stories" + } } }, "attributes": { @@ -1272,12 +1594,49 @@ } } }, + "comic_story": { + "associations": { + "belongs_to": { + "comic": {}, + "story": {} + }, + "has_many": {} + }, + "attributes": { + "comic_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "story_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "t": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 0 + } + } + } + }, "story": { "associations": { "belongs_to": { - "comic": {} + "author": {} }, "has_many": { + "comic_stories": {}, + "comics": { + "through": "comic_stories" + }, "story_sheets": {}, "sheets": { "through": "story_sheets" @@ -1285,12 +1644,6 @@ } }, "attributes": { - "comic_id": { - "type": "number", - "rules": { - "number": true - } - }, "title": { "type": "text", "rules": {} @@ -1319,6 +1672,13 @@ "select_item_name": "story_visible_items" } } + }, + "author_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } } } }, @@ -1350,13 +1710,6 @@ "number": true, "min": 0 } - }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } } } }, @@ -1534,7 +1887,7 @@ "source": { "type": "magic_number", "args": { - "select_item_name": "panel_visible_items" + "select_item_name": "panel_publish_items" } } }, @@ -1550,7 +1903,8 @@ "panel_picture": { "associations": { "belongs_to": { - "panel": {} + "panel": {}, + "picture": {} }, "has_many": {} }, @@ -1627,7 +1981,8 @@ "speech_balloon": { "associations": { "belongs_to": { - "panel": {} + "panel": {}, + "speech_balloon_template": {} }, "has_many": {}, "has_one": { @@ -1649,7 +2004,7 @@ "number": true } }, - "speech_balloon_template_classname": { + "speech_balloon_template_module_name": { "type": "text", "rules": { "required": true @@ -1685,7 +2040,8 @@ "associations": { "belongs_to": { "speech_balloon": {}, - "system_picture": {} + "system_picture": {}, + "speech_balloon_template": {} }, "has_many": {} }, @@ -1703,7 +2059,7 @@ "number": true } }, - "speech_balloon_template_classname": { + "speech_balloon_template_module_name": { "type": "text", "rules": { "required": true @@ -1763,7 +2119,8 @@ "associations": { "belongs_to": { "speech_balloon": {}, - "writing_format": {} + "writing_format": {}, + "speech_balloon_template": {} }, "has_many": {} }, @@ -1781,7 +2138,7 @@ "number": true } }, - "speech_balloon_template_classname": { + "speech_balloon_template_module_name": { "type": "text", "rules": { "required": true @@ -1797,7 +2154,7 @@ "number": true } }, - "writing_format_classname": { + "writing_format_module_name": { "type": "text", "rules": { "required": true @@ -1896,7 +2253,8 @@ "ground_picture": { "associations": { "belongs_to": { - "panel": {} + "panel": {}, + "picture": {} }, "has_many": {} }, @@ -2049,7 +2407,8 @@ "artist": {} }, "has_many": { - "pictures": {} + "pictures": {}, + "resource_picture_pictures": {} }, "has_one": { "resource_picture": {} @@ -2069,21 +2428,110 @@ "number": true } }, - "height": { + "height": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "filesize": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "artist_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "md5": { + "type": "text", + "rules": { + "required": true + } + }, + "uploaded_at": { + "type": "datetime" + }, + "published_at": { + "type": "datetime" + }, + "stopped_at": { + "type": "datetime" + } + } + }, + "picture": { + "associations": { + "belongs_to": { + "license": {}, + "artist": {}, + "original_picture": {}, + "system_picture": {} + }, + "has_many": { + "panel_pictures": {}, + "ground_pictures": {} + }, + "has_one": { + "resource_picture_picture": {} + } + }, + "attributes": { + "original_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "revision": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "ext": { + "type": "text", + "rules": { + "required": true + } + }, + "width": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "height": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "filesize": { "type": "number", "rules": { "required": true, "number": true } }, - "filesize": { + "artist_id": { "type": "number", "rules": { "required": true, "number": true } }, - "artist_id": { + "license_id": { "type": "number", "rules": { "required": true, @@ -2096,24 +2544,46 @@ "required": true } }, - "uploaded_at": { - "type": "datetime" + "system_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "published_at": { - "type": "datetime" + "license_group_settings": { + "type": "text", + "rules": {} }, - "stopped_at": { - "type": "datetime" + "credit_picture_settings": { + "type": "text", + "rules": {} + }, + "license_settings": { + "type": "text", + "rules": {} + }, + "license_group_module_name": { + "type": "text", + "rules": { + "required": true + } } } }, - "picture": { + "resource_picture": { "associations": { "belongs_to": { + "original_picture": {}, + "picture": {}, + "license_group": {}, "license": {}, - "artist": {} + "artist": {}, + "system_picture": {} + }, + "has_many": { + "resource_picture_pictures": {} }, - "has_many": {}, "has_one": {} }, "attributes": { @@ -2124,13 +2594,6 @@ "number": true } }, - "revision": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, "ext": { "type": "text", "rules": { @@ -2185,10 +2648,11 @@ "required": true } }, - "artist_name": { - "type": "text", + "system_picture_id": { + "type": "number", "rules": { - "required": true + "required": true, + "number": true } }, "license_group_settings": { @@ -2203,7 +2667,14 @@ "type": "text", "rules": {} }, - "license_group_classname": { + "picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "license_group_module_name": { "type": "text", "rules": { "required": true @@ -2211,12 +2682,12 @@ } } }, - "resource_picture": { + "resource_picture_picture": { "associations": { "belongs_to": { "original_picture": {}, - "license": {}, - "artist": {} + "resource_picture": {}, + "picture": {} }, "has_many": {}, "has_one": {} @@ -2229,41 +2700,63 @@ "number": true } }, - "revision": { + "resource_picture_id": { "type": "number", "rules": { "required": true, "number": true } }, - "ext": { - "type": "text", - "rules": { - "required": true - } - }, - "width": { + "picture_id": { "type": "number", "rules": { "required": true, "number": true } + } + } + }, + "original_picture_license_group": { + "associations": { + "belongs_to": { + "original_picture": {}, + "license_group": {} }, - "height": { + "has_many": {}, + "has_one": {} + }, + "attributes": { + "original_picture_id": { "type": "number", "rules": { "required": true, "number": true } }, - "filesize": { + "license_group_id": { "type": "number", "rules": { "required": true, "number": true + }, + "source": { + "type": "model" } + } + } + }, + "original_picture_license": { + "associations": { + "belongs_to": { + "original_picture": {}, + "license": {}, + "system_picture": {} }, - "artist_id": { + "has_many": {}, + "has_one": {} + }, + "attributes": { + "original_picture_id": { "type": "number", "rules": { "required": true, @@ -2272,6 +2765,9 @@ }, "license_group_id": { "type": "number", + "source": { + "type": "model" + }, "rules": { "required": true, "number": true @@ -2279,43 +2775,23 @@ }, "license_id": { "type": "number", + "source": { + "type": "filter", + "args": { + "resource_action_name": "by_license_group", + "filter_column_name": "license_group_id" + } + }, "rules": { "required": true, "number": true } }, - "md5": { - "type": "text", - "rules": { - "required": true - } - }, - "artist_name": { - "type": "text", - "rules": { - "required": true - } - }, - "license_group_settings": { - "type": "text", - "rules": {} - }, - "credit_picture_settings": { - "type": "text", - "rules": {} - }, "license_settings": { "type": "text", "rules": {} }, - "picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "license_group_classname": { + "license_group_module_name": { "type": "text", "rules": { "required": true @@ -2343,7 +2819,7 @@ "required": true } }, - "classname": { + "module_name": { "type": "text", "rules": { "required": true @@ -2395,7 +2871,7 @@ "required": true } }, - "classname": { + "module_name": { "type": "text", "rules": { "required": true @@ -2426,6 +2902,7 @@ "associations": { "belongs_to": {}, "has_many": { + "resource_pictures": {}, "licenses": {} }, "has_one": {} @@ -2437,7 +2914,7 @@ "required": true } }, - "classname": { + "module_name": { "type": "text", "rules": { "required": true @@ -2475,7 +2952,7 @@ "number": true } }, - "license_group_classname": { + "license_group_module_name": { "type": "text", "rules": { "required": true @@ -2559,7 +3036,7 @@ "required": true } }, - "author_id": { + "user_id": { "type": "number", "rules": { "required": true, @@ -2574,7 +3051,8 @@ "has_many": { "balloons": {}, "speech_balloon_templates": {}, - "licenses": {} + "licenses": {}, + "writing_formats": {} }, "has_one": {} }, @@ -2615,8 +3093,57 @@ } }, "circle_speech_balloon_speech_balloon": { + "attributes": {} + }, + "circle_speech_balloon_balloon": { + "attributes": {} + }, + "circle_speech_balloon_speech": { + "attributes": {} + }, + "plain_speech_balloon_speech_balloon": { + "attributes": {} + }, + "plain_speech_balloon_balloon": { + "attributes": {} + }, + "plain_speech_balloon_speech": { + "attributes": {} + }, + "square_speech_balloon_speech_balloon": { + "attributes": {} + }, + "square_speech_balloon_balloon": { + "attributes": {} + }, + "square_speech_balloon_speech": { + "attributes": {} + }, + "test_speech_balloon_speech_balloon": { "attributes": { - "width": { + "a": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + } + }, + "test_speech_balloon_balloon": { + "attributes": { + "b": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + } + }, + "test_speech_balloon_speech": { + "attributes": { + "c": { "type": "number", "rules": { "required": true, @@ -2719,20 +3246,6 @@ }, "pettanr_creative_commons_v30_licenses_attribute": { "attributes": { - "license_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "system_picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, "artist_name": { "type": "text", "rules": { @@ -2851,20 +3364,6 @@ }, "pettanr_pettan_commons_v01_licenses_attribute": { "attributes": { - "license_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "system_picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, "artist_name": { "type": "text", "rules": { @@ -2986,20 +3485,6 @@ }, "pettanr_pettan_protected_v01_licenses_attribute": { "attributes": { - "license_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "system_picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, "artist_name": { "type": "text", "rules": { @@ -3114,20 +3599,6 @@ }, "pettanr_pettan_public_v01_licenses_attribute": { "attributes": { - "license_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "system_picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, "artist_name": { "type": "text", "rules": { @@ -3249,20 +3720,6 @@ }, "pettanr_public_domain_v01_licenses_attribute": { "attributes": { - "license_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "system_picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, "artist_name": { "type": "text", "rules": { @@ -3384,20 +3841,6 @@ }, "pettanr_unknown_v01_licenses_attribute": { "attributes": { - "license_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "system_picture_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, "source_url": { "type": "text", "rules": { @@ -3414,9 +3857,9 @@ } }, "system_resources": { - "engine_resources": { - "license_groups": { - "resource_items": { + "templates": { + "license_group": { + "template_items": { "PettanrCreativeCommonsV30Licenses": "pettanr_creative_commons_v30_licenses", "PettanrPettanCommonsV01Licenses": "pettanr_pettan_commons_v01_licenses", "PettanrPettanProtectedV01Licenses": "pettanr_pettan_protected_v01_licenses", @@ -3425,27 +3868,20 @@ "PettanrUnknownV01Licenses": "pettanr_unknown_v01_licenses" } }, - "speech_balloon_templates": { - "resource_items": { + "speech_balloon_template": { + "template_items": { "CircleSpeechBalloon": "circle_speech_balloon", "PlainSpeechBalloon": "plain_speech_balloon", - "SquareSpeechBalloon": "square_speech_balloon", - "TestSpeechBalloon": "test_speech_balloon" + "SquareSpeechBalloon": "square_speech_balloon" } }, - "writing_formats": { + "writing_format": { "has_route": 0, - "resource_items": { + "template_items": { "PettanrSimpleFormat": "pettanr_simple_format" } } }, - "elements": { - "PanelPicture": "panel_pictures", - "SpeechBalloon": "speech_balloons", - "GroundPicture": "ground_pictures", - "GroundColor": "ground_colors" - }, "select_items": { "provider_status_status_items": [ [ @@ -3515,13 +3951,13 @@ 1 ] ], - "panel_visible_items": [ + "panel_publish_items": [ [ - "select_items.panel.visible.private", + "select_items.panel.publish.private", 0 ], [ - "select_items.panel.visible.public", + "select_items.panel.publish.public", 1 ] ],