import { AptlyPageSectionType } from '../enums/index.js'; import { AptlyBaseSchema } from './extends.js'; export type AptlyPage = AptlyPageSchema; export interface AptlyPageSchema extends AptlyBaseSchema { slug: string; project: ID; organization: ID; summary: string; icon?: string; upsellTemplate?: ID | null; sections: AptlyPageSectionSchema[]; legacy?: string; image?: string; showInMenu: boolean; } export type AptlyPageSection = AptlyPageSectionSchema; export interface AptlyPageSectionSchema { _id: ID; name: string; type: AptlyPageSectionType; value: VALUE; }