Schema change for CommentsState

This commit is contained in:
Oleg Silkin 2020-01-09 21:27:23 -05:00
parent 586b07a243
commit 2844087334

View file

@ -16,7 +16,8 @@ declare type Comment = {
// todo: relate individual comments to their commentId
declare type CommentsState = {
commentsByUri: { [string]: string },
byId: { [string]: Array<Comment> },
byId: { [string]: Array<string> },
commentById: { [string]: Comment },
isLoading: boolean,
myComments: ?Set<Comment>,
myComments: ?Set<string>,
};