# NB this is a hand-crafted schema created to generate code in this project # TODO to ensure compatibility use introspection from real Tritium or make # Tritium itself schema-first with code generated from .schema files like this one type SystemInfo { """ Human readable name """ name: String """ Unique identifier """ serial: String! """ Tritium version """ version: String! } """ Queries """ type Query { """ System details """ system: SystemInfo! } """ Mutations """ type Mutation { manuallyTriggerScript(input: ScriptTriggerInput!): ScriptPayload! playSequence(input: PlaySequenceInput!): PlaySequencePayload! } """ manuallyTriggerScript """ input ScriptTriggerInput { action: ScriptTriggerAction! path: String! } enum ScriptTriggerAction { START STOP } type ScriptPayload { script: Script commitId: String } type Script { path: String! # source: ScriptSource! # type: ScriptType # debug: ScriptDebug status: ScriptStatus # startConditions: [ScriptStartCondition] # activeReports: [Json!] # enabled: Boolean! } enum ScriptStatus { ERROR LOADED RUNNING } """ playSequence """ input PlaySequenceInput { projectPath: String! } type PlaySequencePayload { id: String! }