import { IAttributeItem, IAttributes } from './IAttributes'; import { IBase } from './IBase'; import { INav } from './INav'; import { IPage, IWallpaper } from './IPage'; import { ISection } from './ISection'; import { ISeo } from './ISeo'; export interface IApp extends IBase { agency?: IAgency; agencyClient?: string; app?: ISeo; attributes?: IAttributes; client?: any; host?: string; name?: string; nav?: INav; page?: IPage; published?: IPublished; sections?: ISection[]; status?: string; templateType?: string; theme?: Theme; wallpaper: IWallpaper; } export interface IPublished { _id?: string; host?: string; origin?: string; version?: number; updatedAt?: Date; } interface IAgency extends IBase { name?: string; host?: string; type?: string; } export interface Theme { _id?: string; name?: string; active?: boolean; colors?: Color[]; } export interface Color { _id?: string; text?: string; value?: string; key?: string; order?: number; }