We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type AppState { initialContent: tutorialState: { selectedTutorial: String! currentStep: Number! currentOutput: Output! } editorState: { editor: { selectedTutorial: String! selectedStep: Number! isSaved: Boolean! } # Editable tutorial data structure tutorialInstance: Tutorial! } }
type Tutorial { name: String! description: String! instructions: [Instruction] }
type Instruction { title: String! hint: String! output: Output! content: [InstructionContent]! solution: String! }
type Output { status: String! terminalMsg: String? droneState: DroneState! }
type InstructionContent { type: String! value: String! }
type DroneState { pitch: Number yaw: Number roll: Number armed: Boolean velocity: Number direction: String altitude: Number }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Use this schema as reference for the global state of the app and
to figure out the structure of a tutorial JSON file
type AppState {
initialContent:
tutorialState: {
selectedTutorial: String!
currentStep: Number!
currentOutput: Output!
}
editorState: {
editor: {
selectedTutorial: String!
selectedStep: Number!
isSaved: Boolean!
}
# Editable tutorial data structure
tutorialInstance: Tutorial!
}
}
type Tutorial {
name: String!
description: String!
instructions: [Instruction]
}
type Instruction {
title: String!
hint: String!
output: Output!
content: [InstructionContent]!
solution: String!
}
type Output {
status: String!
terminalMsg: String?
droneState: DroneState!
}
type InstructionContent {
type: String!
value: String!
}
type DroneState {
pitch: Number
yaw: Number
roll: Number
armed: Boolean
velocity: Number
direction: String
altitude: Number
}
The text was updated successfully, but these errors were encountered: