},\r
"by_author": {\r
"type": "filter"\r
+ },\r
+ "by_story": {\r
+ "type": "through_filter",\r
+ "args": {\r
+ "through": "comic_stories"\r
+ }\r
}\r
}\r
},\r
- "story": {\r
+ "comic_story": {\r
"lists": {\r
"public": {\r
"type": "public"\r
"private": {\r
"type": "private"\r
},\r
+ "play": {\r
+ "type": "play",\r
+ "args": {\r
+ "filter_item_name": "comic",\r
+ "filter_model_name": "comic_story",\r
+ "filter_key": "comic_id"\r
+ }\r
+ },\r
"by_comic": {\r
"type": "filter"\r
},\r
- "by_sheet": {\r
- "type": "through_filter",\r
- "args": {\r
- "through": "story_sheets"\r
- }\r
+ "by_story": {\r
+ "type": "filter"\r
},\r
"by_author": {\r
"type": "foreign_filter",\r
"type": "method"\r
}\r
}\r
+ }\r
+ }\r
+ },\r
+ "story": {\r
+ "lists": {\r
+ "public": {\r
+ "type": "public"\r
},\r
- "play": {\r
- "type": "play"\r
+ "private": {\r
+ "type": "private"\r
+ },\r
+ "by_comic": {\r
+ "type": "through_filter",\r
+ "args": {\r
+ "through": "comic_stories"\r
+ }\r
+ },\r
+ "by_sheet": {\r
+ "type": "through_filter",\r
+ "args": {\r
+ "through": "story_sheets"\r
+ }\r
+ },\r
+ "by_author": {\r
+ "type": "filter"\r
}\r
}\r
},\r
"by_speech_balloon": {\r
"type": "filter"\r
},\r
- "by_writing_format": {\r
- "type": "filter"\r
- },\r
"by_author": {\r
"type": "foreign_filter",\r
"args": {\r
"author"\r
],\r
"has_many": [\r
+ "comic_stories.by_comic",\r
"stories.by_comic"\r
]\r
}\r
},\r
- "story": {\r
+ "comic_story": {\r
"column_names": [\r
"comic_id",\r
+ "story_id",\r
+ "t"\r
+ ],\r
+ "associations": {\r
+ "belongs_to": [\r
+ "comic",\r
+ "story"\r
+ ]\r
+ }\r
+ },\r
+ "story": {\r
+ "column_names": [\r
"title",\r
"description",\r
"t",\r
"visible"\r
],\r
"associations": {\r
- "belongs_to": [\r
- "comic"\r
- ],\r
+ "belongs_to": [],\r
"has_many": [\r
+ "comic_stories.by_story",\r
+ "comics.by_story",\r
"story_sheets.by_story",\r
"sheets.by_story"\r
]\r
}\r
},\r
"sheet": {\r
+ "columns": {\r
+ "visible": {\r
+ "type": "source"\r
+ }\r
+ },\r
"column_names": [\r
"caption",\r
"width",\r
}\r
},\r
"panel": {\r
+ "columns": {\r
+ "publish": {\r
+ "type": "source"\r
+ }\r
+ },\r
"column_names": [\r
"width",\r
"height",\r
"scrolls.by_author",\r
"scroll_panels.by_author",\r
"comics.by_author",\r
+ "comic_stories.by_author",\r
"stories.by_author",\r
"sheets.by_author",\r
"sheet_panels.by_author",\r
"summary": {},\r
"edit": {}\r
},\r
+ "comic_story": {\r
+ "symbol": {\r
+ "type": "default",\r
+ "args": {\r
+ "link": {\r
+ "type": "none"\r
+ }\r
+ }\r
+ },\r
+ "caption": {\r
+ "type": "none"\r
+ },\r
+ "summary": {},\r
+ "edit": {\r
+ "type": "none"\r
+ }\r
+ },\r
"story": {\r
"symbol": {},\r
"caption": {\r
"type": "default",\r
"args": {\r
"face": {\r
- "type": "method",\r
+ "type": "column",\r
"args": {\r
- "method_name": "title_with_t"\r
+ "column_name": "title"\r
}\r
},\r
"link": {\r
"author_id"\r
]\r
},\r
- "story": {\r
+ "comic_story": {\r
"fields": {\r
"comic_id": {\r
+ "tag": {\r
+ "type": "number"\r
+ }\r
+ },\r
+ "story_id": {\r
+ "tag": {\r
+ "type": "number"\r
+ }\r
+ },\r
+ "t": {\r
+ "tag": {\r
+ "type": "number"\r
+ }\r
+ },\r
+ "id": {\r
"label": {\r
"type": "none"\r
},\r
"tag": {\r
"type": "hidden"\r
}\r
- },\r
+ }\r
+ },\r
+ "field_names": [\r
+ "comic_id",\r
+ "story_id",\r
+ "t",\r
+ "id"\r
+ ]\r
+ },\r
+ "story": {\r
+ "fields": {\r
"title": {\r
"label": {\r
"args": {\r
},\r
"row_break": true\r
},\r
- "t": {\r
- "tag": {\r
- "type": "number"\r
- }\r
- },\r
"id": {\r
"label": {\r
"type": "none"\r
}\r
},\r
"field_names": [\r
- "comic_id",\r
"title",\r
"description",\r
"visible",\r
- "t",\r
"id",\r
"author_id"\r
]\r