chore: Add missing ".js" extensions to imports and improve Node.js compatibility for dynamic schema loading

This commit is contained in:
Andreas Hilbig 2026-01-13 14:42:11 +01:00
parent 1c1aeb4519
commit 98c612fc56
15 changed files with 121 additions and 70 deletions

View file

@ -1,17 +1,5 @@
"""
Concrete implementation of a DeviceValueMessage for sensor distance data.
"""
type SensorDistanceMessage implements DeviceValueMessage {
deviceKey: String
timestamp: String
attributeName: String
topicName: String
deviceType: String
value: SensorDistanceValue
}
"""
Represents the payload for a sensor distance measurement.
"""
@ -58,3 +46,15 @@ type PositionCalculatorResult {
position: Position
accuracy: Float
}
"""
Concrete implementation of a DeviceValueMessage for sensor distance data.
"""
type SensorDistanceMessage implements DeviceValueMessage {
deviceKey: String
timestamp: String
attributeName: String
topicName: String
deviceType: String
value: SensorDistanceValue
}