|
|
@ -6,6 +6,7 @@ import ComponentWrapper from '../../dom_components/model/ComponentWrapper'; |
|
|
import EditorModel from '../../editor/model/Editor'; |
|
|
import EditorModel from '../../editor/model/Editor'; |
|
|
import { CssRuleJSON } from '../../css_composer/model/CssRule'; |
|
|
import { CssRuleJSON } from '../../css_composer/model/CssRule'; |
|
|
import { ComponentDefinition } from '../../dom_components/model/types'; |
|
|
import { ComponentDefinition } from '../../dom_components/model/types'; |
|
|
|
|
|
import { DataCollectionStateMap } from '../../data_sources/model/data_collection/types'; |
|
|
|
|
|
|
|
|
/** @private */ |
|
|
/** @private */ |
|
|
export interface PageProperties { |
|
|
export interface PageProperties { |
|
|
@ -38,6 +39,8 @@ export interface PagePropertiesDefined extends Pick<PageProperties, 'id' | 'name |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
export default class Page extends Model<PagePropertiesDefined> { |
|
|
export default class Page extends Model<PagePropertiesDefined> { |
|
|
|
|
|
collectionsStateMap: DataCollectionStateMap = {}; |
|
|
|
|
|
|
|
|
defaults() { |
|
|
defaults() { |
|
|
return { |
|
|
return { |
|
|
name: '', |
|
|
name: '', |
|
|
|