"original_picture": "original_pictures",\r
"picture": "pictures",\r
"resource_picture": "resource_pictures",\r
+ "resource_picture_picture": "resource_picture_pictures",\r
"original_picture_license_group": "original_picture_license_groups",\r
"original_picture_license": "original_picture_licenses",\r
"speech_balloon_template": "speech_balloon_templates",\r
}\r
}\r
},\r
+ "resource_picture_picture": {},\r
"original_picture_license_group": {},\r
"original_picture_license": {\r
"args": {\r
"play": {\r
"type": "list",\r
"args": {\r
- "alias": "scroll_panels.by_scroll",\r
+ "return_item_name": "scroll_panel",\r
"order": "t",\r
"direction": 1\r
}\r
"play": {\r
"type": "list",\r
"args": {\r
- "alias": "comic_stories.by_comic",\r
+ "return_item_name": "comic_story",\r
"max_page_size": -1,\r
"order": "t",\r
"direction": 1\r
"play": {\r
"type": "list",\r
"args": {\r
- "alias": "story_sheets.by_story",\r
+ "return_item_name": "story_sheet",\r
"max_page_size": -1,\r
"order": "t",\r
"direction": 1\r
"play": {\r
"type": "list",\r
"args": {\r
- "alias": "sheet_panels.by_sheet",\r
+ "return_item_name": "sheet_panel",\r
"order": "t",\r
"direction": 1\r
}\r
"type": "show"\r
},\r
"history": {\r
- "type": "show"\r
+ "type": "list",\r
+ "args": {\r
+ "return_item_name": "picture",\r
+ "max_page_size": -1,\r
+ "order": "revision",\r
+ "direction": 1\r
+ }\r
},\r
"new": {\r
"type": "new"\r
},\r
"show": {\r
"type": "show"\r
+ },\r
+ "destroy": {\r
+ "type": "destroy"\r
+ }\r
+ }\r
+ },\r
+ "original_picture_license_groups": {\r
+ "actions": {\r
+ "new": {\r
+ "type": "new"\r
+ },\r
+ "create": {\r
+ "type": "create"\r
+ }\r
+ }\r
+ },\r
+ "original_picture_licenses": {\r
+ "actions": {\r
+ "new": {\r
+ "type": "new"\r
+ },\r
+ "create": {\r
+ "type": "create"\r
+ }\r
+ }\r
+ },\r
+ "resource_picture_pictures": {\r
+ "actions": {\r
+ "index": {\r
+ "type": "list",\r
+ "args": {\r
+ "param_id": "none"\r
+ }\r
+ },\r
+ "by_original_picture": {\r
+ "type": "list",\r
+ "args": {\r
+ "param_id": "suffix"\r
+ }\r
+ },\r
+ "by_resource_picture": {\r
+ "type": "list",\r
+ "args": {\r
+ "param_id": "suffix"\r
+ }\r
+ },\r
+ "by_picture": {\r
+ "type": "list",\r
+ "args": {\r
+ "param_id": "suffix"\r
+ }\r
+ },\r
+ "show": {\r
+ "type": "show"\r
}\r
}\r
},\r
"scrolls": {\r
"type": "list",\r
"args": {\r
- "alias": "scrolls.index"\r
+ "item_name": "scroll"\r
}\r
},\r
"scroll_panels": {\r
"type": "list",\r
"args": {\r
- "alias": "scroll_panels.index"\r
+ "item_name": "scroll_panel"\r
}\r
},\r
"comics": {\r
"type": "list",\r
"args": {\r
- "alias": "comics.index"\r
+ "item_name": "comic"\r
}\r
},\r
"comic_stories": {\r
"type": "list",\r
"args": {\r
- "alias": "comic_stories.index"\r
+ "item_name": "comic_story"\r
}\r
},\r
"stories": {\r
"type": "list",\r
"args": {\r
- "alias": "stories.index"\r
+ "item_name": "story"\r
}\r
},\r
"story_sheets": {\r
"type": "list",\r
"args": {\r
- "alias": "story_sheets.index"\r
+ "item_name": "story_sheet"\r
}\r
},\r
"sheets": {\r
"type": "list",\r
"args": {\r
- "alias": "sheets.index"\r
+ "item_name": "sheet"\r
}\r
},\r
"sheet_panels": {\r
"type": "list",\r
"args": {\r
- "alias": "sheet_panels.index"\r
+ "item_name": "sheet_panel"\r
}\r
},\r
"panels": {\r
"type": "list",\r
"args": {\r
- "alias": "panels.index"\r
+ "item_name": "panel"\r
}\r
},\r
"panel_pictures": {\r
"type": "list",\r
"args": {\r
- "alias": "panel_pictures.index"\r
+ "item_name": "panel_picture"\r
}\r
},\r
"speech_balloons": {\r
"type": "list",\r
"args": {\r
- "alias": "speech_balloons.index"\r
+ "item_name": "speech_balloon"\r
}\r
},\r
"speeches": {\r
"type": "list",\r
"args": {\r
- "alias": "speeches.index"\r
+ "item_name": "speech"\r
}\r
},\r
"balloons": {\r
"type": "list",\r
"args": {\r
- "alias": "balloons.index"\r
+ "item_name": "balloon"\r
}\r
},\r
"ground_pictures": {\r
"type": "list",\r
"args": {\r
- "alias": "ground_pictures.index"\r
+ "item_name": "ground_picture"\r
}\r
},\r
"ground_colors": {\r
"type": "list",\r
"args": {\r
- "alias": "ground_colors.index"\r
+ "item_name": "ground_color"\r
}\r
},\r
"original_pictures": {\r
"type": "list",\r
"args": {\r
- "alias": "original_pictures.index"\r
+ "item_name": "original_picture"\r
}\r
},\r
"resource_pictures": {\r
"type": "list",\r
"args": {\r
- "alias": "resource_pictures.index"\r
+ "item_name": "resource_picture"\r
}\r
}\r
}\r
"panel_picture": {\r
"associations": {\r
"belongs_to": {\r
- "panel": {}\r
+ "panel": {},\r
+ "picture": {}\r
},\r
"has_many": {}\r
},\r
"ground_picture": {\r
"associations": {\r
"belongs_to": {\r
- "panel": {}\r
+ "panel": {},\r
+ "picture": {}\r
},\r
"has_many": {}\r
},\r
"artist": {}\r
},\r
"has_many": {\r
- "pictures": {}\r
+ "pictures": {},\r
+ "resource_picture_pictures": {}\r
},\r
"has_one": {\r
"resource_picture": {}\r
"belongs_to": {\r
"license": {},\r
"artist": {},\r
+ "original_picture": {},\r
"system_picture": {}\r
},\r
- "has_many": {},\r
- "has_one": {}\r
+ "has_many": {\r
+ "panel_pictures": {},\r
+ "ground_pictures": {}\r
+ },\r
+ "has_one": {\r
+ "resource_picture_picture": {}\r
+ }\r
},\r
"attributes": {\r
"original_picture_id": {\r
"associations": {\r
"belongs_to": {\r
"original_picture": {},\r
+ "picture": {},\r
"license_group": {},\r
"license": {},\r
"artist": {},\r
"system_picture": {}\r
},\r
- "has_many": {},\r
+ "has_many": {\r
+ "resource_picture_pictures": {}\r
+ },\r
"has_one": {}\r
},\r
"attributes": {\r
}\r
}\r
},\r
+ "resource_picture_picture": {\r
+ "associations": {\r
+ "belongs_to": {\r
+ "original_picture": {},\r
+ "resource_picture": {},\r
+ "picture": {}\r
+ },\r
+ "has_many": {},\r
+ "has_one": {}\r
+ },\r
+ "attributes": {\r
+ "original_picture_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "resource_picture_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ },\r
+ "picture_id": {\r
+ "type": "number",\r
+ "rules": {\r
+ "required": true,\r
+ "number": true\r
+ }\r
+ }\r
+ }\r
+ },\r
"original_picture_license_group": {\r
"associations": {\r
"belongs_to": {\r