lbry-redux/flow-typed/Comment.js

20 lines
375 B
JavaScript
Raw Normal View History

2019-06-12 03:14:37 +02:00
declare type Comment = {
2019-07-17 22:46:22 +02:00
author?: string,
author_url?: string,
2019-06-12 03:14:37 +02:00
claim_index?: number,
comment_id?: number,
downvotes?: number,
message: string,
omitted?: number,
reply_count?: number,
time_posted?: number,
upvotes?: number,
parent_id?: number,
};
declare type CommentsState = {
byId: {},
isLoading: boolean,
commentsByUri: { [string]: string },
}