API Reference
Rockets Core API
ts-common
interfaces
OtpClearInterface

Interface: OtpClearInterface<O>

Type Parameters

Type ParameterDefault type
O extends ReferenceQueryOptionsInterfaceReferenceQueryOptionsInterface

Methods

clear()

clear(assignment, otp, options?): Promise<void>

Clear all otps for assign in given category.

Parameters

ParameterTypeDescription
assignmentstringThe assignment of the repository
otpPick<OtpInterface, "assignee" | "category">The otp to clear
options?O-

Returns

Promise<void>

Defined in

ts-common/src/otp/interfaces/otp-clear.interface.ts:16 (opens in a new tab)