mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
687 B
39 lines
687 B
# ===============================================
|
|
# RENDERING
|
|
# ===============================================
|
|
|
|
extend type Query {
|
|
renderers(
|
|
filter: String
|
|
orderBy: String
|
|
): [Renderer]
|
|
}
|
|
|
|
extend type Mutation {
|
|
updateRenderers(
|
|
renderers: [RendererInput]!
|
|
): DefaultResponse
|
|
}
|
|
|
|
# -----------------------------------------------
|
|
# TYPES
|
|
# -----------------------------------------------
|
|
|
|
type Renderer {
|
|
isEnabled: Boolean
|
|
key: String
|
|
title: String
|
|
description: String
|
|
icon: String
|
|
dependsOn: String
|
|
input: String
|
|
output: String
|
|
config: [KeyValuePair]
|
|
}
|
|
|
|
input RendererInput {
|
|
isEnabled: Boolean!
|
|
key: String!
|
|
config: [KeyValuePairInput]
|
|
}
|