aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components/fragments.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/components/fragments.graphql')
-rw-r--r--webui/src/components/fragments.graphql19
1 files changed, 19 insertions, 0 deletions
diff --git a/webui/src/components/fragments.graphql b/webui/src/components/fragments.graphql
new file mode 100644
index 00000000..03a235f9
--- /dev/null
+++ b/webui/src/components/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
+ }
+}