},\r
},\r
},\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- private: {\r
- type: 'private',\r
- },\r
- by_author: {\r
- type: 'filter',\r
- args: {\r
- },\r
- },\r
- by_panel: {\r
- type: 'through_filter',\r
- args: {\r
- through: 'scroll_panels',\r
- },\r
- },\r
- play: {\r
- type: 'play',\r
- args: {\r
- filter_item_name: 'scroll',\r
- filter_model_name: 'scroll_panel',\r
- filter_key: 'scroll_id',\r
- },\r
- },\r
- },\r
},\r
scroll_panel: {\r
associations: {\r
}\r
},\r
},\r
- tree: {\r
- owner: 'scroll',\r
- },\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- private: {\r
- type: 'private',\r
- },\r
- by_scroll: {\r
- type: 'filter',\r
- },\r
- by_panel: {\r
- type: 'filter',\r
- },\r
- },\r
},\r
comic: {\r
associations: {\r
}\r
},\r
},\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- private: {\r
- type: 'private',\r
- },\r
- by_author: {\r
- type: 'filter',\r
- },\r
- },\r
},\r
story: {\r
associations: {\r
},\r
},\r
},\r
- tree: {\r
- owner: 'comic',\r
- },\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- private: {\r
- type: 'private',\r
- },\r
- by_comic: {\r
- type: 'filter',\r
- },\r
- by_sheet: {\r
- type: 'through_filter',\r
- args: {\r
- through: 'story_sheets',\r
- },\r
- },\r
- by_author: {\r
- type: 'foreign_filter',\r
- },\r
- play: {\r
- type: 'play',\r
- },\r
- },\r
},\r
story_sheet: {\r
associations: {\r
}\r
},\r
},\r
- tree: {\r
- owner: 'story',\r
- },\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- private: {\r
- type: 'private',\r
- },\r
- by_story: {\r
- type: 'filter',\r
- },\r
- by_sheet: {\r
- type: 'filter',\r
- },\r
- },\r
},\r
sheet: {\r
associations: {\r
}\r
},\r
},\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- private: {\r
- type: 'private',\r
- },\r
- by_story: {\r
- type: 'through_filter',\r
- args: {\r
- through: 'story_sheets',\r
- },\r
- },\r
- by_panel: {\r
- type: 'through_filter',\r
- args: {\r
- through: 'sheet_panels',\r
- },\r
- },\r
- by_author: {\r
- type: 'filter',\r
- },\r
- play: {\r
- type: 'play',\r
- },\r
- },\r
},\r
sheet_panel: {\r
associations: {\r
}\r
},\r
},\r
- tree: {\r
- owner: 'sheet',\r
- },\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- private: {\r
- type: 'private',\r
- },\r
- by_sheet: {\r
- type: 'filter',\r
- },\r
- by_panel: {\r
- type: 'filter',\r
- },\r
- },\r
},\r
panel: {\r
associations: {\r
}\r
},\r
},\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- private: {\r
- type: 'private',\r
- },\r
- by_scroll: {\r
- type: 'through_filter',\r
- args: {\r
- through: 'scroll_panels',\r
- },\r
- },\r
- by_sheet: {\r
- type: 'through_filter',\r
- args: {\r
- through: 'sheet_panels',\r
- },\r
- },\r
- by_author: {\r
- type: 'filter',\r
- },\r
- by_speech_balloon_template: {\r
- type: 'through_filter',\r
- },\r
- },\r
},\r
panel_picture: {\r
associations: {\r
}\r
},\r
},\r
- tree: {\r
- owner: 'panel',\r
- panel: 'panel',\r
- },\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- private: {\r
- type: 'private',\r
- },\r
- by_panel: {\r
- type: 'filter',\r
- args: {\r
- where_name: 'public_list_where',\r
- },\r
- },\r
- by_author: {\r
- type: 'foreign_filter',\r
- args: {\r
- tree_name: 'owner',\r
- },\r
- },\r
- },\r
},\r
speech_balloon: {\r
- extend: 'classname', \r
associations: {\r
belongs_to: {\r
panel: {\r
number: true,\r
}\r
},\r
- classname: {\r
+ speech_balloon_template_classname: {\r
type: 'text',\r
rules : {\r
required: true,\r
min: 0,\r
}\r
},\r
- settings: {\r
+ speech_balloon_template_settings: {\r
type: 'text',\r
rules : {\r
}\r
}\r
},\r
},\r
- tree: {\r
- owner: 'panel',\r
- panel: 'panel',\r
- },\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- private: {\r
- type: 'private',\r
- },\r
- by_panel: {\r
- type: 'filter',\r
- },\r
- by_speech_balloon_template: {\r
- type: 'filter',\r
- },\r
- by_author: {\r
- type: 'foreign_filter',\r
- },\r
- },\r
}, \r
balloon: {\r
associations: {\r
number: true,\r
}\r
},\r
+ speech_balloon_template_id: {\r
+ type: 'number',\r
+ rules : {\r
+ required: true,\r
+ number: true,\r
+ }\r
+ },\r
+ speech_balloon_template_classname: {\r
+ type: 'text',\r
+ rules : {\r
+ required: true,\r
+ }\r
+ },\r
system_picture_id: {\r
type: 'number',\r
rules : {\r
number: true,\r
}\r
},\r
- settings: {\r
+ speech_balloon_template_settings: {\r
type: 'text',\r
rules : {\r
}\r
},\r
},\r
- tree: {\r
- owner: 'speech_balloon',\r
- panel: 'speech_balloon',\r
- },\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- private: {\r
- type: 'private',\r
- },\r
- by_panel: {\r
- type: 'filter',\r
- },\r
- by_speech_balloon: {\r
- type: 'filter',\r
- },\r
- by_author: {\r
- type: 'foreign_filter',\r
- },\r
- },\r
},\r
speech: {\r
associations: {\r
number: true,\r
}\r
},\r
+ speech_balloon_template_id: {\r
+ type: 'number',\r
+ rules : {\r
+ required: true,\r
+ number: true,\r
+ }\r
+ },\r
+ speech_balloon_template_classname: {\r
+ type: 'text',\r
+ rules : {\r
+ required: true,\r
+ }\r
+ },\r
writing_format_id: {\r
type: 'number',\r
source: {\r
number: true,\r
}\r
},\r
+ writing_format_classname: {\r
+ type: 'text',\r
+ rules : {\r
+ required: true,\r
+ }\r
+ },\r
content: {\r
type: 'text',\r
rules : {\r
rules : {\r
}\r
},\r
- settings: {\r
+ speech_balloon_template_settings: {\r
type: 'text',\r
rules : {\r
}\r
},\r
- },\r
- tree: {\r
- owner: 'speech_balloon',\r
- panel: 'speech_balloon',\r
- },\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- by_speech_balloon: {\r
- type: 'filter',\r
- },\r
- by_writing_format: {\r
- type: 'filter',\r
+ writing_format_settings: {\r
+ type: 'text',\r
+ rules : {\r
+ }\r
},\r
},\r
},\r
}\r
},\r
},\r
- tree: {\r
- owner: 'panel',\r
- panel: 'panel',\r
- },\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- private: {\r
- type: 'private',\r
- },\r
- by_panel: {\r
- type: 'filter',\r
- },\r
- by_author: {\r
- type: 'foreign_filter',\r
- },\r
- },\r
},\r
ground_color: {\r
associations: {\r
}\r
},\r
},\r
- tree: {\r
- owner: 'panel',\r
- panel: 'panel',\r
- },\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- private: {\r
- type: 'private',\r
- },\r
- by_panel: {\r
- type: 'filter',\r
- },\r
- by_author: {\r
- type: 'foreign_filter',\r
- },\r
- },\r
},\r
original_picture: {\r
associations: {\r
type: 'datetime',\r
},\r
},\r
- lists: {\r
- private: {\r
- type: 'private',\r
- },\r
- },\r
},\r
picture: {\r
associations: {\r
}\r
},\r
},\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- private: {\r
- type: 'private',\r
- },\r
- by_license: {\r
- type: 'filter',\r
- },\r
- by_artist: {\r
- type: 'filter',\r
- },\r
- },\r
},\r
speech_balloon_template: {\r
associations: {\r
}\r
},\r
},\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- select_items: {\r
- type: 'system_resource',\r
- args: {\r
- select_item_name: 'panel_visible_items',\r
- },\r
- },\r
- },\r
},\r
writing_format: {\r
associations: {\r
}\r
},\r
},\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- select_items: {\r
- type: 'system_resource',\r
- },\r
- by_system_picture: {\r
- type: 'filter',\r
- },\r
- },\r
},\r
license_group: {\r
associations: {\r
}\r
},\r
},\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- select_items: {\r
- type: 'system_resource',\r
- },\r
- },\r
},\r
license: {\r
associations: {\r
number: true,\r
}\r
},\r
+ license_group_classname: {\r
+ type: 'text',\r
+ rules : {\r
+ required: true,\r
+ }\r
+ },\r
name: {\r
type: 'text',\r
rules : {\r
required: true,\r
}\r
},\r
- settings: {\r
+ license_group_settings: {\r
type: 'text',\r
rules : {\r
}\r
}\r
},\r
},\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- by_license_group: {\r
- type: 'filter',\r
- },\r
- by_system_picture: {\r
- type: 'filter',\r
- },\r
- },\r
},\r
author: {\r
associations: {\r
}\r
},\r
},\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- },\r
},\r
artist: {\r
associations: {\r
}\r
},\r
},\r
- lists: {\r
- public: {\r
- type: 'public',\r
- },\r
- },\r
},\r
system_picture: {\r
associations: {\r
}\r
},\r
},\r
- lists: {\r
- public: {\r
- type: 'public',\r
+ },\r
+ ###############################################################\r
+ #\r
+ # extend models\r
+ #\r
+ ################################################################\r
+ circle_speech_balloon_speech_balloon: {\r
+ attributes: {\r
+ width: {\r
+ type: 'number',\r
+ rules : {\r
+ required: true,\r
+ number: true,\r
+ }\r
+ },\r
+ },\r
+ },\r
+ circle_speech_balloon_speech_balloon: {\r
+ attributes: {\r
+ width: {\r
+ type: 'number',\r
+ rules : {\r
+ required: true,\r
+ number: true,\r
+ }\r
+ },\r
+ },\r
+ },\r
+ circle_speech_balloon_speech_balloon: {\r
+ attributes: {\r
+ width: {\r
+ type: 'number',\r
+ rules : {\r
+ required: true,\r
+ number: true,\r
+ }\r
+ },\r
+ },\r
+ },\r
+ pettanr_pettan_commons_v01_licenses_attribute: {\r
+ attributes: {\r
+ license_id: {\r
+ type: 'number',\r
+ rules : {\r
+ required: true,\r
+ number: true,\r
+ }\r
+ },\r
+ artist_name: {\r
+ type: 'text',\r
+ rules : {\r
+ required: true,\r
+ }\r
+ },\r
+ caption: {\r
+ type: 'text',\r
+ rules : {\r
+ required: true,\r
+ }\r
+ },\r
+ sources: {\r
+ type: 'text',\r
+ rules : {\r
+ required: true,\r
+ }\r
},\r
},\r
},\r