From 3515b84954636bd71a609dba9c69d5074262b5fa Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Thu, 18 Jul 2019 14:47:15 +0930 Subject: [PATCH] add info/display module Signed-off-by: Alexis Tyler --- app/graphql/schema/types/info/display.graphql | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 app/graphql/schema/types/info/display.graphql diff --git a/app/graphql/schema/types/info/display.graphql b/app/graphql/schema/types/info/display.graphql new file mode 100644 index 000000000..bf6751591 --- /dev/null +++ b/app/graphql/schema/types/info/display.graphql @@ -0,0 +1,33 @@ +type Info { + display: Display @func(module: "info/get-display") +} + +type Display { + date: String + number: String + scale: Boolean + tabs: Boolean + users: String + resize: Boolean + wwn: Boolean + total: Boolean + usage: Boolean + banner: String + dashapps: String + theme: Theme + text: Boolean + unit: Temperature + warning: Int + critical: Int + hot: Int + max: Int +} + +enum Temperature { + C + F +} + +enum Theme { + white +} \ No newline at end of file