UseUploadProps
Defined in: synapse-react/src/warm-storage/use-upload.ts:8
Options shared by the write hooks that can sign with a session key.
Extends
Section titled “Extends”Omit<StorageManagerUploadOptions,"contexts"|"pieceMetadata">.SessionKeySignerOptions
Properties
Section titled “Properties”callbacks?
Section titled “callbacks?”
optionalcallbacks?:Partial<CombinedCallbacks>
Defined in: synapse-sdk/dist/src/storage/manager.d.ts:10
Inherited from
Section titled “Inherited from”Omit.callbacks
copies?
Section titled “copies?”
optionalcopies?:number
Defined in: synapse-sdk/dist/src/types.d.ts:134
Inherited from
Section titled “Inherited from”Omit.copies
dataSetIds?
Section titled “dataSetIds?”
optionaldataSetIds?:bigint[]
Defined in: synapse-sdk/dist/src/types.d.ts:135
Inherited from
Section titled “Inherited from”Omit.dataSetIds
excludeProviderIds?
Section titled “excludeProviderIds?”
optionalexcludeProviderIds?:bigint[]
Defined in: synapse-sdk/dist/src/types.d.ts:137
Inherited from
Section titled “Inherited from”Omit.excludeProviderIds
metadata?
Section titled “metadata?”
optionalmetadata?:Record<string,string>
Defined in: synapse-sdk/dist/src/types.d.ts:130
Inherited from
Section titled “Inherited from”Omit.metadata
mutation?
Section titled “mutation?”
optionalmutation?:Omit<MutateOptions<UploadResult,Error,UseUploadVariables,unknown>,"mutationFn">
Defined in: synapse-react/src/warm-storage/use-upload.ts:12
pieceCid?
Section titled “pieceCid?”
optionalpieceCid?:PieceCID
Defined in: synapse-sdk/dist/src/storage/manager.d.ts:11
Inherited from
Section titled “Inherited from”Omit.pieceCid
providerIds?
Section titled “providerIds?”
optionalproviderIds?:bigint[]
Defined in: synapse-sdk/dist/src/types.d.ts:136
Inherited from
Section titled “Inherited from”Omit.providerIds
sessionKey?
Section titled “sessionKey?”
optionalsessionKey?:SessionKey<"Secp256k1"> |null
Defined in: synapse-react/src/signer.ts:14
The session key to sign storage provider (EIP-712) operations with. If not provided, the connected wallet signs.
Inherited from
Section titled “Inherited from”SessionKeySignerOptions.sessionKey
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: synapse-sdk/dist/src/storage/manager.d.ts:12
Inherited from
Section titled “Inherited from”Omit.signal
source
Section titled “source”source:
string|null
Defined in: synapse-react/src/warm-storage/use-upload.ts:11
withCDN?
Section titled “withCDN?”
optionalwithCDN?:boolean
Defined in: synapse-sdk/dist/src/types.d.ts:129
Inherited from
Section titled “Inherited from”Omit.withCDN