chore: Update tags field schema to use DeviceConfig, enhance isDevice type check, and adjust IntelliJ workspace
This commit is contained in:
parent
8e5fbc3f57
commit
0c1f585909
6 changed files with 54 additions and 17 deletions
|
|
@ -12,7 +12,7 @@ type SinglePanelDevice implements Host & Device {
|
|||
deviceType: String
|
||||
hostgroups: [HostGroup!]
|
||||
name: String
|
||||
tags: JSONObject
|
||||
tags: DeviceConfig
|
||||
state: PanelState
|
||||
}
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ type FourPanelDevice implements Host & Device {
|
|||
deviceType: String
|
||||
hostgroups: [HostGroup!]
|
||||
name: String
|
||||
tags: JSONObject
|
||||
tags: DeviceConfig
|
||||
state: FourPanelState
|
||||
}
|
||||
|
||||
|
|
@ -72,3 +72,4 @@ type FourPanelValues {
|
|||
BOTTOM_LEFT: PanelValues
|
||||
BOTTOM_RIGHT: PanelValues
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""
|
||||
DistanceTracker represents a device which can detect other devices around itself and estimate
|
||||
the distances, e.g. by using Bluetooth scanning technology and estimating the distance by .
|
||||
Optionally the
|
||||
the distances, e.g. by using Bluetooth scanning technology and estimating the distance.
|
||||
|
||||
"""
|
||||
type DistanceTrackerDevice implements Host & Device {
|
||||
hostid: ID!
|
||||
|
|
@ -12,7 +12,7 @@ type DistanceTrackerDevice implements Host & Device {
|
|||
deviceType: String
|
||||
hostgroups: [HostGroup!]
|
||||
name: String
|
||||
tags: JSONObject
|
||||
tags: DeviceConfig
|
||||
state: DistanceTrackerState
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue