Merge branch 'master' into story-137818425-tag-staff

This commit is contained in:
Gabriela Rodríguez Berón
2017-02-10 10:32:43 -08:00
committed by GitHub
4 changed files with 105 additions and 1 deletions
+6
View File
@@ -89,6 +89,9 @@ type Comment {
# the user who authored the comment.
user: User
# the recent replies made against this comment.
recentReplies: [Comment]
# the replies that were made to the comment.
replies(sort: SORT_ORDER = CHRONOLOGICAL, limit: Int = 3): [Comment]
@@ -165,6 +168,9 @@ type Asset {
# The URL that the asset is located on.
url: String
# Returns recent comments
recentComments: [Comment]
# The top level comments that are attached to the asset.
comments(sort: SORT_ORDER = REVERSE_CHRONOLOGICAL, limit: Int = 10): [Comment]