Skip to content

Use typescript on hardware widget

Valentin Valls requested to merge hardware-to-typescript into master

This MR rework most of the hardware widget in order to use typescript.

  • This creates definitions for each kind in types/Hardware.ts
    • This description was generated from the Daiquiri server marshallow
    • Using the same style: MotorSchema
    • See daiquiri!478 (merged)
  • Rework the widgets using this types
  • Sometimes convert component from class to function
  • MeasumenentGroup is the remaining pure JS code. It is far too complex for me
  • I have put some FIXME in the type/Hardware.ts file, some stuffs was not exposed by the server API, like the unit for a pump
Edited by Valentin Valls

Merge request reports

Loading