summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/work_items/graphql/notes/work_item_discussion_note.fragment.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/work_items/graphql/notes/work_item_discussion_note.fragment.graphql')
-rw-r--r--app/assets/javascripts/work_items/graphql/notes/work_item_discussion_note.fragment.graphql25
1 files changed, 25 insertions, 0 deletions
diff --git a/app/assets/javascripts/work_items/graphql/notes/work_item_discussion_note.fragment.graphql b/app/assets/javascripts/work_items/graphql/notes/work_item_discussion_note.fragment.graphql
new file mode 100644
index 00000000000..58561e33e53
--- /dev/null
+++ b/app/assets/javascripts/work_items/graphql/notes/work_item_discussion_note.fragment.graphql
@@ -0,0 +1,25 @@
+#import "~/graphql_shared/fragments/user.fragment.graphql"
+#import "./work_item_note.fragment.graphql"
+
+fragment WorkItemDiscussionNote on Note {
+ id
+ bodyHtml
+ system
+ internal
+ systemNoteIconName
+ createdAt
+ author {
+ ...User
+ }
+ userPermissions {
+ adminNote
+ }
+ discussion {
+ id
+ notes {
+ nodes {
+ ...WorkItemNote
+ }
+ }
+ }
+}