checkpoint: scaffold qrunproxy timeline API

This commit is contained in:
Ian Gulliver
2026-02-19 20:55:28 -07:00
parent ea932d3225
commit 0778ffa6f8
7 changed files with 1405 additions and 39 deletions

View File

@@ -1,38 +0,0 @@
package show
type StateType string
const (
Lighting StateType = "lighting"
Media StateType = "media"
)
type State struct {
ID string `json:"id"`
Type StateType `json:"type"`
Sequence int `json:"sequence"`
Layer int `json:"layer"`
LightingParams *LightingParams `json:"lightingParams,omitempty"`
MediaParams *MediaParams `json:"mediaParams,omitempty"`
}
type LightingParams struct {
Fixtures []FixtureSetting `json:"fixtures"`
}
type FixtureSetting struct {
ID string `json:"id"`
Channels map[string]int `json:"channels"`
}
type MediaParams struct {
Source string `json:"source"`
Loop bool `json:"loop"`
}
type Cue struct {
ID string `json:"id"`
Sequence int `json:"sequence"`
Name string `json:"name"`
}