Edit Comment UI reflects expired edit comment window

This commit is contained in:
Benjamin Goering
2017-05-03 12:34:22 -07:00
parent b9a3466e2e
commit ae3cbe990b
9 changed files with 194 additions and 15 deletions
+8
View File
@@ -166,6 +166,11 @@ input CommentCountQuery {
tag: [String]
}
type EditInfo {
edited: Boolean!
editableUntil: Date
}
# Comment is the base representation of user interaction in Talk.
type Comment {
@@ -207,6 +212,9 @@ type Comment {
# The time when the comment was created
created_at: Date!
# describes how the comment can be edited
editing: EditInfo
}
################################################################################