ResolvedLocation
Defined in: packages/synapse-core/src/warm-storage/location-types.ts:86
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.
Properties
Section titled “Properties”clientDataSetId
Section titled “clientDataSetId”clientDataSetId:
bigint|null
Defined in: packages/synapse-core/src/warm-storage/location-types.ts:95
Client data set ID of the matched dataset, or null if a new dataset should be created.
Pass it to signAddPieces / SP.addPieces without re-reading the data set.
dataSetId
Section titled “dataSetId”dataSetId:
bigint|null
Defined in: packages/synapse-core/src/warm-storage/location-types.ts:90
Matched dataset ID, or null if a new dataset should be created
dataSetMetadata
Section titled “dataSetMetadata”dataSetMetadata:
MetadataObject
Defined in: packages/synapse-core/src/warm-storage/location-types.ts:99
Dataset metadata (matched from existing dataset, or the requested metadata for new datasets)
endorsed
Section titled “endorsed”endorsed:
boolean
Defined in: packages/synapse-core/src/warm-storage/location-types.ts:97
Whether this provider is endorsed
provider
Section titled “provider”provider:
PDPProvider
Defined in: packages/synapse-core/src/warm-storage/location-types.ts:88
The selected provider