OptionsType
OptionsType =
object
Defined in: packages/synapse-core/src/sp/schedule-piece-deletion.ts:94
Properties
Section titled “Properties”clientDataSetId
Section titled “clientDataSetId”clientDataSetId:
bigint
Defined in: packages/synapse-core/src/sp/schedule-piece-deletion.ts:100
The client data set id (nonce) to use for the signature. Must be unique for each data set.
dataSetId
Section titled “dataSetId”dataSetId:
bigint
Defined in: packages/synapse-core/src/sp/schedule-piece-deletion.ts:98
The data set ID to delete the piece from.
pieceIds
Section titled “pieceIds”pieceIds:
bigint[]
Defined in: packages/synapse-core/src/sp/schedule-piece-deletion.ts:96
The piece IDs to delete. Duplicate IDs are removed before signing.
retryCount?
Section titled “retryCount?”
optionalretryCount?:number
Defined in: packages/synapse-core/src/sp/schedule-piece-deletion.ts:106
The number of retries. Defaults to 2.
retryDelay?
Section titled “retryDelay?”
optionalretryDelay?:number
Defined in: packages/synapse-core/src/sp/schedule-piece-deletion.ts:108
The delay with exponential backoff between retries in milliseconds. Defaults to RETRY_CONSTANTS.RETRY_DELAY.
serviceURL
Section titled “serviceURL”serviceURL:
string
Defined in: packages/synapse-core/src/sp/schedule-piece-deletion.ts:102
The service URL of the PDP API.
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: packages/synapse-core/src/sp/schedule-piece-deletion.ts:104
The signal to abort the request.