Skip to content

ResolvedLocation

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

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:73

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


endorsed: boolean

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

Whether this provider is endorsed


provider: PDPProvider

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

The selected provider