UseUploadPiecesResult
Defined in: synapse-react/src/warm-storage/use-upload-pieces.ts:58
The result for the useUploadPieces mutation.
Properties
Section titled “Properties”confirmations
Section titled “confirmations”confirmations:
OutputType[]
Defined in: synapse-react/src/warm-storage/use-upload-pieces.ts:63
The on-chain outcomes of the add-pieces transactions, one per transaction. All files go in one transaction unless they don’t fit in a single add-pieces request.
failed
Section titled “failed”failed:
object[]
Defined in: synapse-react/src/warm-storage/use-upload-pieces.ts:67
The files that failed to upload or to be added. Retry them with a new mutation.
error:
Error
file:
File
pieces
Section titled “pieces”pieces:
UploadedPiece[]
Defined in: synapse-react/src/warm-storage/use-upload-pieces.ts:65
The pieces added to the data set, in file order.