Skip to main content

Interface: UseRevokeSubname<T>

Interface defining the parameters needed to revoke a subname.

Type parameters

NameTypeDescription
TanyThe type of additional parameters that can be passed to the revoke subname mutation, extending the base request.

Properties

revokeSubname

revokeSubname: (params: T & BaseRevokeSubnameRequest) => Promise<SubnameRevokeResponse>

The function to revoke a subname.

Type declaration

▸ (params): Promise<SubnameRevokeResponse>

Parameters
NameType
paramsT & BaseRevokeSubnameRequest
Returns

Promise<SubnameRevokeResponse>

Defined in

packages/@justaname.id/react/src/lib/hooks/useRevokeSubname.ts:28


revokeSubnamePending

revokeSubnamePending: boolean

Indicates if the mutation is currently pending.

Defined in

packages/@justaname.id/react/src/lib/hooks/useRevokeSubname.ts:31