Skip to content

CopyResult

Defined in: packages/synapse-sdk/src/types.ts:383

Result for a single successful copy of data on a provider

dataSetId: bigint

Defined in: packages/synapse-sdk/src/types.ts:387

Data set ID on this provider


isNewDataSet: boolean

Defined in: packages/synapse-sdk/src/types.ts:395

Whether a new data set was created for this copy


pieceId: bigint

Defined in: packages/synapse-sdk/src/types.ts:389

Piece ID within the data set


providerId: bigint

Defined in: packages/synapse-sdk/src/types.ts:385

Provider ID that holds this copy


retrievalUrl: string

Defined in: packages/synapse-sdk/src/types.ts:393

URL where this copy can be retrieved


role: "primary" | "secondary"

Defined in: packages/synapse-sdk/src/types.ts:391

Whether this is the primary (store) or secondary (pull) copy