@esrf/daiquiri-lib 5.5.0 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +79 -38
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1436 -1433
- package/dist/index.mjs.map +1 -1
- package/dist/node-schema.json +94 -0
- package/package.json +1 -1
package/dist/node-schema.json
CHANGED
|
@@ -784,6 +784,96 @@
|
|
|
784
784
|
}
|
|
785
785
|
},
|
|
786
786
|
"additionalProperties": false
|
|
787
|
+
},
|
|
788
|
+
"MonitorHardwareOptions": {
|
|
789
|
+
"type": "object",
|
|
790
|
+
"properties": {
|
|
791
|
+
"id": {
|
|
792
|
+
"type": "string",
|
|
793
|
+
"description": "The hardware id to render"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"additionalProperties": false
|
|
797
|
+
},
|
|
798
|
+
"MonitorHardwarePropertyOptions": {
|
|
799
|
+
"type": "object",
|
|
800
|
+
"properties": {
|
|
801
|
+
"value": {
|
|
802
|
+
"type": "string",
|
|
803
|
+
"description": "The value to display, a path, for example `omega.position`"
|
|
804
|
+
},
|
|
805
|
+
"overlay": {
|
|
806
|
+
"type": "string",
|
|
807
|
+
"description": "An optional second value shown in a tooltip on hover. Again a path."
|
|
808
|
+
},
|
|
809
|
+
"comparator": {
|
|
810
|
+
"type": "string",
|
|
811
|
+
"description": "One of `COMPARATORS`, green if the comparison holds, red otherwise, grey if either `comparator` or `comparison` is unset."
|
|
812
|
+
},
|
|
813
|
+
"comparison": {
|
|
814
|
+
"description": "The value `comparator` compares the live `value` against.schema"
|
|
815
|
+
},
|
|
816
|
+
"unit": {
|
|
817
|
+
"type": "string",
|
|
818
|
+
"description": "A fixed unit string (e.g. `mA`)"
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
"required": [
|
|
822
|
+
"value"
|
|
823
|
+
],
|
|
824
|
+
"additionalProperties": false
|
|
825
|
+
},
|
|
826
|
+
"Monitor": {
|
|
827
|
+
"type": "object",
|
|
828
|
+
"properties": {
|
|
829
|
+
"name": {
|
|
830
|
+
"type": "string",
|
|
831
|
+
"description": "Title shown above the value."
|
|
832
|
+
},
|
|
833
|
+
"type": {
|
|
834
|
+
"type": "string",
|
|
835
|
+
"description": "Describe the kind of widget.\n\nNOTE: New components can be registered with `registerMonitorComponent`"
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
"required": [
|
|
839
|
+
"name"
|
|
840
|
+
],
|
|
841
|
+
"additionalProperties": false
|
|
842
|
+
},
|
|
843
|
+
"MonitorPanelProps": {
|
|
844
|
+
"type": "object",
|
|
845
|
+
"properties": {
|
|
846
|
+
"monitors": {
|
|
847
|
+
"type": "array",
|
|
848
|
+
"items": {
|
|
849
|
+
"$ref": "#/definitions/Monitor"
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
"margin": {
|
|
853
|
+
"type": [
|
|
854
|
+
"string",
|
|
855
|
+
"null"
|
|
856
|
+
],
|
|
857
|
+
"enum": [
|
|
858
|
+
"start",
|
|
859
|
+
null
|
|
860
|
+
]
|
|
861
|
+
},
|
|
862
|
+
"bg": {
|
|
863
|
+
"type": [
|
|
864
|
+
"string",
|
|
865
|
+
"null"
|
|
866
|
+
],
|
|
867
|
+
"enum": [
|
|
868
|
+
"light",
|
|
869
|
+
null
|
|
870
|
+
]
|
|
871
|
+
}
|
|
872
|
+
},
|
|
873
|
+
"required": [
|
|
874
|
+
"monitors"
|
|
875
|
+
],
|
|
876
|
+
"additionalProperties": false
|
|
787
877
|
}
|
|
788
878
|
},
|
|
789
879
|
"typeMap": {
|
|
@@ -808,5 +898,9 @@
|
|
|
808
898
|
"grid": [
|
|
809
899
|
"YamlGridCellOptions"
|
|
810
900
|
]
|
|
901
|
+
},
|
|
902
|
+
"monitorTypeMap": {
|
|
903
|
+
"hardwareproperty": "MonitorHardwarePropertyOptions",
|
|
904
|
+
"hardware": "MonitorHardwareOptions"
|
|
811
905
|
}
|
|
812
906
|
}
|