X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=public%2Fmanifest.json;h=85f150a0003565a5bb6f5b90a22080a2a8ff55e1;hb=0bc0be6f26cb148983898dd323ca3e097d7509e2;hp=dc6a6a5ee2c98ed5b4a510cc85409a0180c31806;hpb=623fb328302e8daec437b33f9511cdb491cbc203;p=pettanr%2Fpettanr.git diff --git a/public/manifest.json b/public/manifest.json index dc6a6a5e..85f150a0 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,43 +1,315 @@ { + "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", + "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": {} + }, + "scroll_panel": { + "type": "leaf", + "args": { + "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": {} + }, + "story_sheet": { + "type": "leaf", + "args": { + "parent_item_name": "story", + "destination_item_name": "sheet" + } + }, + "sheet": { + "type": "root", + "args": {} + }, + "sheet_panel": { + "type": "element", + "args": { + "parent_item_name": "sheet" + } + }, + "panel": { + "type": "root", + "args": {} + }, + "panel_picture": { + "type": "element", + "args": { + "parent_item_name": "panel" + } + }, + "speech_balloon": { + "type": "element", + "args": { + "parent_item_name": "panel", + "boost": { + "speech_balloon_template": { + "extend_model_class_name": "SpeechBalloon", + "item_name_for_extend_model": "speech_balloon" + } + } + } + }, + "balloon": { + "type": "element", + "args": { + "parent_item_name": "speech_balloon", + "boost": { + "speech_balloon_template": { + "extend_model_class_name": "Balloon", + "item_name_for_extend_model": "balloon" + } + } + } + }, + "speech": { + "type": "element", + "args": { + "parent_item_name": "speech_balloon", + "boost": { + "writing_format": { + "level": "read", + "item_name_for_extend_model": "renderer", + "extend_module_name": "RendererModule" + }, + "speech_balloon_template": { + "extend_model_class_name": "Speech", + "item_name_for_extend_model": "speech" + } + } + } + }, + "ground_picture": { + "type": "element", + "args": { + "parent_item_name": "panel" + } + }, + "ground_color": { + "type": "element", + "args": { + "parent_item_name": "panel" + } + }, + "original_picture": { + "type": "content" + }, + "picture": { + "type": "content", + "args": { + "boost": { + "license_group": { + "extend_model_class_name": "License", + "item_name_for_extend_model": "license" + }, + "license": { + "level": "read", + "template_name": "license_group", + "extend_model_class_name": "Attribute", + "item_name_for_extend_model": "attribute" + }, + "credit_picture": { + "level": "read", + "template_name": "license_group", + "extend_model_class_name": "CreditPicture", + "item_name_for_extend_model": "credit_picture" + } + } + } + }, + "resource_picture": { + "type": "content", + "args": { + "boost": { + "license_group": { + "extend_model_class_name": "License", + "item_name_for_extend_model": "license" + }, + "license": { + "level": "read", + "template_name": "license_group", + "extend_model_class_name": "Attribute", + "item_name_for_extend_model": "attribute" + }, + "credit_picture": { + "level": "read", + "template_name": "license_group", + "extend_model_class_name": "CreditPicture", + "item_name_for_extend_model": "credit_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": "system_resource", + "args": { + "parent_item_name": "license_group", + "boost": { + "license_group": { + "extend_model_class_name": "License", + "item_name_for_extend_model": "license" + }, + "credit_picture": { + "level": "read", + "template_name": "license_group", + "extend_model_class_name": "CreditPicture", + "item_name_for_extend_model": "credit_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_list" + "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" + "alias": "scroll_panels.by_scroll", + "order": "t", + "direction": 1 } }, "show": { - "type": "show", - "name": "show" + "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public_list" - } + "new": { + "type": "new" }, - "count_by_author": { - "type": "count" + "edit": { + "type": "edit" }, - "count_by_panel": { - "type": "count" + "create": { + "type": "create" }, - "new": { - "type": "new" + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -46,26 +318,44 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "none" } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_scroll": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count": { - "type": "count", + "by_author": { + "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" }, - "count_by_scroll": { - "type": "count" + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, @@ -74,892 +364,1062 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "none" + } + }, + "by_story": { + "type": "list", + "args": { + "param_id": "suffix" } }, "by_author": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count": { - "type": "count", + "play": { + "type": "list", "args": { - "list_name": "public_list" + "alias": "comic_stories.by_comic", + "order": "t", + "direction": 1 } }, - "count_by_author": { - "type": "count" + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, - "stories": { + "comic_stories": { "actions": { "index": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "none" } }, "by_comic": { - "type": "count" - }, - "by_sheet": { - "type": "count" - }, - "by_author": { - "type": "list" - }, - "play": { "type": "list", "args": { - "list_name": "play" + "param_id": "suffix" } }, - "count": { - "type": "count", + "by_story": { + "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, - "count_by_author": { - "type": "count" - } - } - }, - "story_sheets": { - "actions": { - "index": { + "by_author": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, - "by_story": { - "type": "list" + "show": { + "type": "show" }, - "by_sheet": { - "type": "list" + "new": { + "type": "new" }, - "count": { - "type": "count", - "args": { - "list_name": "public_list" - } + "edit": { + "type": "edit" }, - "count_by_story": { - "type": "count" + "create": { + "type": "create" }, - "count_by_sheet": { - "type": "count" + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, - "sheets": { + "stories": { "actions": { "index": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "none" } }, - "by_story": { - "type": "list" - }, - "by_panel": { - "type": "list" - }, - "by_author": { - "type": "list" - }, - "play": { + "by_comic": { "type": "list", "args": { - "list_name": "play" + "param_id": "suffix" } }, - "count": { - "type": "count", + "by_sheet": { + "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, - "count_by_story": { - "type": "count" - }, - "count_by_panel": { - "type": "count" + "by_author": { + "type": "list", + "args": { + "param_id": "suffix" + } }, - "count_by_author": { - "type": "count" - } - } - }, - "sheet_panels": { - "actions": { - "index": { + "play": { "type": "list", "args": { - "list_name": "public_list" + "alias": "story_sheets.by_story", + "order": "t", + "direction": 1 } }, - "by_sheet": { - "type": "list" + "show": { + "type": "show" }, - "by_panel": { - "type": "list" + "new": { + "type": "new" }, - "count": { - "type": "count", - "args": { - "list_name": "public_list" - } + "edit": { + "type": "edit" + }, + "create": { + "type": "create" }, - "count_by_sheet": { - "type": "count" + "update": { + "type": "update" }, - "count_by_panel": { - "type": "count" + "destroy": { + "type": "destroy" } } }, - "panels": { + "story_sheets": { "actions": { "index": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "none" } }, - "by_scroll": { - "type": "list" + "by_story": { + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_sheet": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" - }, - "by_speech_balloon_template": { - "type": "list" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, - "count_by_scroll": { - "type": "count" + "show": { + "type": "show" + }, + "new": { + "type": "new" }, - "count_by_sheet": { - "type": "count" + "edit": { + "type": "edit" + }, + "create": { + "type": "create" }, - "count_by_author": { - "type": "count" + "update": { + "type": "update" }, - "count_by_speech_balloon_template": { - "type": "count" + "destroy": { + "type": "destroy" } } }, - "panel_pictures": { + "sheets": { "actions": { "index": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "none" } }, - "by_panel": { - "type": "list" - }, - "by_author": { - "type": "list" - }, - "count": { - "type": "count", + "by_story": { + "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" - }, - "count_by_author": { - "type": "count" - } - } - }, - "speech_balloons": { - "actions": { - "index": { + "by_panel": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, - "by_panel": { - "type": "list" - }, "by_author": { - "type": "list" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" - }, - "count_by_author": { - "type": "count" - } - } - }, - "speeches": { - "actions": { - "index": { + "play": { "type": "list", "args": { - "list_name": "public_list" + "alias": "sheet_panels.by_sheet", + "order": "t", + "direction": 1 } }, - "by_writing_format": { - "type": "list" + "show": { + "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public_list" - } + "new": { + "type": "new" }, - "count_by_writing_format": { - "type": "count" + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, - "balloons": { + "sheet_panels": { "actions": { "index": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "none" } }, - "count": { - "type": "count", - "args": { - "list_name": "public_list" - } - } - } - }, - "ground_pictures": { - "actions": { - "index": { + "by_sheet": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, "by_panel": { - "type": "list" + "type": "list", + "args": { + "param_id": "suffix" + } }, "by_author": { - "type": "list" - }, - "count": { - "type": "count", + "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" }, - "count_by_author": { - "type": "count" + "destroy": { + "type": "destroy" } } }, - "ground_colors": { + "panels": { "actions": { "index": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "none" } }, - "by_panel": { - "type": "list" - }, - "by_author": { - "type": "list" - }, - "count": { - "type": "count", + "by_scroll": { + "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, - "count_by_panel": { - "type": "count" - }, - "count_by_author": { - "type": "count" - } - } - }, - "original_pictures": { - "actions": { - "index": { + "by_sheet": { "type": "list", "args": { - "list_name": "private_list" + "param_id": "suffix" } }, - "count": { - "type": "count", + "by_author": { + "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } - } - } - }, - "pictures": {}, - "resource_pictures": { - "actions": { - "index": { + }, + "by_speech_balloon_template": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, - "by_license": { - "type": "list" + "show": { + "type": "show" }, - "by_artist": { - "type": "list" + "new": { + "type": "new" }, - "count": { - "type": "count", - "args": { - "list_name": "public_list" - } + "edit": { + "type": "edit" }, - "count_by_license": { - "type": "count" + "create": { + "type": "create" }, - "count_by_artist": { - "type": "count" + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } }, - "speech_balloon_templates": { + "panel_pictures": { "actions": { "index": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "none" } }, - "count": { - "type": "count", + "by_panel": { + "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } - } - } - }, - "writing_formats": { - "actions": { - "index": { + }, + "by_author": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, - "by_system_picture": { - "type": "list" + "show": { + "type": "show" }, - "count": { - "type": "count", - "args": { - "list_name": "public_list" - } + "new": { + "type": "new" }, - "count_by_system_picture": { - "type": "count" + "edit": { + "type": "edit" } } }, - "license_groups": { + "speech_balloons": { "actions": { "index": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "none" } }, - "count": { - "type": "count", + "by_panel": { + "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } - } - } - }, - "licenses": { - "actions": { - "index": { + }, + "by_author": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, - "by_license_group": { - "type": "list" - }, - "by_system_picture": { - "type": "list" - }, - "count": { - "type": "count", + "by_speech_balloon_template": { + "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } }, - "count_by_license_group": { - "type": "count" + "show": { + "type": "show" + }, + "new": { + "type": "new" }, - "count_by_system_picture": { - "type": "count" + "edit": { + "type": "edit" } } }, - "authors": { + "speeches": { "actions": { "index": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "none" } }, - "scrolls": { + "by_author": { "type": "list", "args": { - "list_name": "scrolls" + "param_id": "suffix" } }, - "comics": { + "by_speech_balloon": { "type": "list", "args": { - "list_name": "comics" + "param_id": "suffix" } }, - "stories": { + "by_speech_balloon_template": { "type": "list", "args": { - "list_name": "stories" + "param_id": "suffix" } }, - "sheets": { + "by_writing_format": { "type": "list", "args": { - "list_name": "sheets" + "param_id": "suffix" } }, - "panels": { + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + } + } + }, + "balloons": { + "actions": { + "index": { "type": "list", "args": { - "list_name": "panels" + "param_id": "none" } }, - "panel_pictures": { + "by_author": { "type": "list", "args": { - "list_name": "panel_pictures" + "param_id": "suffix" } }, - "speech_balloons": { + "by_speech_balloon": { "type": "list", "args": { - "list_name": "speech_balloons" + "param_id": "suffix" } }, - "ground_pictures": { + "by_speech_balloon_template": { "type": "list", "args": { - "list_name": "ground_pictures" + "param_id": "suffix" } }, - "ground_colors": { + "by_system_picture": { "type": "list", "args": { - "list_name": "ground_colors" + "param_id": "suffix" } }, - "count": { - "type": "count", - "args": { - "list_name": "public_list" - } + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, - "artists": { + "ground_pictures": { "actions": { "index": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "none" } }, - "resource_pictures": { + "by_panel": { "type": "list", "args": { - "list_name": "resource_pictures" + "param_id": "suffix" } }, - "count": { - "type": "count", + "by_author": { + "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } + }, + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, - "system_pictures": { + "ground_colors": { "actions": { "index": { "type": "list", "args": { - "list_name": "public_list" + "param_id": "none" + } + }, + "by_panel": { + "type": "list", + "args": { + "param_id": "suffix" } }, - "count": { - "type": "count", + "by_author": { + "type": "list", "args": { - "list_name": "public_list" + "param_id": "suffix" } + }, + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, - "home": { + "original_pictures": { "actions": { - "scrolls": { + "index": { "type": "list", "args": { - "item_name": "scroll", - "list_name": "private_list" + "param_id": "none" } }, - "scroll_panels": { + "show": { + "type": "show" + }, + "history": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" + } + } + }, + "pictures": { + "actions": { + "index": { "type": "list", "args": { - "item_name": "scroll_panel", - "list_name": "private_list" + "param_id": "none" } }, - "comics": { + "by_artist": { "type": "list", "args": { - "item_name": "comic", - "list_name": "private_list" + "param_id": "suffix" } }, - "stories": { + "show": { + "type": "show" + } + } + }, + "resource_pictures": { + "actions": { + "index": { "type": "list", "args": { - "item_name": "story", - "list_name": "private_list" + "param_id": "none" } }, - "story_sheets": { + "by_original_picture": { "type": "list", "args": { - "item_name": "story_sheet", - "list_name": "private_list" + "param_id": "suffix" } }, - "sheets": { + "by_license_group": { "type": "list", "args": { - "item_name": "sheet", - "list_name": "private_list" + "param_id": "suffix" } }, - "sheet_panels": { + "by_license": { "type": "list", "args": { - "item_name": "sheet_panel", - "list_name": "private_list" + "param_id": "suffix" } }, - "panels": { + "by_artist": { "type": "list", "args": { - "item_name": "panel", - "list_name": "private_list" + "param_id": "suffix" } }, - "panel_pictures": { + "show": { + "type": "show" + } + } + }, + "speech_balloon_templates": { + "actions": { + "index": { "type": "list", "args": { - "item_name": "panel_picture", - "list_name": "private_list" + "param_id": "none", + "max_page_size": -1, + "order": "t", + "direction": 1 } }, - "speech_balloons": { + "by_panel": { "type": "list", "args": { - "item_name": "speech_balloon", - "list_name": "private_list" + "param_id": "suffix" } }, - "speeches": { + "by_system_picture": { "type": "list", "args": { - "item_name": "speech", - "list_name": "private_list" + "param_id": "suffix" } }, - "balloons": { + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" + } + } + }, + "writing_formats": { + "actions": { + "index": { "type": "list", "args": { - "item_name": "balloon", - "list_name": "private_list" + "param_id": "none", + "max_page_size": -1, + "order": "t", + "direction": 1 } }, - "ground_pictures": { + "by_system_picture": { "type": "list", "args": { - "item_name": "ground_picture", - "list_name": "private_list" + "param_id": "suffix" } }, - "ground_colors": { + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" + } + } + }, + "license_groups": { + "actions": { + "index": { "type": "list", "args": { - "item_name": "ground_color", - "list_name": "private_list" + "param_id": "none", + "max_page_size": -1, + "order": "t", + "direction": 1 } }, - "original_pictures": { + "by_resource_picture": { "type": "list", "args": { - "item_name": "original_picture", - "list_name": "private_list" + "param_id": "suffix" } }, - "resource_pictures": { + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" + } + } + }, + "licenses": { + "actions": { + "index": { + "type": "list", + "args": { + "param_id": "none", + "max_page_size": -1, + "order": "name", + "direction": 1 + } + }, + "by_license_group": { + "type": "list", + "args": { + "param_id": "suffix", + "order": "name", + "direction": 1 + } + }, + "by_system_picture": { "type": "list", "args": { - "item_name": "resource_picture", - "list_name": "private_list" + "param_id": "suffix" } + }, + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } } - } - }, - "models": { - "scroll": { - "class_name": "Scroll", - "table_name": "scrolls", - "associations": { - "belongs_to": { - "author": { - "id_column": "author_id" + }, + "authors": { + "actions": { + "index": { + "type": "list", + "args": { + "param_id": "none" } }, - "has_many": { - "scroll_panels": { - "foreign_key": "scroll_id", - "model_name": "scroll_panel" - }, - "panels": { - "through": "scroll_panel", - "foreign_key": "scroll_id", - "model_name": "panel" + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" + } + } + }, + "artists": { + "actions": { + "index": { + "type": "list", + "args": { + "param_id": "none" } + }, + "show": { + "type": "show" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" + }, + "create": { + "type": "create" + }, + "update": { + "type": "update" + }, + "destroy": { + "type": "destroy" } - }, - "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true + } + }, + "system_pictures": { + "actions": { + "index": { + "type": "list", + "args": { + "param_id": "none" } }, - "title": { - "type": "text", - "rules": { - "required": true + "show": { + "type": "show" + } + } + }, + "home": { + "actions": { + "scrolls": { + "type": "list", + "args": { + "alias": "scrolls.index" } }, - "description": { - "type": "text", - "rules": {} + "scroll_panels": { + "type": "list", + "args": { + "alias": "scroll_panels.index" + } }, - "visible": { - "type": "number", - "rules": { - "required": true, - "number": true - }, - "source": { - "type": "magic_number", - "args": { - "select_item_name": "scroll_visible_items" - } + "comics": { + "type": "list", + "args": { + "alias": "comics.index" } }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true + "comic_stories": { + "type": "list", + "args": { + "alias": "comic_stories.index" } }, - "created_at": { - "type": "datetime" + "stories": { + "type": "list", + "args": { + "alias": "stories.index" + } }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" + "story_sheets": { + "type": "list", + "args": { + "alias": "story_sheets.index" + } }, - "private_list": { - "type": "private" + "sheets": { + "type": "list", + "args": { + "alias": "sheets.index" + } }, - "by_author": { - "type": "filter", + "sheet_panels": { + "type": "list", "args": { - "filter_item_name": "author", - "filter_key": "author_id" + "alias": "sheet_panels.index" } }, - "by_panel": { - "type": "through_filter", + "panels": { + "type": "list", "args": { - "filter_item_name": "panel", - "through": "scroll_panels", - "filter_key": "panel_id" + "alias": "panels.index" } }, - "play": { - "type": "play", + "panel_pictures": { + "type": "list", + "args": { + "alias": "panel_pictures.index" + } + }, + "speech_balloons": { + "type": "list", + "args": { + "alias": "speech_balloons.index" + } + }, + "speeches": { + "type": "list", + "args": { + "alias": "speeches.index" + } + }, + "balloons": { + "type": "list", + "args": { + "alias": "balloons.index" + } + }, + "ground_pictures": { + "type": "list", + "args": { + "alias": "ground_pictures.index" + } + }, + "ground_colors": { + "type": "list", + "args": { + "alias": "ground_colors.index" + } + }, + "original_pictures": { + "type": "list", + "args": { + "alias": "original_pictures.index" + } + }, + "resource_pictures": { + "type": "list", "args": { - "filter_item_name": "scroll", - "filter_model_name": "scroll_panel", - "filter_key": "scroll_id" + "alias": "resource_pictures.index" } } } - }, - "scroll_panel": { - "class_name": "ScrollPanel", - "table_name": "scroll_panels", + } + }, + "models": { + "folder": { "associations": { - "belongs_to": { - "panel": { - "id_column": "panel_id" - }, - "scroll": { - "id_column": "scroll_id" - } - }, + "belongs_to": {}, "has_many": {} }, "attributes": { - "id": { + "name": { + "type": "text", + "rules": { + "required": true + } + }, + "controller_name": { + "type": "text", + "rules": {} + }, + "action_name": { + "type": "text", + "rules": {} + }, + "category_id": { + "type": "number" + }, + "t": { "type": "number", - "primary_key": 1, "rules": { + "required": true, "number": true } }, - "scroll_id": { + "parent_id": { "type": "number", "rules": { "required": true, "number": true } }, - "panel_id": { + "lft": { "type": "number", "rules": { "required": true, "number": true } }, - "t": { + "rgt": { "type": "number", "rules": { "required": true, - "number": true, - "min": 0 + "number": true } }, - "author_id": { + "depth": { "type": "number", "rules": { "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "by_scroll": { - "type": "filter" - }, - "by_panel": { - "type": "filter" } } }, - "comic": { - "class_name": "Comic", - "table_name": "comics", + "scroll": { "associations": { "belongs_to": { - "author": { - "id_column": "author_id" - } + "author": {} }, "has_many": { - "stories": { - "foreign_key": "comic_id", - "model_name": "story" + "scroll_panels": {}, + "panels": { + "through": "scroll_panels" } - }, - "has_many_through": {} + } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "title": { "type": "text", "rules": { @@ -979,7 +1439,7 @@ "source": { "type": "magic_number", "args": { - "select_item_name": "comic_visible_items" + "select_item_name": "scroll_visible_items" } } }, @@ -989,61 +1449,137 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } + } + }, + "scroll_panel": { + "associations": { + "belongs_to": { + "panel": {}, + "scroll": {} + }, + "has_many": {} }, - "lists": { - "public_list": { - "type": "public" + "attributes": { + "scroll_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "private_list": { - "type": "private" + "panel_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "by_author": { - "type": "filter" + "t": { + "type": "number", + "rules": { + "required": true, + "number": true, + "min": 0 + } } } }, - "story": { - "class_name": "Story", - "table_name": "stories", + "comic": { "associations": { "belongs_to": { - "comic": { - "id_column": "comic_id" - } + "author": {} }, "has_many": { - "story_sheets": { - "foreign_key": "story_id", - "model_name": "story_sheet" - }, - "sheets": { - "through": "story_sheets", - "foreign_key": "story_id", - "model_name": "sheet" + "comic_stories": {}, + "stories": { + "through": "comic_stories" } } }, "attributes": { - "id": { + "title": { + "type": "text", + "rules": { + "required": true + } + }, + "description": { + "type": "text", + "rules": {} + }, + "visible": { + "type": "number", + "rules": { + "required": true, + "number": true + }, + "source": { + "type": "magic_number", + "args": { + "select_item_name": "comic_visible_items" + } + } + }, + "author_id": { "type": "number", - "primary_key": 1, "rules": { + "required": true, "number": true } + } + } + }, + "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": { + "author": {} + }, + "has_many": { + "comic_stories": {}, + "comics": { + "through": "comic_stories" + }, + "story_sheets": {}, + "sheets": { + "through": "story_sheets" + } + } + }, + "attributes": { "title": { "type": "text", "rules": {} @@ -1073,56 +1609,24 @@ } } }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "by_comic": { - "type": "filter" - }, - "by_sheet": { - "type": "through_filter" - }, - "by_author": { - "type": "element_filter" - }, - "play": { - "type": "play" + "author_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } } } }, "story_sheet": { - "class_name": "StorySheet", - "table_name": "story_sheets", "associations": { "belongs_to": { - "story": { - "id_column": "story_id" - }, - "sheet": { - "id_column": "sheet_id" - } + "story": {}, + "sheet": {} }, "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "story_id": { "type": "number", "rules": { @@ -1142,74 +1646,26 @@ "number": true, "min": 0 } - }, - "author_id": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "by_story": { - "type": "filter" - }, - "by_sheet": { - "type": "filter" } } }, "sheet": { - "class_name": "Sheet", - "table_name": "sheets", "associations": { "belongs_to": { - "author": { - "id_column": "author_id" - } + "author": {} }, "has_many": { - "story_sheets": { - "foreign_key": "story_id", - "model_name": "story_sheet" - }, + "story_sheets": {}, "stories": { - "through": "story_sheets", - "foreign_key": "sheet_id", - "model_name": "story" - }, - "sheet_panels": { - "foreign_key": "sheet_id", - "model_name": "sheet_panel" + "through": "story_sheets" }, + "sheet_panels": {}, "panels": { - "through": "sheet_panels", - "foreign_key": "sheet_id", - "model_name": "panel" + "through": "sheet_panels" } } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "caption": { "type": "text", "rules": {} @@ -1247,57 +1703,18 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "by_story": { - "type": "through_filter" - }, - "by_panel": { - "type": "through_filter" - }, - "by_author": { - "type": "filter" - }, - "play": { - "type": "play" } } }, "sheet_panel": { - "class_name": "SheetPanel", - "table_name": "sheet_panels", "associations": { "belongs_to": { - "sheet": { - "id_column": "sheet_id" - }, - "panel": { - "id_column": "panel_id" - } + "sheet": {}, + "panel": {} }, "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "sheet_id": { "type": "number", "rules": { @@ -1345,83 +1762,30 @@ "rules": { "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "by_sheet": { - "type": "filter" - }, - "by_panel": { - "type": "filter" } } }, "panel": { - "class_name": "Panel", - "table_name": "panels", "associations": { "belongs_to": { - "author": { - "id_column": "author_id" - } + "author": {} }, "has_many": { - "scroll_panels": { - "foreign_key": "panel_id", - "model_name": "scroll_panel" - }, + "scroll_panels": {}, "scrolls": { - "through": "scroll_panels", - "foreign_key": "panel_id", - "model_name": "scroll" - }, - "sheet_panels": { - "foreign_key": "panel_id", - "model_name": "sheet_panel" + "through": "scroll_panels" }, + "sheet_panels": {}, "sheets": { - "through": "sheet_panels", - "foreign_key": "panel_id", - "model_name": "sheet" - }, - "panel_pictures": { - "foreign_key": "panel_id", - "model_name": "panel_picture" + "through": "sheet_panels" }, - "speech_balloons": { - "foreign_key": "panel_id", - "model_name": "speech_balloon" - }, - "ground_pictures": { - "foreign_key": "panel_id", - "model_name": "ground_picture" - }, - "ground_colors": { - "foreign_key": "panel_id", - "model_name": "ground_color" - } + "panel_pictures": {}, + "speech_balloons": {}, + "ground_pictures": {}, + "ground_colors": {} } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "width": { "type": "number", "rules": { @@ -1459,7 +1823,7 @@ "source": { "type": "magic_number", "args": { - "select_item_name": "panel_visible_items" + "select_item_name": "panel_publish_items" } } }, @@ -1469,54 +1833,17 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "by_scroll": { - "type": "through_filter" - }, - "by_sheet": { - "type": "through_filter" - }, - "by_author": { - "type": "filter" - }, - "by_speech_balloon_template": { - "type": "through_filter" } } }, "panel_picture": { - "class_name": "PanelPicture", - "table_name": "panel_pictures", "associations": { "belongs_to": { - "panel": { - "id_column": "panel_id" - } + "panel": {} }, "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "panel_id": { "type": "number", "rules": { @@ -1583,59 +1910,22 @@ "number": true, "min": 0 } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "by_panel": { - "type": "filter" - }, - "by_author": { - "type": "element_filter" } } }, "speech_balloon": { - "class_name": "SpeechBalloon", - "table_name": "speech_balloons", - "extend": "classname", "associations": { "belongs_to": { - "panel": { - "id_column": "panel_id" - } + "panel": {}, + "speech_balloon_template": {} }, "has_many": {}, "has_one": { - "balloon": { - "foreign_key": "speech_balloon_id", - "model_name": "balloon" - }, - "speech": { - "foreign_key": "speech_balloon_id", - "model_name": "speech" - } + "balloon": {}, + "speech": {} } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "panel_id": { "type": "number", "rules": { @@ -1649,7 +1939,7 @@ "number": true } }, - "classname": { + "speech_balloon_template_module_name": { "type": "text", "rules": { "required": true @@ -1671,67 +1961,45 @@ "min": 0 } }, - "settings": { + "speech_balloon_template_settings": { "type": "text", "rules": {} }, "caption": { "type": "text", "rules": {} - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "by_panel": { - "type": "filter" - }, - "by_speech_balloon_template": { - "type": "filter" - }, - "by_author": { - "type": "element_filter" } } }, "balloon": { - "class_name": "Balloon", - "table_name": "balloons", "associations": { "belongs_to": { - "speech_balloon": { - "id_column": "speech_balloon_id" - }, - "system_picture": { - "id_column": "system_picture_id" - } + "speech_balloon": {}, + "system_picture": {}, + "speech_balloon_template": {} }, "has_many": {} }, "attributes": { - "id": { + "speech_balloon_id": { "type": "number", - "primary_key": 1, "rules": { "number": true } }, - "speech_balloon_id": { + "speech_balloon_template_id": { "type": "number", "rules": { + "required": true, "number": true } }, + "speech_balloon_template_module_name": { + "type": "text", + "rules": { + "required": true + } + }, "system_picture_id": { "type": "number", "rules": { @@ -1776,63 +2044,41 @@ "number": true } }, - "settings": { + "speech_balloon_template_settings": { "type": "text", "rules": {} - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "by_panel": { - "type": "filter" - }, - "by_speech_balloon": { - "type": "filter" - }, - "by_author": { - "type": "element_filter" } } }, "speech": { - "class_name": "Speech", - "table_name": "speeches", "associations": { "belongs_to": { - "speech_balloon": { - "id_column": "speech_balloon_id" - }, - "writing_format": { - "id_column": "writing_format_id" - } + "speech_balloon": {}, + "writing_format": {}, + "speech_balloon_template": {} }, "has_many": {} }, "attributes": { - "id": { + "speech_balloon_id": { "type": "number", - "primary_key": 1, "rules": { "number": true } }, - "speech_balloon_id": { + "speech_balloon_template_id": { "type": "number", "rules": { + "required": true, "number": true } }, + "speech_balloon_template_module_name": { + "type": "text", + "rules": { + "required": true + } + }, "writing_format_id": { "type": "number", "source": { @@ -1843,6 +2089,12 @@ "number": true } }, + "writing_format_module_name": { + "type": "text", + "rules": { + "required": true + } + }, "content": { "type": "text", "rules": {} @@ -1923,48 +2175,24 @@ "type": "text", "rules": {} }, - "settings": { + "speech_balloon_template_settings": { "type": "text", "rules": {} }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "by_speech_balloon": { - "type": "filter" - }, - "by_writing_format": { - "type": "filter" + "writing_format_settings": { + "type": "text", + "rules": {} } } }, "ground_picture": { - "class_name": "GroundPicture", - "table_name": "ground_pictures", "associations": { "belongs_to": { - "panel": { - "id_column": "panel_id" - } + "panel": {} }, "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "panel_id": { "type": "number", "rules": { @@ -2028,48 +2256,17 @@ "number": true, "min": 0 } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "by_panel": { - "type": "filter" - }, - "by_author": { - "type": "element_filter" } } }, "ground_color": { - "class_name": "GroundColor", - "table_name": "ground_colors", "associations": { "belongs_to": { - "panel": { - "id_column": "panel_id" - } + "panel": {} }, "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "panel_id": { "type": "number", "rules": { @@ -2135,59 +2332,22 @@ "number": true, "min": 0 } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "by_panel": { - "type": "filter" - }, - "by_author": { - "type": "element_filter" } } }, "original_picture": { - "class_name": "OriginalPicture", - "table_name": "original_pictures", "associations": { "belongs_to": { - "artist": { - "id_column": "artist_id" - } + "artist": {} }, "has_many": { - "pictures": { - "foreign_key": "original_picture_id", - "model_name": "picture" - } + "pictures": {} }, "has_one": { - "resource_picture": { - "foreign_key": "original_picture_id", - "model_name": "resource_picture" - } + "resource_picture": {} } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "ext": { "type": "text", "rules": { @@ -2236,43 +2396,20 @@ }, "stopped_at": { "type": "datetime" - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "private_list": { - "type": "private" } } }, "picture": { - "class_name": "Picture", - "table_name": "pictures", "associations": { "belongs_to": { - "license": { - "id_column": "license_id" - }, - "artist": { - "id_column": "artist_id" - } + "license": {}, + "artist": {}, + "system_picture": {} }, "has_many": {}, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "original_picture_id": { "type": "number", "rules": { @@ -2334,60 +2471,46 @@ "required": true } }, - "artist_name": { - "type": "text", + "system_picture_id": { + "type": "number", "rules": { - "required": true + "required": true, + "number": true } }, - "credit": { + "license_group_settings": { "type": "text", "rules": {} }, - "settings": { + "credit_picture_settings": { "type": "text", "rules": {} }, - "classname": { + "license_settings": { + "type": "text", + "rules": {} + }, + "license_group_module_name": { "type": "text", "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } } }, "resource_picture": { - "class_name": "ResourcePicture", - "table_name": "resource_pictures", "associations": { "belongs_to": { - "original_picture": { - "id_column": "original_picture_id" - }, - "license": { - "id_column": "license_id" - }, - "artist": { - "id_column": "artist_id" - } + "original_picture": {}, + "license_group": {}, + "license": {}, + "artist": {}, + "system_picture": {} }, "has_many": {}, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "original_picture_id": { "type": "number", "rules": { @@ -2395,13 +2518,6 @@ "number": true } }, - "revision": { - "type": "number", - "rules": { - "required": true, - "number": true - } - }, "ext": { "type": "text", "rules": { @@ -2436,6 +2552,13 @@ "number": true } }, + "license_group_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, "license_id": { "type": "number", "rules": { @@ -2449,17 +2572,22 @@ "required": true } }, - "artist_name": { - "type": "text", + "system_picture_id": { + "type": "number", "rules": { - "required": true + "required": true, + "number": true } }, - "credit": { + "license_group_settings": { "type": "text", "rules": {} }, - "settings": { + "credit_picture_settings": { + "type": "text", + "rules": {} + }, + "license_settings": { "type": "text", "rules": {} }, @@ -2470,71 +2598,118 @@ "number": true } }, - "classname": { + "license_group_module_name": { "type": "text", "rules": { "required": true } + } + } + }, + "original_picture_license_group": { + "associations": { + "belongs_to": { + "original_picture": {}, + "license_group": {} }, - "created_at": { - "type": "datetime" + "has_many": {}, + "has_one": {} + }, + "attributes": { + "original_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "updated_at": { - "type": "datetime" + "license_group_id": { + "type": "number", + "rules": { + "required": true, + "number": true + }, + "source": { + "type": "model" + } } + } + }, + "original_picture_license": { + "associations": { + "belongs_to": { + "original_picture": {}, + "license": {}, + "system_picture": {} + }, + "has_many": {}, + "has_one": {} }, - "lists": { - "public_list": { - "type": "public" + "attributes": { + "original_picture_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "private_list": { - "type": "private" + "license_group_id": { + "type": "number", + "source": { + "type": "model" + }, + "rules": { + "required": true, + "number": true + } }, - "by_license": { - "type": "filter" + "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 + } }, - "by_artist": { - "type": "filter" + "license_settings": { + "type": "text", + "rules": {} + }, + "license_group_module_name": { + "type": "text", + "rules": { + "required": true + } } } }, "speech_balloon_template": { - "class_name": "SpeechBalloonTemplate", - "table_name": "speech_balloon_templates", "associations": { "belongs_to": { - "system_picture": { - "id_column": "system_picture_id" - } + "system_picture": {} }, "has_many": { - "speech_balloons": { - "foreign_key": "speech_balloon_template_id", - "model_name": "speech_balloon" - }, + "speech_balloons": {}, "panels": { - "through": "speech_balloons", - "foreign_key": "speech_balloon_template_id", - "model_name": "panel" + "through": "speech_balloons" } }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { "required": true } }, - "classname": { + "module_name": { "type": "text", "rules": { "required": true @@ -2566,58 +2741,27 @@ "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "select_items": { - "type": "system_resource", - "args": { - "select_item_name": "panel_visible_items" - } } } }, "writing_format": { - "class_name": "WritingFormat", - "table_name": "writing_formats", "associations": { "belongs_to": { - "system_picture": { - "id_column": "system_picture_id" - } + "system_picture": {} }, "has_many": { - "speeches": { - "foreign_key": "writing_format_id", - "model_name": "speech" - } + "speeches": {} }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { "required": true } }, - "classname": { + "module_name": { "type": "text", "rules": { "required": true @@ -2641,54 +2785,26 @@ "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "select_items": { - "type": "system_resource" - }, - "by_system_picture": { - "type": "filter" } } }, "license_group": { - "class_name": "LicenseGroup", - "table_name": "license_groups", "associations": { "belongs_to": {}, "has_many": { - "licenses": { - "foreign_key": "license_group_id", - "model_name": "license" - } + "resource_pictures": {}, + "licenses": {} }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { "required": true } }, - "classname": { + "module_name": { "type": "text", "rules": { "required": true @@ -2705,55 +2821,31 @@ "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "select_items": { - "type": "system_resource" } } }, "license": { - "class_name": "License", - "table_name": "licenses", "associations": { "belongs_to": { - "license_group": { - "id_column": "license_group_id" - }, - "system_picture": { - "id_column": "system_picture_id" - } + "license_group": {}, + "system_picture": {} }, "has_many": { - "resource_pictures": { - "foreign_key": "license_id", - "model_name": "resource_picture" - } + "resource_pictures": {} }, "has_one": {} }, "attributes": { - "id": { + "license_group_id": { "type": "number", - "primary_key": 1, "rules": { "number": true } }, - "license_group_id": { - "type": "number", + "license_group_module_name": { + "type": "text", "rules": { - "number": true + "required": true } }, "name": { @@ -2781,70 +2873,29 @@ "required": true } }, - "settings": { + "license_group_settings": { "type": "text", "rules": {} }, - "credit_pictures": { + "credit_picture_settings": { "type": "text", "rules": {} - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" - }, - "by_license_group": { - "type": "filter" - }, - "by_system_picture": { - "type": "filter" } } }, "author": { - "class_name": "Author", - "table_name": "authors", "associations": { "belongs_to": {}, "has_many": { - "scrolls": { - "foreign_key": "author_id", - "model_name": "scroll" - }, - "comics": { - "foreign_key": "author_id", - "model_name": "comic" - }, - "stories": { - "foreign_key": "author_id", - "model_name": "story" - }, - "sheets": { - "foreign_key": "author_id", - "model_name": "sheet" - }, - "panels": { - "foreign_key": "author_id", - "model_name": "panel" - } + "scrolls": {}, + "comics": {}, + "stories": {}, + "sheets": {}, + "panels": {} }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { @@ -2857,96 +2908,45 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" } } }, "artist": { - "class_name": "Artist", - "table_name": "artists", "associations": { "belongs_to": {}, "has_many": { - "resource_pictures": { - "foreign_key": "artist_id", - "model_name": "resource_picture" - } + "resource_pictures": {} }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { "required": true } }, - "author_id": { + "user_id": { "type": "number", "rules": { "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" - } - }, - "lists": { - "public_list": { - "type": "public" } } }, "system_picture": { - "class_name": "SystemPicture", - "table_name": "system_pictures", "associations": { "belongs_to": {}, "has_many": { - "balloons": { - "foreign_key": "system_picture_id", - "model_name": "balloon" - }, - "balloon_templates": { - "foreign_key": "system_picture_id", - "model_name": "balloon_template" - }, - "licenses": { - "foreign_key": "system_picture_id", - "model_name": "license" - } + "balloons": {}, + "speech_balloon_templates": {}, + "licenses": {}, + "writing_formats": {} }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "ext": { "type": "text", "rules": { @@ -2979,2850 +2979,987 @@ "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } - }, - "lists": { - "public_list": { - "type": "public" + } + }, + "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": { + "a": { + "type": "number", + "rules": { + "required": true, + "number": true + } } } - } - }, - "system_resources": { - "engine_resources": { - "license_groups": { - "resource_items": { - "PettanrCreativeCommonsV30Licenses": "pettanr_creative_commons_v30_licenses", - "PettanrPettanCommonsV01Licenses": "pettanr_pettan_commons_v01_licenses", - "PettanrPettanProtectedV01Licenses": "pettanr_pettan_protected_v01_licenses", - "PettanrPettanPublicV01Licenses": "pettanr_pettan_public_v01_licenses", - "PettanrPublicDomainV01Licenses": "pettanr_public_domain_v01_licenses", - "PettanrUnknownV01Licenses": "pettanr_unknown_v01_licenses" + }, + "test_speech_balloon_balloon": { + "attributes": { + "b": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "speech_balloon_templates": { - "resource_items": { - "CircleSpeechBalloon": "circle_speech_balloon", - "PlainSpeechBalloon": "plain_speech_balloon", - "SquareSpeechBalloon": "square_speech_balloon" + } + }, + "test_speech_balloon_speech": { + "attributes": { + "c": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "writing_formats": { - "has_route": 0, - "resource_items": { - "SimpleFormat": "pettanr_simple_format" + } + }, + "pettanr_creative_commons_v30_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "commercial": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "official": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "attribution": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "derive": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "thumbnail": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "gif_convert": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "reverse": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "sync_vh": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "overlap": { + "type": "number", + "rules": { + "required": true, + "number": true + } } } }, - "elements": { - "PanelPicture": "panel_pictures", - "SpeechBalloon": "speech_balloons", - "GroundPicture": "ground_pictures", - "GroundColor": "ground_colors" + "pettanr_creative_commons_v30_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "source_url_off_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + } }, - "select_items": { - "provider_status_status_items": [ - [ - "select_items.provider_status.status.waiting", - 0 - ], - [ - "select_items.provider_status.status.receiving", - 1 - ] - ], - "demander_status_status_items": [ - [ - "select_items.demander_status.status.waiting", - 0 - ], - [ - "select_items.demander_status.status.rejected", - 1 - ], - [ - "select_items.demander_status.status.requesting", - 2 - ], - [ - "select_items.demander_status.status.approved", - 3 - ] - ], - "scroll_visible_items": [ - [ - "select_items.scroll.visible.private", - 0 - ], - [ - "select_items.scroll.visible.public", - 1 - ] - ], - "comic_visible_items": [ - [ - "select_items.comic.visible.private", - 0 - ], - [ - "select_items.comic.visible.public", - 1 - ] - ], - "story_visible_items": [ - [ - "select_items.story.visible.private", - 0 - ], - [ - "select_items.story.visible.public", - 1 - ] - ], - "sheet_visible_items": [ - [ - "select_items.sheet.visible.private", - 0 - ], - [ - "select_items.sheet.visible.public", - 1 - ] - ], - "panel_visible_items": [ - [ - "select_items.panel.visible.private", - 0 - ], - [ - "select_items.panel.visible.public", - 1 - ] - ], - "ground_picture_repeat_items": [ - [ - "select_items.ground_pictures.repeat.repeat", - 0 - ], - [ - "select_items.ground_pictures.repeat.repeat-x", - 1 - ], - [ - "select_items.ground_pictures.repeat.repeat-y", - 2 - ], - [ - "select_items.ground_pictures.repeat.no-repeat", - 3 - ] - ], - "ground_color_orientation_items": [ - [ - "select_items.ground_color.orientation.horizontal", - 0 - ], - [ - "select_items.ground_color.orientation.vertical", - 1 - ] - ], - "speech_font_size_items": [ - [ - "select_items.speeches.font_size.ultra_small", - 0.2 - ], - [ - "select_items.speeches.font_size.very_small", - 0.4 - ], - [ - "select_items.speeches.font_size.small", - 0.6 - ], - [ - "select_items.speeches.font_size.semi_small", - 0.8 - ], - [ - "select_items.speeches.font_size.normal", - 1 - ], - [ - "select_items.speeches.font_size.semi_large", - 1.5 - ], - [ - "select_items.speeches.font_size.large", - 2 - ], - [ - "select_items.speeches.font_size.very_large", - 3.5 - ], - [ - "select_items.speeches.font_size.ultra_large", - 5 - ] - ], - "speech_text_align_items": [ - [ - "select_items.speeches.text_align.none", - 0 - ], - [ - "select_items.speeches.text_align.left", - 1 - ], - [ - "select_items.speeches.text_align.right", - 2 - ], - [ - "select_items.speeches.text_align.center", - 3 - ] - ] - } - }, - "magic_numbers": { - "run_mode": 1, - "thumbnail_width": 64, - "thumbnail_height": 64, - "profile": { - "users": { - "caption": "ペンギン王国", - "url": "http://localhost:3001/", - "description": "ペンギン王国はペンギン素材を豊富に用意したペンギンマニアのサイトです。" - }, - "admins": { - "caption": "site name for admin", - "url": "http://your.site.url/admins/", - "description": "admin register" - }, - "demand_users": { - "caption": "provider name", - "url": "http://your.site.url/demanders/", - "description": "provider description" + "pettanr_creative_commons_v30_licenses_attribute": { + "attributes": { + "artist_name": { + "type": "text", + "rules": { + "required": true + } + }, + "caption": { + "type": "text", + "rules": {} + }, + "artist_url": { + "type": "text", + "rules": {} + }, + "source_url": { + "type": "text", + "rules": {} + }, + "more_permission_url": { + "type": "text", + "rules": {} + } } }, - "provider_sources": [ - "http://sourceforge.jp/projects/pettanr/wiki/ProviderSource/attach/provider_source.json" - ] - }, - "locals": { - "profilers": { - "scroll": { - "lists": { - "scroll_panels.by_scroll": { - "model_name": "scroll_panel", - "list_name": "by_scroll" - }, - "panels.by_scroll": { - "model_name": "panel", - "list_name": "by_scroll" - } - }, - "columns": [ - "id", - "title", - "description", - "visible", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "author" - ], - "has_many": [ - "scroll_panels.by_scroll", - "panels.by_scroll" - ] - } - }, - "scroll_panel": { - "lists": {}, - "columns": [ - "id", - "scroll_id", - "panel_id", - "t", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "scroll", - "panel" - ], - "has_many": [] - } - }, - "comic": { - "lists": { - "stories.by_comic": { - "model_name": "story", - "list_name": "by_comic" - } - }, - "columns": [ - "id", - "title", - "description", - "visible", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "author" - ], - "has_many": [ - "stories.by_comic" - ] - } - }, - "story": { - "lists": { - "story_sheets.by_story": { - "model_name": "story_sheet", - "list_name": "by_story" - }, - "sheets.by_story": { - "model_name": "sheet", - "list_name": "by_story" - } - }, - "columns": [ - "id", - "comic_id", - "title", - "description", - "t", - "visible", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "comic" - ], - "has_many": [ - "story_sheets.by_story", - "sheets.by_story" - ] - } - }, - "story_sheet": { - "lists": {}, - "columns": [ - "id", - "story_id", - "sheet_id", - "t", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "story", - "sheet" - ], - "has_many": [] - } - }, - "sheet": { - "lists": { - "story_sheets.by_sheet": { - "model_name": "story_sheet", - "list_name": "by_sheet" - }, - "stories.by_sheet": { - "model_name": "story", - "list_name": "by_sheet" - }, - "sheet_panels.by_sheet": { - "model_name": "sheet_panel", - "list_name": "by_sheet" - }, - "panels.by_sheet": { - "model_name": "panel", - "list_name": "by_sheet" - } - }, - "columns": [ - "id", - "caption", - "width", - "height", - "visible", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "author" - ], - "has_many": [ - "story_sheets.by_sheet", - "stories.by_sheet", - "sheet_panels.by_sheet", - "panels.by_sheet" - ] - } - }, - "sheet_panel": { - "lists": {}, - "columns": [ - "id", - "sheet_id", - "panel_id", - "x", - "y", - "z", - "t", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "sheet", - "panel" - ], - "has_many": [] - } - }, - "panel": { - "lists": { - "scroll_panels.by_panel": { - "model_name": "scroll_panel", - "list_name": "by_panel" - }, - "scrolls.by_panel": { - "model_name": "scroll", - "list_name": "by_panel" - }, - "sheet_panels.by_panel": { - "model_name": "sheet_panel", - "list_name": "by_panel" - }, - "sheets.by_panel": { - "model_name": "sheet", - "list_name": "by_panel" - }, - "panel_pictures.by_panel": { - "model_name": "panel_picture", - "list_name": "by_panel" - }, - "speech_balloons.by_panel": { - "model_name": "speech_balloon", - "list_name": "by_panel" - }, - "ground_pictures.by_panel": { - "model_name": "ground_picture", - "list_name": "by_panel" - }, - "ground_colors.by_panel": { - "model_name": "ground_color", - "list_name": "by_panel" - } - }, - "columns": [ - "id", - "width", - "height", - "border", - "caption", - "publish", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "author" - ], - "has_many": [ - "scroll_panels.by_panel", - "scrolls.by_panel", - "sheet_panels.by_panel", - "sheets.by_panel", - "panel_pictures.by_panel", - "speech_balloons.by_panel", - "ground_pictures.by_panel", - "ground_colors.by_panel" - ] - } - }, - "panel_picture": { - "lists": {}, - "columns": [ - "id", - "panel_id", - "picture_id", - "caption", - "x", - "y", - "width", - "height", - "link", - "z", - "t", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "panel" - ], - "has_many": [] - } - }, - "speech_balloon": { - "lists": { - "balloon.by_speech_balloon": { - "model_name": "balloon", - "list_name": "by_speech_balloon" - }, - "speech.by_speech_balloon": { - "model_name": "speech", - "list_name": "by_speech_balloon" - } - }, - "columns": [ - "id", - "panel_id", - "speech_balloon_template_id", - "classname", - "z", - "t", - "settings", - "caption", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "panel" - ], - "has_many": [], - "has_one": [ - "balloon.by_speech_balloon", - "speech.by_speech_balloon" - ] - } - }, - "speech": { - "lists": {}, - "columns": [ - "id", - "speech_balloon_id", - "writing_format_id", - "content", - "font_size", - "text_align", - "fore_color", - "x", - "y", - "width", - "height", - "quotes", - "settings", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "speech_balloon", - "writing_format" - ], - "has_many": [] - } - }, - "balloon": { - "lists": {}, - "columns": [ - "id", - "speech_balloon_id", - "system_picture_id", - "x", - "y", - "width", - "height", - "r", - "settings", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "speech_balloon", - "system_picture" - ], - "has_many": [] - } - }, - "ground_picture": { - "lists": {}, - "columns": [ - "id", - "panel_id", - "picture_id", - "caption", - "repeat", - "x", - "y", - "z", - "t", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "panel" - ], - "has_many": [] - } - }, - "ground_color": { - "lists": {}, - "columns": [ - "id", - "panel_id", - "caption", - "code", - "orientation", - "xy", - "wh", - "z", - "t", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "panel" - ], - "has_many": [] - } - }, - "original_picture": { - "lists": {}, - "columns": [ - "id", - "ext", - "width", - "height", - "filesize", - "artist_id", - "md5", - "uploaded_at", - "published_at", - "stopped_at", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "artist" - ], - "has_many": [], - "has_one": [ - "resource_picture" - ] - } - }, - "picture": { - "lists": {}, - "columns": [ - "id", - "original_picture_id", - "revision", - "ext", - "width", - "height", - "filesize", - "artist_id", - "license_id", - "md5", - "artist_name", - "credit", - "settings", - "classname", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "license", - "artist" - ], - "has_many": [], - "has_one": [] - } - }, - "resource_picture": { - "lists": {}, - "columns": [ - "id", - "original_picture_id", - "revision", - "ext", - "width", - "height", - "filesize", - "artist_id", - "license_id", - "md5", - "artist_name", - "credit", - "settings", - "picture_id", - "classname", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "original_picture", - "license", - "artist" - ], - "has_many": [], - "has_one": [] - } - }, - "speech_balloon_template": { - "lists": {}, - "columns": [ - "id", - "name", - "classname", - "caption", - "t", - "system_picture_id", - "settings", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "system_picture" - ], - "has_many": [], - "has_one": [] - } - }, - "writing_format": { - "lists": { - "speeches.by_writing_format": { - "model_name": "speech", - "list_name": "by_writing_format" - } - }, - "columns": [ - "id", - "name", - "classname", - "caption", - "system_picture_id", - "settings", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "system_picture" - ], - "has_many": [ - "speeches.by_writing_format" - ], - "has_one": [] - } - }, - "license_group": { - "lists": { - "licenses.by_license_group": { - "model_name": "license", - "list_name": "by_license_group" - } - }, - "columns": [ - "id", - "name", - "classname", - "caption", - "url", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [], - "has_many": [ - "licenses.by_license_group" - ], - "has_one": [] - } - }, - "license": { - "lists": { - "resource_pictures.by_license": { - "model_name": "resource_picture", - "list_name": "by_license" - } - }, - "columns": [ - "id", - "license_group_id", - "name", - "caption", - "system_picture_id", - "url", - "settings", - "credit_pictures", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [ - "license_group", - "system_picture" - ], - "has_many": [ - "resource_pictures.by_license" - ], - "has_one": [] - } - }, - "author": { - "lists": { - "scrolls.by_author": { - "model_name": "scroll", - "list_name": "by_author" - }, - "comics.by_author": { - "model_name": "comic", - "list_name": "by_author" - }, - "stories.by_author": { - "model_name": "story", - "list_name": "by_author" - }, - "panels.by_author": { - "model_name": "panel", - "list_name": "by_author" - }, - "panel_pictures.by_author": { - "model_name": "panel_picture", - "list_name": "by_author" - }, - "speech_balloons.by_author": { - "model_name": "speech_balloon", - "list_name": "by_author" - }, - "ground_pictures.by_author": { - "model_name": "ground_picture", - "list_name": "by_author" - }, - "ground_colors.by_author": { - "model_name": "ground_color", - "list_name": "by_author" + "pettanr_pettan_commons_v01_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "commercial": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "official": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "attribution": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "derive": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "thumbnail": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "gif_convert": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "reverse": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "sync_vh": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "columns": [ - "id", - "name", - "user_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [], - "has_many": [ - "scrolls.by_author", - "comics.by_author", - "scrolls.by_author", - "stories.by_author", - "panels.by_author", - "panel_pictures.by_author", - "speech_balloons.by_author", - "ground_pictures.by_author", - "ground_colors.by_author" - ], - "has_one": [] - } - }, - "artist": { - "lists": { - "resource_pictures.by_artist": { - "model_name": "resource_picture", - "list_name": "by_artist" - } - }, - "columns": [ - "id", - "name", - "author_id", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [], - "has_many": [ - "resource_pictures.by_artist" - ], - "has_one": [] - } - }, - "system_picture": { - "lists": { - "speech_balloon_templates.by_system_picture": { - "model_name": "speech_balloon_template", - "list_name": "by_system_picture" - }, - "licenses.by_system_picture": { - "model_name": "license", - "list_name": "by_system_picture" - } - }, - "columns": [ - "id", - "ext", - "width", - "height", - "filesize", - "md5", - "created_at", - "updated_at" - ], - "associations": { - "belongs_to": [], - "has_many": [ - "speech_balloon_templates.by_system_picture", - "licenses.by_system_picture" - ], - "has_one": [] + "overlap": { + "type": "number", + "rules": { + "required": true, + "number": true + } } } }, - "filers": { - "scroll": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "title" - } - }, - "link": { - "type": "action", - "args": { - "action_name": "play" - } - } + "pettanr_pettan_commons_v01_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": {} - }, - "scroll_panel": { - "symbol": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "source_url_off_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + } + }, + "pettanr_pettan_commons_v01_licenses_attribute": { + "attributes": { + "artist_name": { + "type": "text", + "rules": { + "required": true } }, "caption": { - "type": "none" + "type": "text", + "rules": { + "required": true + } }, - "summary": {}, - "edit": { - "type": "none" + "sources": { + "type": "text", + "rules": { + "required": true + } } - }, - "comic": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "title" - } - } + } + }, + "pettanr_pettan_protected_v01_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": {} - }, - "story": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": { - "type": "method", - "args": { - "method_name": "title_with_t" - } - }, - "link": { - "type": "action", - "args": { - "action_name": "play" - } - } + "commercial": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": {} - }, - "story_sheet": { - "symbol": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "official": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "none" + "attribution": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "sheet": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": {}, - "link": { - "type": "action", - "args": { - "action_name": "play" - } - } + "derive": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": {} - }, - "sheet_panel": { - "symbol": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "thumbnail": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "none" + "gif_convert": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "panel": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "reverse": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": {} - }, - "panel_picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + "sync_vh": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "overlap": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "none" + "trackback": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "speech_balloon": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + } + }, + "pettanr_pettan_protected_v01_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "face": { - "type": "method", - "args": { - "method_name": "plain_scenario" - } - }, - "link": { - "type": "none" - } + "source_url_off_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } - }, - "summary": {}, - "edit": { - "type": "none" } - }, - "speech": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + } + }, + "pettanr_pettan_protected_v01_licenses_attribute": { + "attributes": { + "artist_name": { + "type": "text", + "rules": { + "required": true } }, "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "content" - } - }, - "link": { - "type": "none" - } + "type": "text", + "rules": { + "required": true } }, - "summary": {}, - "edit": { - "type": "none" + "sources": { + "type": "text", + "rules": { + "required": true + } } - }, - "balloon": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + } + }, + "pettanr_pettan_public_v01_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "none" + "commercial": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "summary": {}, - "edit": { - "type": "none" + "official": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "attribution": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "derive": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "thumbnail": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "gif_convert": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "reverse": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "sync_vh": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "overlap": { + "type": "number", + "rules": { + "required": true, + "number": true + } + }, + "trackback": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "ground_picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + } + }, + "pettanr_pettan_public_v01_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } + } + } + }, + "pettanr_pettan_public_v01_licenses_attribute": { + "attributes": { + "artist_name": { + "type": "text", + "rules": { + "required": true } }, "caption": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "type": "text", + "rules": { + "required": true } }, - "summary": {}, - "edit": { - "type": "none" + "sources": { + "type": "text", + "rules": { + "required": true + } } - }, - "ground_color": { - "symbol": { - "type": "template", - "args": { - "template_name": "symbol" + } + }, + "pettanr_public_domain_v01_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "link": { - "type": "none" - } + "commercial": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "original_picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + "official": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "face": { - "type": "method", - "args": { - "method_name": "revision" - } - }, - "link": { - "type": "action", - "args": { - "action_name": "history" - } - } + "attribution": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "template", - "args": { - "template_name": "publish" - } - } - }, - "picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + "derive": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "revision" - } - } + "thumbnail": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "resource_picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + "gif_convert": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "none" - }, - "summary": {}, - "edit": { - "type": "none" - } - }, - "speech_balloon_template": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + "reverse": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": {}, - "summary": { - "type": "none" - }, - "edit": { - "type": "none" - } - }, - "writing_format": { - "symbol": {}, - "caption": {}, - "summary": { - "type": "none" - }, - "edit": { - "type": "none" - } - }, - "license_group": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "link": { - "type": "url_column", - "args": { - "column_name": "url" - } - } + "sync_vh": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": { - "type": "none" + "overlap": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "edit": { - "type": "none" + "trackback": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "license": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": { - "type": "method", - "args": { - "method_name": "caption_with_group" - } - }, - "link": { - "type": "url_column", - "args": { - "column_name": "url" - } - } + } + }, + "pettanr_public_domain_v01_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "summary": {}, - "edit": { - "type": "none" + "source_url_off_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true + } } - }, - "author": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "name" - } - } + } + }, + "pettanr_public_domain_v01_licenses_attribute": { + "attributes": { + "artist_name": { + "type": "text", + "rules": { + "required": true } }, - "summary": {}, - "edit": { - "type": "account" - } - }, - "artist": { - "symbol": {}, - "caption": { - "type": "default", - "args": { - "face": { - "type": "column", - "args": { - "column_name": "name" - } - } + "source_url": { + "type": "text", + "rules": { + "required": true } }, - "summary": {}, - "edit": { - "type": "account" + "note": { + "type": "text", + "rules": { + "required": true + } } - }, - "system_picture": { - "symbol": { - "type": "default", - "args": { - "face": { - "type": "picture" - } + } + }, + "pettanr_unknown_v01_licenses_license": { + "attributes": { + "open": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "caption": { - "type": "none" + "commercial": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "summary": { - "type": "none" + "official": { + "type": "number", + "rules": { + "required": true, + "number": true + } }, - "edit": { - "type": "none" - } - } - }, - "lists": { - "scroll": { - "public_list": {}, - "private_list": {}, - "by_author": {}, - "by_panel": {}, - "play": {} - }, - "scroll_panel": { - "public_list": {}, - "private_list": {}, - "by_scroll": {}, - "by_panel": {} - }, - "comic": { - "public_list": {}, - "private_list": {}, - "by_author": {} - }, - "story": { - "public_list": {}, - "private_list": {}, - "by_comic": {}, - "by_sheet": {}, - "by_author": { - "type": "element_filter", - "args": { - "from": "author", - "filter_key": "author_id" + "attribution": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "play": { - "type": "play", - "args": { - "model": "story_sheet", - "filter_key": "story_id" + "derive": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "story_sheet": { - "public_list": {}, - "private_list": {}, - "by_story": {}, - "by_sheet": {} - }, - "sheet": { - "public_list": {}, - "private_list": {}, - "by_story": {}, - "by_panel": {}, - "by_author": {}, - "play": { - "type": "play", - "args": { - "model": "sheet_panel", - "filter_key": "sheet_id" + }, + "thumbnail": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "sheet_panel": { - "public_list": {}, - "private_list": {}, - "by_sheet": {}, - "by_panel": {} - }, - "panel": { - "public_list": {}, - "private_list": {}, - "by_scroll": {}, - "by_sheet": {}, - "by_author": {}, - "by_speech_balloon_template": { - "type": "through_filter", - "args": { - "from": "speech_balloon_template", - "through": "speech_balloons", - "filter_key": "speech_balloon_template_id" + }, + "gif_convert": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "panel_picture": { - "public_list": {}, - "private_list": {}, - "by_panel": {}, - "by_author": { - "where": "by_author_where", - "includes": "by_author_includes" - } - }, - "speech_balloon": { - "public_list": {}, - "private_list": {}, - "by_panel": {}, - "by_speech_balloon_template": { - "type": "filter", - "args": { - "from": "speech_balloon_template", - "filter_key": "speech_balloon_template_id" + }, + "reverse": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "by_author": {} - }, - "speech": { - "public_list": {}, - "by_speech_balloon": { - "type": "filter", - "args": { - "from": "speech_balloon", - "includes": { - "speech_balloon": { - "panel": {} - } - }, - "filter_key": "speech_balloon_id" + "sync_vh": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "by_writing_format": { - "type": "filter", - "args": { - "from": "writing_format", - "filter_key": "writing_format_id" + "overlap": { + "type": "number", + "rules": { + "required": true, + "number": true } - } - }, - "balloon": { - "public_list": {}, - "by_speech_balloon": { - "type": "filter", - "args": { - "from": "speech_balloon", - "includes": { - "speech_balloon": { - "panel": {} - } - }, - "filter_key": "speech_balloon_id" + }, + "trackback": { + "type": "number", + "rules": { + "required": true, + "number": true } } - }, - "ground_picture": { - "public_list": {}, - "private_list": {}, - "by_panel": { - "type": "filter", - "args": { - "from": "panel", - "filter_key": "panel_id" + } + }, + "pettanr_unknown_v01_licenses_credit_picture": { + "attributes": { + "source_url_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } }, - "by_author": { - "type": "element_filter", - "args": { - "from": "author", - "filter_key": "author_id" + "source_url_off_btn_id": { + "type": "number", + "rules": { + "required": true, + "number": true } } - }, - "ground_color": { - "public_list": {}, - "private_list": {}, - "by_panel": { - "type": "filter", - "args": { - "from": "panel", - "filter_key": "panel_id" + } + }, + "pettanr_unknown_v01_licenses_attribute": { + "attributes": { + "source_url": { + "type": "text", + "rules": { + "required": true } }, - "by_author": { - "type": "element_filter", - "args": { - "from": "author", - "filter_key": "author_id" + "note": { + "type": "text", + "rules": { + "required": true } } - }, - "original_picture": { - "private_list": {} - }, - "picture": {}, - "resource_picture": { - "public_list": {}, - "private_list": {}, - "by_license": { - "type": "filter", - "args": { - "from": "license", - "filter_key": "license_id" - } - }, - "by_artist": {} + } + } + }, + "system_resources": { + "templates": { + "license_group": { + "template_items": { + "PettanrCreativeCommonsV30Licenses": "pettanr_creative_commons_v30_licenses", + "PettanrPettanCommonsV01Licenses": "pettanr_pettan_commons_v01_licenses", + "PettanrPettanProtectedV01Licenses": "pettanr_pettan_protected_v01_licenses", + "PettanrPettanPublicV01Licenses": "pettanr_pettan_public_v01_licenses", + "PettanrPublicDomainV01Licenses": "pettanr_public_domain_v01_licenses", + "PettanrUnknownV01Licenses": "pettanr_unknown_v01_licenses" + } }, "speech_balloon_template": { - "public_list": {}, - "select_items": { - "type": "system_resource" + "template_items": { + "CircleSpeechBalloon": "circle_speech_balloon", + "PlainSpeechBalloon": "plain_speech_balloon", + "SquareSpeechBalloon": "square_speech_balloon" } }, "writing_format": { - "public_list": {}, - "select_items": { - "type": "system_resource" - }, - "by_system_picture": {} - }, - "license_group": { - "public_list": {}, - "select_items": { - "type": "system_resource" + "has_route": 0, + "template_items": { + "PettanrSimpleFormat": "pettanr_simple_format" } - }, - "license": { - "public_list": {}, - "by_license_group": {}, - "by_system_picture": {} - }, - "author": { - "public_list": {} - }, - "artist": { - "public_list": {} - }, - "system_picture": { - "public_list": {} } }, - "elements": [ - { - "name": "panel_picture", - "path_name": "panel_pictures", - "parts": [] - }, - { - "name": "speech_balloon", - "path_name": "circle_speech_balloon/speech_balloons", - "parts": [ - "balloon", - "speech" + "select_items": { + "provider_status_status_items": [ + [ + "select_items.provider_status.status.waiting", + 0 + ], + [ + "select_items.provider_status.status.receiving", + 1 ] + ], + "demander_status_status_items": [ + [ + "select_items.demander_status.status.waiting", + 0 + ], + [ + "select_items.demander_status.status.rejected", + 1 + ], + [ + "select_items.demander_status.status.requesting", + 2 + ], + [ + "select_items.demander_status.status.approved", + 3 + ] + ], + "scroll_visible_items": [ + [ + "select_items.scroll.visible.private", + 0 + ], + [ + "select_items.scroll.visible.public", + 1 + ] + ], + "comic_visible_items": [ + [ + "select_items.comic.visible.private", + 0 + ], + [ + "select_items.comic.visible.public", + 1 + ] + ], + "story_visible_items": [ + [ + "select_items.story.visible.private", + 0 + ], + [ + "select_items.story.visible.public", + 1 + ] + ], + "sheet_visible_items": [ + [ + "select_items.sheet.visible.private", + 0 + ], + [ + "select_items.sheet.visible.public", + 1 + ] + ], + "panel_publish_items": [ + [ + "select_items.panel.publish.private", + 0 + ], + [ + "select_items.panel.publish.public", + 1 + ] + ], + "ground_picture_repeat_items": [ + [ + "select_items.ground_pictures.repeat.repeat", + 0 + ], + [ + "select_items.ground_pictures.repeat.repeat-x", + 1 + ], + [ + "select_items.ground_pictures.repeat.repeat-y", + 2 + ], + [ + "select_items.ground_pictures.repeat.no-repeat", + 3 + ] + ], + "ground_color_orientation_items": [ + [ + "select_items.ground_color.orientation.horizontal", + 0 + ], + [ + "select_items.ground_color.orientation.vertical", + 1 + ] + ], + "speech_font_size_items": [ + [ + "select_items.speeches.font_size.ultra_small", + 0.2 + ], + [ + "select_items.speeches.font_size.very_small", + 0.4 + ], + [ + "select_items.speeches.font_size.small", + 0.6 + ], + [ + "select_items.speeches.font_size.semi_small", + 0.8 + ], + [ + "select_items.speeches.font_size.normal", + 1 + ], + [ + "select_items.speeches.font_size.semi_large", + 1.5 + ], + [ + "select_items.speeches.font_size.large", + 2 + ], + [ + "select_items.speeches.font_size.very_large", + 3.5 + ], + [ + "select_items.speeches.font_size.ultra_large", + 5 + ] + ], + "speech_text_align_items": [ + [ + "select_items.speeches.text_align.none", + 0 + ], + [ + "select_items.speeches.text_align.left", + 1 + ], + [ + "select_items.speeches.text_align.right", + 2 + ], + [ + "select_items.speeches.text_align.center", + 3 + ] + ] + } + }, + "magic_numbers": { + "run_mode": 1, + "thumbnail_width": 64, + "thumbnail_height": 64, + "profile": { + "users": { + "caption": "ペンギン王国", + "url": "http://localhost:3001/", + "description": "ペンギン王国はペンギン素材を豊富に用意したペンギンマニアのサイトです。" }, - { - "name": "ground_picture", - "path_name": "ground_pictures", - "parts": [] - }, - { - "name": "ground_color", - "path_name": "ground_colors", - "parts": [] - } - ], - "forms": { - "base": { - "scroll": { - "fields": { - "title": { - "args": { - "column": "title", - "label": {}, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "description": { - "args": { - "column": "description", - "label": {}, - "tag": { - "type": "text_area", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "visible": { - "args": { - "column": "visible", - "label": {}, - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "author_id": { - "args": { - "column": "author_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "title", - "description", - "visible", - "id", - "author_id" - ] - }, - "panel": { - "fields": { - "caption": { - "args": { - "column": "caption", - "label": {}, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "width": { - "args": { - "column": "width", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "height": { - "args": { - "column": "height", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "row_break": true - } - }, - "border": { - "args": { - "column": "border", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "publish": { - "args": { - "column": "publish", - "label": {}, - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "author_id": { - "args": { - "column": "author_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "caption", - "width", - "height", - "border", - "publish", - "id", - "author_id" - ] - }, - "panel_picture": { - "fields": { - "caption": { - "args": { - "column": "caption", - "label": {}, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "x": { - "args": { - "column": "x", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "y": { - "args": { - "column": "y", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "row_break": true - } - }, - "width": { - "args": { - "column": "width", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "helpers": { - "size": { - "type": "size", - "args": { - "path": "panels/size_helper", - "class": "panel_picture_width_tool" - } - } - }, - "row_break": true - } - }, - "height": { - "args": { - "column": "height", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "helpers": { - "size": { - "type": "size", - "args": { - "path": "panels/size_helper", - "class": "panel_picture_height_tool" - } - } - }, - "row_break": true - } - }, - "link": { - "args": { - "column": "link", - "label": {}, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "panel_id": { - "args": { - "column": "panel_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "picture_id": { - "args": { - "column": "picture_id", - "label": {}, - "tag": { - "type": "hidden" - }, - "helpers": { - "popup": { - "type": "size", - "args": { - "path": "panels/popup_helper", - "source": "pictures" - } - } - } - } - }, - "z": { - "args": { - "column": "z", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "t": { - "args": { - "column": "t", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "caption", - "x", - "y", - "width", - "height", - "link", - "id", - "panel_id", - "picture_id", - "z", - "t" - ] - }, - "speech_balloon": { - "fields": { - "speech_balloon.id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.panel_id": { - "args": { - "column": "panel_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.speech_balloon_template_id": { - "args": { - "column": "speech_balloon_template_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.caption": { - "args": { - "column": "caption", - "label": {}, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "speech_balloon.z": { - "args": { - "column": "z", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.t": { - "args": { - "column": "t", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.classname": { - "args": { - "column": "classname", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech_balloon.settings": { - "args": { - "column": "settings", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "balloon.id": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "balloon.speech_balloon_id": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "speech_balloon_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "balloon.system_picture_id": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "system_picture_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "balloon.r": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "r", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "helpers": { - "tail_angle": { - "type": "size", - "args": { - "path": "panels/tail_angle_helper" - } - } - }, - "row_break": true - } - }, - "balloon.x": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "x", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "balloon.y": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "y", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "row_break": true - } - }, - "balloon.width": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "width", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "balloon.height": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "height", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "row_break": true - } - }, - "balloon.settings": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "settings", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.id": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.speech_balloon_id": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "speech_balloon_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.x": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "x", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.y": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "y", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.width": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "width", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.height": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "height", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "speech.writing_format_id": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "writing_format_id", - "label": {}, - "tag": { - "type": "select" - } - } - }, - "speech.font_size": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "font_size", - "label": {}, - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "speech.text_align": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "text_align", - "label": {}, - "tag": { - "type": "select" - } - } - }, - "speech.quotes": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "quotes", - "label": {}, - "tag": { - "type": "text", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "speech.content": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "content", - "label": { - "row_break": true - }, - "tag": { - "type": "text_area", - "args": { - "options": { - "size": "45x5" - } - } - } - } - }, - "speech.fore_color": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "fore_color", - "label": { - "row_break": true - }, - "tag": { - "type": "hidden" - }, - "helpers": { - "color": { - "type": "size", - "args": { - "path": "panels/color_helper", - "wrapper": "speech-fore_color-wrap" - } - } - } - } - }, - "speech.settings": { - "type": "part", - "args": { - "model": "speech", - "part": "speech", - "column": "settings", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - } - }, - "ground_picture": { - "fields": { - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "panel_id": { - "args": { - "column": "panel_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "picture_id": { - "args": { - "column": "picture_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "caption": { - "args": { - "column": "caption", - "label": {}, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "repeat": { - "args": { - "column": "repeat", - "label": {}, - "tag": { - "type": "select", - "args": { - "source": "magic_number", - "key": "ground_picture_repeat_items" - } - }, - "row_break": true - } - }, - "x": { - "args": { - "column": "x", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "y": { - "args": { - "column": "y", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "row_break": true - } - }, - "z": { - "args": { - "column": "z", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "t": { - "args": { - "column": "t", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "caption", - "repeat", - "x", - "y", - "z", - "t", - "id", - "panel_id", - "picture_id" - ] - }, - "ground_color": { - "fields": { - "id": { - "args": { - "column": "id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "panel_id": { - "args": { - "column": "panel_id", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "caption": { - "args": { - "column": "caption", - "label": {}, - "tag": { - "type": "text" - }, - "row_break": true - } - }, - "code": { - "args": { - "column": "code", - "label": { - "row_break": true - }, - "tag": { - "type": "hidden" - }, - "helpers": { - "color": { - "type": "size", - "args": { - "path": "panels/color_helper", - "wrapper": "ground_color-code-wrap" - } - } - }, - "row_break": true - } - }, - "orientation": { - "args": { - "column": "orientation", - "label": {}, - "tag": { - "type": "select" - }, - "row_break": true - } - }, - "xy": { - "args": { - "column": "xy", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - } - } - }, - "wh": { - "args": { - "column": "wh", - "label": {}, - "tag": { - "type": "number", - "args": { - "options": { - "size": 5 - } - } - }, - "row_break": true - } - }, - "z": { - "args": { - "column": "z", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - }, - "t": { - "args": { - "column": "t", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "id", - "panel_id", - "caption", - "code", - "orientation", - "xy", - "wh", - "z", - "t" - ] - } + "admins": { + "caption": "site name for admin", + "url": "http://your.site.url/admins/", + "description": "admin register" }, - "extend": { - "CircleSpeechBalloon": { - "base": "speech_balloon", - "fields": {}, - "field_names": [ - "speech_balloon.caption", - "balloon.r", - "balloon.x", - "balloon.y", - "balloon.width", - "balloon.height", - "balloon.id", - "balloon.speech_balloon_id", - "balloon.system_picture_id", - "balloon.settings", - "speech.writing_format_id", - "speech.font_size", - "speech.text_align", - "speech.quotes", - "speech.content", - "speech.fore_color", - "speech.id", - "speech.speech_balloon_id", - "speech.x", - "speech.y", - "speech.width", - "speech.height", - "speech.settings", - "speech_balloon.id", - "speech_balloon.panel_id", - "speech_balloon.speech_balloon_template_id", - "speech_balloon.classname", - "speech_balloon.z", - "speech_balloon.t", - "speech_balloon.settings" - ] - }, - "PlainSpeechBalloon": { - "base": "speech_balloon", - "fields": { - "balloon.r": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "r", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "speech_balloon.caption", - "balloon.r", - "balloon.x", - "balloon.y", - "balloon.width", - "balloon.height", - "balloon.id", - "balloon.speech_balloon_id", - "balloon.system_picture_id", - "balloon.settings", - "speech.writing_format_id", - "speech.font_size", - "speech.text_align", - "speech.quotes", - "speech.content", - "speech.fore_color", - "speech.id", - "speech.speech_balloon_id", - "speech.x", - "speech.y", - "speech.width", - "speech.height", - "speech.settings", - "speech_balloon.id", - "speech_balloon.panel_id", - "speech_balloon.speech_balloon_template_id", - "speech_balloon.classname", - "speech_balloon.z", - "speech_balloon.t", - "speech_balloon.settings" - ] - }, - "SquareSpeechBalloon": { - "base": "speech_balloon", - "fields": { - "balloon.r": { - "type": "part", - "args": { - "model": "balloon", - "part": "balloon", - "column": "r", - "label": { - "type": "none" - }, - "tag": { - "type": "hidden" - } - } - } - }, - "field_names": [ - "speech_balloon.caption", - "balloon.r", - "balloon.x", - "balloon.y", - "balloon.width", - "balloon.height", - "balloon.id", - "balloon.speech_balloon_id", - "balloon.system_picture_id", - "balloon.settings", - "speech.writing_format_id", - "speech.font_size", - "speech.text_align", - "speech.quotes", - "speech.content", - "speech.fore_color", - "speech.id", - "speech.speech_balloon_id", - "speech.x", - "speech.y", - "speech.width", - "speech.height", - "speech.settings", - "speech_balloon.id", - "speech_balloon.panel_id", - "speech_balloon.speech_balloon_template_id", - "speech_balloon.classname", - "speech_balloon.z", - "speech_balloon.t", - "speech_balloon.settings" - ] - } + "demand_users": { + "caption": "provider name", + "url": "http://your.site.url/demanders/", + "description": "provider description" } - } + }, + "provider_sources": [ + "http://sourceforge.jp/projects/pettanr/wiki/ProviderSource/attach/provider_source.json" + ] } } \ No newline at end of file