from @unified-product-graph/core/catalog · re-exported by @sdk
Catalog
The canonical list of every UPG entity type and edge type.
13 exports · 4 const · 4 type · 1 interface · 4 fn
Since v0.1.0Quick import
import { UPG_EDGE_CATALOG, isPolymorphicEdge } from '@unified-product-graph/core/catalog'Example
// Inspect the canonical shape of an edge type
import { UPG_EDGE_CATALOG, isPolymorphicEdge } from '@unified-product-graph/core/catalog'
const edge = UPG_EDGE_CATALOG.find(e => e.key === 'persona_pursues_job')
console.log(edge?.forward_verb) // → 'pursues'
isPolymorphicEdge('node_informs_node') // → trueThe canonical list of every UPG entity type and edge type. Constants you import for runtime entity-type checks, edge-type enumeration, and pair-lookup (UPG_TYPES, UPG_EDGE_PAIR_MAP). Zero external imports, the absolute foundation of the spec.
Exports
Constants
{ product_targets_persona: { forward_verb: string; reverse_verb: string; classification: "semantic"; source_type: str...readonly ("product_targets_persona" | "persona_pursues_job" | "persona_experiences_need" | "persona_aspires_to_desire...Types
type DeprecatedUPGEntityType = neverNo entity types are currently deprecated; this union is `never`.
type UPGEntityType = | 'product' | 'outcome' | 'objective' | 'key_result' | 'metric' | 'metric_quality_assessment' | 'vision' | 'mission' ...The union of every active entity type, across 36 flat domains.
Interfaces
Functions
(stage: unknown) => booleanTrue when `stage` is a known legacy alias (would migrate to a different canonical value).
(key: _UPGEdgeTypeLocal) => booleanTrue if the edge uses the `'node'` wildcard at either endpoint.
(key: _UPGEdgeTypeLocal) => booleanTrue if the edge is in the registered polymorphic allow-list.