Open timoftean opened 6 years ago
export interface Page { name: string content: Content url?: string children?: Component[] | string //Page api does not contain children } export interface Component { name: string content: Content children?: Component[] | string //Component does not contain children editableProps?: { [key: string]: ComponentEditableProp } } export interface Content { type: string source: string name: string style: { [key: string]: string } // Content contains children }