{\r
- "controllers": {\r
- "scroll": {\r
- "model_name": "scroll",\r
- "actions": {\r
- "index": {\r
- "type": "list",\r
- "list": {\r
- "list_name": "public_list"\r
- }\r
- },\r
- "show": {\r
- "type": "show",\r
- "name": "show"\r
- }\r
+ "controllers": {\r
+ "scrolls": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_author": {\r
+ "type": "list"\r
+ },\r
+ "by_panel": {\r
+ "type": "list"\r
+ },\r
+ "play": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "play"\r
+ }\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_author": {\r
+ "type": "count"\r
+ },\r
+ "count_by_panel": {\r
+ "type": "count"\r
+ },\r
+ "new": {\r
+ "type": "new"\r
+ },\r
+ "edit": {\r
+ "type": "edit"\r
+ }\r
+ }\r
+ },\r
+ "scroll_panels": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_panel": {\r
+ "type": "list"\r
+ },\r
+ "by_scroll": {\r
+ "type": "list"\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_panel": {\r
+ "type": "count"\r
+ },\r
+ "count_by_scroll": {\r
+ "type": "count"\r
+ },\r
+ "new": {\r
+ "type": "new"\r
+ },\r
+ "edit": {\r
+ "type": "edit"\r
+ }\r
+ }\r
+ },\r
+ "comics": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_author": {\r
+ "type": "list"\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_author": {\r
+ "type": "count"\r
+ },\r
+ "new": {\r
+ "type": "new"\r
+ },\r
+ "edit": {\r
+ "type": "edit"\r
+ }\r
+ }\r
+ },\r
+ "stories": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_comic": {\r
+ "type": "count"\r
+ },\r
+ "by_sheet": {\r
+ "type": "count"\r
+ },\r
+ "by_author": {\r
+ "type": "list"\r
+ },\r
+ "play": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "play"\r
+ }\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_author": {\r
+ "type": "count"\r
+ },\r
+ "new": {\r
+ "type": "new"\r
+ },\r
+ "edit": {\r
+ "type": "edit"\r
+ }\r
+ }\r
+ },\r
+ "story_sheets": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_story": {\r
+ "type": "list"\r
+ },\r
+ "by_sheet": {\r
+ "type": "list"\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_story": {\r
+ "type": "count"\r
+ },\r
+ "count_by_sheet": {\r
+ "type": "count"\r
+ },\r
+ "new": {\r
+ "type": "new"\r
+ },\r
+ "edit": {\r
+ "type": "edit"\r
+ }\r
+ }\r
+ },\r
+ "sheets": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_story": {\r
+ "type": "list"\r
+ },\r
+ "by_panel": {\r
+ "type": "list"\r
+ },\r
+ "by_author": {\r
+ "type": "list"\r
+ },\r
+ "play": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "play"\r
+ }\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_story": {\r
+ "type": "count"\r
+ },\r
+ "count_by_panel": {\r
+ "type": "count"\r
+ },\r
+ "count_by_author": {\r
+ "type": "count"\r
+ },\r
+ "new": {\r
+ "type": "new"\r
+ },\r
+ "edit": {\r
+ "type": "edit"\r
+ }\r
+ }\r
+ },\r
+ "sheet_panels": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_sheet": {\r
+ "type": "list"\r
+ },\r
+ "by_panel": {\r
+ "type": "list"\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_sheet": {\r
+ "type": "count"\r
+ },\r
+ "count_by_panel": {\r
+ "type": "count"\r
+ },\r
+ "new": {\r
+ "type": "new"\r
+ },\r
+ "edit": {\r
+ "type": "edit"\r
+ }\r
+ }\r
+ },\r
+ "panels": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_scroll": {\r
+ "type": "list"\r
+ },\r
+ "by_sheet": {\r
+ "type": "list"\r
+ },\r
+ "by_author": {\r
+ "type": "list"\r
+ },\r
+ "by_speech_balloon_template": {\r
+ "type": "list"\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_scroll": {\r
+ "type": "count"\r
+ },\r
+ "count_by_sheet": {\r
+ "type": "count"\r
+ },\r
+ "count_by_author": {\r
+ "type": "count"\r
+ },\r
+ "count_by_speech_balloon_template": {\r
+ "type": "count"\r
+ },\r
+ "new": {\r
+ "type": "new"\r
+ },\r
+ "edit": {\r
+ "type": "edit"\r
+ }\r
+ }\r
+ },\r
+ "panel_pictures": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_panel": {\r
+ "type": "list"\r
+ },\r
+ "by_author": {\r
+ "type": "list"\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_panel": {\r
+ "type": "count"\r
+ },\r
+ "count_by_author": {\r
+ "type": "count"\r
+ }\r
+ }\r
+ },\r
+ "speech_balloons": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_panel": {\r
+ "type": "list"\r
+ },\r
+ "by_author": {\r
+ "type": "list"\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_panel": {\r
+ "type": "count"\r
+ },\r
+ "count_by_author": {\r
+ "type": "count"\r
+ }\r
+ }\r
+ },\r
+ "speeches": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_writing_format": {\r
+ "type": "list"\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_writing_format": {\r
+ "type": "count"\r
+ }\r
+ }\r
+ },\r
+ "balloons": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "ground_pictures": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_panel": {\r
+ "type": "list"\r
+ },\r
+ "by_author": {\r
+ "type": "list"\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_panel": {\r
+ "type": "count"\r
+ },\r
+ "count_by_author": {\r
+ "type": "count"\r
+ }\r
+ }\r
+ },\r
+ "ground_colors": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_panel": {\r
+ "type": "list"\r
+ },\r
+ "by_author": {\r
+ "type": "list"\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_panel": {\r
+ "type": "count"\r
+ },\r
+ "count_by_author": {\r
+ "type": "count"\r
+ }\r
+ }\r
+ },\r
+ "original_pictures": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "pictures": {\r
+ "actions": {\r
+ "show": {\r
+ "type": "show"\r
+ }\r
+ }\r
+ },\r
+ "resource_pictures": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_license": {\r
+ "type": "list"\r
+ },\r
+ "by_artist": {\r
+ "type": "list"\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_license": {\r
+ "type": "count"\r
+ },\r
+ "count_by_artist": {\r
+ "type": "count"\r
+ }\r
+ }\r
+ },\r
+ "speech_balloon_templates": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "writing_formats": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_system_picture": {\r
+ "type": "list"\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_system_picture": {\r
+ "type": "count"\r
+ }\r
+ }\r
+ },\r
+ "license_groups": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "licenses": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "by_license_group": {\r
+ "type": "list"\r
+ },\r
+ "by_system_picture": {\r
+ "type": "list"\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "count_by_license_group": {\r
+ "type": "count"\r
+ },\r
+ "count_by_system_picture": {\r
+ "type": "count"\r
+ }\r
+ }\r
+ },\r
+ "authors": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "scrolls": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "scrolls"\r
+ }\r
+ },\r
+ "comics": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "comics"\r
+ }\r
+ },\r
+ "stories": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "stories"\r
+ }\r
+ },\r
+ "sheets": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "sheets"\r
+ }\r
+ },\r
+ "panels": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "panels"\r
+ }\r
+ },\r
+ "panel_pictures": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "panel_pictures"\r
+ }\r
+ },\r
+ "speech_balloons": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "speech_balloons"\r
+ }\r
+ },\r
+ "ground_pictures": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "ground_pictures"\r
+ }\r
+ },\r
+ "ground_colors": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "ground_colors"\r
+ }\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "new": {\r
+ "type": "new"\r
+ },\r
+ "edit": {\r
+ "type": "edit"\r
+ }\r
+ }\r
+ },\r
+ "artists": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "resource_pictures": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "resource_pictures"\r
+ }\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "new": {\r
+ "type": "new"\r
+ },\r
+ "edit": {\r
+ "type": "edit"\r
+ }\r
+ }\r
+ },\r
+ "system_pictures": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ },\r
+ "show": {\r
+ "type": "show"\r
+ },\r
+ "count": {\r
+ "type": "count",\r
+ "args": {\r
+ "list_name": "public"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "home": {\r
+ "actions": {\r
+ "scrolls": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "scroll",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "scroll_panels": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "scroll_panel",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "comics": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "comic",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "stories": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "story",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "story_sheets": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "story_sheet",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "sheets": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "sheet",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "sheet_panels": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "sheet_panel",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "panels": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "panel",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "panel_pictures": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "panel_picture",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "speech_balloons": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "speech_balloon",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "speeches": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "speech",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "balloons": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "balloon",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "ground_pictures": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "ground_picture",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "ground_colors": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "ground_color",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "original_pictures": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "original_picture",\r
+ "list_name": "private"\r
+ }\r
+ },\r
+ "resource_pictures": {\r
+ "type": "list",\r
+ "args": {\r
+ "item_name": "resource_picture",\r
+ "list_name": "private"\r
+ }\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "models": {\r
+ "scroll": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "author": {}\r
+ },\r
+ "has_many": {\r
+ "scroll_panels": {},\r
+ "panels": {\r
+ "through": "scroll_panel"\r
+ }\r
+ }\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "title": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "description": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "visible": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ },\r
+ "source": {\r
+ "type": "magic_number",\r
+ "args": {\r
+ "select_item_name": "scroll_visible_items"\r
+ }\r
+ }\r
+ },\r
+ "author_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_author": {\r
+ "type": "filter",\r
+ "args": {}\r
+ },\r
+ "by_panel": {\r
+ "type": "through_filter",\r
+ "args": {\r
+ "through": "scroll_panels"\r
+ }\r
+ },\r
+ "play": {\r
+ "type": "play",\r
+ "args": {\r
+ "filter_item_name": "scroll",\r
+ "filter_model_name": "scroll_panel",\r
+ "filter_key": "scroll_id"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "scroll_panel": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "panel": {},\r
+ "scroll": {}\r
+ },\r
+ "has_many": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "scroll_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "panel_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "t": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 0\r
+ }\r
+ },\r
+ "author_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "tree": {\r
+ "owner": "scroll"\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_scroll": {\r
+ "type": "filter"\r
+ },\r
+ "by_panel": {\r
+ "type": "filter"\r
+ }\r
+ }\r
+ },\r
+ "comic": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "author": {}\r
+ },\r
+ "has_many": {\r
+ "stories": {}\r
+ }\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "title": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "description": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "visible": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ },\r
+ "source": {\r
+ "type": "magic_number",\r
+ "args": {\r
+ "select_item_name": "comic_visible_items"\r
+ }\r
+ }\r
+ },\r
+ "author_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_author": {\r
+ "type": "filter"\r
+ }\r
+ }\r
+ },\r
+ "story": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "comic": {}\r
+ },\r
+ "has_many": {\r
+ "story_sheets": {},\r
+ "sheets": {\r
+ "through": "story_sheets"\r
+ }\r
+ }\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "comic_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "title": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "description": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "t": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 0\r
+ }\r
+ },\r
+ "visible": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ },\r
+ "source": {\r
+ "type": "magic_number",\r
+ "args": {\r
+ "select_item_name": "story_visible_items"\r
+ }\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "tree": {\r
+ "owner": "comic"\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_comic": {\r
+ "type": "filter"\r
+ },\r
+ "by_sheet": {\r
+ "type": "through_filter",\r
+ "args": {\r
+ "through": "story_sheets"\r
+ }\r
+ },\r
+ "by_author": {\r
+ "type": "foreign_filter"\r
+ },\r
+ "play": {\r
+ "type": "play"\r
+ }\r
+ }\r
+ },\r
+ "story_sheet": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "story": {},\r
+ "sheet": {}\r
+ },\r
+ "has_many": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "story_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "sheet_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "t": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 0\r
+ }\r
+ },\r
+ "author_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "tree": {\r
+ "owner": "story"\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_story": {\r
+ "type": "filter"\r
+ },\r
+ "by_sheet": {\r
+ "type": "filter"\r
+ }\r
+ }\r
+ },\r
+ "sheet": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "author": {}\r
+ },\r
+ "has_many": {\r
+ "story_sheets": {},\r
+ "stories": {\r
+ "through": "story_sheets"\r
+ },\r
+ "sheet_panels": {},\r
+ "panels": {\r
+ "through": "sheet_panels"\r
+ }\r
+ }\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "caption": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "width": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "height": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "visible": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ },\r
+ "source": {\r
+ "type": "magic_number",\r
+ "args": {\r
+ "select_item_name": "sheet_visible_items"\r
+ }\r
+ }\r
+ },\r
+ "author_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_story": {\r
+ "type": "through_filter",\r
+ "args": {\r
+ "through": "story_sheets"\r
+ }\r
+ },\r
+ "by_panel": {\r
+ "type": "through_filter",\r
+ "args": {\r
+ "through": "sheet_panels"\r
+ }\r
+ },\r
+ "by_author": {\r
+ "type": "filter"\r
+ },\r
+ "play": {\r
+ "type": "play"\r
+ }\r
+ }\r
+ },\r
+ "sheet_panel": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "sheet": {},\r
+ "panel": {}\r
+ },\r
+ "has_many": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "sheet_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "panel_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "x": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "y": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "z": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 1\r
+ }\r
+ },\r
+ "t": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 0\r
+ }\r
+ },\r
+ "author_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "tree": {\r
+ "owner": "sheet"\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_sheet": {\r
+ "type": "filter"\r
+ },\r
+ "by_panel": {\r
+ "type": "filter"\r
+ }\r
+ }\r
+ },\r
+ "panel": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "author": {}\r
+ },\r
+ "has_many": {\r
+ "scroll_panels": {},\r
+ "scrolls": {\r
+ "through": "scroll_panels"\r
+ },\r
+ "sheet_panels": {},\r
+ "sheets": {\r
+ "through": "sheet_panels"\r
+ },\r
+ "panel_pictures": {},\r
+ "speech_balloons": {},\r
+ "ground_pictures": {},\r
+ "ground_colors": {}\r
+ }\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "width": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 1\r
+ }\r
+ },\r
+ "height": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 1\r
+ }\r
+ },\r
+ "border": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 0\r
+ }\r
+ },\r
+ "caption": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "publish": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ },\r
+ "source": {\r
+ "type": "magic_number",\r
+ "args": {\r
+ "select_item_name": "panel_visible_items"\r
+ }\r
+ }\r
+ },\r
+ "author_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_scroll": {\r
+ "type": "through_filter",\r
+ "args": {\r
+ "through": "scroll_panels"\r
+ }\r
+ },\r
+ "by_sheet": {\r
+ "type": "through_filter",\r
+ "args": {\r
+ "through": "sheet_panels"\r
+ }\r
+ },\r
+ "by_author": {\r
+ "type": "filter"\r
+ },\r
+ "by_speech_balloon_template": {\r
+ "type": "through_filter"\r
+ }\r
+ }\r
+ },\r
+ "panel_picture": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "panel": {}\r
+ },\r
+ "has_many": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "panel_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "picture_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "caption": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "x": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "y": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "width": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "height": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "link": {\r
+ "type": "text",\r
+ "rules": {\r
+ "url": true\r
+ }\r
+ },\r
+ "z": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 1\r
+ }\r
+ },\r
+ "t": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 0\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "tree": {\r
+ "owner": "panel",\r
+ "panel": "panel"\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_panel": {\r
+ "type": "filter",\r
+ "args": {\r
+ "where_name": "public_list_where"\r
+ }\r
+ },\r
+ "by_author": {\r
+ "type": "foreign_filter",\r
+ "args": {\r
+ "tree_name": "owner"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "speech_balloon": {\r
+ "extend": "classname",\r
+ "associations": {\r
+ "belongs_to": {\r
+ "panel": {}\r
+ },\r
+ "has_many": {},\r
+ "has_one": {\r
+ "balloon": {},\r
+ "speech": {}\r
+ }\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "panel_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "speech_balloon_template_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "classname": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "z": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 1\r
+ }\r
+ },\r
+ "t": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 0\r
+ }\r
+ },\r
+ "settings": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "caption": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "tree": {\r
+ "owner": "panel",\r
+ "panel": "panel"\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_panel": {\r
+ "type": "filter"\r
+ },\r
+ "by_speech_balloon_template": {\r
+ "type": "filter"\r
+ },\r
+ "by_author": {\r
+ "type": "foreign_filter"\r
+ }\r
+ }\r
+ },\r
+ "balloon": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "speech_balloon": {},\r
+ "system_picture": {}\r
+ },\r
+ "has_many": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "speech_balloon_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "system_picture_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "x": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "y": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "width": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 1\r
+ }\r
+ },\r
+ "height": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 1\r
+ }\r
+ },\r
+ "r": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "settings": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "tree": {\r
+ "owner": "speech_balloon",\r
+ "panel": "speech_balloon"\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_panel": {\r
+ "type": "filter"\r
+ },\r
+ "by_speech_balloon": {\r
+ "type": "filter"\r
+ },\r
+ "by_author": {\r
+ "type": "foreign_filter"\r
+ }\r
+ }\r
+ },\r
+ "speech": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "speech_balloon": {},\r
+ "writing_format": {}\r
+ },\r
+ "has_many": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "speech_balloon_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "writing_format_id": {\r
+ "type": "number",\r
+ "source": {\r
+ "type": "model"\r
+ },\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "content": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "font_size": {\r
+ "type": "float",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 0\r
+ },\r
+ "source": {\r
+ "type": "magic_number",\r
+ "args": {\r
+ "select_item_name": "speech_font_size_items"\r
+ }\r
+ }\r
+ },\r
+ "text_align": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "range": [\r
+ 0,\r
+ 3\r
+ ]\r
+ },\r
+ "source": {\r
+ "type": "magic_number",\r
+ "args": {\r
+ "select_item_name": "speech_text_align_items"\r
+ }\r
+ }\r
+ },\r
+ "fore_color": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "range": [\r
+ 0,\r
+ 16777215\r
+ ]\r
+ }\r
+ },\r
+ "x": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "y": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "width": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 1\r
+ }\r
+ },\r
+ "height": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 1\r
+ }\r
+ },\r
+ "quotes": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "settings": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "tree": {\r
+ "owner": "speech_balloon",\r
+ "panel": "speech_balloon"\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "by_speech_balloon": {\r
+ "type": "filter"\r
+ },\r
+ "by_writing_format": {\r
+ "type": "filter"\r
+ }\r
+ }\r
+ },\r
+ "ground_picture": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "panel": {}\r
+ },\r
+ "has_many": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "panel_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "picture_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "caption": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "repeat": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "range": [\r
+ 0,\r
+ 3\r
+ ]\r
+ },\r
+ "source": {\r
+ "type": "magic_number",\r
+ "args": {\r
+ "select_item_name": "ground_picture_repeat_items"\r
+ }\r
+ }\r
+ },\r
+ "x": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "y": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "z": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 1\r
+ }\r
+ },\r
+ "t": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 0\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "tree": {\r
+ "owner": "panel",\r
+ "panel": "panel"\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_panel": {\r
+ "type": "filter"\r
+ },\r
+ "by_author": {\r
+ "type": "foreign_filter"\r
+ }\r
+ }\r
+ },\r
+ "ground_color": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "panel": {}\r
+ },\r
+ "has_many": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "panel_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "caption": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "code": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "range": [\r
+ 0,\r
+ 16777215\r
+ ]\r
+ }\r
+ },\r
+ "orientation": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "range": [\r
+ 0,\r
+ 1\r
+ ]\r
+ },\r
+ "source": {\r
+ "type": "magic_number",\r
+ "args": {\r
+ "select_item_name": "ground_color_orientation_items"\r
}\r
+ }\r
+ },\r
+ "xy": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "wh": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "z": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 1\r
+ }\r
+ },\r
+ "t": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 0\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "tree": {\r
+ "owner": "panel",\r
+ "panel": "panel"\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_panel": {\r
+ "type": "filter"\r
+ },\r
+ "by_author": {\r
+ "type": "foreign_filter"\r
+ }\r
+ }\r
+ },\r
+ "original_picture": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "artist": {}\r
+ },\r
+ "has_many": {\r
+ "pictures": {}\r
+ },\r
+ "has_one": {\r
+ "resource_picture": {}\r
+ }\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "ext": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "width": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "height": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "filesize": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "artist_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "md5": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "uploaded_at": {\r
+ "type": "datetime"\r
+ },\r
+ "published_at": {\r
+ "type": "datetime"\r
+ },\r
+ "stopped_at": {\r
+ "type": "datetime"\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "lists": {\r
+ "private": {\r
+ "type": "private"\r
+ }\r
+ }\r
+ },\r
+ "picture": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "license": {},\r
+ "artist": {}\r
+ },\r
+ "has_many": {},\r
+ "has_one": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "original_picture_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "revision": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "ext": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "width": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "height": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "filesize": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "artist_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "license_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "md5": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "artist_name": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "credit": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "settings": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "classname": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ }\r
+ },\r
+ "resource_picture": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "original_picture": {},\r
+ "license": {},\r
+ "artist": {}\r
+ },\r
+ "has_many": {},\r
+ "has_one": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "original_picture_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "revision": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "ext": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "width": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "height": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "filesize": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "artist_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "license_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "md5": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "artist_name": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "credit": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "settings": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "picture_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "classname": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_license": {\r
+ "type": "filter"\r
+ },\r
+ "by_artist": {\r
+ "type": "filter"\r
+ }\r
+ }\r
+ },\r
+ "speech_balloon_template": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "system_picture": {}\r
+ },\r
+ "has_many": {\r
+ "speech_balloons": {},\r
+ "panels": {\r
+ "through": "speech_balloons"\r
+ }\r
+ },\r
+ "has_one": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "name": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "classname": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "caption": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "t": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true,\r
+ "min": 0\r
+ }\r
+ },\r
+ "system_picture_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "settings": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "select_items": {\r
+ "type": "system_resource",\r
+ "args": {\r
+ "select_item_name": "panel_visible_items"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "writing_format": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "system_picture": {}\r
+ },\r
+ "has_many": {\r
+ "speeches": {}\r
+ },\r
+ "has_one": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "name": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "classname": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
},\r
- "home": {\r
- "actions": {\r
- "scrolls": {\r
- "item_name": "scroll",\r
- "type": "list",\r
- "list": {\r
- "list_name": "public_list"\r
- }\r
- }\r
- }\r
+ "caption": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "system_picture_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "settings": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "select_items": {\r
+ "type": "system_resource"\r
+ },\r
+ "by_system_picture": {\r
+ "type": "filter"\r
}\r
+ }\r
},\r
- "models": {\r
- "Scroll": "scroll",\r
- "scroll": {\r
- "class_name": "Scroll",\r
- "table_name": "scrolls",\r
- "associations": {\r
- "belongs_to": {\r
- "author": {\r
- "id_column": "author_id"\r
- }\r
- },\r
- "has_many": {\r
- "scroll_panels": {\r
- "foreign_key": "scroll_id",\r
- "model": "scroll_panel"\r
- },\r
- "panels": {\r
- "through": "scroll_panel",\r
- "foreign_key": "scroll_id",\r
- "model": "panel"\r
- }\r
- }\r
- },\r
- "filters": {\r
- "by_author": {\r
- "type": "filter",\r
- "key": "author_id"\r
- }\r
- },\r
- "through_filters": {\r
- "by_panel": {\r
- "through": "scroll_panels",\r
- "key": "panel_id"\r
- }\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "title": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "description": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "visible": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- },\r
- "source": {\r
- "type": "magic_number",\r
- "key": "scroll_visible_items"\r
- }\r
- },\r
- "author_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
- },\r
- "select": {\r
- "list": {\r
- "name": "public"\r
- },\r
- "caption": {\r
- "type": "column",\r
- "name": "title"\r
- }\r
- }\r
+ "license_group": {\r
+ "associations": {\r
+ "belongs_to": {},\r
+ "has_many": {\r
+ "licenses": {}\r
},\r
- "ScrollPanel": "scroll_panel",\r
- "scroll_panel": {\r
- "class_name": "ScrollPanel",\r
- "table_name": "scroll_panels",\r
- "associations": {\r
- "belongs_to": {\r
- "panel": {\r
- "id_column": "panel_id"\r
- },\r
- "scroll": {\r
- "id_column": "scroll_id"\r
- }\r
- },\r
- "has_many": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "scroll_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "panel_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "t": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 0\r
- }\r
- },\r
- "author_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
- },\r
- "list": {\r
- "public": {\r
- "method": "list"\r
- },\r
- "by_panel": {\r
- "method": "list_by_panel"\r
- },\r
- "by_scroll": {\r
- "method": "list_by_scroll"\r
- }\r
- }\r
+ "has_one": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
},\r
- "Comic": "comic",\r
- "comic": {\r
- "class_name": "Comic",\r
- "table_name": "comics",\r
- "associations": {\r
- "belongs_to": {\r
- "author": {\r
- "id_column": "author_id"\r
- }\r
- },\r
- "has_many": {\r
- "stories": {\r
- "foreign_key": "comic_id",\r
- "list_method": "list_by_comic"\r
- }\r
- },\r
- "has_many_through": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "title": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "description": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "visible": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- },\r
- "source": {\r
- "type": "magic_number",\r
- "key": "comic_visible_items"\r
- }\r
- },\r
- "author_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
- },\r
- "select": {\r
- "method": "list",\r
- "caption": {\r
- "type": "column",\r
- "name": "title"\r
- }\r
- }\r
+ "name": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
},\r
- "Story": "story",\r
- "story": {\r
- "class_name": "Story",\r
- "table_name": "stories",\r
- "associations": {\r
- "belongs_to": {\r
- "comic": {\r
- "id_column": "comic_id"\r
- }\r
- },\r
- "has_many": {\r
- "story_sheets": {\r
- "foreign_key": "story_id",\r
- "list_method": "list_by_story"\r
- },\r
- "sheets": {\r
- "through": "story_sheets",\r
- "foreign_key": "story_id",\r
- "list_method": "list_by_story"\r
- }\r
- }\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "comic_id": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "title": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "description": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "t": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 0\r
- }\r
- },\r
- "visible": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- },\r
- "source": {\r
- "type": "magic_number",\r
- "key": "story_visible_items"\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
- },\r
- "select": {\r
- "method": "list",\r
- "caption": {\r
- "type": "method",\r
- "name": "title_with_t"\r
- }\r
- }\r
+ "classname": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
},\r
- "StorySheet": "story_sheet",\r
- "story_sheet": {\r
- "class_name": "StorySheet",\r
- "table_name": "story_sheets",\r
- "associations": {\r
- "belongs_to": {\r
- "story": {\r
- "id_column": "story_id"\r
- },\r
- "sheet": {\r
- "id_column": "sheet_id"\r
- }\r
- },\r
- "has_many": {}\r
+ "caption": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "url": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "select_items": {\r
+ "type": "system_resource"\r
+ }\r
+ }\r
+ },\r
+ "license": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "license_group": {},\r
+ "system_picture": {}\r
+ },\r
+ "has_many": {\r
+ "resource_pictures": {}\r
+ },\r
+ "has_one": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "license_group_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "name": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "caption": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "system_picture_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "url": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "settings": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "credit_pictures": {\r
+ "type": "text",\r
+ "rules": {}\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ },\r
+ "by_license_group": {\r
+ "type": "filter"\r
+ },\r
+ "by_system_picture": {\r
+ "type": "filter"\r
+ }\r
+ }\r
+ },\r
+ "author": {\r
+ "associations": {\r
+ "belongs_to": {},\r
+ "has_many": {\r
+ "scrolls": {},\r
+ "comics": {},\r
+ "stories": {},\r
+ "sheets": {},\r
+ "panels": {}\r
+ },\r
+ "has_one": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "name": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "user_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ }\r
+ }\r
+ },\r
+ "artist": {\r
+ "associations": {\r
+ "belongs_to": {},\r
+ "has_many": {\r
+ "resource_pictures": {}\r
+ },\r
+ "has_one": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "name": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "author_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ }\r
+ }\r
+ },\r
+ "system_picture": {\r
+ "associations": {\r
+ "belongs_to": {},\r
+ "has_many": {\r
+ "balloons": {},\r
+ "speech_balloon_templates": {},\r
+ "licenses": {}\r
+ },\r
+ "has_one": {}\r
+ },\r
+ "attributes": {\r
+ "id": {\r
+ "type": "number",\r
+ "primary_key": 1,\r
+ "rules": {\r
+ "number": true\r
+ }\r
+ },\r
+ "ext": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "width": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "height": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "filesize": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "md5": {\r
+ "type": "text",\r
+ "rules": {\r
+ "required": true\r
+ }\r
+ },\r
+ "created_at": {\r
+ "type": "datetime"\r
+ },\r
+ "updated_at": {\r
+ "type": "datetime"\r
+ }\r
+ },\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "system_resources": {\r
+ "engine_resources": {\r
+ "license_groups": {\r
+ "resource_items": {\r
+ "PettanrCreativeCommonsV30Licenses": "pettanr_creative_commons_v30_licenses",\r
+ "PettanrPettanCommonsV01Licenses": "pettanr_pettan_commons_v01_licenses",\r
+ "PettanrPettanProtectedV01Licenses": "pettanr_pettan_protected_v01_licenses",\r
+ "PettanrPettanPublicV01Licenses": "pettanr_pettan_public_v01_licenses",\r
+ "PettanrPublicDomainV01Licenses": "pettanr_public_domain_v01_licenses",\r
+ "PettanrUnknownV01Licenses": "pettanr_unknown_v01_licenses"\r
+ }\r
+ },\r
+ "speech_balloon_templates": {\r
+ "resource_items": {\r
+ "CircleSpeechBalloon": "circle_speech_balloon",\r
+ "PlainSpeechBalloon": "plain_speech_balloon",\r
+ "SquareSpeechBalloon": "square_speech_balloon"\r
+ }\r
+ },\r
+ "writing_formats": {\r
+ "has_route": 0,\r
+ "resource_items": {\r
+ "SimpleFormat": "pettanr_simple_format"\r
+ }\r
+ }\r
+ },\r
+ "elements": {\r
+ "PanelPicture": "panel_pictures",\r
+ "SpeechBalloon": "speech_balloons",\r
+ "GroundPicture": "ground_pictures",\r
+ "GroundColor": "ground_colors"\r
+ },\r
+ "select_items": {\r
+ "provider_status_status_items": [\r
+ [\r
+ "select_items.provider_status.status.waiting",\r
+ 0\r
+ ],\r
+ [\r
+ "select_items.provider_status.status.receiving",\r
+ 1\r
+ ]\r
+ ],\r
+ "demander_status_status_items": [\r
+ [\r
+ "select_items.demander_status.status.waiting",\r
+ 0\r
+ ],\r
+ [\r
+ "select_items.demander_status.status.rejected",\r
+ 1\r
+ ],\r
+ [\r
+ "select_items.demander_status.status.requesting",\r
+ 2\r
+ ],\r
+ [\r
+ "select_items.demander_status.status.approved",\r
+ 3\r
+ ]\r
+ ],\r
+ "scroll_visible_items": [\r
+ [\r
+ "select_items.scroll.visible.private",\r
+ 0\r
+ ],\r
+ [\r
+ "select_items.scroll.visible.public",\r
+ 1\r
+ ]\r
+ ],\r
+ "comic_visible_items": [\r
+ [\r
+ "select_items.comic.visible.private",\r
+ 0\r
+ ],\r
+ [\r
+ "select_items.comic.visible.public",\r
+ 1\r
+ ]\r
+ ],\r
+ "story_visible_items": [\r
+ [\r
+ "select_items.story.visible.private",\r
+ 0\r
+ ],\r
+ [\r
+ "select_items.story.visible.public",\r
+ 1\r
+ ]\r
+ ],\r
+ "sheet_visible_items": [\r
+ [\r
+ "select_items.sheet.visible.private",\r
+ 0\r
+ ],\r
+ [\r
+ "select_items.sheet.visible.public",\r
+ 1\r
+ ]\r
+ ],\r
+ "panel_visible_items": [\r
+ [\r
+ "select_items.panel.visible.private",\r
+ 0\r
+ ],\r
+ [\r
+ "select_items.panel.visible.public",\r
+ 1\r
+ ]\r
+ ],\r
+ "ground_picture_repeat_items": [\r
+ [\r
+ "select_items.ground_pictures.repeat.repeat",\r
+ 0\r
+ ],\r
+ [\r
+ "select_items.ground_pictures.repeat.repeat-x",\r
+ 1\r
+ ],\r
+ [\r
+ "select_items.ground_pictures.repeat.repeat-y",\r
+ 2\r
+ ],\r
+ [\r
+ "select_items.ground_pictures.repeat.no-repeat",\r
+ 3\r
+ ]\r
+ ],\r
+ "ground_color_orientation_items": [\r
+ [\r
+ "select_items.ground_color.orientation.horizontal",\r
+ 0\r
+ ],\r
+ [\r
+ "select_items.ground_color.orientation.vertical",\r
+ 1\r
+ ]\r
+ ],\r
+ "speech_font_size_items": [\r
+ [\r
+ "select_items.speeches.font_size.ultra_small",\r
+ 0.2\r
+ ],\r
+ [\r
+ "select_items.speeches.font_size.very_small",\r
+ 0.4\r
+ ],\r
+ [\r
+ "select_items.speeches.font_size.small",\r
+ 0.6\r
+ ],\r
+ [\r
+ "select_items.speeches.font_size.semi_small",\r
+ 0.8\r
+ ],\r
+ [\r
+ "select_items.speeches.font_size.normal",\r
+ 1\r
+ ],\r
+ [\r
+ "select_items.speeches.font_size.semi_large",\r
+ 1.5\r
+ ],\r
+ [\r
+ "select_items.speeches.font_size.large",\r
+ 2\r
+ ],\r
+ [\r
+ "select_items.speeches.font_size.very_large",\r
+ 3.5\r
+ ],\r
+ [\r
+ "select_items.speeches.font_size.ultra_large",\r
+ 5\r
+ ]\r
+ ],\r
+ "speech_text_align_items": [\r
+ [\r
+ "select_items.speeches.text_align.none",\r
+ 0\r
+ ],\r
+ [\r
+ "select_items.speeches.text_align.left",\r
+ 1\r
+ ],\r
+ [\r
+ "select_items.speeches.text_align.right",\r
+ 2\r
+ ],\r
+ [\r
+ "select_items.speeches.text_align.center",\r
+ 3\r
+ ]\r
+ ]\r
+ }\r
+ },\r
+ "magic_numbers": {\r
+ "run_mode": 1,\r
+ "thumbnail_width": 64,\r
+ "thumbnail_height": 64,\r
+ "profile": {\r
+ "users": {\r
+ "caption": "ペンギン王国",\r
+ "url": "http://localhost:3001/",\r
+ "description": "ペンギン王国はペンギン素材を豊富に用意したペンギンマニアのサイトです。"\r
+ },\r
+ "admins": {\r
+ "caption": "site name for admin",\r
+ "url": "http://your.site.url/admins/",\r
+ "description": "admin register"\r
+ },\r
+ "demand_users": {\r
+ "caption": "provider name",\r
+ "url": "http://your.site.url/demanders/",\r
+ "description": "provider description"\r
+ }\r
+ },\r
+ "provider_sources": [\r
+ "http://sourceforge.jp/projects/pettanr/wiki/ProviderSource/attach/provider_source.json"\r
+ ]\r
+ },\r
+ "locals": {\r
+ "profilers": {\r
+ "scroll": {\r
+ "lists": {\r
+ "scroll_panels.by_scroll": {\r
+ "model_name": "scroll_panel",\r
+ "list_name": "by_scroll"\r
+ },\r
+ "panels.by_scroll": {\r
+ "model_name": "panel",\r
+ "list_name": "by_scroll"\r
+ }\r
+ },\r
+ "column_names": [\r
+ "id",\r
+ "title",\r
+ "description",\r
+ "visible",\r
+ "author_id",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "author"\r
+ ],\r
+ "has_many": [\r
+ "scroll_panels.by_scroll",\r
+ "panels.by_scroll"\r
+ ]\r
+ }\r
+ },\r
+ "scroll_panel": {\r
+ "lists": {},\r
+ "columns": [\r
+ "id",\r
+ "scroll_id",\r
+ "panel_id",\r
+ "t",\r
+ "author_id",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "scroll",\r
+ "panel"\r
+ ],\r
+ "has_many": []\r
+ }\r
+ },\r
+ "comic": {\r
+ "lists": {\r
+ "stories.by_comic": {\r
+ "model_name": "story",\r
+ "list_name": "by_comic"\r
+ }\r
+ },\r
+ "columns": [\r
+ "id",\r
+ "title",\r
+ "description",\r
+ "visible",\r
+ "author_id",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "author"\r
+ ],\r
+ "has_many": [\r
+ "stories.by_comic"\r
+ ]\r
+ }\r
+ },\r
+ "story": {\r
+ "lists": {\r
+ "story_sheets.by_story": {\r
+ "model_name": "story_sheet",\r
+ "list_name": "by_story"\r
+ },\r
+ "sheets.by_story": {\r
+ "model_name": "sheet",\r
+ "list_name": "by_story"\r
+ }\r
+ },\r
+ "columns": [\r
+ "id",\r
+ "comic_id",\r
+ "title",\r
+ "description",\r
+ "t",\r
+ "visible",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "comic"\r
+ ],\r
+ "has_many": [\r
+ "story_sheets.by_story",\r
+ "sheets.by_story"\r
+ ]\r
+ }\r
+ },\r
+ "story_sheet": {\r
+ "lists": {},\r
+ "columns": [\r
+ "id",\r
+ "story_id",\r
+ "sheet_id",\r
+ "t",\r
+ "author_id",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "story",\r
+ "sheet"\r
+ ],\r
+ "has_many": []\r
+ }\r
+ },\r
+ "sheet": {\r
+ "lists": {\r
+ "story_sheets.by_sheet": {\r
+ "model_name": "story_sheet",\r
+ "list_name": "by_sheet"\r
+ },\r
+ "stories.by_sheet": {\r
+ "model_name": "story",\r
+ "list_name": "by_sheet"\r
+ },\r
+ "sheet_panels.by_sheet": {\r
+ "model_name": "sheet_panel",\r
+ "list_name": "by_sheet"\r
+ },\r
+ "panels.by_sheet": {\r
+ "model_name": "panel",\r
+ "list_name": "by_sheet"\r
+ }\r
+ },\r
+ "columns": [\r
+ "id",\r
+ "caption",\r
+ "width",\r
+ "height",\r
+ "visible",\r
+ "author_id",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "author"\r
+ ],\r
+ "has_many": [\r
+ "story_sheets.by_sheet",\r
+ "stories.by_sheet",\r
+ "sheet_panels.by_sheet",\r
+ "panels.by_sheet"\r
+ ]\r
+ }\r
+ },\r
+ "sheet_panel": {\r
+ "lists": {},\r
+ "columns": [\r
+ "id",\r
+ "sheet_id",\r
+ "panel_id",\r
+ "x",\r
+ "y",\r
+ "z",\r
+ "t",\r
+ "author_id",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "sheet",\r
+ "panel"\r
+ ],\r
+ "has_many": []\r
+ }\r
+ },\r
+ "panel": {\r
+ "lists": {\r
+ "scroll_panels.by_panel": {\r
+ "model_name": "scroll_panel",\r
+ "list_name": "by_panel"\r
+ },\r
+ "scrolls.by_panel": {\r
+ "model_name": "scroll",\r
+ "list_name": "by_panel"\r
+ },\r
+ "sheet_panels.by_panel": {\r
+ "model_name": "sheet_panel",\r
+ "list_name": "by_panel"\r
+ },\r
+ "sheets.by_panel": {\r
+ "model_name": "sheet",\r
+ "list_name": "by_panel"\r
+ },\r
+ "panel_pictures.by_panel": {\r
+ "model_name": "panel_picture",\r
+ "list_name": "by_panel"\r
+ },\r
+ "speech_balloons.by_panel": {\r
+ "model_name": "speech_balloon",\r
+ "list_name": "by_panel"\r
+ },\r
+ "ground_pictures.by_panel": {\r
+ "model_name": "ground_picture",\r
+ "list_name": "by_panel"\r
+ },\r
+ "ground_colors.by_panel": {\r
+ "model_name": "ground_color",\r
+ "list_name": "by_panel"\r
+ }\r
+ },\r
+ "columns": [\r
+ "id",\r
+ "width",\r
+ "height",\r
+ "border",\r
+ "caption",\r
+ "publish",\r
+ "author_id",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "author"\r
+ ],\r
+ "has_many": [\r
+ "scroll_panels.by_panel",\r
+ "scrolls.by_panel",\r
+ "sheet_panels.by_panel",\r
+ "sheets.by_panel",\r
+ "panel_pictures.by_panel",\r
+ "speech_balloons.by_panel",\r
+ "ground_pictures.by_panel",\r
+ "ground_colors.by_panel"\r
+ ]\r
+ }\r
+ },\r
+ "panel_picture": {\r
+ "lists": {},\r
+ "columns": [\r
+ "id",\r
+ "panel_id",\r
+ "picture_id",\r
+ "caption",\r
+ "x",\r
+ "y",\r
+ "width",\r
+ "height",\r
+ "link",\r
+ "z",\r
+ "t",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "panel"\r
+ ],\r
+ "has_many": []\r
+ }\r
+ },\r
+ "speech_balloon": {\r
+ "lists": {\r
+ "balloon.by_speech_balloon": {\r
+ "model_name": "balloon",\r
+ "list_name": "by_speech_balloon"\r
+ },\r
+ "speech.by_speech_balloon": {\r
+ "model_name": "speech",\r
+ "list_name": "by_speech_balloon"\r
+ }\r
+ },\r
+ "columns": [\r
+ "id",\r
+ "panel_id",\r
+ "speech_balloon_template_id",\r
+ "classname",\r
+ "z",\r
+ "t",\r
+ "settings",\r
+ "caption",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "panel"\r
+ ],\r
+ "has_many": [],\r
+ "has_one": [\r
+ "balloon.by_speech_balloon",\r
+ "speech.by_speech_balloon"\r
+ ]\r
+ }\r
+ },\r
+ "speech": {\r
+ "lists": {},\r
+ "columns": [\r
+ "id",\r
+ "speech_balloon_id",\r
+ "writing_format_id",\r
+ "content",\r
+ "font_size",\r
+ "text_align",\r
+ "fore_color",\r
+ "x",\r
+ "y",\r
+ "width",\r
+ "height",\r
+ "quotes",\r
+ "settings",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "speech_balloon",\r
+ "writing_format"\r
+ ],\r
+ "has_many": []\r
+ }\r
+ },\r
+ "balloon": {\r
+ "lists": {},\r
+ "columns": [\r
+ "id",\r
+ "speech_balloon_id",\r
+ "system_picture_id",\r
+ "x",\r
+ "y",\r
+ "width",\r
+ "height",\r
+ "r",\r
+ "settings",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "speech_balloon",\r
+ "system_picture"\r
+ ],\r
+ "has_many": []\r
+ }\r
+ },\r
+ "ground_picture": {\r
+ "lists": {},\r
+ "columns": [\r
+ "id",\r
+ "panel_id",\r
+ "picture_id",\r
+ "caption",\r
+ "repeat",\r
+ "x",\r
+ "y",\r
+ "z",\r
+ "t",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "panel"\r
+ ],\r
+ "has_many": []\r
+ }\r
+ },\r
+ "ground_color": {\r
+ "lists": {},\r
+ "columns": [\r
+ "id",\r
+ "panel_id",\r
+ "caption",\r
+ "code",\r
+ "orientation",\r
+ "xy",\r
+ "wh",\r
+ "z",\r
+ "t",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "panel"\r
+ ],\r
+ "has_many": []\r
+ }\r
+ },\r
+ "original_picture": {\r
+ "lists": {},\r
+ "columns": [\r
+ "id",\r
+ "ext",\r
+ "width",\r
+ "height",\r
+ "filesize",\r
+ "artist_id",\r
+ "md5",\r
+ "uploaded_at",\r
+ "published_at",\r
+ "stopped_at",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "artist"\r
+ ],\r
+ "has_many": [],\r
+ "has_one": [\r
+ "resource_picture"\r
+ ]\r
+ }\r
+ },\r
+ "picture": {\r
+ "lists": {},\r
+ "columns": [\r
+ "id",\r
+ "original_picture_id",\r
+ "revision",\r
+ "ext",\r
+ "width",\r
+ "height",\r
+ "filesize",\r
+ "artist_id",\r
+ "license_id",\r
+ "md5",\r
+ "artist_name",\r
+ "credit",\r
+ "settings",\r
+ "classname",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "license",\r
+ "artist"\r
+ ],\r
+ "has_many": [],\r
+ "has_one": []\r
+ }\r
+ },\r
+ "resource_picture": {\r
+ "lists": {},\r
+ "columns": [\r
+ "id",\r
+ "original_picture_id",\r
+ "revision",\r
+ "ext",\r
+ "width",\r
+ "height",\r
+ "filesize",\r
+ "artist_id",\r
+ "license_id",\r
+ "md5",\r
+ "artist_name",\r
+ "credit",\r
+ "settings",\r
+ "picture_id",\r
+ "classname",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "original_picture",\r
+ "license",\r
+ "artist"\r
+ ],\r
+ "has_many": [],\r
+ "has_one": []\r
+ }\r
+ },\r
+ "speech_balloon_template": {\r
+ "lists": {},\r
+ "columns": [\r
+ "id",\r
+ "name",\r
+ "classname",\r
+ "caption",\r
+ "t",\r
+ "system_picture_id",\r
+ "settings",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "system_picture"\r
+ ],\r
+ "has_many": [],\r
+ "has_one": []\r
+ }\r
+ },\r
+ "writing_format": {\r
+ "lists": {\r
+ "speeches.by_writing_format": {\r
+ "model_name": "speech",\r
+ "list_name": "by_writing_format"\r
+ }\r
+ },\r
+ "columns": [\r
+ "id",\r
+ "name",\r
+ "classname",\r
+ "caption",\r
+ "system_picture_id",\r
+ "settings",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "system_picture"\r
+ ],\r
+ "has_many": [\r
+ "speeches.by_writing_format"\r
+ ],\r
+ "has_one": []\r
+ }\r
+ },\r
+ "license_group": {\r
+ "lists": {\r
+ "licenses.by_license_group": {\r
+ "model_name": "license",\r
+ "list_name": "by_license_group"\r
+ }\r
+ },\r
+ "columns": [\r
+ "id",\r
+ "name",\r
+ "classname",\r
+ "caption",\r
+ "url",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [],\r
+ "has_many": [\r
+ "licenses.by_license_group"\r
+ ],\r
+ "has_one": []\r
+ }\r
+ },\r
+ "license": {\r
+ "lists": {\r
+ "resource_pictures.by_license": {\r
+ "model_name": "resource_picture",\r
+ "list_name": "by_license"\r
+ }\r
+ },\r
+ "columns": [\r
+ "id",\r
+ "license_group_id",\r
+ "name",\r
+ "caption",\r
+ "system_picture_id",\r
+ "url",\r
+ "settings",\r
+ "credit_pictures",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "license_group",\r
+ "system_picture"\r
+ ],\r
+ "has_many": [\r
+ "resource_pictures.by_license"\r
+ ],\r
+ "has_one": []\r
+ }\r
+ },\r
+ "author": {\r
+ "lists": {\r
+ "scrolls.by_author": {\r
+ "model_name": "scroll",\r
+ "list_name": "by_author"\r
+ },\r
+ "comics.by_author": {\r
+ "model_name": "comic",\r
+ "list_name": "by_author"\r
+ },\r
+ "stories.by_author": {\r
+ "model_name": "story",\r
+ "list_name": "by_author"\r
+ },\r
+ "panels.by_author": {\r
+ "model_name": "panel",\r
+ "list_name": "by_author"\r
+ },\r
+ "panel_pictures.by_author": {\r
+ "model_name": "panel_picture",\r
+ "list_name": "by_author"\r
+ },\r
+ "speech_balloons.by_author": {\r
+ "model_name": "speech_balloon",\r
+ "list_name": "by_author"\r
+ },\r
+ "ground_pictures.by_author": {\r
+ "model_name": "ground_picture",\r
+ "list_name": "by_author"\r
+ },\r
+ "ground_colors.by_author": {\r
+ "model_name": "ground_color",\r
+ "list_name": "by_author"\r
+ }\r
+ },\r
+ "columns": [\r
+ "id",\r
+ "name",\r
+ "user_id",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [],\r
+ "has_many": [\r
+ "scrolls.by_author",\r
+ "comics.by_author",\r
+ "scrolls.by_author",\r
+ "stories.by_author",\r
+ "panels.by_author",\r
+ "panel_pictures.by_author",\r
+ "speech_balloons.by_author",\r
+ "ground_pictures.by_author",\r
+ "ground_colors.by_author"\r
+ ],\r
+ "has_one": []\r
+ }\r
+ },\r
+ "artist": {\r
+ "lists": {\r
+ "resource_pictures.by_artist": {\r
+ "model_name": "resource_picture",\r
+ "list_name": "by_artist"\r
+ }\r
+ },\r
+ "columns": [\r
+ "id",\r
+ "name",\r
+ "author_id",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [],\r
+ "has_many": [\r
+ "resource_pictures.by_artist"\r
+ ],\r
+ "has_one": []\r
+ }\r
+ },\r
+ "system_picture": {\r
+ "lists": {\r
+ "licenses.by_system_picture": {\r
+ "model_name": "license",\r
+ "list_name": "by_system_picture"\r
+ }\r
+ },\r
+ "columns": [\r
+ "id",\r
+ "ext",\r
+ "width",\r
+ "height",\r
+ "filesize",\r
+ "md5",\r
+ "created_at",\r
+ "updated_at"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [],\r
+ "has_many": [\r
+ "licenses.by_system_picture"\r
+ ],\r
+ "has_one": []\r
+ }\r
+ }\r
+ },\r
+ "filers": {\r
+ "scroll": {\r
+ "symbol": {},\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "column",\r
+ "args": {\r
+ "column_name": "title"\r
+ }\r
},\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "story_id": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "sheet_id": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "t": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 0\r
- }\r
- },\r
- "author_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "link": {\r
+ "type": "action",\r
+ "args": {\r
+ "action_name": "play"\r
+ }\r
}\r
+ }\r
},\r
- "Sheet": "sheet",\r
- "sheet": {\r
- "class_name": "Sheet",\r
- "table_name": "sheets",\r
- "associations": {\r
- "belongs_to": {\r
- "author": {\r
- "id_column": "author_id"\r
- }\r
- },\r
- "has_many": {\r
- "story_sheets": {\r
- "foreign_key": "story_id",\r
- "list_method": "list_by_sheet"\r
- },\r
- "stories": {\r
- "through": "story_sheets",\r
- "foreign_key": "sheet_id",\r
- "list_method": "list_by_sheet"\r
- },\r
- "sheet_panels": {\r
- "foreign_key": "sheet_id",\r
- "list_method": "list_by_sheet"\r
- },\r
- "panels": {\r
- "through": "sheet_panels",\r
- "foreign_key": "sheet_id",\r
- "list_method": "list_by_sheet"\r
- }\r
- }\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "caption": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "width": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "height": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "visible": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- },\r
- "source": {\r
- "type": "magic_number",\r
- "key": "sheet_visible_items"\r
- }\r
- },\r
- "author_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
- },\r
- "select": {\r
- "method": "list",\r
- "caption": {\r
- "type": "column",\r
- "name": "caption"\r
- }\r
+ "summary": {},\r
+ "edit": {}\r
+ },\r
+ "scroll_panel": {\r
+ "symbol": {\r
+ "type": "default",\r
+ "args": {\r
+ "link": {\r
+ "type": "none"\r
}\r
+ }\r
},\r
- "SheetPanel": "sheet_panel",\r
- "sheet_panel": {\r
- "class_name": "SheetPanel",\r
- "table_name": "sheet_panels",\r
- "associations": {\r
- "belongs_to": {\r
- "sheet": {\r
- "id_column": "sheet_id"\r
- },\r
- "panel": {\r
- "id_column": "panel_id"\r
- }\r
- },\r
- "has_many": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "sheet_id": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "panel_id": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "x": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "y": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "z": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 1\r
- }\r
- },\r
- "t": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 0\r
- }\r
- },\r
- "author_id": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "caption": {\r
+ "type": "none"\r
+ },\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "comic": {\r
+ "symbol": {},\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "column",\r
+ "args": {\r
+ "column_name": "title"\r
+ }\r
}\r
+ }\r
},\r
- "Panel": "panel",\r
- "panel": {\r
- "class_name": "Panel",\r
- "table_name": "panels",\r
- "associations": {\r
- "belongs_to": {\r
- "author": {\r
- "id_column": "author_id"\r
- }\r
- },\r
- "has_many": {\r
- "scroll_panels": {\r
- "foreign_key": "panel_id",\r
- "list_method": "list_by_panel"\r
- },\r
- "scrolls": {\r
- "through": "scroll_panels",\r
- "foreign_key": "panel_id",\r
- "list_method": "list_by_panel"\r
- },\r
- "sheet_panels": {\r
- "foreign_key": "panel_id",\r
- "list_method": "list_by_panel"\r
- },\r
- "sheets": {\r
- "through": "sheet_panels",\r
- "foreign_key": "panel_id",\r
- "list_method": "list_by_panel"\r
- },\r
- "panel_pictures": {\r
- "foreign_key": "panel_id",\r
- "list_method": "list_by_panel"\r
- },\r
- "speech_balloons": {\r
- "foreign_key": "panel_id",\r
- "list_method": "list_by_panel"\r
- },\r
- "ground_pictures": {\r
- "foreign_key": "panel_id",\r
- "list_method": "list_by_panel"\r
- },\r
- "ground_colors": {\r
- "foreign_key": "panel_id",\r
- "list_method": "list_by_panel"\r
- }\r
- }\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "width": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 1\r
- }\r
- },\r
- "height": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 1\r
- }\r
- },\r
- "border": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 0\r
- }\r
- },\r
- "caption": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "publish": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- },\r
- "source": {\r
- "type": "magic_number",\r
- "key": "panel_visible_items"\r
- }\r
- },\r
- "author_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "summary": {},\r
+ "edit": {}\r
+ },\r
+ "story": {\r
+ "symbol": {},\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "method",\r
+ "args": {\r
+ "method_name": "title_with_t"\r
+ }\r
},\r
- "select": {\r
- "method": "list",\r
- "caption": {\r
- "type": "method",\r
- "name": "plain_scenario"\r
- }\r
+ "link": {\r
+ "type": "action",\r
+ "args": {\r
+ "action_name": "play"\r
+ }\r
}\r
+ }\r
},\r
- "PanelPicture": "panel_picture",\r
- "panel_picture": {\r
- "class_name": "PanelPicture",\r
- "table_name": "panel_pictures",\r
- "associations": {\r
- "belongs_to": {\r
- "panel": {\r
- "id_column": "panel_id"\r
- }\r
- },\r
- "has_many": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "panel_id": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "picture_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "caption": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "x": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "y": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "width": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "height": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "link": {\r
- "type": "text",\r
- "rules": {\r
- "url": true\r
- }\r
- },\r
- "z": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 1\r
- }\r
- },\r
- "t": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 0\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "summary": {},\r
+ "edit": {}\r
+ },\r
+ "story_sheet": {\r
+ "symbol": {\r
+ "type": "default",\r
+ "args": {\r
+ "link": {\r
+ "type": "none"\r
}\r
+ }\r
},\r
- "SpeechBalloon": "speech_balloon",\r
- "speech_balloon": {\r
- "class_name": "SpeechBalloon",\r
- "table_name": "speech_balloons",\r
- "extend": "classname",\r
- "associations": {\r
- "belongs_to": {\r
- "panel": {\r
- "id_column": "panel_id"\r
- }\r
- },\r
- "has_many": {},\r
- "has_one": {\r
- "balloon": {\r
- "foreign_key": "speech_balloon_id",\r
- "list_method": "list_by_speech_balloon"\r
- },\r
- "speech": {\r
- "foreign_key": "speech_balloon_id",\r
- "list_method": "list_by_speech_balloon"\r
- }\r
- }\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "panel_id": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "speech_balloon_template_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "classname": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "z": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 1\r
- }\r
- },\r
- "t": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 0\r
- }\r
- },\r
- "settings": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "caption": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
- },\r
- "select": {\r
- "method": "list",\r
- "caption": {\r
- "type": "method",\r
- "name": "plain_scenario"\r
- }\r
+ "caption": {\r
+ "type": "none"\r
+ },\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "sheet": {\r
+ "symbol": {},\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {},\r
+ "link": {\r
+ "type": "action",\r
+ "args": {\r
+ "action_name": "play"\r
+ }\r
}\r
+ }\r
},\r
- "Balloon": "balloon",\r
- "balloon": {\r
- "class_name": "Balloon",\r
- "table_name": "balloons",\r
- "associations": {\r
- "belongs_to": {\r
- "speech_balloon": {\r
- "id_column": "speech_balloon_id"\r
- },\r
- "system_picture": {\r
- "id_column": "system_picture_id"\r
- }\r
- },\r
- "has_many": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "speech_balloon_id": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "system_picture_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "x": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "y": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "width": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 1\r
- }\r
- },\r
- "height": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 1\r
- }\r
- },\r
- "r": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "settings": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "summary": {},\r
+ "edit": {}\r
+ },\r
+ "sheet_panel": {\r
+ "symbol": {\r
+ "type": "default",\r
+ "args": {\r
+ "link": {\r
+ "type": "none"\r
}\r
+ }\r
},\r
- "Speech": "speech",\r
- "speech": {\r
- "class_name": "Speech",\r
- "table_name": "speeches",\r
- "associations": {\r
- "belongs_to": {\r
- "speech_balloon": {\r
- "id_column": "speech_balloon_id"\r
- },\r
- "writing_format": {\r
- "id_column": "writing_format_id"\r
- }\r
- },\r
- "has_many": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "speech_balloon_id": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "writing_format_id": {\r
- "type": "number",\r
- "source": {\r
- "type": "model",\r
- "model": "writing_format",\r
- "method": "enable_list",\r
- "caption": "caption"\r
- },\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "content": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "font_size": {\r
- "type": "float",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 0\r
- },\r
- "source": {\r
- "type": "magic_number",\r
- "key": "speech_font_size_items"\r
- }\r
- },\r
- "text_align": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "range": [\r
- 0,\r
- 3\r
- ]\r
- },\r
- "source": {\r
- "type": "magic_number",\r
- "key": "speech_text_align_items"\r
- }\r
- },\r
- "fore_color": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "range": [\r
- 0,\r
- 16777215\r
- ]\r
- }\r
- },\r
- "x": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "y": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "width": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 1\r
- }\r
- },\r
- "height": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 1\r
- }\r
- },\r
- "quotes": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "settings": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "caption": {\r
+ "type": "none"\r
+ },\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "panel": {\r
+ "symbol": {},\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "link": {\r
+ "type": "none"\r
}\r
+ }\r
},\r
- "GroundPicture": "ground_picture",\r
- "ground_picture": {\r
- "class_name": "GroundPicture",\r
- "table_name": "ground_pictures",\r
- "associations": {\r
- "belongs_to": {\r
- "panel": {\r
- "id_column": "panel_id"\r
- }\r
- },\r
- "has_many": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "panel_id": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "picture_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "caption": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "repeat": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "range": [\r
- 0,\r
- 3\r
- ]\r
- },\r
- "source": {\r
- "type": "magic_number",\r
- "key": "ground_picture_repeat_items"\r
- }\r
- },\r
- "x": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "y": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "z": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 1\r
- }\r
- },\r
- "t": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 0\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "summary": {},\r
+ "edit": {}\r
+ },\r
+ "panel_picture": {\r
+ "symbol": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "picture"\r
}\r
+ }\r
},\r
- "GroundColor": "ground_color",\r
- "ground_color": {\r
- "class_name": "GroundColor",\r
- "table_name": "ground_colors",\r
- "associations": {\r
- "belongs_to": {\r
- "panel": {\r
- "id_column": "panel_id"\r
- }\r
- },\r
- "has_many": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "panel_id": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "caption": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "code": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "range": [\r
- 0,\r
- 16777215\r
- ]\r
- }\r
- },\r
- "orientation": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "range": [\r
- 0,\r
- 1\r
- ]\r
- },\r
- "source": {\r
- "type": "magic_number",\r
- "key": "ground_color_orientation_items"\r
- }\r
- },\r
- "xy": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "wh": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "z": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 1\r
- }\r
- },\r
- "t": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 0\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "link": {\r
+ "type": "none"\r
}\r
+ }\r
},\r
- "OriginalPicture": "original_picture",\r
- "original_picture": {\r
- "class_name": "OriginalPicture",\r
- "table_name": "original_pictures",\r
- "associations": {\r
- "belongs_to": {\r
- "artist": {\r
- "id_column": "artist_id"\r
- }\r
- },\r
- "has_many": {\r
- "pictures": {\r
- "foreign_key": "original_picture_id",\r
- "list_method": "list_by_original_picture"\r
- }\r
- },\r
- "has_one": {\r
- "resource_picture": {\r
- "foreign_key": "original_picture_id",\r
- "list_method": "list_by_original_picture"\r
- }\r
- }\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "ext": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "width": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "height": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "filesize": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "artist_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "md5": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "uploaded_at": {\r
- "type": "datetime"\r
- },\r
- "published_at": {\r
- "type": "datetime"\r
- },\r
- "stopped_at": {\r
- "type": "datetime"\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "speech_balloon": {\r
+ "symbol": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "picture"\r
}\r
+ }\r
},\r
- "Picture": "picture",\r
- "picture": {\r
- "class_name": "Picture",\r
- "table_name": "pictures",\r
- "associations": {\r
- "belongs_to": {\r
- "license": {\r
- "id_column": "license_id"\r
- },\r
- "artist": {\r
- "id_column": "artist_id"\r
- }\r
- },\r
- "has_many": {},\r
- "has_one": {}\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "method",\r
+ "args": {\r
+ "method_name": "plain_scenario"\r
+ }\r
},\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "original_picture_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "revision": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "ext": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "width": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "height": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "filesize": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "artist_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "license_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "md5": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "artist_name": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "credit": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "settings": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "classname": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "link": {\r
+ "type": "none"\r
}\r
+ }\r
},\r
- "ResourcePicture": "resource_picture",\r
- "resource_picture": {\r
- "class_name": "ResourcePicture",\r
- "table_name": "resource_pictures",\r
- "associations": {\r
- "belongs_to": {\r
- "license": {\r
- "id_column": "license_id"\r
- },\r
- "artist": {\r
- "id_column": "artist_id"\r
- }\r
- },\r
- "has_many": {},\r
- "has_one": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "original_picture_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "revision": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "ext": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "width": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "height": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "filesize": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "artist_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "license_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "md5": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "artist_name": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "credit": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "settings": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "picture_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "classname": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "speech": {\r
+ "symbol": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "picture"\r
}\r
+ }\r
},\r
- "SpeechBalloonTemplate": "speech_balloon_template",\r
- "speech_balloon_template": {\r
- "class_name": "SpeechBalloonTemplate",\r
- "table_name": "speech_balloon_templates",\r
- "associations": {\r
- "belongs_to": {\r
- "system_picture": {\r
- "id_column": "system_picture_id"\r
- }\r
- },\r
- "has_many": {\r
- "speech_balloons": {\r
- "foreign_key": "speech_balloon_template_id",\r
- "list_method": "list_by_speech_balloon_template"\r
- },\r
- "panels": {\r
- "through": "speech_balloons",\r
- "foreign_key": "speech_balloon_template_id",\r
- "list_method": "list_by_speech_balloon_template"\r
- }\r
- },\r
- "has_one": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "name": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "classname": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "caption": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "t": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true,\r
- "min": 0\r
- }\r
- },\r
- "system_picture_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "settings": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "column",\r
+ "args": {\r
+ "column_name": "content"\r
+ }\r
},\r
- "select": {\r
- "method": "enable_list",\r
- "caption": {\r
- "type": "column",\r
- "name": "caption"\r
- }\r
+ "link": {\r
+ "type": "none"\r
}\r
+ }\r
},\r
- "WritingFormat": "writing_format",\r
- "writing_format": {\r
- "class_name": "WritingFormat",\r
- "table_name": "writing_formats",\r
- "associations": {\r
- "belongs_to": {\r
- "system_picture": {\r
- "id_column": "system_picture_id"\r
- }\r
- },\r
- "has_many": {\r
- "speeches": {\r
- "foreign_key": "writing_format_id",\r
- "list_method": "list_by_writing_format"\r
- }\r
- },\r
- "has_one": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "name": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "classname": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "caption": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "system_picture_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "settings": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
- },\r
- "select": {\r
- "method": "enable_list",\r
- "caption": {\r
- "type": "column",\r
- "name": "caption"\r
- }\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "balloon": {\r
+ "symbol": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "picture"\r
}\r
+ }\r
},\r
- "LicenseGroup": "license_group",\r
- "license_group": {\r
- "class_name": "LicenseGroup",\r
- "table_name": "license_groups",\r
- "associations": {\r
- "belongs_to": {},\r
- "has_many": {\r
- "licenses": {\r
- "foreign_key": "license_group_id",\r
- "list_method": "list_by_license_group"\r
- }\r
- },\r
- "has_one": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "name": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "classname": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "caption": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "url": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
- },\r
- "select": {\r
- "method": "list",\r
- "caption": {\r
- "type": "column",\r
- "name": "caption"\r
- }\r
+ "caption": {\r
+ "type": "none"\r
+ },\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "ground_picture": {\r
+ "symbol": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "picture"\r
}\r
+ }\r
},\r
- "License": "license",\r
- "license": {\r
- "class_name": "License",\r
- "table_name": "licenses",\r
- "associations": {\r
- "belongs_to": {\r
- "license_group": {\r
- "id_column": "license_group_id"\r
- },\r
- "system_picture": {\r
- "id_column": "system_picture_id"\r
- }\r
- },\r
- "has_many": {\r
- "resource_pictures": {\r
- "foreign_key": "license_id",\r
- "list_method": "list_by_license"\r
- }\r
- },\r
- "has_one": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "license_group_id": {\r
- "type": "number",\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "name": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "caption": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "system_picture_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "url": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "settings": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "credit_pictures": {\r
- "type": "text",\r
- "rules": {}\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "link": {\r
+ "type": "none"\r
}\r
+ }\r
},\r
- "Author": "author",\r
- "author": {\r
- "class_name": "Author",\r
- "table_name": "authors",\r
- "associations": {\r
- "belongs_to": {},\r
- "has_many": {\r
- "scrolls": {\r
- "foreign_key": "author_id",\r
- "list_method": "list_by_author"\r
- },\r
- "comics": {\r
- "foreign_key": "author_id",\r
- "list_method": "list_by_author"\r
- },\r
- "stories": {\r
- "foreign_key": "author_id",\r
- "list_method": "list_by_author"\r
- },\r
- "sheets": {\r
- "foreign_key": "author_id",\r
- "list_method": "list_by_author"\r
- },\r
- "panels": {\r
- "foreign_key": "author_id",\r
- "list_method": "list_by_author"\r
- }\r
- },\r
- "has_one": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "name": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "user_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
- },\r
- "select": {\r
- "method": "list",\r
- "caption": {\r
- "type": "column",\r
- "name": "name"\r
- }\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "ground_color": {\r
+ "symbol": {\r
+ "type": "template",\r
+ "args": {\r
+ "template_name": "symbol"\r
+ }\r
+ },\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "link": {\r
+ "type": "none"\r
}\r
+ }\r
},\r
- "Artist": "artist",\r
- "artist": {\r
- "class_name": "Artist",\r
- "table_name": "artists",\r
- "associations": {\r
- "belongs_to": {},\r
- "has_many": {\r
- "resource_pictures": {\r
- "foreign_key": "artist_id",\r
- "list_method": "list_by_artist"\r
- }\r
- },\r
- "has_one": {}\r
- },\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "name": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "author_id": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "original_picture": {\r
+ "symbol": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "picture"\r
+ }\r
+ }\r
+ },\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "method",\r
+ "args": {\r
+ "method_name": "revision"\r
+ }\r
},\r
- "select": {\r
- "method": "list",\r
- "caption": {\r
- "type": "column",\r
- "name": "name"\r
- }\r
+ "link": {\r
+ "type": "action",\r
+ "args": {\r
+ "action_name": "history"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "template",\r
+ "args": {\r
+ "template_name": "publish"\r
+ }\r
+ }\r
+ },\r
+ "picture": {\r
+ "symbol": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "picture"\r
+ }\r
+ }\r
+ },\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "column",\r
+ "args": {\r
+ "column_name": "revision"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "resource_picture": {\r
+ "symbol": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "picture"\r
+ }\r
+ }\r
+ },\r
+ "caption": {\r
+ "type": "none"\r
+ },\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "speech_balloon_template": {\r
+ "symbol": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "picture"\r
+ }\r
+ }\r
+ },\r
+ "caption": {},\r
+ "summary": {\r
+ "type": "none"\r
+ },\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "writing_format": {\r
+ "symbol": {},\r
+ "caption": {},\r
+ "summary": {\r
+ "type": "none"\r
+ },\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "license_group": {\r
+ "symbol": {},\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "link": {\r
+ "type": "url_column",\r
+ "args": {\r
+ "column_name": "url"\r
+ }\r
}\r
+ }\r
+ },\r
+ "summary": {\r
+ "type": "none"\r
},\r
- "SystemPicture": "system_picture",\r
- "system_picture": {\r
- "class_name": "SystemPicture",\r
- "table_name": "system_pictures",\r
- "associations": {\r
- "belongs_to": {},\r
- "has_many": {},\r
- "has_one": {}\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "license": {\r
+ "symbol": {},\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "method",\r
+ "args": {\r
+ "method_name": "caption_with_group"\r
+ }\r
},\r
- "attributes": {\r
- "id": {\r
- "type": "number",\r
- "primary_key": 1,\r
- "rules": {\r
- "number": true\r
- }\r
- },\r
- "ext": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "width": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "height": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "filesize": {\r
- "type": "number",\r
- "rules": {\r
- "required": true,\r
- "number": true\r
- }\r
- },\r
- "md5": {\r
- "type": "text",\r
- "rules": {\r
- "required": true\r
- }\r
- },\r
- "created_at": {\r
- "type": "datetime"\r
- },\r
- "updated_at": {\r
- "type": "datetime"\r
- }\r
+ "link": {\r
+ "type": "url_column",\r
+ "args": {\r
+ "column_name": "url"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
+ "author": {\r
+ "symbol": {},\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "column",\r
+ "args": {\r
+ "column_name": "name"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "account"\r
+ }\r
+ },\r
+ "artist": {\r
+ "symbol": {},\r
+ "caption": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "column",\r
+ "args": {\r
+ "column_name": "name"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "account"\r
+ }\r
+ },\r
+ "system_picture": {\r
+ "symbol": {\r
+ "type": "default",\r
+ "args": {\r
+ "face": {\r
+ "type": "picture"\r
}\r
+ }\r
+ },\r
+ "caption": {\r
+ "type": "none"\r
+ },\r
+ "summary": {\r
+ "type": "none"\r
+ },\r
+ "edit": {\r
+ "type": "none"\r
}\r
+ }\r
},\r
- "lists": {\r
- "scroll": {\r
- "default_page_size": 25,\r
- "max_page_size": 100,\r
- "lists": {\r
- "public_list": {\r
- "type": "public"\r
- },\r
- "private_list": {\r
- "type": "private"\r
- },\r
- "scroll_panels": {\r
- "type": "has_many",\r
- "association_name": "scroll_panels"\r
- },\r
- "panels": {\r
- "type": "has_many",\r
- "association_name": "panels"\r
- },\r
- "by_panel": {\r
- "type": "throughfilter",\r
- "filter_key": "panel_id",\r
- "list": {\r
- "method": "filtered_list"\r
- }\r
+ "list_groups": {\r
+ "scroll": {\r
+ "lists": {\r
+ "public": {},\r
+ "private": {},\r
+ "by_author": {},\r
+ "by_panel": {},\r
+ "play": {}\r
+ }\r
+ },\r
+ "scroll_panel": {\r
+ "tree_name": "owner",\r
+ "lists": {\r
+ "public": {},\r
+ "private": {},\r
+ "by_scroll": {},\r
+ "by_panel": {}\r
+ }\r
+ },\r
+ "comic": {\r
+ "lists": {\r
+ "public": {},\r
+ "private": {},\r
+ "by_author": {}\r
+ }\r
+ },\r
+ "story": {\r
+ "lists": {\r
+ "public": {},\r
+ "private": {},\r
+ "by_comic": {},\r
+ "by_sheet": {},\r
+ "by_author": {},\r
+ "play": {}\r
+ }\r
+ },\r
+ "story_sheet": {\r
+ "tree_name": "owner",\r
+ "lists": {\r
+ "public": {},\r
+ "private": {},\r
+ "by_story": {},\r
+ "by_sheet": {}\r
+ }\r
+ },\r
+ "sheet": {\r
+ "lists": {\r
+ "public": {},\r
+ "private": {},\r
+ "by_story": {},\r
+ "by_panel": {},\r
+ "by_author": {},\r
+ "play": {}\r
+ }\r
+ },\r
+ "sheet_panel": {\r
+ "tree_name": "owner",\r
+ "lists": {\r
+ "public": {},\r
+ "private": {},\r
+ "by_sheet": {},\r
+ "by_panel": {}\r
+ }\r
+ },\r
+ "panel": {\r
+ "lists": {\r
+ "public": {},\r
+ "private": {},\r
+ "by_scroll": {},\r
+ "by_sheet": {},\r
+ "by_author": {},\r
+ "by_speech_balloon_template": {}\r
+ }\r
+ },\r
+ "panel_picture": {\r
+ "tree_name": "owner",\r
+ "lists": {\r
+ "public": {},\r
+ "private": {},\r
+ "by_panel": {},\r
+ "by_author": {}\r
+ }\r
+ },\r
+ "speech_balloon": {\r
+ "tree_name": "owner",\r
+ "lists": {\r
+ "public": {},\r
+ "private": {},\r
+ "by_panel": {},\r
+ "by_speech_balloon_template": {},\r
+ "by_author": {}\r
+ }\r
+ },\r
+ "speech": {\r
+ "tree_name": "owner",\r
+ "lists": {\r
+ "public": {},\r
+ "by_speech_balloon": {},\r
+ "by_writing_format": {}\r
+ }\r
+ },\r
+ "balloon": {\r
+ "tree_name": "owner",\r
+ "lists": {\r
+ "public": {},\r
+ "by_speech_balloon": {}\r
+ }\r
+ },\r
+ "ground_picture": {\r
+ "tree_name": "owner",\r
+ "lists": {\r
+ "public": {},\r
+ "private": {},\r
+ "by_panel": {},\r
+ "by_author": {}\r
+ }\r
+ },\r
+ "ground_color": {\r
+ "tree_name": "owner",\r
+ "lists": {\r
+ "public": {},\r
+ "private": {},\r
+ "by_panel": {},\r
+ "by_author": {}\r
+ }\r
+ },\r
+ "original_picture": {\r
+ "lists": {\r
+ "private": {}\r
+ }\r
+ },\r
+ "picture": {},\r
+ "resource_picture": {\r
+ "lists": {\r
+ "public": {},\r
+ "private": {},\r
+ "by_license": {},\r
+ "by_artist": {}\r
+ }\r
+ },\r
+ "speech_balloon_template": {\r
+ "lists": {\r
+ "public": {},\r
+ "select_items": {}\r
+ }\r
+ },\r
+ "writing_format": {\r
+ "lists": {\r
+ "public": {},\r
+ "select_items": {},\r
+ "by_system_picture": {}\r
+ }\r
+ },\r
+ "license_group": {\r
+ "lists": {\r
+ "public": {},\r
+ "select_items": {}\r
+ }\r
+ },\r
+ "license": {\r
+ "lists": {\r
+ "public": {},\r
+ "by_license_group": {},\r
+ "by_system_picture": {}\r
+ }\r
+ },\r
+ "author": {\r
+ "lists": {\r
+ "public": {}\r
+ }\r
+ },\r
+ "artist": {\r
+ "lists": {\r
+ "public": {}\r
+ }\r
+ },\r
+ "system_picture": {\r
+ "lists": {\r
+ "public": {}\r
+ }\r
+ }\r
+ },\r
+ "elements": [\r
+ {\r
+ "name": "panel_picture",\r
+ "path_name": "panel_pictures",\r
+ "parts": []\r
+ },\r
+ {\r
+ "name": "speech_balloon",\r
+ "path_name": "circle_speech_balloon/speech_balloons",\r
+ "parts": [\r
+ "balloon",\r
+ "speech"\r
+ ]\r
+ },\r
+ {\r
+ "name": "ground_picture",\r
+ "path_name": "ground_pictures",\r
+ "parts": []\r
+ },\r
+ {\r
+ "name": "ground_color",\r
+ "path_name": "ground_colors",\r
+ "parts": []\r
+ }\r
+ ],\r
+ "forms": {\r
+ "base": {\r
+ "scroll": {\r
+ "fields": {\r
+ "title": {\r
+ "args": {\r
+ "column": "title",\r
+ "label": {\r
+ "args": {\r
+ "row_break": true\r
+ }\r
+ },\r
+ "tag": {\r
+ "type": "text"\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "description": {\r
+ "args": {\r
+ "column": "description",\r
+ "label": {\r
+ "args": {\r
+ "row_break": true\r
+ }\r
+ },\r
+ "tag": {\r
+ "type": "text_area",\r
+ "args": {\r
+ "options": {\r
+ "size": "45x15"\r
+ }\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "visible": {\r
+ "args": {\r
+ "column": "visible",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "select"\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "id": {\r
+ "args": {\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
+ },\r
+ "author_id": {\r
+ "args": {\r
+ "column": "author_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
}\r
+ },\r
+ "field_names": [\r
+ "title",\r
+ "description",\r
+ "visible",\r
+ "id",\r
+ "author_id"\r
+ ]\r
},\r
"scroll_panel": {\r
- "default_page_size": 20,\r
- "lists": {\r
- "public_list": {\r
- "type": "public"\r
- },\r
- "private_list": {\r
- "type": "private"\r
- },\r
- "by_scroll": {\r
- "type": "filter",\r
- "filter_key": "scroll_id",\r
- "list": {\r
- "method": "filtered_list"\r
- }\r
- },\r
- "by_panel": {\r
- "type": "filter",\r
- "filter_key": "panel_id",\r
- "list": {\r
- "method": "filtered_list"\r
- }\r
+ "fields": {\r
+ "scroll_id": {\r
+ "args": {\r
+ "column": "scroll_id",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number"\r
+ }\r
+ }\r
+ },\r
+ "panel_id": {\r
+ "args": {\r
+ "column": "panel_id",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number"\r
}\r
+ }\r
+ },\r
+ "t": {\r
+ "args": {\r
+ "column": "t",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number"\r
+ }\r
+ }\r
+ },\r
+ "id": {\r
+ "args": {\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
}\r
+ },\r
+ "field_names": [\r
+ "scroll_id",\r
+ "panel_id",\r
+ "t",\r
+ "id"\r
+ ]\r
},\r
"comic": {\r
- "default_page_size": 20,\r
- "lists": {\r
- "public_list": {\r
- "type": "public"\r
- },\r
- "private_list": {\r
- "type": "private"\r
- },\r
- "stories": {\r
- "type": "has_many",\r
- "association_name": "stories"\r
+ "fields": {\r
+ "title": {\r
+ "args": {\r
+ "column": "title",\r
+ "label": {\r
+ "args": {\r
+ "row_break": true\r
+ }\r
+ },\r
+ "tag": {\r
+ "type": "text"\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "description": {\r
+ "args": {\r
+ "column": "description",\r
+ "label": {\r
+ "args": {\r
+ "row_break": true\r
+ }\r
+ },\r
+ "tag": {\r
+ "type": "text_area",\r
+ "args": {\r
+ "options": {\r
+ "size": "45x15"\r
+ }\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "visible": {\r
+ "args": {\r
+ "column": "visible",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "select"\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "id": {\r
+ "args": {\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
+ },\r
+ "author_id": {\r
+ "args": {\r
+ "column": "author_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
}\r
+ },\r
+ "field_names": [\r
+ "title",\r
+ "description",\r
+ "visible",\r
+ "id",\r
+ "author_id"\r
+ ]\r
},\r
"story": {\r
- "default_page_size": 20,\r
- "lists": {\r
- "public_list": {\r
- "type": "public"\r
- },\r
- "private_list": {\r
- "type": "private"\r
- },\r
- "story_sheets": {\r
- "type": "has_many",\r
- "association_name": "story_sheets"\r
- },\r
- "sheets": {\r
- "type": "has_many",\r
- "association_name": "sheets"\r
- },\r
- "by_comic": {\r
- "type": "filter",\r
- "filter_key": "comic_id",\r
- "list": {\r
- "method": "filtered_list"\r
- }\r
+ "fields": {\r
+ "comic_id": {\r
+ "args": {\r
+ "column": "comic_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
+ },\r
+ "title": {\r
+ "args": {\r
+ "column": "title",\r
+ "label": {\r
+ "args": {\r
+ "row_break": true\r
+ }\r
+ },\r
+ "tag": {\r
+ "type": "text"\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "description": {\r
+ "args": {\r
+ "column": "description",\r
+ "label": {\r
+ "args": {\r
+ "row_break": true\r
+ }\r
+ },\r
+ "tag": {\r
+ "type": "text_area",\r
+ "args": {\r
+ "options": {\r
+ "size": "45x15"\r
+ }\r
+ }\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "visible": {\r
+ "args": {\r
+ "column": "visible",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "select"\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "t": {\r
+ "args": {\r
+ "column": "t",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number"\r
+ }\r
+ }\r
+ },\r
+ "id": {\r
+ "args": {\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
+ },\r
+ "author_id": {\r
+ "args": {\r
+ "column": "author_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
}\r
+ },\r
+ "field_names": [\r
+ "comic_id",\r
+ "title",\r
+ "description",\r
+ "visible",\r
+ "t",\r
+ "id",\r
+ "author_id"\r
+ ]\r
},\r
"story_sheet": {\r
- "default_page_size": 20,\r
- "lists": {\r
- "public_list": {\r
- "type": "public"\r
- },\r
- "private_list": {\r
- "type": "private"\r
- },\r
- "by_story": {\r
- "type": "filter",\r
- "filter_key": "story_id",\r
- "list": {\r
- "method": "filtered_list"\r
- }\r
- },\r
- "by_sheet": {\r
- "type": "filter",\r
- "filter_key": "sheet_id",\r
- "list": {\r
- "method": "filtered_list"\r
- }\r
+ "fields": {\r
+ "story_id": {\r
+ "args": {\r
+ "column": "story_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "number"\r
}\r
- }\r
- },\r
- "sheet": {\r
- "default_page_size": 20,\r
- "lists": {\r
- "public_list": {\r
- "type": "public"\r
- },\r
- "private_list": {\r
- "type": "private"\r
- },\r
- "story_sheets": {\r
- "type": "has_many",\r
- "association_name": "story_sheets"\r
- },\r
- "sheet_panels": {\r
- "type": "has_many",\r
- "association_name": "sheet_panels"\r
+ }\r
+ },\r
+ "sheet_id": {\r
+ "args": {\r
+ "column": "sheet_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "number"\r
}\r
- }\r
- },\r
- "sheet_panel": {\r
- "default_page_size": 20,\r
- "lists": {\r
- "public_list": {\r
- "type": "public"\r
- },\r
- "private_list": {\r
- "type": "private"\r
- },\r
- "by_sheet": {\r
- "type": "filter",\r
- "filter_key": "sheet_id",\r
- "list": {\r
- "method": "filtered_list"\r
- }\r
- },\r
- "by_panel": {\r
- "type": "filter",\r
- "filter_key": "panel_id",\r
- "list": {\r
- "method": "filtered_list"\r
- }\r
+ }\r
+ },\r
+ "t": {\r
+ "args": {\r
+ "column": "t",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number"\r
+ }\r
+ }\r
+ },\r
+ "id": {\r
+ "args": {\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
}\r
+ },\r
+ "field_names": [\r
+ "story_id",\r
+ "sheet_id",\r
+ "t",\r
+ "id"\r
+ ]\r
},\r
- "panel": {},\r
- "panel_picture": {},\r
- "speech_balloon": {},\r
- "speech": {},\r
- "balloon": {},\r
- "ground_picture": {},\r
- "ground_color": {},\r
- "original_picture": {},\r
- "picture": {},\r
- "resource_picture": {},\r
- "speech_balloon_template": {},\r
- "writing_format": {},\r
- "license_group": {},\r
- "license": {},\r
- "author": {},\r
- "artist": {},\r
- "system_picture": {}\r
- },\r
- "system_resources": {\r
- "licenses": {\r
- "pettanr_creative_commons_v30_licenses": "PettanrCreativeCommonsV30Licenses",\r
- "pettanr_pettan_commons_v01_licenses": "PettanrPettanCommonsV01Licenses",\r
- "pettanr_pettan_protected_v01_licenses": "PettanrPettanProtectedV01Licenses",\r
- "pettanr_pettan_public_v01_licenses": "PettanrPettanPublicV01Licenses",\r
- "pettanr_public_domain_v01_licenses": "PettanrPublicDomainV01Licenses",\r
- "pettanr_unknown_v01_licenses": "PettanrUnknownV01Licenses"\r
- },\r
- "elements": {\r
- "PanelPicture": "panel_pictures",\r
- "SpeechBalloon": "speech_balloons",\r
- "GroundPicture": "ground_pictures",\r
- "GroundColor": "ground_colors"\r
- },\r
- "speech_balloon_templates": {\r
- "CircleSpeechBalloon": "circle_speech_balloon",\r
- "PlainSpeechBalloon": "plain_speech_balloon",\r
- "SquareSpeechBalloon": "square_speech_balloon"\r
- },\r
- "writing_formats": {\r
- "SimpleFormat": "pettanr_simple_format"\r
- }\r
- },\r
- "magic_numbers": {\r
- "run_mode": 1,\r
- "thumbnail_width": 64,\r
- "thumbnail_height": 64,\r
- "profile": {\r
- "users": {\r
- "caption": "ペンギン王国",\r
- "url": "http://localhost:3001/",\r
- "description": "ペンギン王国はペンギン素材を豊富に用意したペンギンマニアのサイトです。"\r
+ "sheet": {\r
+ "fields": {\r
+ "caption": {\r
+ "args": {\r
+ "column": "caption",\r
+ "label": {\r
+ "args": {\r
+ "row_break": true\r
+ }\r
+ },\r
+ "tag": {\r
+ "type": "text"\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "width": {\r
+ "args": {\r
+ "column": "width",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "height": {\r
+ "args": {\r
+ "column": "height",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
+ },\r
+ "row_break": true\r
+ }\r
},\r
- "admins": {\r
- "caption": "site name for admin",\r
- "url": "http://your.site.url/admins/",\r
- "description": "admin register"\r
+ "visible": {\r
+ "args": {\r
+ "column": "visible",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "select"\r
+ },\r
+ "row_break": true\r
+ }\r
},\r
- "demand_users": {\r
- "caption": "provider name",\r
- "url": "http://your.site.url/demanders/",\r
- "description": "provider description"\r
+ "id": {\r
+ "args": {\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
+ },\r
+ "author_id": {\r
+ "args": {\r
+ "column": "author_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
}\r
+ },\r
+ "field_names": [\r
+ "caption",\r
+ "width",\r
+ "height",\r
+ "visible",\r
+ "id",\r
+ "author_id"\r
+ ]\r
},\r
- "provider_sources": [\r
- "http://sourceforge.jp/projects/pettanr/wiki/ProviderSource/attach/provider_source.json"\r
- ]\r
- },\r
- "select_items": {\r
- "provider_status_status_items": [\r
- [\r
- "select_items.provider_status.status.waiting",\r
- 0\r
- ],\r
- [\r
- "select_items.provider_status.status.receiving",\r
- 1\r
- ]\r
- ],\r
- "demander_status_status_items": [\r
- [\r
- "select_items.demander_status.status.waiting",\r
- 0\r
- ],\r
- [\r
- "select_items.demander_status.status.rejected",\r
- 1\r
- ],\r
- [\r
- "select_items.demander_status.status.requesting",\r
- 2\r
- ],\r
- [\r
- "select_items.demander_status.status.approved",\r
- 3\r
- ]\r
- ],\r
- "scroll_visible_items": [\r
- [\r
- "select_items.scroll.visible.private",\r
- 0\r
- ],\r
- [\r
- "select_items.scroll.visible.public",\r
- 1\r
- ]\r
- ],\r
- "comic_visible_items": [\r
- [\r
- "select_items.comic.visible.private",\r
- 0\r
- ],\r
- [\r
- "select_items.comic.visible.public",\r
- 1\r
- ]\r
- ],\r
- "story_visible_items": [\r
- [\r
- "select_items.story.visible.private",\r
- 0\r
- ],\r
- [\r
- "select_items.story.visible.public",\r
- 1\r
- ]\r
- ],\r
- "sheet_visible_items": [\r
- [\r
- "select_items.sheet.visible.private",\r
- 0\r
- ],\r
- [\r
- "select_items.sheet.visible.public",\r
- 1\r
- ]\r
- ],\r
- "panel_visible_items": [\r
- [\r
- "select_items.panel.visible.private",\r
- 0\r
- ],\r
- [\r
- "select_items.panel.visible.public",\r
- 1\r
- ]\r
- ],\r
- "ground_picture_repeat_items": [\r
- [\r
- "select_items.ground_pictures.repeat.repeat",\r
- 0\r
- ],\r
- [\r
- "select_items.ground_pictures.repeat.repeat-x",\r
- 1\r
- ],\r
- [\r
- "select_items.ground_pictures.repeat.repeat-y",\r
- 2\r
- ],\r
- [\r
- "select_items.ground_pictures.repeat.no-repeat",\r
- 3\r
- ]\r
- ],\r
- "ground_color_orientation_items": [\r
- [\r
- "select_items.ground_color.orientation.horizontal",\r
- 0\r
- ],\r
- [\r
- "select_items.ground_color.orientation.vertical",\r
- 1\r
- ]\r
- ],\r
- "speech_font_size_items": [\r
- [\r
- "select_items.speeches.font_size.ultra_small",\r
- 0.2\r
- ],\r
- [\r
- "select_items.speeches.font_size.very_small",\r
- 0.4\r
- ],\r
- [\r
- "select_items.speeches.font_size.small",\r
- 0.6\r
- ],\r
- [\r
- "select_items.speeches.font_size.semi_small",\r
- 0.8\r
- ],\r
- [\r
- "select_items.speeches.font_size.normal",\r
- 1\r
- ],\r
- [\r
- "select_items.speeches.font_size.semi_large",\r
- 1.5\r
- ],\r
- [\r
- "select_items.speeches.font_size.large",\r
- 2\r
- ],\r
- [\r
- "select_items.speeches.font_size.very_large",\r
- 3.5\r
- ],\r
- [\r
- "select_items.speeches.font_size.ultra_large",\r
- 5\r
- ]\r
- ],\r
- "speech_text_align_items": [\r
- [\r
- "select_items.speeches.text_align.none",\r
- 0\r
- ],\r
- [\r
- "select_items.speeches.text_align.left",\r
- 1\r
- ],\r
- [\r
- "select_items.speeches.text_align.right",\r
- 2\r
- ],\r
- [\r
- "select_items.speeches.text_align.center",\r
- 3\r
- ]\r
- ]\r
- },\r
- "locals": {\r
- "profilers": {\r
- "scroll": {\r
- "lists": {\r
- "scroll_panels.by_scroll": {\r
- "model_name": "scroll_panel",\r
- "list_name": "by_scroll"\r
- }\r
- },\r
- "columns": [\r
- "id",\r
- "title",\r
- "description",\r
- "visible",\r
- "author_id",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "author"\r
- ],\r
- "has_many": [\r
- "scroll_panels.by_scroll",\r
- "panels.by_scroll"\r
- ]\r
+ "sheet_panel": {\r
+ "fields": {\r
+ "sheet_id": {\r
+ "args": {\r
+ "column": "sheet_id",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number"\r
}\r
+ }\r
},\r
- "scroll_panel": {\r
- "columns": [\r
- "id",\r
- "scroll_id",\r
- "panel_id",\r
- "t",\r
- "author_id",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "scroll",\r
- "panel"\r
- ],\r
- "has_many": []\r
+ "panel_id": {\r
+ "args": {\r
+ "column": "panel_id",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number"\r
}\r
+ }\r
},\r
- "comic": {\r
- "columns": [\r
- "id",\r
- "title",\r
- "description",\r
- "visible",\r
- "author_id",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "author"\r
- ],\r
- "has_many": [\r
- "stories"\r
- ]\r
+ "x": {\r
+ "args": {\r
+ "column": "x",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
}\r
+ }\r
},\r
- "story": {\r
- "columns": [\r
- "id",\r
- "comic_id",\r
- "title",\r
- "description",\r
- "t",\r
- "visible",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "comic"\r
- ],\r
- "has_many": [\r
- "story_sheets",\r
- "sheets"\r
- ]\r
- }\r
+ "y": {\r
+ "args": {\r
+ "column": "y",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
+ },\r
+ "row_break": true\r
+ }\r
},\r
- "story_sheet": {\r
- "columns": [\r
- "id",\r
- "story_id",\r
- "sheet_id",\r
- "t",\r
- "author_id",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "story",\r
- "sheet"\r
- ],\r
- "has_many": []\r
+ "z": {\r
+ "args": {\r
+ "column": "z",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "sheet": {\r
- "columns": [\r
- "id",\r
- "caption",\r
- "width",\r
- "height",\r
- "visible",\r
- "author_id",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "author"\r
- ],\r
- "has_many": [\r
- "story_sheets",\r
- "stories",\r
- "sheet_panels",\r
- "panels"\r
- ]\r
+ "t": {\r
+ "args": {\r
+ "column": "t",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "sheet_panel": {\r
- "columns": [\r
- "id",\r
- "sheet_id",\r
- "panel_id",\r
- "x",\r
- "y",\r
- "z",\r
- "t",\r
- "author_id",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "sheet",\r
- "panel"\r
- ],\r
- "has_many": []\r
+ "id": {\r
+ "args": {\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
+ }\r
+ },\r
+ "field_names": [\r
+ "sheet_id",\r
+ "panel_id",\r
+ "x",\r
+ "y",\r
+ "z",\r
+ "t",\r
+ "id"\r
+ ]\r
+ },\r
+ "panel": {\r
+ "fields": {\r
+ "caption": {\r
+ "args": {\r
+ "column": "caption",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "text"\r
+ },\r
+ "row_break": true\r
+ }\r
},\r
- "panel": {\r
- "columns": [\r
- "id",\r
- "width",\r
- "height",\r
- "border",\r
- "caption",\r
- "publish",\r
- "author_id",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "author"\r
- ],\r
- "has_many": [\r
- "scroll_panels",\r
- "scrolls",\r
- "sheet_panels",\r
- "sheets",\r
- "panel_pictures",\r
- "speech_balloons",\r
- "ground_pictures",\r
- "ground_colors"\r
- ]\r
+ "width": {\r
+ "args": {\r
+ "column": "width",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
}\r
+ }\r
},\r
- "panel_picture": {\r
- "columns": [\r
- "id",\r
- "panel_id",\r
- "picture_id",\r
- "caption",\r
- "x",\r
- "y",\r
- "width",\r
- "height",\r
- "link",\r
- "z",\r
- "t",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "panel"\r
- ],\r
- "has_many": []\r
- }\r
+ "height": {\r
+ "args": {\r
+ "column": "height",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
+ },\r
+ "row_break": true\r
+ }\r
},\r
- "speech_balloon": {\r
- "columns": [\r
- "id",\r
- "panel_id",\r
- "speech_balloon_template_id",\r
- "classname",\r
- "z",\r
- "t",\r
- "settings",\r
- "caption",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "panel"\r
- ],\r
- "has_many": [],\r
- "has_one": [\r
- "balloon",\r
- "speech"\r
- ]\r
+ "border": {\r
+ "args": {\r
+ "column": "border",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
}\r
+ }\r
},\r
- "speech": {\r
- "columns": [\r
- "id",\r
- "speech_balloon_id",\r
- "writing_format_id",\r
- "content",\r
- "font_size",\r
- "text_align",\r
- "fore_color",\r
- "x",\r
- "y",\r
- "width",\r
- "height",\r
- "quotes",\r
- "settings",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "speech_balloon",\r
- "writing_format"\r
- ],\r
- "has_many": []\r
- }\r
+ "publish": {\r
+ "args": {\r
+ "column": "publish",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "select"\r
+ },\r
+ "row_break": true\r
+ }\r
},\r
- "balloon": {\r
- "columns": [\r
- "id",\r
- "speech_balloon_id",\r
- "system_picture_id",\r
- "x",\r
- "y",\r
- "width",\r
- "height",\r
- "r",\r
- "settings",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "speech_balloon",\r
- "system_picture"\r
- ],\r
- "has_many": []\r
+ "id": {\r
+ "args": {\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "ground_picture": {\r
- "columns": [\r
- "id",\r
- "panel_id",\r
- "picture_id",\r
- "caption",\r
- "repeat",\r
- "x",\r
- "y",\r
- "z",\r
- "t",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "panel"\r
- ],\r
- "has_many": []\r
+ "author_id": {\r
+ "args": {\r
+ "column": "author_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
+ }\r
+ },\r
+ "field_names": [\r
+ "caption",\r
+ "width",\r
+ "height",\r
+ "border",\r
+ "publish",\r
+ "id",\r
+ "author_id"\r
+ ]\r
+ },\r
+ "panel_picture": {\r
+ "fields": {\r
+ "caption": {\r
+ "args": {\r
+ "column": "caption",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "text"\r
+ },\r
+ "row_break": true\r
+ }\r
},\r
- "ground_color": {\r
- "columns": [\r
- "id",\r
- "panel_id",\r
- "caption",\r
- "code",\r
- "orientation",\r
- "xy",\r
- "wh",\r
- "z",\r
- "t",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "panel"\r
- ],\r
- "has_many": []\r
+ "x": {\r
+ "args": {\r
+ "column": "x",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
}\r
+ }\r
+ },\r
+ "y": {\r
+ "args": {\r
+ "column": "y",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "width": {\r
+ "args": {\r
+ "column": "width",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
+ },\r
+ "helpers": {\r
+ "size": {\r
+ "type": "size",\r
+ "args": {\r
+ "path": "panels/size_helper",\r
+ "class": "panel_picture_width_tool"\r
+ }\r
+ }\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "height": {\r
+ "args": {\r
+ "column": "height",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
+ },\r
+ "helpers": {\r
+ "size": {\r
+ "type": "size",\r
+ "args": {\r
+ "path": "panels/size_helper",\r
+ "class": "panel_picture_height_tool"\r
+ }\r
+ }\r
+ },\r
+ "row_break": true\r
+ }\r
},\r
- "original_picture": {\r
- "columns": [\r
- "id",\r
- "ext",\r
- "width",\r
- "height",\r
- "filesize",\r
- "artist_id",\r
- "md5",\r
- "uploaded_at",\r
- "published_at",\r
- "stopped_at",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "artist"\r
- ],\r
- "has_many": [\r
- "pictures"\r
- ],\r
- "has_one": [\r
- "resource_picture"\r
- ]\r
+ "link": {\r
+ "args": {\r
+ "column": "link",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "text"\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "id": {\r
+ "args": {\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "picture": {\r
- "columns": [\r
- "id",\r
- "original_picture_id",\r
- "revision",\r
- "ext",\r
- "width",\r
- "height",\r
- "filesize",\r
- "artist_id",\r
- "license_id",\r
- "md5",\r
- "artist_name",\r
- "credit",\r
- "settings",\r
- "classname",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "license",\r
- "artist"\r
- ],\r
- "has_many": [],\r
- "has_one": []\r
+ "panel_id": {\r
+ "args": {\r
+ "column": "panel_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "resource_picture": {\r
- "columns": [\r
- "id",\r
- "original_picture_id",\r
- "revision",\r
- "ext",\r
- "width",\r
- "height",\r
- "filesize",\r
- "artist_id",\r
- "license_id",\r
- "md5",\r
- "artist_name",\r
- "credit",\r
- "settings",\r
- "picture_id",\r
- "classname",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "license",\r
- "artist"\r
- ],\r
- "has_many": [],\r
- "has_one": []\r
+ "picture_id": {\r
+ "args": {\r
+ "column": "picture_id",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "hidden"\r
+ },\r
+ "helpers": {\r
+ "popup": {\r
+ "type": "size",\r
+ "args": {\r
+ "path": "panels/popup_helper",\r
+ "source": "pictures"\r
+ }\r
+ }\r
}\r
+ }\r
},\r
- "speech_balloon_template": {\r
- "columns": [\r
- "id",\r
- "name",\r
- "classname",\r
- "caption",\r
- "t",\r
- "system_picture_id",\r
- "settings",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "system_picture"\r
- ],\r
- "has_many": [\r
- "speech_balloons",\r
- "panels"\r
- ],\r
- "has_one": []\r
+ "z": {\r
+ "args": {\r
+ "column": "z",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "writing_format": {\r
- "columns": [\r
- "id",\r
- "name",\r
- "classname",\r
- "caption",\r
- "system_picture_id",\r
- "settings",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "system_picture"\r
- ],\r
- "has_many": [\r
- "speeches"\r
- ],\r
- "has_one": []\r
+ "t": {\r
+ "args": {\r
+ "column": "t",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "field_names": [\r
+ "caption",\r
+ "x",\r
+ "y",\r
+ "width",\r
+ "height",\r
+ "link",\r
+ "id",\r
+ "panel_id",\r
+ "picture_id",\r
+ "z",\r
+ "t"\r
+ ]\r
+ },\r
+ "speech_balloon": {\r
+ "fields": {\r
+ "speech_balloon.id": {\r
+ "args": {\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "license_group": {\r
- "columns": [\r
- "id",\r
- "name",\r
- "classname",\r
- "caption",\r
- "url",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [],\r
- "has_many": [\r
- "licenses"\r
- ],\r
- "has_one": []\r
+ "speech_balloon.panel_id": {\r
+ "args": {\r
+ "column": "panel_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "license": {\r
- "columns": [\r
- "id",\r
- "license_group_id",\r
- "name",\r
- "caption",\r
- "system_picture_id",\r
- "url",\r
- "settings",\r
- "credit_pictures",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [\r
- "license_group",\r
- "system_picture"\r
- ],\r
- "has_many": [\r
- "resource_pictures"\r
- ],\r
- "has_one": []\r
+ "speech_balloon.speech_balloon_template_id": {\r
+ "args": {\r
+ "column": "speech_balloon_template_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
+ },\r
+ "speech_balloon.caption": {\r
+ "args": {\r
+ "column": "caption",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "text"\r
+ },\r
+ "row_break": true\r
+ }\r
},\r
- "author": {\r
- "columns": [\r
- "id",\r
- "name",\r
- "user_id",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [],\r
- "has_many": [\r
- "scrolls",\r
- "comics",\r
- "stories",\r
- "sheets",\r
- "panels"\r
- ],\r
- "has_one": []\r
+ "speech_balloon.z": {\r
+ "args": {\r
+ "column": "z",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "artist": {\r
- "columns": [\r
- "id",\r
- "name",\r
- "author_id",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [],\r
- "has_many": [\r
- "resource_pictures"\r
- ],\r
- "has_one": []\r
+ "speech_balloon.t": {\r
+ "args": {\r
+ "column": "t",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "system_picture": {\r
- "columns": [\r
- "id",\r
- "ext",\r
- "width",\r
- "height",\r
- "filesize",\r
- "md5",\r
- "created_at",\r
- "updated_at"\r
- ],\r
- "associations": {\r
- "belongs_to": [],\r
- "has_many": [],\r
- "has_one": []\r
+ "speech_balloon.classname": {\r
+ "args": {\r
+ "column": "classname",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
- }\r
- },\r
- "filers": {\r
- "scroll": {\r
- "symbol": {\r
- "type": "image",\r
- "name": "/assets/item.png"\r
- },\r
- "caption": {\r
- "type": "column",\r
- "name": "title",\r
- "link": {\r
- "type": "action",\r
- "name": "play"\r
- }\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "default"\r
+ }\r
+ },\r
+ "speech_balloon.settings": {\r
+ "args": {\r
+ "column": "settings",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "scroll_panel": {\r
- "symbol": {\r
- "type": "image",\r
- "name": "/assets/item.png",\r
- "link": {\r
- "type": "none"\r
- }\r
- },\r
- "caption": {\r
- "type": "none"\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "balloon.id": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "balloon",\r
+ "part": "balloon",\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "comic": {\r
- "symbol": {\r
- "type": "image",\r
- "name": "/assets/item.png"\r
- },\r
- "caption": {\r
- "type": "column",\r
- "name": "title"\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "default"\r
+ "balloon.speech_balloon_id": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "balloon",\r
+ "part": "balloon",\r
+ "column": "speech_balloon_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "story": {\r
- "symbol": {\r
- "type": "image",\r
- "name": "/assets/item.png"\r
- },\r
- "caption": {\r
- "type": "method",\r
- "name": "title_with_t",\r
- "link": {\r
- "type": "action",\r
- "name": "play"\r
- }\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "default"\r
+ "balloon.system_picture_id": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "balloon",\r
+ "part": "balloon",\r
+ "column": "system_picture_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "story_sheet": {\r
- "symbol": {\r
- "type": "image",\r
- "name": "/assets/item.png",\r
- "link": {\r
- "type": "none"\r
- }\r
- },\r
- "caption": {\r
- "type": "none"\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "balloon.r": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "balloon",\r
+ "part": "balloon",\r
+ "column": "r",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
+ },\r
+ "helpers": {\r
+ "tail_angle": {\r
+ "type": "size",\r
+ "args": {\r
+ "path": "panels/tail_angle_helper"\r
+ }\r
+ }\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "balloon.x": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "balloon",\r
+ "part": "balloon",\r
+ "column": "x",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
}\r
+ }\r
},\r
- "sheet": {\r
- "symbol": {\r
- "type": "image",\r
- "name": "/assets/item.png"\r
- },\r
- "caption": {\r
- "type": "column",\r
- "name": "caption",\r
- "link": {\r
- "type": "action",\r
- "name": "play"\r
- }\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "default"\r
+ "balloon.y": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "balloon",\r
+ "part": "balloon",\r
+ "column": "y",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "balloon.width": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "balloon",\r
+ "part": "balloon",\r
+ "column": "width",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
}\r
+ }\r
},\r
- "sheet_panel": {\r
- "symbol": {\r
- "type": "image",\r
- "name": "/assets/item.png",\r
- "link": {\r
- "type": "none"\r
- }\r
- },\r
- "caption": {\r
- "type": "none"\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "balloon.height": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "balloon",\r
+ "part": "balloon",\r
+ "column": "height",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "balloon.settings": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "balloon",\r
+ "part": "balloon",\r
+ "column": "settings",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "panel": {\r
- "symbol": {\r
- "type": "image",\r
- "name": "/assets/item.png"\r
- },\r
- "caption": {\r
- "type": "method",\r
- "name": "plain_scenario",\r
- "link": {\r
- "type": "none"\r
- }\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "default"\r
+ "speech.id": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "speech",\r
+ "part": "speech",\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "panel_picture": {\r
- "symbol": {\r
- "type": "picture",\r
- "name": "symbol_option"\r
- },\r
- "caption": {\r
- "type": "column",\r
- "name": "caption"\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "speech.speech_balloon_id": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "speech",\r
+ "part": "speech",\r
+ "column": "speech_balloon_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "speech_balloon": {\r
- "symbol": {\r
- "type": "picture",\r
- "name": "symbol_option"\r
- },\r
- "caption": {\r
- "type": "method",\r
- "name": "plain_scenario",\r
- "link": {\r
- "type": "none"\r
- }\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "speech.x": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "speech",\r
+ "part": "speech",\r
+ "column": "x",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "speech": {\r
- "symbol": {\r
- "type": "picture",\r
- "name": "symbol_option"\r
- },\r
- "caption": {\r
- "type": "column",\r
- "name": "content",\r
- "link": {\r
- "type": "none"\r
- }\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "speech.y": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "speech",\r
+ "part": "speech",\r
+ "column": "y",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "balloon": {\r
- "symbol": {\r
- "type": "picture",\r
- "name": "symbol_option"\r
- },\r
- "caption": {\r
- "type": "none"\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "speech.width": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "speech",\r
+ "part": "speech",\r
+ "column": "width",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "ground_picture": {\r
- "symbol": {\r
- "type": "picture",\r
- "name": "symbol_option"\r
- },\r
- "caption": {\r
- "type": "column",\r
- "name": "caption"\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "speech.height": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "speech",\r
+ "part": "speech",\r
+ "column": "height",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "ground_color": {\r
- "symbol": {\r
- "type": "template",\r
- "name": "symbol"\r
- },\r
- "caption": {\r
- "type": "column",\r
- "name": "caption"\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "speech.writing_format_id": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "speech",\r
+ "part": "speech",\r
+ "column": "writing_format_id",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "select"\r
}\r
+ }\r
},\r
- "original_picture": {\r
- "symbol": {\r
- "type": "picture",\r
- "name": "symbol_option"\r
- },\r
- "caption": {\r
- "type": "method",\r
- "name": "revision",\r
- "link": {\r
- "type": "action",\r
- "name": "history"\r
- }\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "template",\r
- "name": "publish"\r
+ "speech.font_size": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "speech",\r
+ "part": "speech",\r
+ "column": "font_size",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "select"\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "speech.text_align": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "speech",\r
+ "part": "speech",\r
+ "column": "text_align",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "select"\r
}\r
+ }\r
},\r
- "picture": {\r
- "symbol": {\r
- "type": "picture",\r
- "name": "symbol_option"\r
- },\r
- "caption": {\r
- "type": "column",\r
- "name": "revision"\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "speech.quotes": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "speech",\r
+ "part": "speech",\r
+ "column": "quotes",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "text",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
}\r
+ }\r
},\r
- "resource_picture": {\r
- "symbol": {\r
- "type": "picture",\r
- "name": "symbol_option"\r
- },\r
- "caption": {\r
- "type": "none"\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "speech.content": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "speech",\r
+ "part": "speech",\r
+ "column": "content",\r
+ "label": {\r
+ "args": {\r
+ "row_break": true\r
+ }\r
+ },\r
+ "tag": {\r
+ "type": "text_area",\r
+ "args": {\r
+ "options": {\r
+ "size": "45x5"\r
+ }\r
+ }\r
}\r
+ }\r
},\r
- "speech_balloon_template": {\r
- "symbol": {\r
- "type": "picture",\r
- "name": "symbol_option"\r
- },\r
- "caption": {\r
- "type": "column",\r
- "name": "caption"\r
- },\r
- "summary": {\r
- "type": "none"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "speech.fore_color": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "speech",\r
+ "part": "speech",\r
+ "column": "fore_color",\r
+ "label": {\r
+ "row_break": true\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ },\r
+ "helpers": {\r
+ "color": {\r
+ "type": "size",\r
+ "args": {\r
+ "path": "panels/color_helper",\r
+ "wrapper": "speech-fore_color-wrap"\r
+ }\r
+ }\r
}\r
+ }\r
},\r
- "writing_format": {\r
- "symbol": {\r
- "type": "image",\r
- "name": "/assets/item.png"\r
- },\r
- "caption": {\r
- "type": "column",\r
- "name": "caption"\r
- },\r
- "summary": {\r
- "type": "none"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "speech.settings": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "speech",\r
+ "part": "speech",\r
+ "column": "settings",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "ground_picture": {\r
+ "fields": {\r
+ "id": {\r
+ "args": {\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "license_group": {\r
- "symbol": {\r
- "type": "image",\r
- "name": "/assets/item.png"\r
- },\r
- "caption": {\r
- "type": "column",\r
- "name": "caption",\r
- "link": {\r
- "type": "url_column",\r
- "name": "url"\r
- }\r
- },\r
- "summary": {\r
- "type": "none"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "panel_id": {\r
+ "args": {\r
+ "column": "panel_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "license": {\r
- "symbol": {\r
- "type": "image",\r
- "name": "/assets/item.png"\r
- },\r
- "caption": {\r
- "type": "method",\r
- "name": "caption_with_group",\r
- "link": {\r
- "type": "url_column",\r
- "name": "url"\r
- }\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "picture_id": {\r
+ "args": {\r
+ "column": "picture_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "author": {\r
- "symbol": {\r
- "type": "image",\r
- "name": "/assets/item.png"\r
- },\r
- "caption": {\r
- "type": "column",\r
- "name": "name"\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "account"\r
+ "caption": {\r
+ "args": {\r
+ "column": "caption",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "text"\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "repeat": {\r
+ "args": {\r
+ "column": "repeat",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "select",\r
+ "args": {\r
+ "source": "magic_number",\r
+ "key": "ground_picture_repeat_items"\r
+ }\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "x": {\r
+ "args": {\r
+ "column": "x",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
}\r
+ }\r
},\r
- "artist": {\r
- "symbol": {\r
- "type": "image",\r
- "name": "/assets/item.png"\r
- },\r
- "caption": {\r
- "type": "column",\r
- "name": "name"\r
- },\r
- "summary": {\r
- "type": "template",\r
- "name": "summary"\r
- },\r
- "edit": {\r
- "type": "account"\r
+ "y": {\r
+ "args": {\r
+ "column": "y",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
+ },\r
+ "row_break": true\r
+ }\r
+ },\r
+ "z": {\r
+ "args": {\r
+ "column": "z",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
},\r
- "system_picture": {\r
- "symbol": {\r
- "type": "picture",\r
- "name": "symbol_option"\r
- },\r
- "caption": {\r
- "type": "none"\r
- },\r
- "summary": {\r
- "type": "none"\r
- },\r
- "edit": {\r
- "type": "none"\r
+ "t": {\r
+ "args": {\r
+ "column": "t",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
}\r
+ }\r
}\r
+ },\r
+ "field_names": [\r
+ "caption",\r
+ "repeat",\r
+ "x",\r
+ "y",\r
+ "z",\r
+ "t",\r
+ "id",\r
+ "panel_id",\r
+ "picture_id"\r
+ ]\r
},\r
- "elements": [\r
- {\r
- "name": "panel_picture",\r
- "path_name": "panel_pictures",\r
- "parts": []\r
+ "ground_color": {\r
+ "fields": {\r
+ "id": {\r
+ "args": {\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
},\r
- {\r
- "name": "speech_balloon",\r
- "path_name": "circle_speech_balloon/speech_balloons",\r
- "parts": [\r
- "balloon",\r
- "speech"\r
- ]\r
+ "panel_id": {\r
+ "args": {\r
+ "column": "panel_id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
},\r
- {\r
- "name": "ground_picture",\r
- "path_name": "ground_pictures",\r
- "parts": []\r
+ "caption": {\r
+ "args": {\r
+ "column": "caption",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "text"\r
+ },\r
+ "row_break": true\r
+ }\r
},\r
- {\r
- "name": "ground_color",\r
- "path_name": "ground_colors",\r
- "parts": []\r
- }\r
- ],\r
- "forms": {\r
- "Panel": "panel",\r
- "panel": {\r
- "attributes": {\r
- "caption": {\r
- "column": "caption",\r
- "type": "text",\r
- "label": {},\r
- "options": {\r
- "row_break": true\r
- }\r
- },\r
- "width": {\r
- "column": "width",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5\r
- }\r
- },\r
- "height": {\r
- "column": "height",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5,\r
- "row_break": true\r
- }\r
- },\r
- "border": {\r
- "column": "border",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5\r
- }\r
- },\r
- "publish": {\r
- "column": "publish",\r
- "type": "select",\r
- "label": {},\r
- "options": {\r
- "source": "magic_number",\r
- "key": "comic_visible_items",\r
- "size": 5,\r
- "row_break": true\r
- }\r
- },\r
- "id": {\r
- "column": "id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "author_id": {\r
- "column": "author_id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- }\r
- },\r
- "fields": [\r
- "caption",\r
- "width",\r
- "height",\r
- "border",\r
- "publish",\r
- "id",\r
- "author_id"\r
- ]\r
+ "code": {\r
+ "args": {\r
+ "column": "code",\r
+ "label": {\r
+ "args": {\r
+ "row_break": true\r
+ }\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ },\r
+ "helpers": {\r
+ "color": {\r
+ "type": "size",\r
+ "args": {\r
+ "path": "panels/color_helper",\r
+ "wrapper": "ground_color-code-wrap"\r
+ }\r
+ }\r
+ },\r
+ "row_break": true\r
+ }\r
},\r
- "PanelPicture": "panel_picture",\r
- "panel_picture": {\r
- "attributes": {\r
- "caption": {\r
- "column": "caption",\r
- "type": "text",\r
- "label": {},\r
- "options": {\r
- "row_break": true\r
- }\r
- },\r
- "x": {\r
- "column": "x",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5\r
- }\r
- },\r
- "y": {\r
- "column": "y",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5,\r
- "row_break": true\r
- }\r
- },\r
- "width": {\r
- "column": "width",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5,\r
- "row_break": true\r
- },\r
- "helpers": {\r
- "size": {\r
- "path": "panels/size_helper",\r
- "options": {\r
- "class": "panel_picture_width_tool"\r
- }\r
- }\r
- }\r
- },\r
- "height": {\r
- "column": "height",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5,\r
- "row_break": true\r
- },\r
- "helpers": {\r
- "size": {\r
- "path": "panels/size_helper",\r
- "options": {\r
- "class": "panel_picture_height_tool"\r
- }\r
- }\r
- }\r
- },\r
- "link": {\r
- "column": "link",\r
- "type": "text",\r
- "label": {},\r
- "options": {\r
- "row_break": true\r
- }\r
- },\r
- "id": {\r
- "column": "id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "panel_id": {\r
- "column": "panel_id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "picture_id": {\r
- "column": "picture_id",\r
- "type": "hidden",\r
- "label": {},\r
- "helpers": {\r
- "popup": {\r
- "path": "panels/popup_helper",\r
- "source": "pictures",\r
- "options": {}\r
- }\r
- },\r
- "options": {}\r
- },\r
- "z": {\r
- "column": "z",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "t": {\r
- "column": "t",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- }\r
- },\r
- "fields": [\r
- "caption",\r
- "x",\r
- "y",\r
- "width",\r
- "height",\r
- "link",\r
- "id",\r
- "panel_id",\r
- "picture_id",\r
- "z",\r
- "t"\r
- ]\r
+ "orientation": {\r
+ "args": {\r
+ "column": "orientation",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "select"\r
+ },\r
+ "row_break": true\r
+ }\r
},\r
- "speech_balloon": {\r
- "attributes": {\r
- "speech_balloon.id": {\r
- "column": "id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "speech_balloon.panel_id": {\r
- "column": "panel_id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "speech_balloon.speech_balloon_template_id": {\r
- "column": "speech_balloon_template_id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "speech_balloon.caption": {\r
- "column": "caption",\r
- "type": "text",\r
- "label": {},\r
- "options": {\r
- "row_break": true\r
- }\r
- },\r
- "speech_balloon.z": {\r
- "column": "z",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "speech_balloon.t": {\r
- "column": "t",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "speech_balloon.classname": {\r
- "column": "classname",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "speech_balloon.settings": {\r
- "column": "settings",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "balloon.id": {\r
- "model": "balloon",\r
- "part": "balloon",\r
- "column": "id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "balloon.speech_balloon_id": {\r
- "model": "balloon",\r
- "part": "balloon",\r
- "column": "speech_balloon_id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "balloon.system_picture_id": {\r
- "model": "balloon",\r
- "part": "balloon",\r
- "column": "system_picture_id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "balloon.r": {\r
- "model": "balloon",\r
- "part": "balloon",\r
- "column": "r",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5,\r
- "row_break": true\r
- },\r
- "helpers": {\r
- "tail_angle": {\r
- "path": "panels/tail_angle_helper",\r
- "options": {}\r
- }\r
- }\r
- },\r
- "balloon.x": {\r
- "model": "balloon",\r
- "part": "balloon",\r
- "column": "x",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5\r
- }\r
- },\r
- "balloon.y": {\r
- "model": "balloon",\r
- "part": "balloon",\r
- "column": "y",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5,\r
- "row_break": true\r
- }\r
- },\r
- "balloon.width": {\r
- "model": "balloon",\r
- "part": "balloon",\r
- "column": "width",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5\r
- }\r
- },\r
- "balloon.height": {\r
- "model": "balloon",\r
- "part": "balloon",\r
- "column": "height",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5,\r
- "row_break": true\r
- }\r
- },\r
- "balloon.settings": {\r
- "model": "balloon",\r
- "part": "balloon",\r
- "column": "settings",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "speech.id": {\r
- "model": "speech",\r
- "part": "speech",\r
- "column": "id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "speech.speech_balloon_id": {\r
- "model": "speech",\r
- "part": "speech",\r
- "column": "speech_balloon_id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "speech.x": {\r
- "model": "speech",\r
- "part": "speech",\r
- "column": "x",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "speech.y": {\r
- "model": "speech",\r
- "part": "speech",\r
- "column": "y",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "speech.width": {\r
- "model": "speech",\r
- "part": "speech",\r
- "column": "width",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "speech.height": {\r
- "model": "speech",\r
- "part": "speech",\r
- "column": "height",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "speech.writing_format_id": {\r
- "model": "speech",\r
- "part": "speech",\r
- "column": "writing_format_id",\r
- "type": "select",\r
- "label": {},\r
- "options": {\r
- "source": "model",\r
- "model": "writing_format",\r
- "method": "enable_list",\r
- "caption": "caption"\r
- }\r
- },\r
- "speech.font_size": {\r
- "model": "speech",\r
- "part": "speech",\r
- "column": "font_size",\r
- "type": "select",\r
- "label": {},\r
- "options": {\r
- "source": "magic_number",\r
- "key": "speech_font_size_items",\r
- "row_break": true\r
- }\r
- },\r
- "speech.text_align": {\r
- "model": "speech",\r
- "part": "speech",\r
- "column": "text_align",\r
- "type": "select",\r
- "label": {},\r
- "options": {\r
- "source": "magic_number",\r
- "key": "speech_text_align_items"\r
- }\r
- },\r
- "speech.quotes": {\r
- "model": "speech",\r
- "part": "speech",\r
- "column": "quotes",\r
- "type": "text",\r
- "label": {},\r
- "options": {\r
- "size": 5\r
- }\r
- },\r
- "speech.content": {\r
- "model": "speech",\r
- "part": "speech",\r
- "column": "content",\r
- "type": "text_area",\r
- "label": {\r
- "row_break": true\r
- },\r
- "options": {\r
- "size": "45x5"\r
- }\r
- },\r
- "speech.fore_color": {\r
- "model": "speech",\r
- "part": "speech",\r
- "column": "fore_color",\r
- "type": "hidden",\r
- "label": {\r
- "row_break": true\r
- },\r
- "options": {},\r
- "helpers": {\r
- "color": {\r
- "path": "panels/color_helper",\r
- "options": {},\r
- "wrapper": "speech-fore_color-wrap"\r
- }\r
- }\r
- },\r
- "speech.settings": {\r
- "model": "speech",\r
- "part": "speech",\r
- "column": "settings",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- }\r
+ "xy": {\r
+ "args": {\r
+ "column": "xy",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
}\r
+ }\r
},\r
- "CircleSpeechBalloon": "circle_speech_balloon",\r
- "circle_speech_balloon": {\r
- "base": "speech_balloon",\r
- "attributes": {},\r
- "fields": [\r
- "speech_balloon.caption",\r
- "balloon.r",\r
- "balloon.x",\r
- "balloon.y",\r
- "balloon.width",\r
- "balloon.height",\r
- "balloon.id",\r
- "balloon.speech_balloon_id",\r
- "balloon.system_picture_id",\r
- "balloon.settings",\r
- "speech.writing_format_id",\r
- "speech.font_size",\r
- "speech.text_align",\r
- "speech.quotes",\r
- "speech.content",\r
- "speech.fore_color",\r
- "speech.id",\r
- "speech.speech_balloon_id",\r
- "speech.x",\r
- "speech.y",\r
- "speech.width",\r
- "speech.height",\r
- "speech.settings",\r
- "speech_balloon.id",\r
- "speech_balloon.panel_id",\r
- "speech_balloon.speech_balloon_template_id",\r
- "speech_balloon.classname",\r
- "speech_balloon.z",\r
- "speech_balloon.t",\r
- "speech_balloon.settings"\r
- ]\r
+ "wh": {\r
+ "args": {\r
+ "column": "wh",\r
+ "label": {},\r
+ "tag": {\r
+ "type": "number",\r
+ "args": {\r
+ "options": {\r
+ "size": 5\r
+ }\r
+ }\r
+ },\r
+ "row_break": true\r
+ }\r
},\r
- "PlainSpeechBalloon": "plain_speech_balloon",\r
- "plain_speech_balloon": {\r
- "base": "speech_balloon",\r
- "attributes": {\r
- "balloon.r": {\r
- "model": "balloon",\r
- "part": "balloon",\r
- "column": "r",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- }\r
- },\r
- "fields": [\r
- "speech_balloon.caption",\r
- "balloon.r",\r
- "balloon.x",\r
- "balloon.y",\r
- "balloon.width",\r
- "balloon.height",\r
- "balloon.id",\r
- "balloon.speech_balloon_id",\r
- "balloon.system_picture_id",\r
- "balloon.settings",\r
- "speech.writing_format_id",\r
- "speech.font_size",\r
- "speech.text_align",\r
- "speech.quotes",\r
- "speech.content",\r
- "speech.fore_color",\r
- "speech.id",\r
- "speech.speech_balloon_id",\r
- "speech.x",\r
- "speech.y",\r
- "speech.width",\r
- "speech.height",\r
- "speech.settings",\r
- "speech_balloon.id",\r
- "speech_balloon.panel_id",\r
- "speech_balloon.speech_balloon_template_id",\r
- "speech_balloon.classname",\r
- "speech_balloon.z",\r
- "speech_balloon.t",\r
- "speech_balloon.settings"\r
- ]\r
+ "z": {\r
+ "args": {\r
+ "column": "z",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
},\r
- "SquareSpeechBalloon": "square_speech_balloon",\r
- "square_speech_balloon": {\r
- "base": "speech_balloon",\r
- "attributes": {\r
- "balloon.r": {\r
- "model": "balloon",\r
- "part": "balloon",\r
- "column": "r",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- }\r
- },\r
- "fields": [\r
- "speech_balloon.caption",\r
- "balloon.r",\r
- "balloon.x",\r
- "balloon.y",\r
- "balloon.width",\r
- "balloon.height",\r
- "balloon.id",\r
- "balloon.speech_balloon_id",\r
- "balloon.system_picture_id",\r
- "balloon.settings",\r
- "speech.writing_format_id",\r
- "speech.font_size",\r
- "speech.text_align",\r
- "speech.quotes",\r
- "speech.content",\r
- "speech.fore_color",\r
- "speech.id",\r
- "speech.speech_balloon_id",\r
- "speech.x",\r
- "speech.y",\r
- "speech.width",\r
- "speech.height",\r
- "speech.settings",\r
- "speech_balloon.id",\r
- "speech_balloon.panel_id",\r
- "speech_balloon.speech_balloon_template_id",\r
- "speech_balloon.classname",\r
- "speech_balloon.z",\r
- "speech_balloon.t",\r
- "speech_balloon.settings"\r
- ]\r
+ "t": {\r
+ "args": {\r
+ "column": "t",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "field_names": [\r
+ "id",\r
+ "panel_id",\r
+ "caption",\r
+ "code",\r
+ "orientation",\r
+ "xy",\r
+ "wh",\r
+ "z",\r
+ "t"\r
+ ]\r
+ },\r
+ "author": {\r
+ "fields": {\r
+ "id": {\r
+ "args": {\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
},\r
- "GroundPicture": "ground_picture",\r
- "ground_picture": {\r
- "attributes": {\r
- "id": {\r
- "column": "id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "panel_id": {\r
- "column": "panel_id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "picture_id": {\r
- "column": "picture_id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "caption": {\r
- "column": "caption",\r
- "type": "text",\r
- "label": {},\r
- "options": {\r
- "row_break": true\r
- }\r
- },\r
- "repeat": {\r
- "column": "repeat",\r
- "type": "select",\r
- "label": {},\r
- "options": {\r
- "source": "magic_number",\r
- "key": "ground_picture_repeat_items",\r
- "row_break": true\r
- }\r
- },\r
- "x": {\r
- "column": "x",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5\r
- }\r
- },\r
- "y": {\r
- "column": "y",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5,\r
- "row_break": true\r
- }\r
- },\r
- "z": {\r
- "column": "z",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "t": {\r
- "column": "t",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- }\r
- },\r
- "fields": [\r
- "caption",\r
- "repeat",\r
- "x",\r
- "y",\r
- "z",\r
- "t",\r
- "id",\r
- "panel_id",\r
- "picture_id"\r
- ]\r
+ "name": {\r
+ "args": {\r
+ "column": "name",\r
+ "label": {\r
+ "args": {\r
+ "row_break": true\r
+ }\r
+ },\r
+ "tag": {\r
+ "type": "text"\r
+ },\r
+ "row_break": true\r
+ }\r
+ }\r
+ },\r
+ "field_names": [\r
+ "id",\r
+ "name"\r
+ ]\r
+ },\r
+ "artist": {\r
+ "fields": {\r
+ "id": {\r
+ "args": {\r
+ "column": "id",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
},\r
- "GroundColor": "ground_color",\r
- "ground_color": {\r
- "attributes": {\r
- "id": {\r
- "column": "id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "panel_id": {\r
- "column": "panel_id",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "caption": {\r
- "column": "caption",\r
- "type": "text",\r
- "label": {},\r
- "options": {\r
- "row_break": true\r
- }\r
- },\r
- "code": {\r
- "column": "code",\r
- "type": "hidden",\r
- "label": {\r
- "row_break": true\r
- },\r
- "options": {\r
- "row_break": true\r
- },\r
- "helpers": {\r
- "color": {\r
- "path": "panels/color_helper",\r
- "options": {},\r
- "wrapper": "ground_color-code-wrap"\r
- }\r
- }\r
- },\r
- "orientation": {\r
- "column": "orientation",\r
- "type": "select",\r
- "label": {},\r
- "options": {\r
- "source": "magic_number",\r
- "key": "ground_color_orientation_items",\r
- "row_break": true\r
- }\r
- },\r
- "xy": {\r
- "column": "xy",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5\r
- }\r
- },\r
- "wh": {\r
- "column": "wh",\r
- "type": "number",\r
- "label": {},\r
- "options": {\r
- "size": 5,\r
- "row_break": true\r
- }\r
- },\r
- "z": {\r
- "column": "z",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- },\r
- "t": {\r
- "column": "t",\r
- "type": "hidden",\r
- "label": {\r
- "type": "hidden"\r
- },\r
- "options": {}\r
- }\r
- },\r
- "fields": [\r
- "id",\r
- "panel_id",\r
- "caption",\r
- "code",\r
- "orientation",\r
- "xy",\r
- "wh",\r
- "z",\r
- "t"\r
- ]\r
+ "name": {\r
+ "args": {\r
+ "column": "name",\r
+ "label": {\r
+ "args": {\r
+ "row_break": true\r
+ }\r
+ },\r
+ "tag": {\r
+ "type": "text"\r
+ },\r
+ "row_break": true\r
+ }\r
}\r
+ },\r
+ "field_names": [\r
+ "id",\r
+ "name"\r
+ ]\r
}\r
- },\r
- "locales": {\r
- "ja": {}\r
+ },\r
+ "extend": {\r
+ "CircleSpeechBalloon": {\r
+ "base": "speech_balloon",\r
+ "fields": {},\r
+ "field_names": [\r
+ "speech_balloon.caption",\r
+ "balloon.r",\r
+ "balloon.x",\r
+ "balloon.y",\r
+ "balloon.width",\r
+ "balloon.height",\r
+ "balloon.id",\r
+ "balloon.speech_balloon_id",\r
+ "balloon.system_picture_id",\r
+ "balloon.settings",\r
+ "speech.writing_format_id",\r
+ "speech.font_size",\r
+ "speech.text_align",\r
+ "speech.quotes",\r
+ "speech.content",\r
+ "speech.fore_color",\r
+ "speech.id",\r
+ "speech.speech_balloon_id",\r
+ "speech.x",\r
+ "speech.y",\r
+ "speech.width",\r
+ "speech.height",\r
+ "speech.settings",\r
+ "speech_balloon.id",\r
+ "speech_balloon.panel_id",\r
+ "speech_balloon.speech_balloon_template_id",\r
+ "speech_balloon.classname",\r
+ "speech_balloon.z",\r
+ "speech_balloon.t",\r
+ "speech_balloon.settings"\r
+ ]\r
+ },\r
+ "PlainSpeechBalloon": {\r
+ "base": "speech_balloon",\r
+ "fields": {\r
+ "balloon.r": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "balloon",\r
+ "part": "balloon",\r
+ "column": "r",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "field_names": [\r
+ "speech_balloon.caption",\r
+ "balloon.r",\r
+ "balloon.x",\r
+ "balloon.y",\r
+ "balloon.width",\r
+ "balloon.height",\r
+ "balloon.id",\r
+ "balloon.speech_balloon_id",\r
+ "balloon.system_picture_id",\r
+ "balloon.settings",\r
+ "speech.writing_format_id",\r
+ "speech.font_size",\r
+ "speech.text_align",\r
+ "speech.quotes",\r
+ "speech.content",\r
+ "speech.fore_color",\r
+ "speech.id",\r
+ "speech.speech_balloon_id",\r
+ "speech.x",\r
+ "speech.y",\r
+ "speech.width",\r
+ "speech.height",\r
+ "speech.settings",\r
+ "speech_balloon.id",\r
+ "speech_balloon.panel_id",\r
+ "speech_balloon.speech_balloon_template_id",\r
+ "speech_balloon.classname",\r
+ "speech_balloon.z",\r
+ "speech_balloon.t",\r
+ "speech_balloon.settings"\r
+ ]\r
+ },\r
+ "SquareSpeechBalloon": {\r
+ "base": "speech_balloon",\r
+ "fields": {\r
+ "balloon.r": {\r
+ "type": "part",\r
+ "args": {\r
+ "model": "balloon",\r
+ "part": "balloon",\r
+ "column": "r",\r
+ "label": {\r
+ "type": "none"\r
+ },\r
+ "tag": {\r
+ "type": "hidden"\r
+ }\r
+ }\r
+ }\r
+ },\r
+ "field_names": [\r
+ "speech_balloon.caption",\r
+ "balloon.r",\r
+ "balloon.x",\r
+ "balloon.y",\r
+ "balloon.width",\r
+ "balloon.height",\r
+ "balloon.id",\r
+ "balloon.speech_balloon_id",\r
+ "balloon.system_picture_id",\r
+ "balloon.settings",\r
+ "speech.writing_format_id",\r
+ "speech.font_size",\r
+ "speech.text_align",\r
+ "speech.quotes",\r
+ "speech.content",\r
+ "speech.fore_color",\r
+ "speech.id",\r
+ "speech.speech_balloon_id",\r
+ "speech.x",\r
+ "speech.y",\r
+ "speech.width",\r
+ "speech.height",\r
+ "speech.settings",\r
+ "speech_balloon.id",\r
+ "speech_balloon.panel_id",\r
+ "speech_balloon.speech_balloon_template_id",\r
+ "speech_balloon.classname",\r
+ "speech_balloon.z",\r
+ "speech_balloon.t",\r
+ "speech_balloon.settings"\r
+ ]\r
+ }\r
+ }\r
}\r
+ }\r
}
\ No newline at end of file