@myvitalrx/metadata-runtime 1.1.0 → 1.3.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 +142 -1
- package/dist/index.js +768 -45
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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,29 @@ 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[];
|
|
1354
|
+
};
|
|
1355
|
+
/** One source value and its related targets from {@link MetadataProvider.getRelatedValueGroups}. */
|
|
1356
|
+
type MetadataRelatedGroup = {
|
|
1357
|
+
sourceValueCode: string;
|
|
1358
|
+
values: MetadataValue[];
|
|
1287
1359
|
};
|
|
1288
1360
|
/**
|
|
1289
1361
|
* Compact lookup item returned by {@link MetadataProvider.getValue} /
|
|
@@ -1307,6 +1379,8 @@ type MetadataProviderStatus = {
|
|
|
1307
1379
|
lastSuccessfulRefreshAt: string | null;
|
|
1308
1380
|
cacheAgeMs: number | null;
|
|
1309
1381
|
metadataTypes?: readonly string[];
|
|
1382
|
+
/** Present when the extension recorded a load or refresh failure. */
|
|
1383
|
+
lastError?: string | null;
|
|
1310
1384
|
};
|
|
1311
1385
|
type MetadataBatchResult = {
|
|
1312
1386
|
releaseId: string | null;
|
|
@@ -1324,6 +1398,13 @@ interface MetadataProvider {
|
|
|
1324
1398
|
getValue(typeCode: string, valueCode: string, options?: MetadataResolveOptions): Promise<MetadataValue | null>;
|
|
1325
1399
|
batchGet(references: string[], options?: MetadataResolveOptions): Promise<MetadataBatchResult>;
|
|
1326
1400
|
getRelatedValues(sourceTypeCode: string, sourceValueCode: string, targetTypeCode: string, options?: MetadataResolveOptions): Promise<MetadataValue[]>;
|
|
1401
|
+
/**
|
|
1402
|
+
* Related values for many sources of one type.
|
|
1403
|
+
* Extension: one localhost call per chunk against `relationship-index.json`.
|
|
1404
|
+
* S3: the index already in {@link MetadataCache}. Does not change {@link getRelatedValues}.
|
|
1405
|
+
* Empty `sourceValueCodes` returns `[]`. Order follows `sourceValueCodes`.
|
|
1406
|
+
*/
|
|
1407
|
+
getRelatedValueGroups(sourceTypeCode: string, sourceValueCodes: readonly string[], targetTypeCode: string, options?: MetadataResolveOptions): Promise<MetadataRelatedGroup[]>;
|
|
1327
1408
|
getStatus(): Promise<MetadataProviderStatus>;
|
|
1328
1409
|
isAvailable(): Promise<boolean>;
|
|
1329
1410
|
/**
|
|
@@ -1335,7 +1416,35 @@ interface MetadataProvider {
|
|
|
1335
1416
|
* Extension-only. Returns true when a new snapshot was activated.
|
|
1336
1417
|
*/
|
|
1337
1418
|
requestRefresh?(releaseId?: string): Promise<boolean>;
|
|
1419
|
+
/**
|
|
1420
|
+
* Every published value for one metadata type.
|
|
1421
|
+
* Unknown types are a projection miss (`null`).
|
|
1422
|
+
*/
|
|
1423
|
+
listTypeValues(typeCode: string, options?: MetadataResolveOptions): Promise<ListedMetadataType | null>;
|
|
1424
|
+
/**
|
|
1425
|
+
* Forward relation rows. `supported: false` means this release has no typed catalog.
|
|
1426
|
+
* Does not change {@link getRelatedValues}, which stays active-only.
|
|
1427
|
+
*/
|
|
1428
|
+
listRelations(query: MetadataRelationQuery): Promise<MetadataRelationListResult>;
|
|
1338
1429
|
}
|
|
1430
|
+
/** Type catalog row published with a metadata type listing. */
|
|
1431
|
+
type MetadataTypeCatalogInfo = {
|
|
1432
|
+
metadataType: string;
|
|
1433
|
+
displayName: string;
|
|
1434
|
+
valueDataType: string;
|
|
1435
|
+
multiSelectAllowed: boolean;
|
|
1436
|
+
status: string;
|
|
1437
|
+
/** Omitted when the published type catalog has no boolean value. */
|
|
1438
|
+
required?: boolean;
|
|
1439
|
+
/** Omitted when the published type catalog has no boolean value. */
|
|
1440
|
+
isGlobal?: boolean;
|
|
1441
|
+
};
|
|
1442
|
+
type ListedMetadataType = {
|
|
1443
|
+
releaseId: string | null;
|
|
1444
|
+
values: MetadataValue[];
|
|
1445
|
+
/** Null when the transport response has no complete type catalog row. */
|
|
1446
|
+
type: MetadataTypeCatalogInfo | null;
|
|
1447
|
+
};
|
|
1339
1448
|
declare function projectionEntryToMetadataValue(typeCode: string, valueCode: string, entry: ProjectionEntry, locale?: string): MetadataValue;
|
|
1340
1449
|
declare function localizedLabelFromEntry(entry: ProjectionEntry, locale?: string): string;
|
|
1341
1450
|
declare function metadataValueToReference(value: MetadataValue): MetadataReference;
|
|
@@ -1421,6 +1530,8 @@ declare class RuntimeMetadataService implements ReadModelProvider<ProjectionEntr
|
|
|
1421
1530
|
* for the lifetime of the Lambda execution context.
|
|
1422
1531
|
*/
|
|
1423
1532
|
private readonly domainLoadInFlight;
|
|
1533
|
+
/** Coalesce concurrent common.json downloads for the current release. */
|
|
1534
|
+
private commonLoadInFlight;
|
|
1424
1535
|
/**
|
|
1425
1536
|
* Types soft-skipped for the current release (no manifest integrity entry).
|
|
1426
1537
|
* Prevents ensureProjectionTypesLoaded from retrying unsupported types forever.
|
|
@@ -1476,6 +1587,13 @@ declare class RuntimeMetadataService implements ReadModelProvider<ProjectionEntr
|
|
|
1476
1587
|
* returns immediately with **zero** S3 calls.
|
|
1477
1588
|
*/
|
|
1478
1589
|
ensureProjectionTypesLoaded(metadataTypeCodes: readonly string[]): Promise<void>;
|
|
1590
|
+
/**
|
|
1591
|
+
* Ensure `common.json` is cached for the active release.
|
|
1592
|
+
* Published catalog reads use it for type display name, value data type, and multi-select.
|
|
1593
|
+
*/
|
|
1594
|
+
ensureCommonLoaded(): Promise<CommonProjectionFile>;
|
|
1595
|
+
getRelationshipIndex(): RelationshipIndex | undefined;
|
|
1596
|
+
private downloadAndMergeCommon;
|
|
1479
1597
|
private syncUnsupportedProjectionRelease;
|
|
1480
1598
|
private findMissingTypeCodes;
|
|
1481
1599
|
private downloadAndMergeTypes;
|
|
@@ -1502,6 +1620,9 @@ declare class RuntimeMetadataService implements ReadModelProvider<ProjectionEntr
|
|
|
1502
1620
|
getValue(typeCode: string, valueCode: string, options?: MetadataResolveOptions): Promise<MetadataValue | null>;
|
|
1503
1621
|
batchGet(references: string[], options?: MetadataResolveOptions): Promise<MetadataBatchResult>;
|
|
1504
1622
|
getRelatedValues(sourceTypeCode: string, sourceValueCode: string, targetTypeCode: string, options?: MetadataResolveOptions): Promise<MetadataValue[]>;
|
|
1623
|
+
getRelatedValueGroups(sourceTypeCode: string, sourceValueCodes: readonly string[], targetTypeCode: string, options?: MetadataResolveOptions): Promise<MetadataRelatedGroup[]>;
|
|
1624
|
+
listRelations(query: MetadataRelationQuery): Promise<MetadataRelationListResult>;
|
|
1625
|
+
listTypeValues(typeCode: string, options?: MetadataResolveOptions): Promise<ListedMetadataType | null>;
|
|
1505
1626
|
getActiveProviderKind(): MetadataProviderKind;
|
|
1506
1627
|
getProviderTransportState(): string;
|
|
1507
1628
|
getExtensionHealthCheckCount(): number;
|
|
@@ -1615,6 +1736,9 @@ type ExtensionMetadataProviderOptions = {
|
|
|
1615
1736
|
logger?: StructuredLogger;
|
|
1616
1737
|
fetchImpl?: typeof fetch;
|
|
1617
1738
|
};
|
|
1739
|
+
/** Type catalog row from GET /v1/metadata/{typeCode}. */
|
|
1740
|
+
type ExtensionMetadataTypeInfo = MetadataTypeCatalogInfo;
|
|
1741
|
+
|
|
1618
1742
|
/**
|
|
1619
1743
|
* Localhost client for the metadata Lambda Extension.
|
|
1620
1744
|
* Business Lambdas must not construct this directly — use
|
|
@@ -1632,7 +1756,14 @@ declare class ExtensionMetadataProvider implements MetadataProvider {
|
|
|
1632
1756
|
getStatus(): Promise<MetadataProviderStatus>;
|
|
1633
1757
|
getValue(typeCode: string, valueCode: string, options?: MetadataResolveOptions): Promise<MetadataValue | null>;
|
|
1634
1758
|
batchGet(references: string[], options?: MetadataResolveOptions): Promise<MetadataBatchResult>;
|
|
1759
|
+
/**
|
|
1760
|
+
* Every published value for one metadata type.
|
|
1761
|
+
* GET /v1/metadata/{typeCode}. Unknown types are a projection miss (`null`).
|
|
1762
|
+
*/
|
|
1763
|
+
listTypeValues(typeCode: string, options?: MetadataResolveOptions): Promise<ListedMetadataType | null>;
|
|
1764
|
+
listRelations(query: MetadataRelationQuery): Promise<MetadataRelationListResult>;
|
|
1635
1765
|
getRelatedValues(sourceTypeCode: string, sourceValueCode: string, targetTypeCode: string, options?: MetadataResolveOptions): Promise<MetadataValue[]>;
|
|
1766
|
+
getRelatedValueGroups(sourceTypeCode: string, sourceValueCodes: readonly string[], targetTypeCode: string, options?: MetadataResolveOptions): Promise<MetadataRelatedGroup[]>;
|
|
1636
1767
|
getLocalizationValue(keyOrTypeCode: string, valueCodeOrLocale?: string, maybeLocale?: string): Promise<string | undefined>;
|
|
1637
1768
|
getLocalizationMap(locale: string): Promise<Record<string, string> | undefined>;
|
|
1638
1769
|
requestRefresh(releaseId?: string): Promise<boolean>;
|
|
@@ -1663,7 +1794,10 @@ declare class S3MetadataProvider implements MetadataProvider {
|
|
|
1663
1794
|
getStatus(): Promise<MetadataProviderStatus>;
|
|
1664
1795
|
getValue(typeCode: string, valueCode: string, options?: MetadataResolveOptions): Promise<MetadataValue | null>;
|
|
1665
1796
|
batchGet(references: string[], options?: MetadataResolveOptions): Promise<MetadataBatchResult>;
|
|
1797
|
+
listRelations(query: MetadataRelationQuery): Promise<MetadataRelationListResult>;
|
|
1666
1798
|
getRelatedValues(sourceTypeCode: string, sourceValueCode: string, targetTypeCode: string, options?: MetadataResolveOptions): Promise<MetadataValue[]>;
|
|
1799
|
+
getRelatedValueGroups(sourceTypeCode: string, sourceValueCodes: readonly string[], targetTypeCode: string, options?: MetadataResolveOptions): Promise<MetadataRelatedGroup[]>;
|
|
1800
|
+
listTypeValues(typeCode: string, options?: MetadataResolveOptions): Promise<ListedMetadataType | null>;
|
|
1667
1801
|
}
|
|
1668
1802
|
declare function relatedValueCodes(index: RelationshipIndex | undefined, sourceTypeCode: string, sourceValueCode: string, targetTypeCode: string): string[];
|
|
1669
1803
|
/** S3 client is owned by RuntimeMetadataService; listed for documentation. */
|
|
@@ -1679,6 +1813,8 @@ type InMemoryMetadataProviderOptions = {
|
|
|
1679
1813
|
releaseId?: string;
|
|
1680
1814
|
records?: InMemoryMetadataRecord[];
|
|
1681
1815
|
unavailable?: boolean;
|
|
1816
|
+
/** When omitted, listRelations reports the catalog as unsupported. */
|
|
1817
|
+
relations?: MetadataRelationRow[];
|
|
1682
1818
|
};
|
|
1683
1819
|
/**
|
|
1684
1820
|
* Test / local provider. Never talks to S3 or the extension.
|
|
@@ -1689,6 +1825,7 @@ declare class InMemoryMetadataProvider implements MetadataProvider {
|
|
|
1689
1825
|
private forcedState?;
|
|
1690
1826
|
private readonly byKey;
|
|
1691
1827
|
private readonly related;
|
|
1828
|
+
private readonly relations;
|
|
1692
1829
|
constructor(options?: InMemoryMetadataProviderOptions);
|
|
1693
1830
|
isAvailable(): Promise<boolean>;
|
|
1694
1831
|
setUnavailable(unavailable: boolean): void;
|
|
@@ -1700,7 +1837,11 @@ declare class InMemoryMetadataProvider implements MetadataProvider {
|
|
|
1700
1837
|
getStatus(): Promise<MetadataProviderStatus>;
|
|
1701
1838
|
getValue(typeCode: string, valueCode: string, options?: MetadataResolveOptions): Promise<MetadataValue | null>;
|
|
1702
1839
|
batchGet(references: string[], options?: MetadataResolveOptions): Promise<MetadataBatchResult>;
|
|
1840
|
+
listRelations(query: MetadataRelationQuery): Promise<MetadataRelationListResult>;
|
|
1703
1841
|
getRelatedValues(sourceTypeCode: string, sourceValueCode: string, targetTypeCode: string, options?: MetadataResolveOptions): Promise<MetadataValue[]>;
|
|
1842
|
+
getRelatedValueGroups(sourceTypeCode: string, sourceValueCodes: readonly string[], targetTypeCode: string, options?: MetadataResolveOptions): Promise<MetadataRelatedGroup[]>;
|
|
1843
|
+
private relatedValuesFor;
|
|
1844
|
+
listTypeValues(typeCode: string, options?: MetadataResolveOptions): Promise<ListedMetadataType | null>;
|
|
1704
1845
|
}
|
|
1705
1846
|
|
|
1706
1847
|
declare const PROVIDER_TRANSPORT_STATE: {
|
|
@@ -1763,4 +1904,4 @@ declare class ProviderFailoverCoordinator {
|
|
|
1763
1904
|
}
|
|
1764
1905
|
declare function isExtensionServing(status: MetadataProviderStatus): boolean;
|
|
1765
1906
|
|
|
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 };
|
|
1907
|
+
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 MetadataRelatedGroup, 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 };
|