Add missing censor and text properties to ResolveResponse.
This commit is contained in:
parent
e3564a2d2b
commit
8e5678af5b
1 changed files with 10 additions and 1 deletions
11
flow-typed/Lbry.js
vendored
11
flow-typed/Lbry.js
vendored
|
@ -75,7 +75,16 @@ declare type BalanceResponse = {
|
|||
|
||||
declare type ResolveResponse = {
|
||||
// Keys are the url(s) passed to resolve
|
||||
[string]: { error?: {}, stream?: StreamClaim, channel?: ChannelClaim, collection?: CollectionClaim, claimsInChannel?: number },
|
||||
[string]: {
|
||||
error?: {
|
||||
censor?: string,
|
||||
text?: string,
|
||||
},
|
||||
stream?: StreamClaim,
|
||||
channel?: ChannelClaim,
|
||||
collection?: CollectionClaim,
|
||||
claimsInChannel?: number
|
||||
},
|
||||
};
|
||||
|
||||
declare type GetResponse = FileListItem & { error?: string };
|
||||
|
|
Loading…
Reference in a new issue