Use typescript on hardware widget
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 thetype/Hardware.ts
file, some stuffs was not exposed by the server API, like theunit
for a pump
Edited by Valentin Valls