First stable build with system check
This commit is contained in:
5
graphql/system/system.enumerations.graphql
Normal file
5
graphql/system/system.enumerations.graphql
Normal file
@@ -0,0 +1,5 @@
|
||||
enum SystemSettingHashValueTypeEnum {
|
||||
BOOLEAN
|
||||
STRING
|
||||
NUMBER
|
||||
}
|
||||
8
graphql/system/system.errors.graphql
Normal file
8
graphql/system/system.errors.graphql
Normal file
@@ -0,0 +1,8 @@
|
||||
enum SystemSettingsQueryOutputError {
|
||||
UNKNOWN
|
||||
}
|
||||
|
||||
enum UpdateSystemSettingOutputError {
|
||||
UNKNOWN
|
||||
NOT_FOUND
|
||||
}
|
||||
12
graphql/system/system.mutations.graphql
Normal file
12
graphql/system/system.mutations.graphql
Normal file
@@ -0,0 +1,12 @@
|
||||
input UpdateSystemSettingInput {
|
||||
urn: ID!
|
||||
hashValue: String!
|
||||
}
|
||||
|
||||
type UpdateSystemSettingOutput {
|
||||
error: UpdateSystemSettingOutputError
|
||||
}
|
||||
|
||||
type Mutation {
|
||||
updateSystemSetting(input: UpdateSystemSettingInput!): UpdateSystemSettingOutput!
|
||||
}
|
||||
8
graphql/system/system.queries.graphql
Normal file
8
graphql/system/system.queries.graphql
Normal file
@@ -0,0 +1,8 @@
|
||||
type SystemSettingsQueryOutput {
|
||||
data: [SystemSetting]
|
||||
error: SystemSettingsQueryOutputError
|
||||
}
|
||||
|
||||
type Query {
|
||||
systemSettings: SystemSettingsQueryOutput!
|
||||
}
|
||||
6
graphql/system/system.types.graphql
Normal file
6
graphql/system/system.types.graphql
Normal file
@@ -0,0 +1,6 @@
|
||||
type SystemSetting {
|
||||
urn: ID!
|
||||
hashKey: String!
|
||||
hashValueType: SystemSettingHashValueTypeEnum!
|
||||
hashValue: String!
|
||||
}
|
||||
Reference in New Issue
Block a user