import { WebAppCategory } from './category' import { Upload } from './upload-file' import { WithMongooseProps } from './with-mongoose-props' import { User } from './user' import { WithTranslations } from './with-translations' import { WithTenantProps } from './with-tenant-props' import { EntityType } from './entity-type' import { NewsTranslations } from './news' export type New = WithMongooseProps< WithTenantProps< NewsTranslations & { highlighted: boolean isPublished: boolean publishedDate: string expirationDate?: string previewImage?: Upload progressiveNumber?: number relatorId?: string relator?: User documentIds: string[] documents: Document[] newsImageGallery?: Upload[] translations: WithTranslations categoryId: string category?: WebAppCategory entityTypeId?: string entityType?: EntityType pageUrl: string } > >