diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-30 11:00:39 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-30 11:03:42 +0200 |
commit | 037f5bf50b2bb2b020620413d186b6acf47a0b61 (patch) | |
tree | 6639ac6f8c53bcc4a27660ea92faff46974e98b2 /graphql/schema.graphql | |
parent | d450c7a883876e0f5356fb5cb54109a0a2a77dfd (diff) | |
download | git-bug-037f5bf50b2bb2b020620413d186b6acf47a0b61.tar.gz |
timeline: various minor improvements
Diffstat (limited to 'graphql/schema.graphql')
-rw-r--r-- | graphql/schema.graphql | 23 |
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.""" |