diff options
author | ludovicm67 <ludovicmuller1@gmail.com> | 2020-02-12 23:09:45 +0100 |
---|---|---|
committer | ludovicm67 <ludovicmuller1@gmail.com> | 2020-02-12 23:09:45 +0100 |
commit | d0a6da286a28e79ae3bb75af41219c4cc4df20b0 (patch) | |
tree | c02a2641c78331a45af4623613136f4cdc51af17 /webui/src/bug/TimelineQuery.graphql | |
parent | c2d18b3a9bec9933d2845ce3cfc6dd5b4f3ff348 (diff) | |
download | git-bug-d0a6da286a28e79ae3bb75af41219c4cc4df20b0.tar.gz |
webui: finish TypeScript conversion
Diffstat (limited to 'webui/src/bug/TimelineQuery.graphql')
-rw-r--r-- | webui/src/bug/TimelineQuery.graphql | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/webui/src/bug/TimelineQuery.graphql b/webui/src/bug/TimelineQuery.graphql index 493f4416..6d78ab7f 100644 --- a/webui/src/bug/TimelineQuery.graphql +++ b/webui/src/bug/TimelineQuery.graphql @@ -9,11 +9,7 @@ query Timeline($id: String!, $first: Int = 10, $after: String) { bug(prefix: $id) { timeline(first: $first, after: $after) { nodes { - ...LabelChange - ...SetStatus - ...SetTitle - ...AddComment - ...Create + ...TimelineItem } pageInfo { hasNextPage @@ -23,3 +19,21 @@ query Timeline($id: String!, $first: Int = 10, $after: String) { } } } + +fragment TimelineItem on TimelineItem { + ... on LabelChangeTimelineItem { + ...LabelChange + } + ... on SetStatusTimelineItem { + ...SetStatus + } + ... on SetTitleTimelineItem { + ...SetTitle + } + ... on AddCommentTimelineItem { + ...AddComment + } + ... on CreateTimelineItem { + ...Create + } +} |