Add missing censor and text properties to ResolveResponse.

This commit is contained in:
Franco Montenegro 2022-09-12 18:27:16 -03:00 committed by zeppi
parent e3564a2d2b
commit 8e5678af5b

11
flow-typed/Lbry.js vendored
View file

@ -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 };