Skip to content

ResolvedLocation

Defined in: packages/synapse-core/src/warm-storage/location-types.ts:70

A resolved provider+dataset pair ready for upload.

The currency between selection and upload. selectProviders() returns an array of these; the caller passes them to upload/pull/commit functions.

dataSetId: bigint | null

Defined in: packages/synapse-core/src/warm-storage/location-types.ts:74

Matched dataset ID, or null if a new dataset should be created


dataSetMetadata: MetadataObject

Defined in: packages/synapse-core/src/warm-storage/location-types.ts:78

Dataset metadata (matched from existing dataset, or the requested metadata for new datasets)


endorsed: boolean

Defined in: packages/synapse-core/src/warm-storage/location-types.ts:76

Whether this provider is endorsed


provider: PDPProvider

Defined in: packages/synapse-core/src/warm-storage/location-types.ts:72

The selected provider