#マニフェスト\r
@lists = {\r
scroll: {\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_through',\r
- association_name: 'panels',\r
- },\r
- by_author: {\r
- type: 'filter',\r
- from: 'author',\r
- filter_key: 'author_id',\r
- },\r
- by_panel: {\r
- type: 'through_filter',\r
- from: 'panel',\r
- through: 'scroll_panels',\r
- filter_key: 'panel_id',\r
- },\r
- play: {\r
- type: 'play',\r
- model: 'scroll_panel',\r
- filter_key: 'scroll_id',\r
- },\r
+ public_list: {\r
+ },\r
+ private_list: {\r
+ },\r
+ by_author: {\r
+ type: 'filter',\r
+ from: 'author',\r
+ filter_key: 'author_id',\r
+ },\r
+ by_panel: {\r
+ type: 'through_filter',\r
+ from: 'panel',\r
+ through: 'scroll_panels',\r
+ filter_key: 'panel_id',\r
+ },\r
+ play: {\r
+ type: 'play',\r
+ model: 'scroll_panel',\r
+ filter_key: 'scroll_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
- from: 'scroll',\r
- filter_key: 'scroll_id',\r
- },\r
- by_panel: {\r
- type: 'filter',\r
- from: 'panel',\r
- filter_key: 'panel_id',\r
- },\r
+ public_list: {\r
+ },\r
+ private_list: {\r
+ },\r
+ by_scroll: {\r
+ type: 'filter',\r
+ from: 'scroll',\r
+ filter_key: 'scroll_id',\r
+ },\r
+ by_panel: {\r
+ type: 'filter',\r
+ from: 'panel',\r
+ filter_key: 'panel_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
- },\r
- by_author: {\r
- type: 'filter',\r
- from: 'author',\r
- filter_key: 'author_id',\r
- },\r
+ public_list: {\r
+ },\r
+ private_list: {\r
+ },\r
+ by_author: {\r
+ type: 'filter',\r
+ from: 'author',\r
+ filter_key: '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
- from: 'comic',\r
- filter_key: 'comic_id',\r
- },\r
- by_sheet: {\r
- type: 'through_filter',\r
- from: 'sheet',\r
- through: 'story_sheets',\r
- filter_key: 'sheet_id',\r
- },\r
- by_author: {\r
- type: 'element_filter',\r
- from: 'author',\r
- filter_key: 'author_id',\r
- },\r
- play: {\r
- type: 'play',\r
- model: 'story_sheet',\r
- filter_key: 'story_id',\r
- },\r
+ public_list: {\r
+ },\r
+ private_list: {\r
+ },\r
+ by_comic: {\r
+ type: 'filter',\r
+ from: 'comic',\r
+ filter_key: 'comic_id',\r
+ },\r
+ by_sheet: {\r
+ type: 'through_filter',\r
+ from: 'sheet',\r
+ through: 'story_sheets',\r
+ filter_key: 'sheet_id',\r
+ },\r
+ by_author: {\r
+ type: 'element_filter',\r
+ from: 'author',\r
+ filter_key: 'author_id',\r
+ },\r
+ play: {\r
+ type: 'play',\r
+ model: 'story_sheet',\r
+ filter_key: 'story_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
- from: 'story',\r
- filter_key: 'story_id',\r
- },\r
- by_sheet: {\r
- type: 'filter',\r
- from: 'sheet',\r
- filter_key: 'sheet_id',\r
- },\r
+ public_list: {\r
+ type: 'public',\r
+ },\r
+ private_list: {\r
+ type: 'private',\r
+ },\r
+ by_story: {\r
+ type: 'filter',\r
+ from: 'story',\r
+ filter_key: 'story_id',\r
+ },\r
+ by_sheet: {\r
+ type: 'filter',\r
+ from: 'sheet',\r
+ filter_key: 'sheet_id',\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
- stories: {\r
- type: 'has_many',\r
- association_name: 'stories',\r
- },\r
- sheet_panels: {\r
- type: 'has_many',\r
- association_name: 'sheet_panels',\r
- },\r
- panels: {\r
- type: 'has_many',\r
- association_name: 'panels',\r
- },\r
- by_story: {\r
- type: 'through_filter',\r
- from: 'story',\r
- through: 'story_sheets',\r
- filter_key: 'story_id',\r
- },\r
- by_panel: {\r
- type: 'through_filter',\r
- from: 'panel',\r
- through: 'sheet_panels',\r
- filter_key: 'panel_id',\r
- },\r
- by_author: {\r
- type: 'filter',\r
- from: 'author',\r
- filter_key: 'author_id',\r
- },\r
- play: {\r
- type: 'play',\r
- model: 'sheet_panel',\r
- filter_key: 'sheet_id',\r
- },\r
+ public_list: {\r
+ },\r
+ private_list: {\r
+ },\r
+ by_story: {\r
+ type: 'through_filter',\r
+ from: 'story',\r
+ through: 'story_sheets',\r
+ filter_key: 'story_id',\r
+ },\r
+ by_panel: {\r
+ type: 'through_filter',\r
+ from: 'panel',\r
+ through: 'sheet_panels',\r
+ filter_key: 'panel_id',\r
+ },\r
+ by_author: {\r
+ type: 'filter',\r
+ from: 'author',\r
+ filter_key: 'author_id',\r
+ },\r
+ play: {\r
+ type: 'play',\r
+ model: 'sheet_panel',\r
+ filter_key: 'sheet_id',\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
- association_name: 'sheet_panels',\r
- from: 'sheet',\r
- filter_key: 'sheet_id',\r
- },\r
- by_panel: {\r
- type: 'filter',\r
- from: 'panel',\r
- filter_key: 'panel_id',\r
- },\r
+ public_list: {\r
+ },\r
+ private_list: {\r
+ },\r
+ by_sheet: {\r
+ type: 'filter',\r
+ association_name: 'sheet_panels',\r
+ from: 'sheet',\r
+ filter_key: 'sheet_id',\r
+ },\r
+ by_panel: {\r
+ type: 'filter',\r
+ from: 'panel',\r
+ filter_key: 'panel_id',\r
},\r
},\r
panel: {\r
- default_page_size: 20, \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
- scrolls: {\r
- type: 'has_many',\r
- association_name: 'scrolls',\r
- },\r
- sheet_panels: {\r
- type: 'has_many',\r
- association_name: 'sheet_panels',\r
- },\r
- sheets: {\r
- type: 'has_many',\r
- association_name: 'sheets',\r
- },\r
- panel_pictures: {\r
- type: 'has_many',\r
- association_name: 'panel_pictures',\r
- },\r
- speech_balloons: {\r
- type: 'has_many',\r
- association_name: 'speech_balloons',\r
- },\r
- ground_pictures: {\r
- type: 'has_many',\r
- association_name: 'ground_pictures',\r
- },\r
- ground_colors: {\r
- type: 'has_many',\r
- association_name: 'ground_colors',\r
- },\r
- by_scroll: {\r
- type: 'through_filter',\r
- from: 'scroll',\r
- through: 'scroll_panels',\r
- filter_key: 'scroll_id',\r
- },\r
- by_sheet: {\r
- type: 'through_filter',\r
- from: 'sheet',\r
- through: 'sheet_panels',\r
- filter_key: 'sheet_id',\r
- },\r
- by_author: {\r
- type: 'filter',\r
- from: 'author',\r
- filter_key: 'author_id',\r
- },\r
- by_speech_balloon_template: {\r
- type: 'through_filter',\r
- from: 'speech_balloon_template',\r
- through: 'speech_balloons',\r
- filter_key: 'speech_balloon_template_id',\r
- },\r
+ public_list: {\r
+ },\r
+ private_list: {\r
+ },\r
+ by_scroll: {\r
+ type: 'through_filter',\r
+ from: 'scroll',\r
+ through: 'scroll_panels',\r
+ filter_key: 'scroll_id',\r
+ },\r
+ by_sheet: {\r
+ type: 'through_filter',\r
+ from: 'sheet',\r
+ through: 'sheet_panels',\r
+ filter_key: 'sheet_id',\r
+ },\r
+ by_author: {\r
+ type: 'filter',\r
+ from: 'author',\r
+ filter_key: 'author_id',\r
+ },\r
+ by_speech_balloon_template: {\r
+ type: 'through_filter',\r
+ from: 'speech_balloon_template',\r
+ through: 'speech_balloons',\r
+ filter_key: 'speech_balloon_template_id',\r
},\r
},\r
panel_picture: {\r
- default_page_size: 20, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
- private_list: {\r
- type: 'private',\r
- },\r
- by_panel: {\r
- type: 'filter',\r
- from: 'panel',\r
- filter_key: 'panel_id',\r
- },\r
- by_author: {\r
- type: 'element_filter',\r
- from: 'author',\r
- filter_key: 'author_id',\r
- },\r
+ public_list: {\r
+ },\r
+ private_list: {\r
+ },\r
+ by_panel: {\r
+ type: 'filter',\r
+ from: 'panel',\r
+ filter_key: 'panel_id',\r
+ },\r
+ by_author: {\r
+ type: 'element_filter',\r
+ from: 'author',\r
+ filter_key: 'author_id',\r
},\r
},\r
speech_balloon: {\r
- default_page_size: 20, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
- private_list: {\r
- type: 'private',\r
- },\r
- by_panel: {\r
- type: 'filter',\r
- from: 'panel',\r
- filter_key: 'panel_id',\r
- },\r
- by_speech_balloon_template: {\r
- type: 'filter',\r
- from: 'speech_balloon_template',\r
- filter_key: 'speech_balloon_template_id',\r
- },\r
- by_author: {\r
- type: 'element_filter',\r
- from: 'author',\r
- filter_key: 'author_id',\r
- },\r
+ public_list: {\r
+ },\r
+ private_list: {\r
+ },\r
+ by_panel: {\r
+ type: 'filter',\r
+ from: 'panel',\r
+ filter_key: 'panel_id',\r
+ },\r
+ by_speech_balloon_template: {\r
+ type: 'filter',\r
+ from: 'speech_balloon_template',\r
+ filter_key: 'speech_balloon_template_id',\r
+ },\r
+ by_author: {\r
+ type: 'element_filter',\r
+ from: 'author',\r
+ filter_key: 'author_id',\r
},\r
},\r
speech: {\r
- default_page_size: 20, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
- by_speech_balloon: {\r
- type: 'filter',\r
- from: 'speech_balloon',\r
- includes: {speech_balloon: {panel: {}}},\r
- filter_key: 'speech_balloon_id',\r
- },\r
- by_writing_format: {\r
- type: 'filter',\r
- from: 'writing_format',\r
- filter_key: 'writing_format_id',\r
- },\r
+ public_list: {\r
+ },\r
+ by_speech_balloon: {\r
+ type: 'filter',\r
+ from: 'speech_balloon',\r
+ includes: {speech_balloon: {panel: {}}},\r
+ filter_key: 'speech_balloon_id',\r
+ },\r
+ by_writing_format: {\r
+ type: 'filter',\r
+ from: 'writing_format',\r
+ filter_key: 'writing_format_id',\r
},\r
},\r
balloon: {\r
- default_page_size: 20, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
- by_speech_balloon: {\r
- type: 'filter',\r
- from: 'speech_balloon',\r
- includes: {speech_balloon: {panel: {}}},\r
- filter_key: 'speech_balloon_id',\r
- },\r
- #by_system_picture: {\r
- # type: 'filter',\r
- # from: 'system_picture',\r
- # filter_key: 'system_picture_id',\r
- #},\r
+ public_list: {\r
},\r
+ by_speech_balloon: {\r
+ type: 'filter',\r
+ from: 'speech_balloon',\r
+ includes: {speech_balloon: {panel: {}}},\r
+ filter_key: 'speech_balloon_id',\r
+ },\r
+ #by_system_picture: {\r
+ # type: 'filter',\r
+ # from: 'system_picture',\r
+ # filter_key: 'system_picture_id',\r
+ #},\r
},\r
ground_picture: {\r
- default_page_size: 20, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
- private_list: {\r
- type: 'private',\r
- },\r
- by_panel: {\r
- type: 'filter',\r
- from: 'panel',\r
- filter_key: 'panel_id',\r
- },\r
- by_author: {\r
- type: 'element_filter',\r
- from: 'author',\r
- filter_key: 'author_id',\r
- },\r
+ public_list: {\r
+ },\r
+ private_list: {\r
+ type: 'private',\r
+ },\r
+ by_panel: {\r
+ type: 'filter',\r
+ from: 'panel',\r
+ filter_key: 'panel_id',\r
+ },\r
+ by_author: {\r
+ type: 'element_filter',\r
+ from: 'author',\r
+ filter_key: 'author_id',\r
},\r
},\r
ground_color: {\r
- default_page_size: 20, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
- private_list: {\r
- type: 'private',\r
- },\r
- by_panel: {\r
- type: 'filter',\r
- from: 'panel',\r
- filter_key: 'panel_id',\r
- },\r
- by_author: {\r
- type: 'element_filter',\r
- from: 'author',\r
- filter_key: 'author_id',\r
- },\r
+ public_list: {\r
+ },\r
+ private_list: {\r
+ },\r
+ by_panel: {\r
+ type: 'filter',\r
+ from: 'panel',\r
+ filter_key: 'panel_id',\r
+ },\r
+ by_author: {\r
+ type: 'element_filter',\r
+ from: 'author',\r
+ filter_key: 'author_id',\r
},\r
},\r
original_picture: {\r
- default_page_size: 20, \r
- lists: {\r
- private_list: {\r
- type: 'private',\r
- },\r
+ private_list: {\r
},\r
},\r
picture: {\r
},\r
resource_picture: {\r
- default_page_size: 20, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
- private_list: {\r
- type: 'private',\r
- },\r
- by_license: {\r
- type: 'filter',\r
- from: 'license',\r
- filter_key: 'license_id',\r
- },\r
- by_artist: {\r
- type: 'filter',\r
- from: 'artist',\r
- filter_key: 'artist_id',\r
- },\r
+ public_list: {\r
+ },\r
+ private_list: {\r
+ },\r
+ by_license: {\r
+ type: 'filter',\r
+ from: 'license',\r
+ filter_key: 'license_id',\r
+ },\r
+ by_artist: {\r
+ type: 'filter',\r
+ from: 'artist',\r
+ filter_key: 'artist_id',\r
},\r
},\r
speech_balloon_template: {\r
- default_page_size: 20, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
- select_items: {\r
- type: 'system_resource',\r
- },\r
- speech_balloons: {\r
- type: 'has_many',\r
- association_name: 'speech_balloons',\r
- },\r
- panels: {\r
- type: 'has_many',\r
- association_name: 'panels',\r
- },\r
+ public_list: {\r
+ },\r
+ select_items: {\r
+ type: 'system_resource',\r
},\r
},\r
writing_format: {\r
- default_page_size: 20, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
- select_items: {\r
- type: 'system_resource',\r
- },\r
- speeches: {\r
- type: 'has_many',\r
- association_name: 'speeches',\r
- },\r
- by_system_picture: {\r
- type: 'filter',\r
- from: 'system_picture',\r
- filter_key: 'system_picture_id',\r
- },\r
+ public_list: {\r
+ },\r
+ select_items: {\r
+ type: 'system_resource',\r
+ },\r
+ by_system_picture: {\r
+ type: 'filter',\r
+ from: 'system_picture',\r
+ filter_key: 'system_picture_id',\r
},\r
},\r
license_group: {\r
- default_page_size: 20, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
- select_items: {\r
- type: 'system_resource',\r
- },\r
- licenses: {\r
- type: 'has_many',\r
- association_name: 'licenses',\r
- },\r
+ public_list: {\r
+ },\r
+ select_items: {\r
+ type: 'system_resource',\r
},\r
},\r
license: {\r
- default_page_size: 20, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
- resource_pictures: {\r
- type: 'has_many',\r
- association_name: 'resource_pictures',\r
- },\r
- by_license_group: {\r
- type: 'filter',\r
- from: 'license_group',\r
- filter_key: 'license_group_id',\r
- },\r
- by_system_picture: {\r
- type: 'filter',\r
- from: 'system_picture',\r
- filter_key: 'system_picture_id',\r
- },\r
+ public_list: {\r
+ },\r
+ by_license_group: {\r
+ type: 'filter',\r
+ from: 'license_group',\r
+ filter_key: 'license_group_id',\r
+ },\r
+ by_system_picture: {\r
+ type: 'filter',\r
+ from: 'system_picture',\r
+ filter_key: 'system_picture_id',\r
},\r
},\r
author: {\r
- default_page_size: 20, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
- scrolls: {\r
- type: 'has_many',\r
- association_name: 'scrolls',\r
- },\r
- comics: {\r
- type: 'has_many',\r
- association_name: 'comics',\r
- },\r
- stories: {\r
- type: 'has_many',\r
- association_name: 'stories',\r
- },\r
- sheets: {\r
- type: 'has_many',\r
- association_name: 'sheets',\r
- },\r
- panels: {\r
- type: 'has_many',\r
- association_name: 'panels',\r
- },\r
- panel_pictures: {\r
- type: 'has_many',\r
- association_name: 'panel_pictures',\r
- },\r
- speech_balloons: {\r
- type: 'has_many',\r
- association_name: 'speech_balloons',\r
- },\r
- ground_pictures: {\r
- type: 'has_many',\r
- association_name: 'ground_pictures',\r
- },\r
- ground_colors: {\r
- type: 'has_many',\r
- association_name: 'ground_colors',\r
- },\r
+ public_list: {\r
},\r
},\r
artist: {\r
- default_page_size: 20, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
- resource_pictures: {\r
- type: 'has_many',\r
- association_name: 'resource_pictures',\r
- },\r
+ public_list: {\r
},\r
},\r
system_picture: {\r
- default_page_size: 20, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
+ public_list: {\r
},\r
},\r
}\r