UploadedPiece
Defined in: synapse-react/src/warm-storage/use-upload-pieces.ts:42
A piece uploaded and added to the data set by useUploadPieces.
Properties
Section titled “Properties”file:
File
Defined in: synapse-react/src/warm-storage/use-upload-pieces.ts:44
The source file.
metadata
Section titled “metadata”metadata:
MetadataObject|undefined
Defined in: synapse-react/src/warm-storage/use-upload-pieces.ts:52
The metadata stored with the piece.
pieceCid
Section titled “pieceCid”pieceCid:
PieceCID
Defined in: synapse-react/src/warm-storage/use-upload-pieces.ts:46
The PieceCID.
pieceId
Section titled “pieceId”pieceId:
bigint|undefined
Defined in: synapse-react/src/warm-storage/use-upload-pieces.ts:48
The piece id in the data set, from the confirmed add-pieces transaction.
size:
number
Defined in: synapse-react/src/warm-storage/use-upload-pieces.ts:50
The raw size of the piece in bytes.