Methods
issue
▸ issue<C>(command, options): Promise<ApprovalId>
Type parameters
Parameters
Returns
Promise<ApprovalId>
revoke
▸ revoke(id): Promise<null>
Parameters
Returns
Promise<null>Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Reference for the Approvals interface in bijection/server.
C>(command, options): Promise<ApprovalId>
| Name | Type |
|---|---|
C | extends CommandHandle<any> |
| Name | Type | Description |
|---|---|---|
command | C | - |
options | Object | - |
options.target | CommandTarget | - |
options.args | CommandArgs<C> | - |
options.beneficiary | string | - |
options.expiresAt | number | The instant the approval expires, in epoch milliseconds: the same spelling as Date.now() and _creationTime. |
Promise<ApprovalId>
id): Promise<null>
| Name | Type |
|---|---|
id | ApprovalId |
Promise<null>