import { Category, WebAppCategory } from './category' import { EntityType } from './entity-type' import { Structure } from './structure' import { Upload } from './upload-file' import { User } from './user' import { WithMongooseProps } from './with-mongoose-props' import { WithTenantProps } from './with-tenant-props' import { WithTranslations } from './with-translations' export type ActTranslations = { description: string } export type Act = WithMongooseProps< WithTenantProps< ActTranslations & { isPublished: boolean description: string openActReference?: string openActId?: number date: string publicationDate: string cancellationDate?: string structureId: string structure: Structure categoryId: string category: WebAppCategory entityTypeId: string entityType: EntityType files: Upload[] mainFile: Upload updatedById: string updatedBy: User pageUrl: string translations: WithTranslations originalData?: any } > > export type GroupedAct = { _id: string count: number entityTypeName: string entityTypeUrl: string lastPublicationDate: string }