X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=public%2Fmanifest.json;h=4e2505012e3cdc0bb293f685b5d897134e81926c;hp=23cb8aeda07a61db09a9d17daf06117649fcf43d;hb=HEAD;hpb=3f0b76f7b7fddc70ba3badd2a97b2babe9549b79 diff --git a/public/manifest.json b/public/manifest.json index 23cb8aed..4e250501 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -290,7 +290,7 @@ "play": { "type": "list", "args": { - "alias": "scroll_panels.by_scroll", + "return_item_name": "scroll_panel", "order": "t", "direction": 1 } @@ -384,7 +384,7 @@ "play": { "type": "list", "args": { - "alias": "comic_stories.by_comic", + "return_item_name": "comic_story", "max_page_size": -1, "order": "t", "direction": 1 @@ -485,7 +485,7 @@ "play": { "type": "list", "args": { - "alias": "story_sheets.by_story", + "return_item_name": "story_sheet", "max_page_size": -1, "order": "t", "direction": 1 @@ -586,7 +586,7 @@ "play": { "type": "list", "args": { - "alias": "sheet_panels.by_sheet", + "return_item_name": "sheet_panel", "order": "t", "direction": 1 } @@ -937,7 +937,13 @@ "type": "show" }, "history": { - "type": "show" + "type": "list", + "args": { + "return_item_name": "picture", + "max_page_size": -1, + "order": "revision", + "direction": 1 + } }, "new": { "type": "new" @@ -1009,6 +1015,29 @@ }, "show": { "type": "show" + }, + "destroy": { + "type": "destroy" + } + } + }, + "original_picture_license_groups": { + "actions": { + "new": { + "type": "new" + }, + "create": { + "type": "create" + } + } + }, + "original_picture_licenses": { + "actions": { + "new": { + "type": "new" + }, + "create": { + "type": "create" } } }, @@ -1279,103 +1308,103 @@ "scrolls": { "type": "list", "args": { - "alias": "scrolls.index" + "item_name": "scroll" } }, "scroll_panels": { "type": "list", "args": { - "alias": "scroll_panels.index" + "item_name": "scroll_panel" } }, "comics": { "type": "list", "args": { - "alias": "comics.index" + "item_name": "comic" } }, "comic_stories": { "type": "list", "args": { - "alias": "comic_stories.index" + "item_name": "comic_story" } }, "stories": { "type": "list", "args": { - "alias": "stories.index" + "item_name": "story" } }, "story_sheets": { "type": "list", "args": { - "alias": "story_sheets.index" + "item_name": "story_sheet" } }, "sheets": { "type": "list", "args": { - "alias": "sheets.index" + "item_name": "sheet" } }, "sheet_panels": { "type": "list", "args": { - "alias": "sheet_panels.index" + "item_name": "sheet_panel" } }, "panels": { "type": "list", "args": { - "alias": "panels.index" + "item_name": "panel" } }, "panel_pictures": { "type": "list", "args": { - "alias": "panel_pictures.index" + "item_name": "panel_picture" } }, "speech_balloons": { "type": "list", "args": { - "alias": "speech_balloons.index" + "item_name": "speech_balloon" } }, "speeches": { "type": "list", "args": { - "alias": "speeches.index" + "item_name": "speech" } }, "balloons": { "type": "list", "args": { - "alias": "balloons.index" + "item_name": "balloon" } }, "ground_pictures": { "type": "list", "args": { - "alias": "ground_pictures.index" + "item_name": "ground_picture" } }, "ground_colors": { "type": "list", "args": { - "alias": "ground_colors.index" + "item_name": "ground_color" } }, "original_pictures": { "type": "list", "args": { - "alias": "original_pictures.index" + "item_name": "original_picture" } }, "resource_pictures": { "type": "list", "args": { - "alias": "resource_pictures.index" + "item_name": "resource_picture" } } } @@ -1874,7 +1903,8 @@ "panel_picture": { "associations": { "belongs_to": { - "panel": {} + "panel": {}, + "picture": {} }, "has_many": {} }, @@ -2223,7 +2253,8 @@ "ground_picture": { "associations": { "belongs_to": { - "panel": {} + "panel": {}, + "picture": {} }, "has_many": {} }, @@ -2440,9 +2471,13 @@ "belongs_to": { "license": {}, "artist": {}, + "original_picture": {}, "system_picture": {} }, - "has_many": {}, + "has_many": { + "panel_pictures": {}, + "ground_pictures": {} + }, "has_one": { "resource_picture_picture": {} } @@ -2540,6 +2575,7 @@ "associations": { "belongs_to": { "original_picture": {}, + "picture": {}, "license_group": {}, "license": {}, "artist": {},