import { WithMongooseProps } from './with-mongoose-props' import { WithTenantProps } from './with-tenant-props' import { WithTranslations } from './with-translations' import { Upload } from './upload-file' import { Structure } from './structure' import { Unit } from './unit' import { Document } from './document' import { EntityType } from './entity-type' import { WebAppCategory } from './category' import { AddressSchema } from './address' import { AggregationPage } from './aggregation-page' type AslPeopleTranslations = { consultingLocationDescription?: string description: string assignments: string knowledge?: string consultingHours: string bio: string additionalInfo: string contacts: string } export type AslPerson = WithMongooseProps< WithTenantProps<{ name: string surname: string title: string subTitleId?: string subTitle?: EntityType description: string previewImage?: Upload consultingLocationDescription?: string assignments: string knowledge?: string unitIds: string[] units?: Unit[] consultingHours?: string consultingLocationId?: string consultingLocation?: Structure consultingLocationAddress?: AddressSchema structureIds?: string[] structures?: Structure[] contacts?: string bio: string imageGallery?: Upload[] documentIds: string[] documents?: Document[] additionalInfo: string pageUrl: string categoryId?: string category?: WebAppCategory entityTypeId?: string entityType?: EntityType aggregationPageIds: string[] aggregationPages?: AggregationPage[] isPublished?: boolean employmentTerminated?: boolean translations: WithTranslations }> >