aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/schema.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/schema.graphql')
-rw-r--r--graphql/schema.graphql23
1 files changed, 19 insertions, 4 deletions
diff --git a/graphql/schema.graphql b/graphql/schema.graphql
index 2e685779..5c0d759f 100644
--- a/graphql/schema.graphql
+++ b/graphql/schema.graphql
@@ -141,16 +141,31 @@ type TimelineItemEdge {
node: TimelineItem!
}
+type CommentHistoryStep {
+ message: String!
+ date: Time!
+}
+
type CreateTimelineItem implements TimelineItem {
hash: Hash!
- lastState: Comment!
- history: [Comment!]!
+ author: Person!
+ message: String!
+ files: [Hash!]!
+ createdAt: Time!
+ lastEdit: Time!
+ edited: Boolean!
+ history: [CommentHistoryStep!]!
}
type CommentTimelineItem implements TimelineItem {
hash: Hash!
- lastState: Comment!
- history: [Comment!]!
+ author: Person!
+ message: String!
+ files: [Hash!]!
+ createdAt: Time!
+ lastEdit: Time!
+ edited: Boolean!
+ history: [CommentHistoryStep!]!
}
"""The connection type for Bug."""