X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=public%2Fmanifest.json;h=95be46cee52261f21318a4ae9c53130995d0ae28;hb=610257311287236d2abb7d13d048d51e7701cbbd;hp=1cafc0401e45612a1c4b18b1eccc7fb3012e774d;hpb=6e6f76f4cb4eaf2154f45e126544314cdb68d67e;p=pettanr%2Fpettanr.git diff --git a/public/manifest.json b/public/manifest.json index 1cafc040..95be46ce 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -5,7 +5,7 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_author": { @@ -21,13 +21,12 @@ } }, "show": { - "type": "show", - "name": "show" + "type": "show" }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_author": { @@ -35,6 +34,12 @@ }, "count_by_panel": { "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -43,7 +48,7 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_panel": { @@ -52,10 +57,13 @@ "by_scroll": { "type": "list" }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_panel": { @@ -63,6 +71,12 @@ }, "count_by_scroll": { "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -71,20 +85,29 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_author": { "type": "list" }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_author": { "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -93,7 +116,7 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_comic": { @@ -111,14 +134,23 @@ "list_name": "play" } }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_author": { "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -127,7 +159,7 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_story": { @@ -136,10 +168,13 @@ "by_sheet": { "type": "list" }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_story": { @@ -147,6 +182,12 @@ }, "count_by_sheet": { "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -155,7 +196,7 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_story": { @@ -173,10 +214,13 @@ "list_name": "play" } }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_story": { @@ -187,6 +231,12 @@ }, "count_by_author": { "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -195,7 +245,7 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_sheet": { @@ -204,10 +254,13 @@ "by_panel": { "type": "list" }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_sheet": { @@ -215,6 +268,12 @@ }, "count_by_panel": { "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -223,7 +282,7 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_scroll": { @@ -238,10 +297,13 @@ "by_speech_balloon_template": { "type": "list" }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_scroll": { @@ -255,6 +317,12 @@ }, "count_by_speech_balloon_template": { "type": "count" + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -263,7 +331,7 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_panel": { @@ -272,10 +340,13 @@ "by_author": { "type": "list" }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_panel": { @@ -291,7 +362,7 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_panel": { @@ -300,10 +371,13 @@ "by_author": { "type": "list" }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_panel": { @@ -319,16 +393,19 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_writing_format": { "type": "list" }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_writing_format": { @@ -341,13 +418,16 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } } } @@ -357,7 +437,7 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_panel": { @@ -366,10 +446,13 @@ "by_author": { "type": "list" }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_panel": { @@ -385,7 +468,7 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_panel": { @@ -394,10 +477,13 @@ "by_author": { "type": "list" }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_panel": { @@ -413,36 +499,51 @@ "index": { "type": "list", "args": { - "list_name": "private_list" + "list_name": "private" } }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } } } }, - "pictures": {}, + "pictures": { + "actions": { + "show": { + "type": "show" + } + } + }, "resource_pictures": { "actions": { "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, + "by_original_picture": { + "type": "list" + }, "by_license": { "type": "list" }, "by_artist": { "type": "list" }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_license": { @@ -458,13 +559,16 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } } } @@ -474,16 +578,19 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_system_picture": { "type": "list" }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_system_picture": { @@ -496,13 +603,16 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } } } @@ -512,7 +622,7 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "by_license_group": { @@ -521,10 +631,13 @@ "by_system_picture": { "type": "list" }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } }, "count_by_license_group": { @@ -540,7 +653,7 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "scrolls": { @@ -597,11 +710,20 @@ "list_name": "ground_colors" } }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -610,7 +732,7 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, "resource_pictures": { @@ -619,11 +741,20 @@ "list_name": "resource_pictures" } }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } + }, + "new": { + "type": "new" + }, + "edit": { + "type": "edit" } } }, @@ -632,13 +763,16 @@ "index": { "type": "list", "args": { - "list_name": "public_list" + "list_name": "public" } }, + "show": { + "type": "show" + }, "count": { "type": "count", "args": { - "list_name": "public_list" + "list_name": "public" } } } @@ -649,112 +783,112 @@ "type": "list", "args": { "item_name": "scroll", - "list_name": "private_list" + "list_name": "private" } }, "scroll_panels": { "type": "list", "args": { "item_name": "scroll_panel", - "list_name": "private_list" + "list_name": "private" } }, "comics": { "type": "list", "args": { "item_name": "comic", - "list_name": "private_list" + "list_name": "private" } }, "stories": { "type": "list", "args": { "item_name": "story", - "list_name": "private_list" + "list_name": "private" } }, "story_sheets": { "type": "list", "args": { "item_name": "story_sheet", - "list_name": "private_list" + "list_name": "private" } }, "sheets": { "type": "list", "args": { "item_name": "sheet", - "list_name": "private_list" + "list_name": "private" } }, "sheet_panels": { "type": "list", "args": { "item_name": "sheet_panel", - "list_name": "private_list" + "list_name": "private" } }, "panels": { "type": "list", "args": { "item_name": "panel", - "list_name": "private_list" + "list_name": "private" } }, "panel_pictures": { "type": "list", "args": { "item_name": "panel_picture", - "list_name": "private_list" + "list_name": "private" } }, "speech_balloons": { "type": "list", "args": { "item_name": "speech_balloon", - "list_name": "private_list" + "list_name": "private" } }, "speeches": { "type": "list", "args": { "item_name": "speech", - "list_name": "private_list" + "list_name": "private" } }, "balloons": { "type": "list", "args": { "item_name": "balloon", - "list_name": "private_list" + "list_name": "private" } }, "ground_pictures": { "type": "list", "args": { "item_name": "ground_picture", - "list_name": "private_list" + "list_name": "private" } }, "ground_colors": { "type": "list", "args": { "item_name": "ground_color", - "list_name": "private_list" + "list_name": "private" } }, "original_pictures": { "type": "list", "args": { "item_name": "original_picture", - "list_name": "private_list" + "list_name": "private" } }, "resource_pictures": { "type": "list", "args": { "item_name": "resource_picture", - "list_name": "private_list" + "list_name": "private" } } } @@ -762,34 +896,18 @@ }, "models": { "scroll": { - "class_name": "Scroll", - "table_name": "scrolls", "associations": { "belongs_to": { - "author": { - "id_column": "author_id" - } + "author": {} }, "has_many": { - "scroll_panels": { - "foreign_key": "scroll_id", - "model_name": "scroll_panel" - }, + "scroll_panels": {}, "panels": { - "through": "scroll_panel", - "foreign_key": "scroll_id", - "model_name": "panel" + "through": "scroll_panel" } } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "title": { "type": "text", "rules": { @@ -819,58 +937,44 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, "lists": { - "public_list": { + "public": { "type": "public" }, - "private_list": { + "private": { "type": "private" }, "by_author": { "type": "filter", - "args": { - "filter_item_name": "author", - "filter_key": "author_id" - } + "args": {} }, "by_panel": { - "type": "through_filter" + "type": "through_filter", + "args": { + "through": "scroll_panels" + } }, "play": { - "type": "play" + "type": "play", + "args": { + "filter_item_name": "scroll", + "filter_model_name": "scroll_panel", + "filter_key": "scroll_id" + } } } }, "scroll_panel": { - "class_name": "ScrollPanel", - "table_name": "scroll_panels", "associations": { "belongs_to": { - "panel": { - "id_column": "panel_id" - }, - "scroll": { - "id_column": "scroll_id" - } + "panel": {}, + "scroll": {} }, "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "scroll_id": { "type": "number", "rules": { @@ -899,19 +1003,16 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, + "tree": { + "owner": "scroll" + }, "lists": { - "public_list": { + "public": { "type": "public" }, - "private_list": { + "private": { "type": "private" }, "by_scroll": { @@ -923,30 +1024,15 @@ } }, "comic": { - "class_name": "Comic", - "table_name": "comics", "associations": { "belongs_to": { - "author": { - "id_column": "author_id" - } + "author": {} }, "has_many": { - "stories": { - "foreign_key": "comic_id", - "model_name": "story" - } - }, - "has_many_through": {} + "stories": {} + } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "title": { "type": "text", "rules": { @@ -976,19 +1062,13 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, "lists": { - "public_list": { + "public": { "type": "public" }, - "private_list": { + "private": { "type": "private" }, "by_author": { @@ -997,34 +1077,18 @@ } }, "story": { - "class_name": "Story", - "table_name": "stories", "associations": { "belongs_to": { - "comic": { - "id_column": "comic_id" - } + "comic": {} }, "has_many": { - "story_sheets": { - "foreign_key": "story_id", - "model_name": "story_sheet" - }, + "story_sheets": {}, "sheets": { - "through": "story_sheets", - "foreign_key": "story_id", - "model_name": "sheet" + "through": "story_sheets" } } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "comic_id": { "type": "number", "rules": { @@ -1059,29 +1123,29 @@ "select_item_name": "story_visible_items" } } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, + "tree": { + "owner": "comic" + }, "lists": { - "public_list": { + "public": { "type": "public" }, - "private_list": { + "private": { "type": "private" }, "by_comic": { "type": "filter" }, "by_sheet": { - "type": "through_filter" + "type": "through_filter", + "args": { + "through": "story_sheets" + } }, "by_author": { - "type": "element_filter" + "type": "foreign_filter" }, "play": { "type": "play" @@ -1089,27 +1153,14 @@ } }, "story_sheet": { - "class_name": "StorySheet", - "table_name": "story_sheets", "associations": { "belongs_to": { - "story": { - "id_column": "story_id" - }, - "sheet": { - "id_column": "sheet_id" - } + "story": {}, + "sheet": {} }, "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "story_id": { "type": "number", "rules": { @@ -1136,19 +1187,16 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, + "tree": { + "owner": "story" + }, "lists": { - "public_list": { + "public": { "type": "public" }, - "private_list": { + "private": { "type": "private" }, "by_story": { @@ -1160,43 +1208,22 @@ } }, "sheet": { - "class_name": "Sheet", - "table_name": "sheets", "associations": { "belongs_to": { - "author": { - "id_column": "author_id" - } + "author": {} }, "has_many": { - "story_sheets": { - "foreign_key": "story_id", - "model_name": "story_sheet" - }, + "story_sheets": {}, "stories": { - "through": "story_sheets", - "foreign_key": "sheet_id", - "model_name": "story" - }, - "sheet_panels": { - "foreign_key": "sheet_id", - "model_name": "sheet_panel" + "through": "story_sheets" }, + "sheet_panels": {}, "panels": { - "through": "sheet_panels", - "foreign_key": "sheet_id", - "model_name": "panel" + "through": "sheet_panels" } } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "caption": { "type": "text", "rules": {} @@ -1234,26 +1261,26 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, "lists": { - "public_list": { + "public": { "type": "public" }, - "private_list": { + "private": { "type": "private" }, "by_story": { - "type": "through_filter" + "type": "through_filter", + "args": { + "through": "story_sheets" + } }, "by_panel": { - "type": "through_filter" + "type": "through_filter", + "args": { + "through": "sheet_panels" + } }, "by_author": { "type": "filter" @@ -1264,27 +1291,14 @@ } }, "sheet_panel": { - "class_name": "SheetPanel", - "table_name": "sheet_panels", "associations": { "belongs_to": { - "sheet": { - "id_column": "sheet_id" - }, - "panel": { - "id_column": "panel_id" - } + "sheet": {}, + "panel": {} }, "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "sheet_id": { "type": "number", "rules": { @@ -1332,19 +1346,16 @@ "rules": { "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, + "tree": { + "owner": "sheet" + }, "lists": { - "public_list": { + "public": { "type": "public" }, - "private_list": { + "private": { "type": "private" }, "by_sheet": { @@ -1356,59 +1367,32 @@ } }, "panel": { - "class_name": "Panel", - "table_name": "panels", + "peta": { + "type": "root", + "args": { + "element_tree_name": "panel" + } + }, "associations": { "belongs_to": { - "author": { - "id_column": "author_id" - } + "author": {} }, "has_many": { - "scroll_panels": { - "foreign_key": "panel_id", - "model_name": "scroll_panel" - }, + "scroll_panels": {}, "scrolls": { - "through": "scroll_panels", - "foreign_key": "panel_id", - "model_name": "scroll" - }, - "sheet_panels": { - "foreign_key": "panel_id", - "model_name": "sheet_panel" + "through": "scroll_panels" }, + "sheet_panels": {}, "sheets": { - "through": "sheet_panels", - "foreign_key": "panel_id", - "model_name": "sheet" - }, - "panel_pictures": { - "foreign_key": "panel_id", - "model_name": "panel_picture" - }, - "speech_balloons": { - "foreign_key": "panel_id", - "model_name": "speech_balloon" + "through": "sheet_panels" }, - "ground_pictures": { - "foreign_key": "panel_id", - "model_name": "ground_picture" - }, - "ground_colors": { - "foreign_key": "panel_id", - "model_name": "ground_color" - } + "panel_pictures": {}, + "speech_balloons": {}, + "ground_pictures": {}, + "ground_colors": {} } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "width": { "type": "number", "rules": { @@ -1456,26 +1440,26 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, "lists": { - "public_list": { + "public": { "type": "public" }, - "private_list": { + "private": { "type": "private" }, "by_scroll": { - "type": "through_filter" + "type": "through_filter", + "args": { + "through": "scroll_panels" + } }, "by_sheet": { - "type": "through_filter" + "type": "through_filter", + "args": { + "through": "sheet_panels" + } }, "by_author": { "type": "filter" @@ -1486,24 +1470,13 @@ } }, "panel_picture": { - "class_name": "PanelPicture", - "table_name": "panel_pictures", "associations": { "belongs_to": { - "panel": { - "id_column": "panel_id" - } + "panel": {} }, "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "panel_id": { "type": "number", "rules": { @@ -1570,59 +1543,40 @@ "number": true, "min": 0 } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, + "tree": { + "owner": "panel", + "panel": "panel" + }, "lists": { - "public_list": { + "public": { "type": "public" }, - "private_list": { + "private": { "type": "private" }, "by_panel": { "type": "filter" }, "by_author": { - "type": "element_filter" + "type": "foreign_filter" } } }, "speech_balloon": { - "class_name": "SpeechBalloon", - "table_name": "speech_balloons", - "extend": "classname", + "extend_column_name": "classname", "associations": { "belongs_to": { - "panel": { - "id_column": "panel_id" - } + "panel": {} }, "has_many": {}, "has_one": { - "balloon": { - "foreign_key": "speech_balloon_id", - "model_name": "balloon" - }, - "speech": { - "foreign_key": "speech_balloon_id", - "model_name": "speech" - } + "balloon": {}, + "speech": {} } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "panel_id": { "type": "number", "rules": { @@ -1665,19 +1619,17 @@ "caption": { "type": "text", "rules": {} - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, + "tree": { + "owner": "panel", + "panel": "panel" + }, "lists": { - "public_list": { + "public": { "type": "public" }, - "private_list": { + "private": { "type": "private" }, "by_panel": { @@ -1687,32 +1639,19 @@ "type": "filter" }, "by_author": { - "type": "element_filter" + "type": "foreign_filter" } } }, "balloon": { - "class_name": "Balloon", - "table_name": "balloons", "associations": { "belongs_to": { - "speech_balloon": { - "id_column": "speech_balloon_id" - }, - "system_picture": { - "id_column": "system_picture_id" - } + "speech_balloon": {}, + "system_picture": {} }, "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "speech_balloon_id": { "type": "number", "rules": { @@ -1766,19 +1705,17 @@ "settings": { "type": "text", "rules": {} - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, + "tree": { + "owner": "speech_balloon", + "panel": "speech_balloon" + }, "lists": { - "public_list": { + "public": { "type": "public" }, - "private_list": { + "private": { "type": "private" }, "by_panel": { @@ -1788,39 +1725,26 @@ "type": "filter" }, "by_author": { - "type": "element_filter" + "type": "foreign_filter" } } }, "speech": { - "class_name": "Speech", - "table_name": "speeches", "associations": { "belongs_to": { - "speech_balloon": { - "id_column": "speech_balloon_id" - }, - "writing_format": { - "id_column": "writing_format_id" - } + "speech_balloon": {}, + "writing_format": {} }, "has_many": {} }, "attributes": { - "id": { + "speech_balloon_id": { "type": "number", - "primary_key": 1, "rules": { "number": true } }, - "speech_balloon_id": { - "type": "number", - "rules": { - "number": true - } - }, - "writing_format_id": { + "writing_format_id": { "type": "number", "source": { "type": "model" @@ -1913,16 +1837,14 @@ "settings": { "type": "text", "rules": {} - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, + "tree": { + "owner": "speech_balloon", + "panel": "speech_balloon" + }, "lists": { - "public_list": { + "public": { "type": "public" }, "by_speech_balloon": { @@ -1934,24 +1856,13 @@ } }, "ground_picture": { - "class_name": "GroundPicture", - "table_name": "ground_pictures", "associations": { "belongs_to": { - "panel": { - "id_column": "panel_id" - } + "panel": {} }, "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "panel_id": { "type": "number", "rules": { @@ -2015,48 +1926,35 @@ "number": true, "min": 0 } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, + "tree": { + "owner": "panel", + "panel": "panel" + }, "lists": { - "public_list": { + "public": { "type": "public" }, - "private_list": { + "private": { "type": "private" }, "by_panel": { "type": "filter" }, "by_author": { - "type": "element_filter" + "type": "foreign_filter" } } }, "ground_color": { - "class_name": "GroundColor", - "table_name": "ground_colors", "associations": { "belongs_to": { - "panel": { - "id_column": "panel_id" - } + "panel": {} }, "has_many": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "panel_id": { "type": "number", "rules": { @@ -2122,59 +2020,40 @@ "number": true, "min": 0 } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, + "tree": { + "owner": "panel", + "panel": "panel" + }, "lists": { - "public_list": { + "public": { "type": "public" }, - "private_list": { + "private": { "type": "private" }, "by_panel": { "type": "filter" }, "by_author": { - "type": "element_filter" + "type": "foreign_filter" } } }, "original_picture": { - "class_name": "OriginalPicture", - "table_name": "original_pictures", "associations": { "belongs_to": { - "artist": { - "id_column": "artist_id" - } + "artist": {} }, "has_many": { - "pictures": { - "foreign_key": "original_picture_id", - "model_name": "picture" - } + "pictures": {} }, "has_one": { - "resource_picture": { - "foreign_key": "original_picture_id", - "model_name": "resource_picture" - } + "resource_picture": {} } }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "ext": { "type": "text", "rules": { @@ -2223,43 +2102,24 @@ }, "stopped_at": { "type": "datetime" - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, "lists": { - "private_list": { + "private": { "type": "private" } } }, "picture": { - "class_name": "Picture", - "table_name": "pictures", "associations": { "belongs_to": { - "license": { - "id_column": "license_id" - }, - "artist": { - "id_column": "artist_id" - } + "license": {}, + "artist": {} }, "has_many": {}, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "original_picture_id": { "type": "number", "rules": { @@ -2340,41 +2200,20 @@ "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } } }, "resource_picture": { - "class_name": "ResourcePicture", - "table_name": "resource_pictures", "associations": { "belongs_to": { - "original_picture": { - "id_column": "original_picture_id" - }, - "license": { - "id_column": "license_id" - }, - "artist": { - "id_column": "artist_id" - } + "original_picture": {}, + "license": {}, + "artist": {} }, "has_many": {}, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "original_picture_id": { "type": "number", "rules": { @@ -2462,21 +2301,18 @@ "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, "lists": { - "public_list": { + "public": { "type": "public" }, - "private_list": { + "private": { "type": "private" }, + "by_original_picture": { + "type": "filter" + }, "by_license": { "type": "filter" }, @@ -2486,35 +2322,20 @@ } }, "speech_balloon_template": { - "class_name": "SpeechBalloonTemplate", - "table_name": "speech_balloon_templates", + "extend_column_name": "classname", "associations": { "belongs_to": { - "system_picture": { - "id_column": "system_picture_id" - } + "system_picture": {} }, "has_many": { - "speech_balloons": { - "foreign_key": "speech_balloon_template_id", - "model_name": "speech_balloon" - }, + "speech_balloons": {}, "panels": { - "through": "speech_balloons", - "foreign_key": "speech_balloon_template_id", - "model_name": "panel" + "through": "speech_balloons" } }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { @@ -2553,16 +2374,10 @@ "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, "lists": { - "public_list": { + "public": { "type": "public" }, "select_items": { @@ -2574,30 +2389,17 @@ } }, "writing_format": { - "class_name": "WritingFormat", - "table_name": "writing_formats", + "extend_column_name": "classname", "associations": { "belongs_to": { - "system_picture": { - "id_column": "system_picture_id" - } + "system_picture": {} }, "has_many": { - "speeches": { - "foreign_key": "writing_format_id", - "model_name": "speech" - } + "speeches": {} }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { @@ -2628,16 +2430,10 @@ "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, "lists": { - "public_list": { + "public": { "type": "public" }, "select_items": { @@ -2649,26 +2445,15 @@ } }, "license_group": { - "class_name": "LicenseGroup", - "table_name": "license_groups", + "extend_column_name": "classname", "associations": { "belongs_to": {}, "has_many": { - "licenses": { - "foreign_key": "license_group_id", - "model_name": "license" - } + "licenses": {} }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { @@ -2692,16 +2477,10 @@ "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, "lists": { - "public_list": { + "public": { "type": "public" }, "select_items": { @@ -2710,33 +2489,17 @@ } }, "license": { - "class_name": "License", - "table_name": "licenses", "associations": { "belongs_to": { - "license_group": { - "id_column": "license_group_id" - }, - "system_picture": { - "id_column": "system_picture_id" - } + "license_group": {}, + "system_picture": {} }, "has_many": { - "resource_pictures": { - "foreign_key": "license_id", - "model_name": "resource_picture" - } + "resource_pictures": {} }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "license_group_id": { "type": "number", "rules": { @@ -2775,16 +2538,10 @@ "credit_pictures": { "type": "text", "rules": {} - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, "lists": { - "public_list": { + "public": { "type": "public" }, "by_license_group": { @@ -2796,42 +2553,18 @@ } }, "author": { - "class_name": "Author", - "table_name": "authors", "associations": { "belongs_to": {}, "has_many": { - "scrolls": { - "foreign_key": "author_id", - "model_name": "scroll" - }, - "comics": { - "foreign_key": "author_id", - "model_name": "comic" - }, - "stories": { - "foreign_key": "author_id", - "model_name": "story" - }, - "sheets": { - "foreign_key": "author_id", - "model_name": "sheet" - }, - "panels": { - "foreign_key": "author_id", - "model_name": "panel" - } + "scrolls": {}, + "comics": {}, + "stories": {}, + "sheets": {}, + "panels": {} }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { @@ -2844,41 +2577,23 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, "lists": { - "public_list": { + "public": { "type": "public" } } }, "artist": { - "class_name": "Artist", - "table_name": "artists", "associations": { "belongs_to": {}, "has_many": { - "resource_pictures": { - "foreign_key": "artist_id", - "model_name": "resource_picture" - } + "resource_pictures": {} }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "name": { "type": "text", "rules": { @@ -2891,49 +2606,25 @@ "required": true, "number": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, "lists": { - "public_list": { + "public": { "type": "public" } } }, "system_picture": { - "class_name": "SystemPicture", - "table_name": "system_pictures", "associations": { "belongs_to": {}, "has_many": { - "balloons": { - "foreign_key": "system_picture_id", - "model_name": "balloon" - }, - "balloon_templates": { - "foreign_key": "system_picture_id", - "model_name": "balloon_template" - }, - "licenses": { - "foreign_key": "system_picture_id", - "model_name": "license" - } + "balloons": {}, + "speech_balloon_templates": {}, + "licenses": {} }, "has_one": {} }, "attributes": { - "id": { - "type": "number", - "primary_key": 1, - "rules": { - "number": true - } - }, "ext": { "type": "text", "rules": { @@ -2966,16 +2657,10 @@ "rules": { "required": true } - }, - "created_at": { - "type": "datetime" - }, - "updated_at": { - "type": "datetime" } }, "lists": { - "public_list": { + "public": { "type": "public" } } @@ -3000,6 +2685,13 @@ "SquareSpeechBalloon": "square_speech_balloon" } }, + "speech_balloons": { + "resource_items": { + "CircleSpeechBalloon": "circle_speech_balloon", + "PlainSpeechBalloon": "plain_speech_balloon", + "SquareSpeechBalloon": "square_speech_balloon" + } + }, "writing_formats": { "has_route": 0, "resource_items": { @@ -3206,24 +2898,11 @@ "locals": { "profilers": { "scroll": { - "lists": { - "scroll_panels.by_scroll": { - "model_name": "scroll_panel", - "list_name": "by_scroll" - }, - "panels.by_scroll": { - "model_name": "panel", - "list_name": "by_scroll" - } - }, - "columns": [ - "id", + "column_names": [ "title", "description", "visible", - "author_id", - "created_at", - "updated_at" + "author_id" ], "associations": { "belongs_to": [ @@ -3236,39 +2915,25 @@ } }, "scroll_panel": { - "lists": {}, - "columns": [ - "id", + "column_names": [ "scroll_id", "panel_id", "t", - "author_id", - "created_at", - "updated_at" + "author_id" ], "associations": { "belongs_to": [ "scroll", "panel" - ], - "has_many": [] + ] } }, "comic": { - "lists": { - "stories.by_comic": { - "model_name": "story", - "list_name": "by_comic" - } - }, - "columns": [ - "id", + "column_names": [ "title", "description", "visible", - "author_id", - "created_at", - "updated_at" + "author_id" ], "associations": { "belongs_to": [ @@ -3280,25 +2945,12 @@ } }, "story": { - "lists": { - "story_sheets.by_story": { - "model_name": "story_sheet", - "list_name": "by_story" - }, - "sheets.by_story": { - "model_name": "sheet", - "list_name": "by_story" - } - }, - "columns": [ - "id", + "column_names": [ "comic_id", "title", "description", "t", - "visible", - "created_at", - "updated_at" + "visible" ], "associations": { "belongs_to": [ @@ -3311,52 +2963,26 @@ } }, "story_sheet": { - "lists": {}, - "columns": [ - "id", + "column_names": [ "story_id", "sheet_id", "t", - "author_id", - "created_at", - "updated_at" + "author_id" ], "associations": { "belongs_to": [ "story", "sheet" - ], - "has_many": [] + ] } }, "sheet": { - "lists": { - "story_sheets.by_sheet": { - "model_name": "story_sheet", - "list_name": "by_sheet" - }, - "stories.by_sheet": { - "model_name": "story", - "list_name": "by_sheet" - }, - "sheet_panels.by_sheet": { - "model_name": "sheet_panel", - "list_name": "by_sheet" - }, - "panels.by_sheet": { - "model_name": "panel", - "list_name": "by_sheet" - } - }, - "columns": [ - "id", + "column_names": [ "caption", "width", "height", "visible", - "author_id", - "created_at", - "updated_at" + "author_id" ], "associations": { "belongs_to": [ @@ -3371,72 +2997,30 @@ } }, "sheet_panel": { - "lists": {}, - "columns": [ - "id", + "column_names": [ "sheet_id", "panel_id", "x", "y", "z", "t", - "author_id", - "created_at", - "updated_at" + "author_id" ], "associations": { "belongs_to": [ "sheet", "panel" - ], - "has_many": [] + ] } }, "panel": { - "lists": { - "scroll_panels.by_panel": { - "model_name": "scroll_panel", - "list_name": "by_panel" - }, - "scrolls.by_panel": { - "model_name": "scroll", - "list_name": "by_panel" - }, - "sheet_panels.by_panel": { - "model_name": "sheet_panel", - "list_name": "by_panel" - }, - "sheets.by_panel": { - "model_name": "sheet", - "list_name": "by_panel" - }, - "panel_pictures.by_panel": { - "model_name": "panel_picture", - "list_name": "by_panel" - }, - "speech_balloons.by_panel": { - "model_name": "speech_balloon", - "list_name": "by_panel" - }, - "ground_pictures.by_panel": { - "model_name": "ground_picture", - "list_name": "by_panel" - }, - "ground_colors.by_panel": { - "model_name": "ground_color", - "list_name": "by_panel" - } - }, - "columns": [ - "id", + "column_names": [ "width", "height", "border", "caption", "publish", - "author_id", - "created_at", - "updated_at" + "author_id" ], "associations": { "belongs_to": [ @@ -3455,9 +3039,7 @@ } }, "panel_picture": { - "lists": {}, - "columns": [ - "id", + "column_names": [ "panel_id", "picture_id", "caption", @@ -3467,45 +3049,28 @@ "height", "link", "z", - "t", - "created_at", - "updated_at" + "t" ], "associations": { "belongs_to": [ "panel" - ], - "has_many": [] + ] } }, "speech_balloon": { - "lists": { - "balloon.by_speech_balloon": { - "model_name": "balloon", - "list_name": "by_speech_balloon" - }, - "speech.by_speech_balloon": { - "model_name": "speech", - "list_name": "by_speech_balloon" - } - }, - "columns": [ - "id", + "column_names": [ "panel_id", "speech_balloon_template_id", "classname", "z", "t", "settings", - "caption", - "created_at", - "updated_at" + "caption" ], "associations": { "belongs_to": [ "panel" ], - "has_many": [], "has_one": [ "balloon.by_speech_balloon", "speech.by_speech_balloon" @@ -3513,9 +3078,7 @@ } }, "speech": { - "lists": {}, - "columns": [ - "id", + "column_names": [ "speech_balloon_id", "writing_format_id", "content", @@ -3527,22 +3090,17 @@ "width", "height", "quotes", - "settings", - "created_at", - "updated_at" + "settings" ], "associations": { "belongs_to": [ "speech_balloon", "writing_format" - ], - "has_many": [] + ] } }, "balloon": { - "lists": {}, - "columns": [ - "id", + "column_names": [ "speech_balloon_id", "system_picture_id", "x", @@ -3550,22 +3108,17 @@ "width", "height", "r", - "settings", - "created_at", - "updated_at" + "settings" ], "associations": { "belongs_to": [ "speech_balloon", "system_picture" - ], - "has_many": [] + ] } }, "ground_picture": { - "lists": {}, - "columns": [ - "id", + "column_names": [ "panel_id", "picture_id", "caption", @@ -3573,21 +3126,16 @@ "x", "y", "z", - "t", - "created_at", - "updated_at" + "t" ], "associations": { "belongs_to": [ "panel" - ], - "has_many": [] + ] } }, "ground_color": { - "lists": {}, - "columns": [ - "id", + "column_names": [ "panel_id", "caption", "code", @@ -3595,21 +3143,16 @@ "xy", "wh", "z", - "t", - "created_at", - "updated_at" + "t" ], "associations": { "belongs_to": [ "panel" - ], - "has_many": [] + ] } }, "original_picture": { - "lists": {}, - "columns": [ - "id", + "column_names": [ "ext", "width", "height", @@ -3618,24 +3161,19 @@ "md5", "uploaded_at", "published_at", - "stopped_at", - "created_at", - "updated_at" + "stopped_at" ], "associations": { "belongs_to": [ "artist" ], - "has_many": [], "has_one": [ - "resource_picture" + "resource_picture.by_original_picture" ] } }, "picture": { - "lists": {}, - "columns": [ - "id", + "column_names": [ "original_picture_id", "revision", "ext", @@ -3648,23 +3186,17 @@ "artist_name", "credit", "settings", - "classname", - "created_at", - "updated_at" + "classname" ], "associations": { "belongs_to": [ "license", "artist" - ], - "has_many": [], - "has_one": [] + ] } }, "resource_picture": { - "lists": {}, - "columns": [ - "id", + "column_names": [ "original_picture_id", "revision", "ext", @@ -3678,57 +3210,38 @@ "credit", "settings", "picture_id", - "classname", - "created_at", - "updated_at" + "classname" ], "associations": { "belongs_to": [ "original_picture", "license", "artist" - ], - "has_many": [], - "has_one": [] + ] } }, "speech_balloon_template": { - "lists": {}, - "columns": [ - "id", + "column_names": [ "name", "classname", "caption", "t", "system_picture_id", - "settings", - "created_at", - "updated_at" + "settings" ], "associations": { "belongs_to": [ "system_picture" - ], - "has_many": [], - "has_one": [] + ] } }, "writing_format": { - "lists": { - "speeches.by_writing_format": { - "model_name": "speech", - "list_name": "by_writing_format" - } - }, - "columns": [ - "id", + "column_names": [ "name", "classname", "caption", "system_picture_id", - "settings", - "created_at", - "updated_at" + "settings" ], "associations": { "belongs_to": [ @@ -3736,52 +3249,31 @@ ], "has_many": [ "speeches.by_writing_format" - ], - "has_one": [] + ] } }, "license_group": { - "lists": { - "licenses.by_license_group": { - "model_name": "license", - "list_name": "by_license_group" - } - }, - "columns": [ - "id", + "column_names": [ "name", "classname", "caption", - "url", - "created_at", - "updated_at" + "url" ], "associations": { - "belongs_to": [], "has_many": [ "licenses.by_license_group" - ], - "has_one": [] + ] } }, "license": { - "lists": { - "resource_pictures.by_license": { - "model_name": "resource_picture", - "list_name": "by_license" - } - }, - "columns": [ - "id", + "column_names": [ "license_group_id", "name", "caption", "system_picture_id", "url", "settings", - "credit_pictures", - "created_at", - "updated_at" + "credit_pictures" ], "associations": { "belongs_to": [ @@ -3790,54 +3282,15 @@ ], "has_many": [ "resource_pictures.by_license" - ], - "has_one": [] + ] } }, "author": { - "lists": { - "scrolls.by_author": { - "model_name": "scroll", - "list_name": "by_author" - }, - "comics.by_author": { - "model_name": "comic", - "list_name": "by_author" - }, - "stories.by_author": { - "model_name": "story", - "list_name": "by_author" - }, - "panels.by_author": { - "model_name": "panel", - "list_name": "by_author" - }, - "panel_pictures.by_author": { - "model_name": "panel_picture", - "list_name": "by_author" - }, - "speech_balloons.by_author": { - "model_name": "speech_balloon", - "list_name": "by_author" - }, - "ground_pictures.by_author": { - "model_name": "ground_picture", - "list_name": "by_author" - }, - "ground_colors.by_author": { - "model_name": "ground_color", - "list_name": "by_author" - } - }, - "columns": [ - "id", + "column_names": [ "name", - "user_id", - "created_at", - "updated_at" + "user_id" ], "associations": { - "belongs_to": [], "has_many": [ "scrolls.by_author", "comics.by_author", @@ -3848,60 +3301,32 @@ "speech_balloons.by_author", "ground_pictures.by_author", "ground_colors.by_author" - ], - "has_one": [] + ] } }, "artist": { - "lists": { - "resource_pictures.by_artist": { - "model_name": "resource_picture", - "list_name": "by_artist" - } - }, - "columns": [ - "id", + "column_names": [ "name", - "author_id", - "created_at", - "updated_at" + "author_id" ], "associations": { - "belongs_to": [], "has_many": [ "resource_pictures.by_artist" - ], - "has_one": [] + ] } }, "system_picture": { - "lists": { - "speech_balloon_templates.by_system_picture": { - "model_name": "speech_balloon_template", - "list_name": "by_system_picture" - }, - "licenses.by_system_picture": { - "model_name": "license", - "list_name": "by_system_picture" - } - }, - "columns": [ - "id", + "column_names": [ "ext", "width", "height", "filesize", - "md5", - "created_at", - "updated_at" + "md5" ], "associations": { - "belongs_to": [], "has_many": [ - "speech_balloon_templates.by_system_picture", "licenses.by_system_picture" - ], - "has_one": [] + ] } } }, @@ -4387,424 +3812,635 @@ } } }, - "lists": { + "list_groups": { "scroll": { - "public_list": {}, - "private_list": {}, - "by_author": { - "where": "author", - "includes": "author_id" - }, - "by_panel": { - "type": "through_filter", - "args": { - "from": "panel", - "through": "scroll_panels", - "filter_key": "panel_id" - } - }, - "play": { - "type": "play", - "args": { - "model": "scroll_panel", - "filter_key": "scroll_id" - } + "lists": { + "public": {}, + "private": {}, + "by_author": {}, + "by_panel": {}, + "play": {} } }, "scroll_panel": { - "public_list": {}, - "private_list": {}, - "by_scroll": { - "type": "filter", - "args": { - "from": "scroll", - "filter_key": "scroll_id" - } - }, - "by_panel": { - "type": "filter", - "args": { - "from": "panel", - "filter_key": "panel_id" - } + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_scroll": {}, + "by_panel": {} } }, "comic": { - "public_list": {}, - "private_list": {}, - "by_author": { - "type": "filter", - "args": { - "from": "author", - "filter_key": "author_id" - } + "lists": { + "public": {}, + "private": {}, + "by_author": {} } }, "story": { - "public_list": {}, - "private_list": {}, - "by_comic": { - "type": "filter", - "args": { - "from": "comic", - "filter_key": "comic_id" - } - }, - "by_sheet": { - "type": "through_filter", - "args": { - "from": "sheet", - "through": "story_sheets", - "filter_key": "sheet_id" - } - }, - "by_author": { - "type": "element_filter", - "args": { - "from": "author", - "filter_key": "author_id" - } - }, - "play": { - "type": "play", - "args": { - "model": "story_sheet", - "filter_key": "story_id" - } + "lists": { + "public": {}, + "private": {}, + "by_comic": {}, + "by_sheet": {}, + "by_author": {}, + "play": {} } }, "story_sheet": { - "public_list": { - "type": "public" - }, - "private_list": { - "type": "private" - }, - "by_story": { - "type": "filter", - "args": { - "from": "story", - "filter_key": "story_id" - } - }, - "by_sheet": { - "type": "filter", - "args": { - "from": "sheet", - "filter_key": "sheet_id" - } + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_story": {}, + "by_sheet": {} } }, "sheet": { - "public_list": {}, - "private_list": {}, - "by_story": { - "type": "through_filter", - "args": { - "from": "story", - "through": "story_sheets", - "filter_key": "story_id" - } - }, - "by_panel": { - "type": "through_filter", - "args": { - "from": "panel", - "through": "sheet_panels", - "filter_key": "panel_id" - } - }, - "by_author": { - "type": "filter", - "args": { - "from": "author", - "filter_key": "author_id" - } - }, - "play": { - "type": "play", - "args": { - "model": "sheet_panel", - "filter_key": "sheet_id" - } + "lists": { + "public": {}, + "private": {}, + "by_story": {}, + "by_panel": {}, + "by_author": {}, + "play": {} } }, "sheet_panel": { - "public_list": {}, - "private_list": {}, - "by_sheet": { - "type": "filter", - "args": { - "association_name": "sheet_panels", - "from": "sheet", - "filter_key": "sheet_id" - } - }, - "by_panel": { - "type": "filter", - "args": { - "from": "panel", - "filter_key": "panel_id" - } + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_sheet": {}, + "by_panel": {} } }, "panel": { - "public_list": {}, - "private_list": {}, - "by_scroll": { - "type": "through_filter", - "args": { - "from": "scroll", - "through": "scroll_panels", - "filter_key": "scroll_id" - } - }, - "by_sheet": { - "type": "through_filter", - "args": { - "from": "sheet", - "through": "sheet_panels", - "filter_key": "sheet_id" - } - }, - "by_author": { - "type": "filter", - "args": { - "from": "author", - "filter_key": "author_id" - } - }, - "by_speech_balloon_template": { - "type": "through_filter", - "args": { - "from": "speech_balloon_template", - "through": "speech_balloons", - "filter_key": "speech_balloon_template_id" - } + "lists": { + "public": {}, + "private": {}, + "by_scroll": {}, + "by_sheet": {}, + "by_author": {}, + "by_speech_balloon_template": {} } }, "panel_picture": { - "public_list": {}, - "private_list": {}, - "by_panel": { - "type": "filter", - "args": { - "from": "panel", - "filter_key": "panel_id" - } - }, - "by_author": { - "where": "by_author_where", - "includes": "by_author_includes" + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_panel": {}, + "by_author": {} } }, "speech_balloon": { - "public_list": {}, - "private_list": {}, - "by_panel": { - "type": "filter", - "args": { - "from": "panel", - "filter_key": "panel_id" - } - }, - "by_speech_balloon_template": { - "type": "filter", - "args": { - "from": "speech_balloon_template", - "filter_key": "speech_balloon_template_id" - } - }, - "by_author": { - "type": "element_filter", - "args": { - "from": "author", - "filter_key": "author_id" - } + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_panel": {}, + "by_speech_balloon_template": {}, + "by_author": {} } }, "speech": { - "public_list": {}, - "by_speech_balloon": { - "type": "filter", - "args": { - "from": "speech_balloon", - "includes": { - "speech_balloon": { - "panel": {} + "tree_name": "owner", + "lists": { + "public": {}, + "by_speech_balloon": {}, + "by_writing_format": {} + } + }, + "balloon": { + "tree_name": "owner", + "lists": { + "public": {}, + "by_speech_balloon": {} + } + }, + "ground_picture": { + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_panel": {}, + "by_author": {} + } + }, + "ground_color": { + "tree_name": "owner", + "lists": { + "public": {}, + "private": {}, + "by_panel": {}, + "by_author": {} + } + }, + "original_picture": { + "lists": { + "private": {} + } + }, + "picture": {}, + "resource_picture": { + "lists": { + "public": {}, + "private": {}, + "by_original_picture": {}, + "by_license": {}, + "by_artist": {} + } + }, + "speech_balloon_template": { + "lists": { + "public": {}, + "select_items": {} + } + }, + "writing_format": { + "lists": { + "public": {}, + "select_items": {}, + "by_system_picture": {} + } + }, + "license_group": { + "lists": { + "public": {}, + "select_items": {} + } + }, + "license": { + "lists": { + "public": {}, + "by_license_group": {}, + "by_system_picture": {} + } + }, + "author": { + "lists": { + "public": {} + } + }, + "artist": { + "lists": { + "public": {} + } + }, + "system_picture": { + "lists": { + "public": {} + } + } + }, + "forms": { + "base": { + "scroll": { + "fields": { + "title": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text" + }, + "row_break": true + } + }, + "description": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text_area" + } + } + }, + "visible": { + "args": { + "tag": { + "type": "select" + }, + "row_break": true + } + }, + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + }, + "author_id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + } + }, + "field_names": [ + "title", + "description", + "visible", + "id", + "author_id" + ] + }, + "scroll_panel": { + "fields": { + "scroll_id": { + "args": { + "tag": { + "type": "number" + } + } + }, + "panel_id": { + "args": { + "tag": { + "type": "number" + } + } + }, + "t": { + "args": { + "tag": { + "type": "number" + } + } + }, + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + } + }, + "field_names": [ + "scroll_id", + "panel_id", + "t", + "id" + ] + }, + "comic": { + "fields": { + "title": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text" + }, + "row_break": true + } + }, + "description": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text_area" + } + } + }, + "visible": { + "args": { + "tag": { + "type": "select" + }, + "row_break": true + } + }, + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + }, + "author_id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + } + }, + "field_names": [ + "title", + "description", + "visible", + "id", + "author_id" + ] + }, + "story": { + "fields": { + "comic_id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + }, + "title": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text" + }, + "row_break": true + } + }, + "description": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text_area" + }, + "row_break": true + } + }, + "visible": { + "args": { + "tag": { + "type": "select" + }, + "row_break": true + } + }, + "t": { + "args": { + "tag": { + "type": "number" + } + } + }, + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + }, + "author_id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + } + }, + "field_names": [ + "comic_id", + "title", + "description", + "visible", + "t", + "id", + "author_id" + ] + }, + "story_sheet": { + "fields": { + "story_id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "number" + } + } + }, + "sheet_id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "number" + } + } + }, + "t": { + "args": { + "tag": { + "type": "number" + } + } + }, + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + } + }, + "field_names": [ + "story_id", + "sheet_id", + "t", + "id" + ] + }, + "sheet": { + "fields": { + "caption": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text" + }, + "row_break": true + } + }, + "width": { + "args": { + "tag": { + "type": "number" + } + } + }, + "height": { + "args": { + "tag": { + "type": "number" + }, + "row_break": true + } + }, + "visible": { + "args": { + "tag": { + "type": "select" + }, + "row_break": true + } + }, + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + }, + "author_id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + } + }, + "field_names": [ + "caption", + "width", + "height", + "visible", + "id", + "author_id" + ] + }, + "sheet_panel": { + "fields": { + "sheet_id": { + "args": { + "tag": { + "type": "number" + } + } + }, + "panel_id": { + "args": { + "tag": { + "type": "number" + } + } + }, + "x": { + "args": { + "tag": { + "type": "number" + } + } + }, + "y": { + "args": { + "tag": { + "type": "number" + }, + "row_break": true + } + }, + "z": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } } }, - "filter_key": "speech_balloon_id" - } - }, - "by_writing_format": { - "type": "filter", - "args": { - "from": "writing_format", - "filter_key": "writing_format_id" - } - } - }, - "balloon": { - "public_list": {}, - "by_speech_balloon": { - "type": "filter", - "args": { - "from": "speech_balloon", - "includes": { - "speech_balloon": { - "panel": {} + "t": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } } }, - "filter_key": "speech_balloon_id" - } - } - }, - "ground_picture": { - "public_list": {}, - "private_list": { - "type": "private" - }, - "by_panel": { - "type": "filter", - "args": { - "from": "panel", - "filter_key": "panel_id" - } - }, - "by_author": { - "type": "element_filter", - "args": { - "from": "author", - "filter_key": "author_id" - } - } - }, - "ground_color": { - "public_list": {}, - "private_list": {}, - "by_panel": { - "type": "filter", - "args": { - "from": "panel", - "filter_key": "panel_id" - } - }, - "by_author": { - "type": "element_filter", - "args": { - "from": "author", - "filter_key": "author_id" - } - } - }, - "original_picture": { - "private_list": {} - }, - "picture": {}, - "resource_picture": { - "public_list": {}, - "private_list": {}, - "by_license": { - "type": "filter", - "args": { - "from": "license", - "filter_key": "license_id" - } - }, - "by_artist": { - "type": "filter", - "args": { - "from": "artist", - "filter_key": "artist_id" - } - } - }, - "speech_balloon_template": { - "public_list": {}, - "select_items": { - "type": "system_resource" - } - }, - "writing_format": { - "public_list": {}, - "select_items": { - "type": "system_resource" - }, - "by_system_picture": { - "type": "filter", - "args": { - "from": "system_picture", - "filter_key": "system_picture_id" - } - } - }, - "license_group": { - "public_list": {}, - "select_items": { - "type": "system_resource" - } - }, - "license": { - "public_list": {}, - "by_license_group": { - "type": "filter", - "args": { - "from": "license_group", - "filter_key": "license_group_id" - } + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + } + }, + "field_names": [ + "sheet_id", + "panel_id", + "x", + "y", + "z", + "t", + "id" + ] }, - "by_system_picture": { - "type": "filter", - "args": { - "from": "system_picture", - "filter_key": "system_picture_id" - } - } - }, - "author": { - "public_list": {} - }, - "artist": { - "public_list": {} - }, - "system_picture": { - "public_list": {} - } - }, - "elements": [ - { - "name": "panel_picture", - "path_name": "panel_pictures", - "parts": [] - }, - { - "name": "speech_balloon", - "path_name": "circle_speech_balloon/speech_balloons", - "parts": [ - "balloon", - "speech" - ] - }, - { - "name": "ground_picture", - "path_name": "ground_pictures", - "parts": [] - }, - { - "name": "ground_color", - "path_name": "ground_colors", - "parts": [] - } - ], - "forms": { - "base": { "panel": { "fields": { "caption": { "args": { - "column": "caption", - "label": {}, "tag": { "type": "text" }, @@ -4813,45 +4449,28 @@ }, "width": { "args": { - "column": "width", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" } } }, "height": { "args": { - "column": "height", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" }, "row_break": true } }, "border": { "args": { - "column": "border", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" } } }, "publish": { "args": { - "column": "publish", - "label": {}, "tag": { "type": "select" }, @@ -4860,7 +4479,6 @@ }, "id": { "args": { - "column": "id", "label": { "type": "none" }, @@ -4871,7 +4489,6 @@ }, "author_id": { "args": { - "column": "author_id", "label": { "type": "none" }, @@ -4895,8 +4512,6 @@ "fields": { "caption": { "args": { - "column": "caption", - "label": {}, "tag": { "type": "text" }, @@ -4905,45 +4520,29 @@ }, "x": { "args": { - "column": "x", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" } } }, "y": { "args": { - "column": "y", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" }, "row_break": true } }, "width": { "args": { - "column": "width", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" }, "helpers": { "size": { "type": "size", "args": { - "path": "panels/size_helper", - "class": "panel_picture_width_tool" + "dom_class": "panel_picture_width_tool" } } }, @@ -4952,20 +4551,14 @@ }, "height": { "args": { - "column": "height", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" }, "helpers": { "size": { "type": "size", "args": { - "path": "panels/size_helper", - "class": "panel_picture_height_tool" + "dom_class": "panel_picture_height_tool" } } }, @@ -4974,8 +4567,6 @@ }, "link": { "args": { - "column": "link", - "label": {}, "tag": { "type": "text" }, @@ -4984,7 +4575,6 @@ }, "id": { "args": { - "column": "id", "label": { "type": "none" }, @@ -4995,7 +4585,6 @@ }, "panel_id": { "args": { - "column": "panel_id", "label": { "type": "none" }, @@ -5006,16 +4595,13 @@ }, "picture_id": { "args": { - "column": "picture_id", - "label": {}, "tag": { "type": "hidden" }, "helpers": { "popup": { - "type": "size", + "type": "popup", "args": { - "path": "panels/popup_helper", "source": "pictures" } } @@ -5024,7 +4610,6 @@ }, "z": { "args": { - "column": "z", "label": { "type": "none" }, @@ -5035,7 +4620,6 @@ }, "t": { "args": { - "column": "t", "label": { "type": "none" }, @@ -5063,7 +4647,6 @@ "fields": { "speech_balloon.id": { "args": { - "column": "id", "label": { "type": "none" }, @@ -5074,7 +4657,6 @@ }, "speech_balloon.panel_id": { "args": { - "column": "panel_id", "label": { "type": "none" }, @@ -5085,7 +4667,6 @@ }, "speech_balloon.speech_balloon_template_id": { "args": { - "column": "speech_balloon_template_id", "label": { "type": "none" }, @@ -5096,8 +4677,6 @@ }, "speech_balloon.caption": { "args": { - "column": "caption", - "label": {}, "tag": { "type": "text" }, @@ -5106,7 +4685,6 @@ }, "speech_balloon.z": { "args": { - "column": "z", "label": { "type": "none" }, @@ -5117,7 +4695,6 @@ }, "speech_balloon.t": { "args": { - "column": "t", "label": { "type": "none" }, @@ -5128,7 +4705,6 @@ }, "speech_balloon.classname": { "args": { - "column": "classname", "label": { "type": "none" }, @@ -5139,7 +4715,6 @@ }, "speech_balloon.settings": { "args": { - "column": "settings", "label": { "type": "none" }, @@ -5151,9 +4726,6 @@ "balloon.id": { "type": "part", "args": { - "model": "balloon", - "part": "balloon", - "column": "id", "label": { "type": "none" }, @@ -5165,9 +4737,6 @@ "balloon.speech_balloon_id": { "type": "part", "args": { - "model": "balloon", - "part": "balloon", - "column": "speech_balloon_id", "label": { "type": "none" }, @@ -5179,9 +4748,6 @@ "balloon.system_picture_id": { "type": "part", "args": { - "model": "balloon", - "part": "balloon", - "column": "system_picture_id", "label": { "type": "none" }, @@ -5193,22 +4759,13 @@ "balloon.r": { "type": "part", "args": { - "model": "balloon", - "part": "balloon", - "column": "r", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" }, "helpers": { "tail_angle": { "type": "size", - "args": { - "path": "panels/tail_angle_helper" - } + "args": {} } }, "row_break": true @@ -5217,30 +4774,17 @@ "balloon.x": { "type": "part", "args": { - "model": "balloon", - "part": "balloon", - "column": "x", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" } } }, "balloon.y": { "type": "part", "args": { - "model": "balloon", - "part": "balloon", - "column": "y", "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" }, "row_break": true } @@ -5248,30 +4792,16 @@ "balloon.width": { "type": "part", "args": { - "model": "balloon", - "part": "balloon", - "column": "width", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" } } }, "balloon.height": { "type": "part", "args": { - "model": "balloon", - "part": "balloon", - "column": "height", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" }, "row_break": true } @@ -5279,9 +4809,6 @@ "balloon.settings": { "type": "part", "args": { - "model": "balloon", - "part": "balloon", - "column": "settings", "label": { "type": "none" }, @@ -5293,9 +4820,6 @@ "speech.id": { "type": "part", "args": { - "model": "speech", - "part": "speech", - "column": "id", "label": { "type": "none" }, @@ -5307,9 +4831,6 @@ "speech.speech_balloon_id": { "type": "part", "args": { - "model": "speech", - "part": "speech", - "column": "speech_balloon_id", "label": { "type": "none" }, @@ -5321,9 +4842,6 @@ "speech.x": { "type": "part", "args": { - "model": "speech", - "part": "speech", - "column": "x", "label": { "type": "none" }, @@ -5335,9 +4853,6 @@ "speech.y": { "type": "part", "args": { - "model": "speech", - "part": "speech", - "column": "y", "label": { "type": "none" }, @@ -5349,9 +4864,6 @@ "speech.width": { "type": "part", "args": { - "model": "speech", - "part": "speech", - "column": "width", "label": { "type": "none" }, @@ -5363,9 +4875,6 @@ "speech.height": { "type": "part", "args": { - "model": "speech", - "part": "speech", - "column": "height", "label": { "type": "none" }, @@ -5377,10 +4886,6 @@ "speech.writing_format_id": { "type": "part", "args": { - "model": "speech", - "part": "speech", - "column": "writing_format_id", - "label": {}, "tag": { "type": "select" } @@ -5389,10 +4894,6 @@ "speech.font_size": { "type": "part", "args": { - "model": "speech", - "part": "speech", - "column": "font_size", - "label": {}, "tag": { "type": "select" }, @@ -5402,10 +4903,6 @@ "speech.text_align": { "type": "part", "args": { - "model": "speech", - "part": "speech", - "column": "text_align", - "label": {}, "tag": { "type": "select" } @@ -5414,31 +4911,25 @@ "speech.quotes": { "type": "part", "args": { - "model": "speech", - "part": "speech", - "column": "quotes", - "label": {}, "tag": { - "type": "text", - "args": { - "size": 5 - } + "type": "text" } } }, "speech.content": { "type": "part", "args": { - "model": "speech", - "part": "speech", - "column": "content", "label": { - "row_break": true + "args": { + "row_break": true + } }, "tag": { "type": "text_area", "args": { - "size": "45x5" + "options": { + "size": "45x5" + } } } } @@ -5446,9 +4937,6 @@ "speech.fore_color": { "type": "part", "args": { - "model": "speech", - "part": "speech", - "column": "fore_color", "label": { "row_break": true }, @@ -5457,9 +4945,8 @@ }, "helpers": { "color": { - "type": "size", + "type": "color", "args": { - "path": "panels/color_helper", "wrapper": "speech-fore_color-wrap" } } @@ -5469,9 +4956,6 @@ "speech.settings": { "type": "part", "args": { - "model": "speech", - "part": "speech", - "column": "settings", "label": { "type": "none" }, @@ -5486,7 +4970,6 @@ "fields": { "id": { "args": { - "column": "id", "label": { "type": "none" }, @@ -5497,7 +4980,6 @@ }, "panel_id": { "args": { - "column": "panel_id", "label": { "type": "none" }, @@ -5508,7 +4990,6 @@ }, "picture_id": { "args": { - "column": "picture_id", "label": { "type": "none" }, @@ -5519,8 +5000,6 @@ }, "caption": { "args": { - "column": "caption", - "label": {}, "tag": { "type": "text" }, @@ -5529,8 +5008,6 @@ }, "repeat": { "args": { - "column": "repeat", - "label": {}, "tag": { "type": "select", "args": { @@ -5543,32 +5020,21 @@ }, "x": { "args": { - "column": "x", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" } } }, "y": { "args": { - "column": "y", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" }, "row_break": true } }, "z": { "args": { - "column": "z", "label": { "type": "none" }, @@ -5579,7 +5045,6 @@ }, "t": { "args": { - "column": "t", "label": { "type": "none" }, @@ -5605,7 +5070,6 @@ "fields": { "id": { "args": { - "column": "id", "label": { "type": "none" }, @@ -5616,7 +5080,6 @@ }, "panel_id": { "args": { - "column": "panel_id", "label": { "type": "none" }, @@ -5627,8 +5090,6 @@ }, "caption": { "args": { - "column": "caption", - "label": {}, "tag": { "type": "text" }, @@ -5637,18 +5098,18 @@ }, "code": { "args": { - "column": "code", "label": { - "row_break": true + "args": { + "row_break": true + } }, "tag": { "type": "hidden" }, "helpers": { "color": { - "type": "size", + "type": "color", "args": { - "path": "panels/color_helper", "wrapper": "ground_color-code-wrap" } } @@ -5658,8 +5119,6 @@ }, "orientation": { "args": { - "column": "orientation", - "label": {}, "tag": { "type": "select" }, @@ -5668,32 +5127,21 @@ }, "xy": { "args": { - "column": "xy", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" } } }, "wh": { "args": { - "column": "wh", - "label": {}, "tag": { - "type": "number", - "args": { - "size": 5 - } + "type": "number" }, "row_break": true } }, "z": { "args": { - "column": "z", "label": { "type": "none" }, @@ -5704,7 +5152,6 @@ }, "t": { "args": { - "column": "t", "label": { "type": "none" }, @@ -5725,6 +5172,68 @@ "z", "t" ] + }, + "author": { + "fields": { + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + }, + "name": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text" + }, + "row_break": true + } + } + }, + "field_names": [ + "id", + "name" + ] + }, + "artist": { + "fields": { + "id": { + "args": { + "label": { + "type": "none" + }, + "tag": { + "type": "hidden" + } + } + }, + "name": { + "args": { + "label": { + "args": { + "row_break": true + } + }, + "tag": { + "type": "text" + }, + "row_break": true + } + } + }, + "field_names": [ + "id", + "name" + ] } }, "extend": { @@ -5770,9 +5279,6 @@ "balloon.r": { "type": "part", "args": { - "model": "balloon", - "part": "balloon", - "column": "r", "label": { "type": "none" }, @@ -5821,9 +5327,6 @@ "balloon.r": { "type": "part", "args": { - "model": "balloon", - "part": "balloon", - "column": "r", "label": { "type": "none" },