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
|
|
@ -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