Adds edit, hide, and abandon action types from new lbry sdk api
This commit is contained in:
parent
7c55a9e0f5
commit
78ec8c3c16
1 changed files with 12 additions and 0 deletions
12
flow-typed/Lbry.js
vendored
12
flow-typed/Lbry.js
vendored
|
@ -125,6 +125,8 @@ declare type ChannelUpdateResponse = GenericTxResponse & {
|
|||
};
|
||||
|
||||
declare type CommentCreateResponse = Comment;
|
||||
declare type CommentEditResponse = Comment;
|
||||
|
||||
declare type CommentListResponse = {
|
||||
items: Array<Comment>,
|
||||
page: number,
|
||||
|
@ -133,6 +135,16 @@ declare type CommentListResponse = {
|
|||
total_pages: number,
|
||||
};
|
||||
|
||||
declare type CommentHideResponse = {
|
||||
// keyed by the CommentIds entered
|
||||
[string]: { hidden: boolean },
|
||||
};
|
||||
|
||||
declare type CommentAbandonResponse = {
|
||||
// keyed by the CommentId given
|
||||
[string]: { abandoned: boolean },
|
||||
};
|
||||
|
||||
declare type ChannelListResponse = {
|
||||
items: Array<ChannelClaim>,
|
||||
page: number,
|
||||
|
|
Loading…
Reference in a new issue