From 8e5678af5b8ca4701117d85f88ad285608aa75dc Mon Sep 17 00:00:00 2001 From: Franco Montenegro Date: Mon, 12 Sep 2022 18:27:16 -0300 Subject: [PATCH] Add missing censor and text properties to ResolveResponse. --- flow-typed/Lbry.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/flow-typed/Lbry.js b/flow-typed/Lbry.js index f913e15cc..64b94d54e 100644 --- a/flow-typed/Lbry.js +++ b/flow-typed/Lbry.js @@ -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 };