Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/graphql_shared/fragments/alert_detail_item.fragment.graphql')
-rw-r--r--app/assets/javascripts/graphql_shared/fragments/alert_detail_item.fragment.graphql30
1 files changed, 30 insertions, 0 deletions
diff --git a/app/assets/javascripts/graphql_shared/fragments/alert_detail_item.fragment.graphql b/app/assets/javascripts/graphql_shared/fragments/alert_detail_item.fragment.graphql
new file mode 100644
index 00000000000..9a9ae369519
--- /dev/null
+++ b/app/assets/javascripts/graphql_shared/fragments/alert_detail_item.fragment.graphql
@@ -0,0 +1,30 @@
+#import "~/graphql_shared/fragments/alert.fragment.graphql"
+#import "~/graphql_shared/fragments/alert_note.fragment.graphql"
+
+fragment AlertDetailItem on AlertManagementAlert {
+ ...AlertListItem
+ createdAt
+ monitoringTool
+ metricsDashboardUrl
+ service
+ description
+ updatedAt
+ endedAt
+ hosts
+ environment {
+ name
+ path
+ }
+ details
+ runbook
+ todos {
+ nodes {
+ id
+ }
+ }
+ notes {
+ nodes {
+ ...AlertNote
+ }
+ }
+}