Skip to content

CopyResult

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

Result of a successful copy to a single provider

dataSetId: bigint

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

Data set ID on this provider


isNewDataSet: boolean

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

Whether a new data set was created for this copy


pieceId: bigint

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

Piece ID within the data set


providerId: bigint

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

Provider ID


retrievalUrl: string

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

Direct retrieval URL


role: "primary" | "secondary"

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

Role in the upload flow