import { WithMongooseProps } from './with-mongoose-props' import { WithTenantProps } from './with-tenant-props' import { WebAppCategory } from './category' import { WithTranslations } from './with-translations' import { EntityTypeTypes, ReferenceEntityTypes } from '../constants' export type EntityType = WithMongooseProps< WithTenantProps<{ name: string description: string categoryId: string category?: WebAppCategory type: EntityTypeTypes entityName: ReferenceEntityTypes parentId: string isPublished?: boolean translations: WithTranslations<{ name: string description: string }> parent?: EntityType pageUrl?: string isAdministrationEntityType?: boolean }> >