@mirta/globals 0.0.5 → 0.0.7

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mirta/globals",
3
3
  "description": "Complete set of types for wb-rule development in TypeScript",
4
- "version": "0.0.5",
4
+ "version": "0.0.7",
5
5
  "license": "Unlicense",
6
6
  "keywords": [
7
7
  "mirta",
@@ -76,12 +76,7 @@ declare namespace WbRules {
76
76
  /** Тип значения топика MQTT. */
77
77
  type MqttValue = string | number | boolean
78
78
 
79
- type DevControl = Record<string, MqttValue>
80
-
81
- type Dev = Expand<
82
- Record<`${string}/${string}`, MqttValue>
83
- & Record<string, DevControl>
84
- >
79
+ type Dev = Record<string, MqttValue | Record<string, MqttValue>>
85
80
 
86
81
  interface MqttMessage {
87
82
  topic: string