import { AddressSchema } from './address' import { AslPerson } from './asl-person' import { WebAppCategory } from './category' import { EntityType } from './entity-type' import { News } from './news' import { Service } from './service' import { Structure } from './structure' import { Upload } from './upload-file' import { WithMongooseProps } from './with-mongoose-props' import { WithTenantProps } from './with-tenant-props' import { WithTranslations } from './with-translations' import { Document } from './document' import { AggregationPage } from './aggregation-page' export type Unit = WithMongooseProps< WithTenantProps<{ name: string subTitle: string description: string skills?: string previewImage?: Upload address?: AddressSchema isPublished: boolean additionalInformation?: string additionalAddresses?: string contacts?: string managerId?: string directorId?: string manager?: AslPerson director?: AslPerson structureIds: string[] structures: Structure[] parentId?: string parent?: Unit children?: Unit[] categoryId?: string category?: WebAppCategory entityTypeId?: string entityType?: EntityType pageUrl: string openingHours: string services?: Array aslPeople?: Array news?: Array documentsIds?: Array documents?: Array aggregationPageIds?: Array aggregationPages?: Array translations: WithTranslations<{ name: string description: string skills?: string additionalInformation?: string subTitle: string openingHours?: string contacts?: string additionalAddresses?: string }> }> >