@placeos/ts-client 4.8.2 → 4.8.4
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.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/signage/interfaces.d.ts +4 -0
- package/dist/zones/zone.d.ts +2 -0
- package/package.json +1 -1
- package/src/signage/interfaces.ts +6 -1
- package/src/zones/functions.ts +5 -1
- package/src/zones/zone.ts +4 -0
package/dist/index.es.js
CHANGED
|
@@ -3438,6 +3438,8 @@ class Dn extends L {
|
|
|
3438
3438
|
type;
|
|
3439
3439
|
/** Count of resources associated with the zone */
|
|
3440
3440
|
count;
|
|
3441
|
+
/** Count of child zones for this zone */
|
|
3442
|
+
children_count;
|
|
3441
3443
|
/** Amount of physical capacity associated with the zone */
|
|
3442
3444
|
capacity;
|
|
3443
3445
|
/** ID or URL of or in a map associated with the zone */
|
|
@@ -3454,7 +3456,7 @@ class Dn extends L {
|
|
|
3454
3456
|
*/
|
|
3455
3457
|
trigger_list = [];
|
|
3456
3458
|
constructor(e = {}) {
|
|
3457
|
-
super(e), this.description = e.description || "", this.tags = e.tags || [], this.triggers = e.triggers || [], this.settings = e.settings || [null, null, null, null], this.parent_id = e.parent_id || "", this.location = e.location || "", this.display_name = e.display_name || "", this.code = e.code || "", this.type = e.type || "", this.count = e.count || 0, this.capacity = e.capacity || 0, this.map_id = e.map_id || "", this.timezone = e.timezone || "", this.images = e.images || [], this.playlists = e.playlists || [], typeof this.settings != "object" && (this.settings = [null, null, null, null]);
|
|
3459
|
+
super(e), this.description = e.description || "", this.tags = e.tags || [], this.triggers = e.triggers || [], this.settings = e.settings || [null, null, null, null], this.parent_id = e.parent_id || "", this.location = e.location || "", this.display_name = e.display_name || "", this.code = e.code || "", this.type = e.type || "", this.count = e.count || 0, this.capacity = e.capacity || 0, this.map_id = e.map_id || "", this.timezone = e.timezone || "", this.images = e.images || [], this.playlists = e.playlists || [], isFinite(Number(e.children_count)) && (this.children_count = e.children_count), typeof this.settings != "object" && (this.settings = [null, null, null, null]);
|
|
3458
3460
|
for (const n in He)
|
|
3459
3461
|
!isNaN(Number(n)) && !this.settings[n] && (this.settings[n] = new Oe({
|
|
3460
3462
|
parent_id: this.id,
|