claim_id is now guaranteed
This commit is contained in:
parent
78ec8c3c16
commit
ba9e68b1da
1 changed files with 1 additions and 1 deletions
2
flow-typed/Comment.js
vendored
2
flow-typed/Comment.js
vendored
|
@ -1,6 +1,7 @@
|
||||||
declare type Comment = {
|
declare type Comment = {
|
||||||
comment: string, // comment body
|
comment: string, // comment body
|
||||||
comment_id: string, // sha256 digest
|
comment_id: string, // sha256 digest
|
||||||
|
claim_id: string, // id linking to the claim this comment
|
||||||
timestamp: number, // integer representing unix-time
|
timestamp: number, // integer representing unix-time
|
||||||
is_hidden: boolean, // claim owner may enable/disable this
|
is_hidden: boolean, // claim owner may enable/disable this
|
||||||
channel_id?: string, // claimId of channel signing this comment
|
channel_id?: string, // claimId of channel signing this comment
|
||||||
|
@ -10,7 +11,6 @@ declare type Comment = {
|
||||||
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?: number, // comment_id of comment this is in reply to
|
||||||
claim_id?: string, // id linking to the claim this comment
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// todo: relate individual comments to their commentId
|
// todo: relate individual comments to their commentId
|
||||||
|
|
Loading…
Add table
Reference in a new issue