import { WithMongooseProps } from './with-mongoose-props' import { WithTenantProps } from './with-tenant-props' import { Category } from './category' import { WithTranslations } from './with-translations' import { PageTypes, ReferenceEntityTypes } from '../constants' import { Section } from './section' export type Page = WithMongooseProps< WithTenantProps<{ name: string description: string parentId: string pageType: PageTypes showInFooter: boolean referenceEntityType: ReferenceEntityTypes pathName: string categoryId: string category?: Category sections: Section[] translations: WithTranslations<{ name: string description: string }> }> >