Skip to content

Commit

Permalink
Add missing censor and text properties to ResolveResponse.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruk33 authored and jessopb committed Nov 3, 2022
1 parent e3564a2 commit 8e5678a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion flow-typed/Lbry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down

0 comments on commit 8e5678a

Please sign in to comment.