import { EntityType } from './entity-type'; import { AggregationPage } from './aggregation-page'; import { Contact } from './footer'; import { Structure } from './structure'; import { Unit } from './unit'; import { Upload } from './upload-file'; import { WithMongooseProps } from './with-mongoose-props'; import { WithTranslations } from './with-translations'; import { Document } from './document'; import { AslPerson } from './asl-person'; import { WebAppCategory } from './category'; import { AddressSchema } from './address'; export type Event = WithMongooseProps<{ name: string; description: string; startDate: string; endDate: string; longDescription: string; previewImage?: Upload; eventImageGallery?: Upload[]; targetDescription: string; targetPageIds?: string[]; targetPages?: AggregationPage[]; addressId: string; address: Structure; isPublished: boolean; price: string; onlineUrl: string; meetingUrl?: string; contacts?: Contact; tenantId: string; organizedById: string; organizedBy: Unit; sponsor?: string; additionalInformation?: string; categoryId?: string; category?: WebAppCategory; entityTypeId?: string; entityType?: EntityType; aslPeopleIds?: string[]; aslPeople?: AslPerson[]; relatedEventsIds?: string[]; relatedEvents?: Event[]; aggregationPageIds?: string[]; aggregationPages?: AggregationPage[]; pageUrl?: string; documents?: Document[]; appointmentsIds?: string[]; appointsments?: Event[]; sponsoredBy?: string; documentIds?: string[]; isPartOfId?: string; isPartOf?: Event; appointmentIds?: string[]; appointments?: Event[]; organizedByManual: string; translations: WithTranslations<{ name: string; description: string; longDescription: string; targetDescription: string; additionalInformation?: string; price: string; sponsoredBy?: string; sponsor?: string; organizedByManual: string; }>; addressManual: AddressSchema; }>;