aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/bug/TimelineQuery.graphql
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2024-08-28 11:43:42 +0200
committerGitHub <noreply@github.com>2024-08-28 09:43:42 +0000
commit57e7147021e38b847213d4dc7f0e0bf0b022850d (patch)
tree882650697950003e2325f0815353032a8596ca1d /webui/src/pages/bug/TimelineQuery.graphql
parente45c3c5ee6dc5650fd8c3f480d9e09e5f3b221fd (diff)
downloadgit-bug-57e7147021e38b847213d4dc7f0e0bf0b022850d.tar.gz
graphql: properly namespace Bug to make space for other entities (#1254)
Also: use gqlgen directives to help the type auto-binding Missing: - namespace mutations - adapt the webUI queries
Diffstat (limited to 'webui/src/pages/bug/TimelineQuery.graphql')
-rw-r--r--webui/src/pages/bug/TimelineQuery.graphql12
1 files changed, 6 insertions, 6 deletions
diff --git a/webui/src/pages/bug/TimelineQuery.graphql b/webui/src/pages/bug/TimelineQuery.graphql
index 7c9badfd..057b798a 100644
--- a/webui/src/pages/bug/TimelineQuery.graphql
+++ b/webui/src/pages/bug/TimelineQuery.graphql
@@ -21,20 +21,20 @@ query Timeline($id: String!, $first: Int = 10, $after: String) {
}
}
-fragment TimelineItem on TimelineItem {
- ... on LabelChangeTimelineItem {
+fragment TimelineItem on BugTimelineItem {
+ ... on BugLabelChangeTimelineItem {
...LabelChange
}
- ... on SetStatusTimelineItem {
+ ... on BugSetStatusTimelineItem {
...SetStatus
}
- ... on SetTitleTimelineItem {
+ ... on BugSetTitleTimelineItem {
...SetTitle
}
- ... on AddCommentTimelineItem {
+ ... on BugAddCommentTimelineItem {
...AddComment
}
- ... on CreateTimelineItem {
+ ... on BugCreateTimelineItem {
...Create
}
}