aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/graphql/fragments.graphql
diff options
context:
space:
mode:
authorCláudio <claudio.engdist@gmail.com>2021-02-05 19:36:09 -0300
committerCláudio <claudio.engdist@gmail.com>2021-02-05 19:36:09 -0300
commit29ea8df4259921f1789e0e6d584767fc5f54b284 (patch)
tree2d19cf21e033adcbe2e6c018fe6099b4938346ea /webui/src/graphql/fragments.graphql
parent12323b94398daa6cedca36fc2c58a97200092e16 (diff)
downloadgit-bug-29ea8df4259921f1789e0e6d584767fc5f54b284.tar.gz
Commit for #541
Diffstat (limited to 'webui/src/graphql/fragments.graphql')
-rw-r--r--webui/src/graphql/fragments.graphql19
1 files changed, 19 insertions, 0 deletions
diff --git a/webui/src/graphql/fragments.graphql b/webui/src/graphql/fragments.graphql
new file mode 100644
index 00000000..03a235f9
--- /dev/null
+++ b/webui/src/graphql/fragments.graphql
@@ -0,0 +1,19 @@
+# Label.tsx
+fragment Label on Label {
+ name
+ color {
+ R
+ G
+ B
+ }
+}
+
+# Author.tsx
+fragment authored on Authored {
+ author {
+ name
+ email
+ displayName
+ avatarUrl
+ }
+}