import { AslPerson } from './asl-person' import { WebAppCategory } from './category' import { EntityType } from './entity-type' import { Upload } from './upload-file' import { WithMongooseProps } from './with-mongoose-props' import { WithTenantProps } from './with-tenant-props' import { WithTranslations } from './with-translations' import { Unit } from './unit' import { AggregationPage } from './aggregation-page' import { Service } from './service' export type DocumentTranslation = { name: string description?: string whatIs?: string } export type Document = WithMongooseProps< WithTenantProps< DocumentTranslation & { protocolNumber?: string protocolDate?: string file: Upload alternativeFiles?: Upload[] authorId?: string author?: AslPerson managerUnitId?: string managerUnit?: Unit categoryId?: string category?: WebAppCategory entityTypeId?: string entityType?: EntityType aggregationPageIds?: string[] aggregationPages?: AggregationPage[] targetPageIds?: string[] targetPages?: AggregationPage[] pageUrl: string translations: WithTranslations services?: Service[] } > >