remove unused comment types

This commit is contained in:
Sean Yesmunt 2021-04-22 14:13:10 -04:00
parent b511282c35
commit 7e17344683
2 changed files with 0 additions and 20 deletions

View file

@ -124,14 +124,6 @@ declare type ChannelUpdateResponse = GenericTxResponse & {
declare type CommentCreateResponse = Comment; declare type CommentCreateResponse = Comment;
declare type CommentUpdateResponse = Comment; declare type CommentUpdateResponse = Comment;
declare type CommentListResponse = {
items: Array<Comment>,
page: number,
page_size: number,
total_items: number,
total_pages: number,
};
declare type MyReactions = { declare type MyReactions = {
// Keys are the commentId // Keys are the commentId
[string]: Array<string>, [string]: Array<string>,
@ -308,8 +300,6 @@ declare type LbryTypes = {
preference_set: (params: {}) => Promise<any>, preference_set: (params: {}) => Promise<any>,
// Commenting // Commenting
comment_list: (params: {}) => Promise<CommentListResponse>,
comment_create: (params: {}) => Promise<CommentCreateResponse>,
comment_update: (params: {}) => Promise<CommentUpdateResponse>, comment_update: (params: {}) => Promise<CommentUpdateResponse>,
comment_hide: (params: {}) => Promise<CommentHideResponse>, comment_hide: (params: {}) => Promise<CommentHideResponse>,
comment_abandon: (params: {}) => Promise<CommentAbandonResponse>, comment_abandon: (params: {}) => Promise<CommentAbandonResponse>,

10
flow-typed/Lbry.js vendored
View file

@ -124,14 +124,6 @@ declare type ChannelUpdateResponse = GenericTxResponse & {
declare type CommentCreateResponse = Comment; declare type CommentCreateResponse = Comment;
declare type CommentUpdateResponse = Comment; declare type CommentUpdateResponse = Comment;
declare type CommentListResponse = {
items: Array<Comment>,
page: number,
page_size: number,
total_items: number,
total_pages: number,
};
declare type MyReactions = { declare type MyReactions = {
// Keys are the commentId // Keys are the commentId
[string]: Array<string>, [string]: Array<string>,
@ -308,8 +300,6 @@ declare type LbryTypes = {
preference_set: (params: {}) => Promise<any>, preference_set: (params: {}) => Promise<any>,
// Commenting // Commenting
comment_list: (params: {}) => Promise<CommentListResponse>,
comment_create: (params: {}) => Promise<CommentCreateResponse>,
comment_update: (params: {}) => Promise<CommentUpdateResponse>, comment_update: (params: {}) => Promise<CommentUpdateResponse>,
comment_hide: (params: {}) => Promise<CommentHideResponse>, comment_hide: (params: {}) => Promise<CommentHideResponse>,
comment_abandon: (params: {}) => Promise<CommentAbandonResponse>, comment_abandon: (params: {}) => Promise<CommentAbandonResponse>,