Creates new redux store for replies
This commit is contained in:
parent
4b4217879c
commit
40cea617ee
1 changed files with 4 additions and 2 deletions
6
flow-typed/Comment.js
vendored
6
flow-typed/Comment.js
vendored
|
@ -10,12 +10,14 @@ declare type Comment = {
|
||||||
signature?: string, // signature of comment by originating channel
|
signature?: string, // signature of comment by originating channel
|
||||||
signing_ts?: string, // timestamp used when signing this comment
|
signing_ts?: string, // timestamp used when signing this comment
|
||||||
is_channel_signature_valid?: boolean, // whether or not the signature could be validated
|
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
|
parent_id?: string, // if present, the comment is a reply
|
||||||
};
|
};
|
||||||
|
|
||||||
// todo: relate individual comments to their commentId
|
// todo: implement --is_mine for comment_list
|
||||||
|
// todo: rename byId to commentsByClaimId
|
||||||
declare type CommentsState = {
|
declare type CommentsState = {
|
||||||
commentsByUri: { [string]: string },
|
commentsByUri: { [string]: string },
|
||||||
|
repliesByCommentId: { [string]: Array<string> },
|
||||||
byId: { [string]: Array<string> },
|
byId: { [string]: Array<string> },
|
||||||
commentById: { [string]: Comment },
|
commentById: { [string]: Comment },
|
||||||
isLoading: boolean,
|
isLoading: boolean,
|
||||||
|
|
Loading…
Reference in a new issue