@myvitalrx/metadata-runtime 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -299,6 +299,21 @@ interface ProjectionManifest {
299
299
  * target value codes. Both directions of every ACTIVE relation are present.
300
300
  */
301
301
  type RelationshipIndex = Record<string, Record<string, string[]>>;
302
+ /**
303
+ * One forward relation row in `typed-relations.json`.
304
+ * Includes ACTIVE and INACTIVE relations. Does not replace {@link RelationshipIndex}.
305
+ */
306
+ interface TypedProjectionRelation {
307
+ relationType: string;
308
+ status: string;
309
+ fromMetadataTypeCode: string;
310
+ fromMetadataValueCode: string;
311
+ toMetadataTypeCode: string;
312
+ toMetadataValueCode: string;
313
+ moduleCode?: string;
314
+ featureCode?: string;
315
+ permissionActionCode?: string;
316
+ }
302
317
  /**
303
318
  * Slim related-value reference on a projection version entry.
304
319
  */
@@ -384,7 +399,15 @@ interface ProjectionFile extends ProjectionEnvelope {
384
399
  valueDataType?: string;
385
400
  /** Registry `multiSelectAllowed`. */
386
401
  multiSelectAllowed?: boolean;
402
+ /**
403
+ * Latest ACTIVE versions. Default lookups read this map only.
404
+ */
387
405
  records: Record<string, ProjectionRecord>;
406
+ /**
407
+ * Latest INACTIVE versions, omitted when empty.
408
+ * Default lookups ignore this map. Callers opt in with `includeInactive`.
409
+ */
410
+ inactiveRecords?: Record<string, ProjectionRecord>;
388
411
  }
389
412
  /**
390
413
  * Cross-cutting common projection (common.json).
@@ -399,6 +422,13 @@ interface CommonProjectionFile extends ProjectionEnvelope {
399
422
  valueDataType: string;
400
423
  multiSelectAllowed: boolean;
401
424
  applicableModules: string[];
425
+ /**
426
+ * Registry type-level flag. Omitted when the registry type has no boolean value.
427
+ * Not a substitute default.
428
+ */
429
+ required?: boolean;
430
+ /** Registry type-level flag. Omitted when the registry type has no boolean value. */
431
+ isGlobal?: boolean;
402
432
  }>;
403
433
  modules: string[];
404
434
  }
@@ -480,6 +510,11 @@ type MetadataCacheSnapshot = {
480
510
  readonly domainFiles: ReadonlyMap<string, ProjectionFile>;
481
511
  readonly common?: CommonProjectionFile;
482
512
  readonly relationshipIndex?: RelationshipIndex;
513
+ /**
514
+ * Forward relation rows from `typed-relations.json`.
515
+ * Undefined when the release does not publish the catalog.
516
+ */
517
+ readonly typedRelations?: readonly TypedProjectionRelation[];
483
518
  readonly manifest: ProjectionManifest;
484
519
  readonly localization?: ReadonlyMap<string, ReadonlyMap<string, string>>;
485
520
  };
@@ -505,6 +540,7 @@ type MetadataHealthReport = {
505
540
  type LoadedProjectionBundle = ReadModelBundle<ProjectionManifest, ProjectionFile> & {
506
541
  common?: CommonProjectionFile;
507
542
  relationshipIndex?: RelationshipIndex;
543
+ typedRelations?: TypedProjectionRelation[];
508
544
  localization?: Map<string, Map<string, string>>;
509
545
  loadedFiles: string[];
510
546
  };
@@ -1054,6 +1090,12 @@ declare class MetadataDownloader implements ReadModelDownloader<LoadedProjection
1054
1090
  * Load `relationship-index.json` when listed in the manifest integrity catalog.
1055
1091
  * Missing/corrupt/mismatched artifacts fail closed — never activate an empty map.
1056
1092
  */
1093
+ /**
1094
+ * Download `common.json` for a release (type catalog: display name, value data type,
1095
+ * multi-select). Not part of bootstrap — published catalog APIs request it explicitly.
1096
+ */
1097
+ downloadCommon(manifest: ProjectionManifest): Promise<CommonProjectionFile>;
1098
+ downloadTypedRelations(manifest: ProjectionManifest): Promise<TypedProjectionRelation[] | undefined>;
1057
1099
  downloadRelationshipIndex(manifest: ProjectionManifest): Promise<RelationshipIndex | undefined>;
1058
1100
  private assertManifestMatchesRelease;
1059
1101
  private parseAndValidateProjectionBody;
@@ -1097,6 +1139,8 @@ declare class MetadataCache implements ReadModelCache<MetadataCacheSnapshot, Pro
1097
1139
  getDomainFile(type: ResolvableMetadataType): ProjectionFile | undefined;
1098
1140
  getCommon(): CommonProjectionFile | undefined;
1099
1141
  getRelationshipIndex(): RelationshipIndex | undefined;
1142
+ /** Undefined when the active release has no typed relation catalog. */
1143
+ getTypedRelations(): readonly TypedProjectionRelation[] | undefined;
1100
1144
  getLocalization(locale: string): ReadonlyMap<string, string> | undefined;
1101
1145
  getLocalizationMap(locale: string): ReadonlyMap<string, string> | undefined;
1102
1146
  getLocalizationValue(key: string, locale?: string): string | undefined;
@@ -1106,6 +1150,11 @@ declare class MetadataCache implements ReadModelCache<MetadataCacheSnapshot, Pro
1106
1150
  * Previous snapshot is discarded (not mutated).
1107
1151
  */
1108
1152
  replace(bundle: LoadedProjectionBundle): MetadataCacheSnapshot;
1153
+ /**
1154
+ * Install `common.json` into the current snapshot (same release).
1155
+ * Used by published catalog reads. Does not mutate the prior snapshot.
1156
+ */
1157
+ mergeCommon(common: CommonProjectionFile, guard?: MetadataCacheWriteGuard): MetadataCacheSnapshot;
1109
1158
  /**
1110
1159
  * Merge additional domain projection files into the current snapshot (same revision).
1111
1160
  * Used by selective on-demand downloads — never mutates the prior snapshot.
@@ -1284,6 +1333,24 @@ declare class MetadataHealthService {
1284
1333
  type MetadataResolveOptions = {
1285
1334
  locale?: string;
1286
1335
  version?: number;
1336
+ /**
1337
+ * Include latest INACTIVE values from `inactiveRecords`.
1338
+ * Default lookups stay active-record only.
1339
+ */
1340
+ includeInactive?: boolean;
1341
+ };
1342
+ type MetadataRelationQuery = {
1343
+ fromType: string;
1344
+ fromValue: string;
1345
+ relationType?: string;
1346
+ toType?: string;
1347
+ };
1348
+ type MetadataRelationRow = TypedProjectionRelation;
1349
+ type MetadataRelationListResult = {
1350
+ releaseId: string | null;
1351
+ /** False when this release has no typed relation catalog. */
1352
+ supported: boolean;
1353
+ relations: MetadataRelationRow[];
1287
1354
  };
1288
1355
  /**
1289
1356
  * Compact lookup item returned by {@link MetadataProvider.getValue} /
@@ -1307,6 +1374,8 @@ type MetadataProviderStatus = {
1307
1374
  lastSuccessfulRefreshAt: string | null;
1308
1375
  cacheAgeMs: number | null;
1309
1376
  metadataTypes?: readonly string[];
1377
+ /** Present when the extension recorded a load or refresh failure. */
1378
+ lastError?: string | null;
1310
1379
  };
1311
1380
  type MetadataBatchResult = {
1312
1381
  releaseId: string | null;
@@ -1335,7 +1404,35 @@ interface MetadataProvider {
1335
1404
  * Extension-only. Returns true when a new snapshot was activated.
1336
1405
  */
1337
1406
  requestRefresh?(releaseId?: string): Promise<boolean>;
1407
+ /**
1408
+ * Every published value for one metadata type.
1409
+ * Unknown types are a projection miss (`null`).
1410
+ */
1411
+ listTypeValues(typeCode: string, options?: MetadataResolveOptions): Promise<ListedMetadataType | null>;
1412
+ /**
1413
+ * Forward relation rows. `supported: false` means this release has no typed catalog.
1414
+ * Does not change {@link getRelatedValues}, which stays active-only.
1415
+ */
1416
+ listRelations(query: MetadataRelationQuery): Promise<MetadataRelationListResult>;
1338
1417
  }
1418
+ /** Type catalog row published with a metadata type listing. */
1419
+ type MetadataTypeCatalogInfo = {
1420
+ metadataType: string;
1421
+ displayName: string;
1422
+ valueDataType: string;
1423
+ multiSelectAllowed: boolean;
1424
+ status: string;
1425
+ /** Omitted when the published type catalog has no boolean value. */
1426
+ required?: boolean;
1427
+ /** Omitted when the published type catalog has no boolean value. */
1428
+ isGlobal?: boolean;
1429
+ };
1430
+ type ListedMetadataType = {
1431
+ releaseId: string | null;
1432
+ values: MetadataValue[];
1433
+ /** Null when the transport response has no complete type catalog row. */
1434
+ type: MetadataTypeCatalogInfo | null;
1435
+ };
1339
1436
  declare function projectionEntryToMetadataValue(typeCode: string, valueCode: string, entry: ProjectionEntry, locale?: string): MetadataValue;
1340
1437
  declare function localizedLabelFromEntry(entry: ProjectionEntry, locale?: string): string;
1341
1438
  declare function metadataValueToReference(value: MetadataValue): MetadataReference;
@@ -1421,6 +1518,8 @@ declare class RuntimeMetadataService implements ReadModelProvider<ProjectionEntr
1421
1518
  * for the lifetime of the Lambda execution context.
1422
1519
  */
1423
1520
  private readonly domainLoadInFlight;
1521
+ /** Coalesce concurrent common.json downloads for the current release. */
1522
+ private commonLoadInFlight;
1424
1523
  /**
1425
1524
  * Types soft-skipped for the current release (no manifest integrity entry).
1426
1525
  * Prevents ensureProjectionTypesLoaded from retrying unsupported types forever.
@@ -1476,6 +1575,13 @@ declare class RuntimeMetadataService implements ReadModelProvider<ProjectionEntr
1476
1575
  * returns immediately with **zero** S3 calls.
1477
1576
  */
1478
1577
  ensureProjectionTypesLoaded(metadataTypeCodes: readonly string[]): Promise<void>;
1578
+ /**
1579
+ * Ensure `common.json` is cached for the active release.
1580
+ * Published catalog reads use it for type display name, value data type, and multi-select.
1581
+ */
1582
+ ensureCommonLoaded(): Promise<CommonProjectionFile>;
1583
+ getRelationshipIndex(): RelationshipIndex | undefined;
1584
+ private downloadAndMergeCommon;
1479
1585
  private syncUnsupportedProjectionRelease;
1480
1586
  private findMissingTypeCodes;
1481
1587
  private downloadAndMergeTypes;
@@ -1502,6 +1608,8 @@ declare class RuntimeMetadataService implements ReadModelProvider<ProjectionEntr
1502
1608
  getValue(typeCode: string, valueCode: string, options?: MetadataResolveOptions): Promise<MetadataValue | null>;
1503
1609
  batchGet(references: string[], options?: MetadataResolveOptions): Promise<MetadataBatchResult>;
1504
1610
  getRelatedValues(sourceTypeCode: string, sourceValueCode: string, targetTypeCode: string, options?: MetadataResolveOptions): Promise<MetadataValue[]>;
1611
+ listRelations(query: MetadataRelationQuery): Promise<MetadataRelationListResult>;
1612
+ listTypeValues(typeCode: string, options?: MetadataResolveOptions): Promise<ListedMetadataType | null>;
1505
1613
  getActiveProviderKind(): MetadataProviderKind;
1506
1614
  getProviderTransportState(): string;
1507
1615
  getExtensionHealthCheckCount(): number;
@@ -1615,6 +1723,9 @@ type ExtensionMetadataProviderOptions = {
1615
1723
  logger?: StructuredLogger;
1616
1724
  fetchImpl?: typeof fetch;
1617
1725
  };
1726
+ /** Type catalog row from GET /v1/metadata/{typeCode}. */
1727
+ type ExtensionMetadataTypeInfo = MetadataTypeCatalogInfo;
1728
+
1618
1729
  /**
1619
1730
  * Localhost client for the metadata Lambda Extension.
1620
1731
  * Business Lambdas must not construct this directly — use
@@ -1632,6 +1743,12 @@ declare class ExtensionMetadataProvider implements MetadataProvider {
1632
1743
  getStatus(): Promise<MetadataProviderStatus>;
1633
1744
  getValue(typeCode: string, valueCode: string, options?: MetadataResolveOptions): Promise<MetadataValue | null>;
1634
1745
  batchGet(references: string[], options?: MetadataResolveOptions): Promise<MetadataBatchResult>;
1746
+ /**
1747
+ * Every published value for one metadata type.
1748
+ * GET /v1/metadata/{typeCode}. Unknown types are a projection miss (`null`).
1749
+ */
1750
+ listTypeValues(typeCode: string, options?: MetadataResolveOptions): Promise<ListedMetadataType | null>;
1751
+ listRelations(query: MetadataRelationQuery): Promise<MetadataRelationListResult>;
1635
1752
  getRelatedValues(sourceTypeCode: string, sourceValueCode: string, targetTypeCode: string, options?: MetadataResolveOptions): Promise<MetadataValue[]>;
1636
1753
  getLocalizationValue(keyOrTypeCode: string, valueCodeOrLocale?: string, maybeLocale?: string): Promise<string | undefined>;
1637
1754
  getLocalizationMap(locale: string): Promise<Record<string, string> | undefined>;
@@ -1663,7 +1780,9 @@ declare class S3MetadataProvider implements MetadataProvider {
1663
1780
  getStatus(): Promise<MetadataProviderStatus>;
1664
1781
  getValue(typeCode: string, valueCode: string, options?: MetadataResolveOptions): Promise<MetadataValue | null>;
1665
1782
  batchGet(references: string[], options?: MetadataResolveOptions): Promise<MetadataBatchResult>;
1783
+ listRelations(query: MetadataRelationQuery): Promise<MetadataRelationListResult>;
1666
1784
  getRelatedValues(sourceTypeCode: string, sourceValueCode: string, targetTypeCode: string, options?: MetadataResolveOptions): Promise<MetadataValue[]>;
1785
+ listTypeValues(typeCode: string, options?: MetadataResolveOptions): Promise<ListedMetadataType | null>;
1667
1786
  }
1668
1787
  declare function relatedValueCodes(index: RelationshipIndex | undefined, sourceTypeCode: string, sourceValueCode: string, targetTypeCode: string): string[];
1669
1788
  /** S3 client is owned by RuntimeMetadataService; listed for documentation. */
@@ -1679,6 +1798,8 @@ type InMemoryMetadataProviderOptions = {
1679
1798
  releaseId?: string;
1680
1799
  records?: InMemoryMetadataRecord[];
1681
1800
  unavailable?: boolean;
1801
+ /** When omitted, listRelations reports the catalog as unsupported. */
1802
+ relations?: MetadataRelationRow[];
1682
1803
  };
1683
1804
  /**
1684
1805
  * Test / local provider. Never talks to S3 or the extension.
@@ -1689,6 +1810,7 @@ declare class InMemoryMetadataProvider implements MetadataProvider {
1689
1810
  private forcedState?;
1690
1811
  private readonly byKey;
1691
1812
  private readonly related;
1813
+ private readonly relations;
1692
1814
  constructor(options?: InMemoryMetadataProviderOptions);
1693
1815
  isAvailable(): Promise<boolean>;
1694
1816
  setUnavailable(unavailable: boolean): void;
@@ -1700,7 +1822,9 @@ declare class InMemoryMetadataProvider implements MetadataProvider {
1700
1822
  getStatus(): Promise<MetadataProviderStatus>;
1701
1823
  getValue(typeCode: string, valueCode: string, options?: MetadataResolveOptions): Promise<MetadataValue | null>;
1702
1824
  batchGet(references: string[], options?: MetadataResolveOptions): Promise<MetadataBatchResult>;
1825
+ listRelations(query: MetadataRelationQuery): Promise<MetadataRelationListResult>;
1703
1826
  getRelatedValues(sourceTypeCode: string, sourceValueCode: string, targetTypeCode: string, options?: MetadataResolveOptions): Promise<MetadataValue[]>;
1827
+ listTypeValues(typeCode: string, options?: MetadataResolveOptions): Promise<ListedMetadataType | null>;
1704
1828
  }
1705
1829
 
1706
1830
  declare const PROVIDER_TRANSPORT_STATE: {
@@ -1763,4 +1887,4 @@ declare class ProviderFailoverCoordinator {
1763
1887
  }
1764
1888
  declare function isExtensionServing(status: MetadataProviderStatus): boolean;
1765
1889
 
1766
- export { CACHE_STATUS, type CacheStatus, type CandidateDiagnostic, type CollectMetadataDiagnostics, type CollectResponseMetadataOptions, type CreateRuntimeMetadataFromEnvOptions, DEFAULT_EXCLUDED_CODE_FIELDS, DEFAULT_PROVIDER_RECOVERY_COOLDOWN_MS, ExtensionMetadataProvider, type ExtensionMetadataProviderOptions, InMemoryMetadataProvider, type InMemoryMetadataProviderOptions, type InMemoryMetadataRecord, InvalidMetadataReferenceError, type LoadedProjectionBundle, METADATA_PROJECTIONS_BUCKET_ENV, METADATA_PROVIDER_KIND, type ManifestCompareResult, type ManifestLookupIndexEntry, type ManifestMetadataTypeEntry, ManifestValidationError, type MetadataBatchResult, MetadataCache, type MetadataCacheSnapshot, type MetadataCacheWriteGuard, MetadataDownloader, type MetadataDownloaderOptions, type MetadataHealthReport, MetadataHealthService, type MetadataHealthServiceOptions, MetadataLoader, type MetadataLoaderOptions, MetadataLookupError, MetadataNotReadyError, MetadataProjectionUnavailableError, type MetadataProvider, type MetadataProviderKind, type MetadataProviderStatus, type MetadataReference, MetadataRefreshService, type MetadataRefreshServiceOptions, type MetadataResolveOptions, MetadataResolver, type MetadataResolverOptions, type MetadataValue, NON_METADATA_KEYS, PROVIDER_TRANSPORT_STATE, ProjectionDownloadError, type ProjectionEntry, type ProjectionVersionEntry, ProviderFailoverCoordinator, type ProviderFailoverCoordinatorOptions, type ProviderTransportState, REFRESH_STATUS, RUNTIME_METADATA_EVENTS, RUNTIME_METADATA_INTEGRATION_TARGETS, RUNTIME_METADATA_TYPE_CODE_ALIASES, type ReadModelArtifact, type ReadModelBundle, type ReadModelCache, type ReadModelCacheLoader, type ReadModelDownloader, type ReadModelGroupDescriptor, type ReadModelGroupId, type ReadModelManifestGroupView, type ReadModelManifestGroups, type ReadModelProvider, type ReadModelRefreshCoordinator, type ReadModelResolver, type RefreshStatus, type ResolvableMetadataType, type ResolvedProjectionEntry, type RuntimeMetadataConfig, type RuntimeMetadataConfigInput, RuntimeMetadataError, RuntimeMetadataService, type RuntimeMetadataServiceOptions, S3MetadataProvider, type S3MetadataProviderClient, type S3MetadataProviderOptions, type SelectMetadataProviderInput, type SelectedMetadataProvider, UnknownMetadataTypeError, WORKFLOW_STEP_RULE_KEYS, canonicalMetadataProjectionsBucketName, collectResponseReferences, collectResponseTypeCodes, createCodeFieldExclusionSet, createRuntimeMetadataFromEnv, defaultExtensionBaseUrl, ensureRuntimeMetadataLoaded, formatMetadataReference, getCandidateTypeCodesForKey, getRuntimeMetadataHealth, getRuntimeMetadataService, hasPotentialMetadata, isCompactMetadataReference, isExtensionEnabled, isExtensionServing, isMetadataProjectionConfigured, isMetadataProjectionsBucketConfigured, isMetadataReference, isMetadataValueObject, isMetadataValueObjectArray, isWorkflowStepRecord, isWorkflowStepRuleField, localizedLabelFromEntry, manifestLocalizationSchema, metadataGroupFromManifest, metadataValueToReference, normalizeRuntimeMetadataTypeCode, onMetadataProjectionCompleted, parseMetadataReference, projectionEntryToMetadataValue, projectionManifestSchema, readMetadataProjectionsBucket, readModelGroupsFromManifest, relatedValueCodes, resetRuntimeMetadataBootstrapState, resolveMetadataProjectionsBucket, resolveRuntimeMetadataConfig, runtimeMetadataConfigSchema, selectMetadataProvider, tryGetRuntimeMetadataService, tryParseMetadataReference, typeCodeFromCodeFieldName };
1890
+ export { CACHE_STATUS, type CacheStatus, type CandidateDiagnostic, type CollectMetadataDiagnostics, type CollectResponseMetadataOptions, type CreateRuntimeMetadataFromEnvOptions, DEFAULT_EXCLUDED_CODE_FIELDS, DEFAULT_PROVIDER_RECOVERY_COOLDOWN_MS, ExtensionMetadataProvider, type ExtensionMetadataProviderOptions, type ExtensionMetadataTypeInfo, InMemoryMetadataProvider, type InMemoryMetadataProviderOptions, type InMemoryMetadataRecord, InvalidMetadataReferenceError, type ListedMetadataType, type LoadedProjectionBundle, METADATA_PROJECTIONS_BUCKET_ENV, METADATA_PROVIDER_KIND, type ManifestCompareResult, type ManifestLookupIndexEntry, type ManifestMetadataTypeEntry, ManifestValidationError, type MetadataBatchResult, MetadataCache, type MetadataCacheSnapshot, type MetadataCacheWriteGuard, MetadataDownloader, type MetadataDownloaderOptions, type MetadataHealthReport, MetadataHealthService, type MetadataHealthServiceOptions, MetadataLoader, type MetadataLoaderOptions, MetadataLookupError, MetadataNotReadyError, MetadataProjectionUnavailableError, type MetadataProvider, type MetadataProviderKind, type MetadataProviderStatus, type MetadataReference, MetadataRefreshService, type MetadataRefreshServiceOptions, type MetadataRelationListResult, type MetadataRelationQuery, type MetadataRelationRow, type MetadataResolveOptions, MetadataResolver, type MetadataResolverOptions, type MetadataTypeCatalogInfo, type MetadataValue, NON_METADATA_KEYS, PROVIDER_TRANSPORT_STATE, ProjectionDownloadError, type ProjectionEntry, type ProjectionVersionEntry, ProviderFailoverCoordinator, type ProviderFailoverCoordinatorOptions, type ProviderTransportState, REFRESH_STATUS, RUNTIME_METADATA_EVENTS, RUNTIME_METADATA_INTEGRATION_TARGETS, RUNTIME_METADATA_TYPE_CODE_ALIASES, type ReadModelArtifact, type ReadModelBundle, type ReadModelCache, type ReadModelCacheLoader, type ReadModelDownloader, type ReadModelGroupDescriptor, type ReadModelGroupId, type ReadModelManifestGroupView, type ReadModelManifestGroups, type ReadModelProvider, type ReadModelRefreshCoordinator, type ReadModelResolver, type RefreshStatus, type ResolvableMetadataType, type ResolvedProjectionEntry, type RuntimeMetadataConfig, type RuntimeMetadataConfigInput, RuntimeMetadataError, RuntimeMetadataService, type RuntimeMetadataServiceOptions, S3MetadataProvider, type S3MetadataProviderClient, type S3MetadataProviderOptions, type SelectMetadataProviderInput, type SelectedMetadataProvider, UnknownMetadataTypeError, WORKFLOW_STEP_RULE_KEYS, canonicalMetadataProjectionsBucketName, collectResponseReferences, collectResponseTypeCodes, createCodeFieldExclusionSet, createRuntimeMetadataFromEnv, defaultExtensionBaseUrl, ensureRuntimeMetadataLoaded, formatMetadataReference, getCandidateTypeCodesForKey, getRuntimeMetadataHealth, getRuntimeMetadataService, hasPotentialMetadata, isCompactMetadataReference, isExtensionEnabled, isExtensionServing, isMetadataProjectionConfigured, isMetadataProjectionsBucketConfigured, isMetadataReference, isMetadataValueObject, isMetadataValueObjectArray, isWorkflowStepRecord, isWorkflowStepRuleField, localizedLabelFromEntry, manifestLocalizationSchema, metadataGroupFromManifest, metadataValueToReference, normalizeRuntimeMetadataTypeCode, onMetadataProjectionCompleted, parseMetadataReference, projectionEntryToMetadataValue, projectionManifestSchema, readMetadataProjectionsBucket, readModelGroupsFromManifest, relatedValueCodes, resetRuntimeMetadataBootstrapState, resolveMetadataProjectionsBucket, resolveRuntimeMetadataConfig, runtimeMetadataConfigSchema, selectMetadataProvider, tryGetRuntimeMetadataService, tryParseMetadataReference, typeCodeFromCodeFieldName };