diff options
Diffstat (limited to 'graphql/schema')
-rw-r--r-- | graphql/schema/bug.graphql | 3 | ||||
-rw-r--r-- | graphql/schema/timeline.graphql | 10 | ||||
-rw-r--r-- | graphql/schema/types.graphql | 2 |
3 files changed, 7 insertions, 8 deletions
diff --git a/graphql/schema/bug.graphql b/graphql/schema/bug.graphql index 8e058ed7..03aa95b8 100644 --- a/graphql/schema/bug.graphql +++ b/graphql/schema/bug.graphql @@ -27,7 +27,7 @@ enum Status { CLOSED } -type Bug { +type Bug implements Authored { """The identifier for this bug""" id: String! """The human version (truncated) identifier for this bug""" @@ -116,4 +116,3 @@ type BugEdge { """The item at the end of the edge.""" node: Bug! } - 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! diff --git a/graphql/schema/types.graphql b/graphql/schema/types.graphql index 22447aae..fb94d1e8 100644 --- a/graphql/schema/types.graphql +++ b/graphql/schema/types.graphql @@ -35,4 +35,4 @@ type PageInfo { interface Authored { """The author of this object.""" author: Identity! -}
\ No newline at end of file +} |