Correct typing for list channels request
This commit is contained in:
parent
0e241a8b7a
commit
df789c3a31
1 changed files with 5 additions and 5 deletions
|
|
@ -134,15 +134,15 @@ export interface Services {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ListChannelsReq {
|
export interface ListChannelsReq {
|
||||||
active_only: boolean
|
active_only?: boolean
|
||||||
inactive_only: boolean
|
inactive_only?: boolean
|
||||||
public_only: boolean
|
public_only?: boolean
|
||||||
private_only: boolean
|
private_only?: boolean
|
||||||
/**
|
/**
|
||||||
* Filters the response for channels with a target peer's pubkey. If peer is
|
* Filters the response for channels with a target peer's pubkey. If peer is
|
||||||
* empty, all channels will be returned.
|
* empty, all channels will be returned.
|
||||||
*/
|
*/
|
||||||
peer: Common.Bytes
|
peer?: Common.Bytes
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue