Skip to content

daiquiri-lib

Stuart Fisher requested to merge daiquiri-lib into main

Make some hardware objects and layout components available in a standalone library so they can be reused by bliss/bliss!5347 (merged)

The library can only have a single export file which makes things a bit messy, so i namespaced some things:

  • Hardware objects: MotorDefault, ShutterDefault, etc are exported globally
  • Types are exported via HardwareTypes, i.e. HardwareTypes.Hardware, HardwareTypes.EditableHardware...
  • Schemas -> HardwareSchema, i.e. HardwareSchema.MotorSchema
  • helpers/formatting -> Formatting, i.e. Formatting.ucfirst
  • Layout renderer -> YAMLLayout, YAMLErrorBoundary, registerYamlComponent
  • Monitor Panel -> MonitorPanel, MonitorPanelItem, registerMonitorComponent, registerRuntimeHook, + types
Edited by Stuart Fisher

Merge request reports

Loading