from @unified-product-graph/core/presentation · re-exported by @sdk
Presentation
Display-layer metadata: type labels, framework labels, and domain rings.
19 exports · 5 const · 4 interface · 10 fn
Since v0.3.0Quick import
import { UPG_TYPE_LABELS_MAP } from '@unified-product-graph/core/presentation'Example
// Render a human-readable label for any entity type
import { UPG_TYPE_LABELS_MAP } from '@unified-product-graph/core/presentation'
UPG_TYPE_LABELS_MAP.get('value_proposition')?.label // → 'Value Proposition'
UPG_TYPE_LABELS_MAP.get('metric_quality_assessment')?.label // → 'Metric Quality Assessment'Display-layer metadata: type labels, framework labels, and domain rings. Everything used by UI to render entity types in human-readable form lives here: UPG_TYPE_LABELS, UPG_LENSES, UPG_DOMAIN_RINGS. Presentation concerns are applied on read and never stored in the graph.
Exports
Constants
Interfaces
interface UPGDomainRingUPG Domain Rings: 7 concentric groupings of the 36 UPG domains.
interface UPGLensA contextual projection of the product graph for a specific role, framework, or mode of thinking.
interface UPGLensIntelligencePromptA single context-sensitive nudge belonging to a lens's intelligence layer.
Functions
(domainId: string) => UPGLens[]Get all lenses that include a given domain in their visible_domains.
(lens: UPGLens) => UPGPlaybook | undefinedResolve a lens to its associated `UPGPlaybook`.
(domainId: string) => UPGDomainRing | undefinedLook up which ring a domain belongs to.