feat: extensions check + resolver

This commit is contained in:
NGPixel authored and Nicolas Giard committed 2020-05-21 00:20:57 -04:00
1 parent abc9e4e1d4
commit e1382771cf
14 files changed
+190 -122

No files matched your search

+9
View File
@@ -17,6 +17,7 @@ extend type Mutation {
type SystemQuery {
flags: [SystemFlag] @auth(requires: ["manage:system"])
info: SystemInfo
extensions: [SystemExtension]! @auth(requires: ["manage:system"])
}
# -----------------------------------------------
@@ -112,3 +113,11 @@ type SystemImportUsersResponseFailed {
email: String
error: String
}
type SystemExtension {
key: String!
title: String!
description: String!
isInstalled: Boolean!
isCompatible: Boolean!
}