UseUploadProps
Defined in: packages/synapse-react/src/warm-storage/use-upload.ts:10
Properties
Section titled “Properties”mutation?
Section titled “mutation?”optional mutation: Omit<MutateOptions<AddPiecesSuccess, Error, UseUploadVariables, unknown>, "mutationFn">;Defined in: packages/synapse-react/src/warm-storage/use-upload.ts:16
onHash()?
Section titled “onHash()?”optional onHash: (hash) => void;Defined in: packages/synapse-react/src/warm-storage/use-upload.ts:14
The callback to call when the hash is available.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
hash | string |
Returns
Section titled “Returns”void
sessionKey?
Section titled “sessionKey?”optional sessionKey: SessionKey;Defined in: packages/synapse-react/src/warm-storage/use-upload.ts:15