import { StructEntityType } from '../../shared/struct-entity-type'; /** * Entity types the host knows how to navigate to. * Reuses StructEntityType for the core PIM entities and extends it with * GlobalList / GlobalListValue, which are not part of StructEntityType * because they don't share its semantics in event/context payloads. */ export type NavigatableEntityType = | StructEntityType | 'GlobalList' | 'GlobalListValue'; export interface NavigateToEntityPayload { entityType: NavigatableEntityType; entityId: string; }