Interface: UseRevokeSubname<T>
Interface defining the parameters needed to revoke a subname.
Type parameters
Name | Type | Description |
---|---|---|
T | any | The 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
Name | Type |
---|---|
params | T & 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