Skip to content

Commit 8e5678a

Browse files
Ruk33jessopb
authored andcommitted
Add missing censor and text properties to ResolveResponse.
1 parent e3564a2 commit 8e5678a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

flow-typed/Lbry.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,16 @@ declare type BalanceResponse = {
7575

7676
declare type ResolveResponse = {
7777
// Keys are the url(s) passed to resolve
78-
[string]: { error?: {}, stream?: StreamClaim, channel?: ChannelClaim, collection?: CollectionClaim, claimsInChannel?: number },
78+
[string]: {
79+
error?: {
80+
censor?: string,
81+
text?: string,
82+
},
83+
stream?: StreamClaim,
84+
channel?: ChannelClaim,
85+
collection?: CollectionClaim,
86+
claimsInChannel?: number
87+
},
7988
};
8089

8190
declare type GetResponse = FileListItem & { error?: string };

0 commit comments

Comments
 (0)