aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/schema/timeline.graphql
diff options
context:
space:
mode:
authorQuentin Gliech <quentingliech@gmail.com>2019-05-22 21:46:43 +0200
committerQuentin Gliech <quentingliech@gmail.com>2019-05-22 21:46:43 +0200
commit1c2ee10ce7a32df892604846279c7e199ce0ccea (patch)
treee5534df088b309eeb2cb9096f0a4c87a46abd292 /graphql/schema/timeline.graphql
parentaa6247ce870075922a1309718e8fafee321ef51d (diff)
downloadgit-bug-1c2ee10ce7a32df892604846279c7e199ce0ccea.tar.gz
graphql: Implement `Authored` whenever possible
webui: Use a fragment for Authored nodes
Diffstat (limited to 'graphql/schema/timeline.graphql')
-rw-r--r--graphql/schema/timeline.graphql10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphql/schema/timeline.graphql b/graphql/schema/timeline.graphql
index 35bb88bf..ccc89b87 100644
--- a/graphql/schema/timeline.graphql
+++ b/graphql/schema/timeline.graphql
@@ -29,7 +29,7 @@ type TimelineItemEdge {
# Items
"""CreateTimelineItem is a TimelineItem that represent the creation of a bug and its message edition history"""
-type CreateTimelineItem implements TimelineItem {
+type CreateTimelineItem implements TimelineItem & Authored {
"""The hash of the source operation"""
hash: Hash!
author: Identity!
@@ -43,7 +43,7 @@ type CreateTimelineItem implements TimelineItem {
}
"""AddCommentTimelineItem is a TimelineItem that represent a Comment and its edition history"""
-type AddCommentTimelineItem implements TimelineItem {
+type AddCommentTimelineItem implements TimelineItem & Authored {
"""The hash of the source operation"""
hash: Hash!
author: Identity!
@@ -57,7 +57,7 @@ type AddCommentTimelineItem implements TimelineItem {
}
"""LabelChangeTimelineItem is a TimelineItem that represent a change in the labels of a bug"""
-type LabelChangeTimelineItem implements TimelineItem {
+type LabelChangeTimelineItem implements TimelineItem & Authored {
"""The hash of the source operation"""
hash: Hash!
author: Identity!
@@ -67,7 +67,7 @@ type LabelChangeTimelineItem implements TimelineItem {
}
"""SetStatusTimelineItem is a TimelineItem that represent a change in the status of a bug"""
-type SetStatusTimelineItem implements TimelineItem {
+type SetStatusTimelineItem implements TimelineItem & Authored {
"""The hash of the source operation"""
hash: Hash!
author: Identity!
@@ -76,7 +76,7 @@ type SetStatusTimelineItem implements TimelineItem {
}
"""LabelChangeTimelineItem is a TimelineItem that represent a change in the title of a bug"""
-type SetTitleTimelineItem implements TimelineItem {
+type SetTitleTimelineItem implements TimelineItem & Authored {
"""The hash of the source operation"""
hash: Hash!
author: Identity!