From 01df9522d53884a6f6f5b928f255349d40f8303b Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 8 Sep 2020 13:52:40 -0400 Subject: [PATCH] remove comments flow type --- dist/flow-typed/Comment.js | 23 ----------------------- flow-typed/Comment.js | 23 ----------------------- 2 files changed, 46 deletions(-) delete mode 100644 dist/flow-typed/Comment.js delete mode 100644 flow-typed/Comment.js diff --git a/dist/flow-typed/Comment.js b/dist/flow-typed/Comment.js deleted file mode 100644 index 64ea974..0000000 --- a/dist/flow-typed/Comment.js +++ /dev/null @@ -1,23 +0,0 @@ -declare type Comment = { - comment: string, // comment body - comment_id: string, // sha256 digest - claim_id: string, // id linking to the claim this comment - timestamp: number, // integer representing unix-time - is_hidden: boolean, // claim owner may enable/disable this - channel_id?: string, // claimId of channel signing this comment - channel_name?: string, // name of channel claim - channel_url?: string, // full lbry url to signing channel - signature?: string, // signature of comment by originating channel - signing_ts?: string, // timestamp used when signing this comment - is_channel_signature_valid?: boolean, // whether or not the signature could be validated - parent_id?: number, // comment_id of comment this is in reply to -}; - -// todo: relate individual comments to their commentId -declare type CommentsState = { - commentsByUri: { [string]: string }, - byId: { [string]: Array }, - commentById: { [string]: Comment }, - isLoading: boolean, - myComments: ?Set, -}; diff --git a/flow-typed/Comment.js b/flow-typed/Comment.js deleted file mode 100644 index 64ea974..0000000 --- a/flow-typed/Comment.js +++ /dev/null @@ -1,23 +0,0 @@ -declare type Comment = { - comment: string, // comment body - comment_id: string, // sha256 digest - claim_id: string, // id linking to the claim this comment - timestamp: number, // integer representing unix-time - is_hidden: boolean, // claim owner may enable/disable this - channel_id?: string, // claimId of channel signing this comment - channel_name?: string, // name of channel claim - channel_url?: string, // full lbry url to signing channel - signature?: string, // signature of comment by originating channel - signing_ts?: string, // timestamp used when signing this comment - is_channel_signature_valid?: boolean, // whether or not the signature could be validated - parent_id?: number, // comment_id of comment this is in reply to -}; - -// todo: relate individual comments to their commentId -declare type CommentsState = { - commentsByUri: { [string]: string }, - byId: { [string]: Array }, - commentById: { [string]: Comment }, - isLoading: boolean, - myComments: ?Set, -};