@placeos/ts-client 4.8.0 → 4.8.1
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/systems/system.d.ts +2 -0
- package/package.json +1 -1
- package/src/systems/system.ts +3 -0
package/dist/systems/system.d.ts
CHANGED
|
@@ -38,6 +38,8 @@ export declare class PlaceSystem extends PlaceResource {
|
|
|
38
38
|
/** URL for the timetable UI linked to the system */
|
|
39
39
|
readonly timetable_url: string;
|
|
40
40
|
/** URLs for requesting snapshots of the assosiated camera */
|
|
41
|
+
readonly camera_snapshot_url: string;
|
|
42
|
+
/** URLs for requesting snapshots of the assosiated camera */
|
|
41
43
|
readonly camera_snapshot_urls: string[];
|
|
42
44
|
/** URL for managing the attached camera */
|
|
43
45
|
readonly camera_url: string;
|
package/package.json
CHANGED
package/src/systems/system.ts
CHANGED
|
@@ -41,6 +41,8 @@ export class PlaceSystem extends PlaceResource {
|
|
|
41
41
|
/** URL for the timetable UI linked to the system */
|
|
42
42
|
public readonly timetable_url: string;
|
|
43
43
|
/** URLs for requesting snapshots of the assosiated camera */
|
|
44
|
+
public readonly camera_snapshot_url: string;
|
|
45
|
+
/** URLs for requesting snapshots of the assosiated camera */
|
|
44
46
|
public readonly camera_snapshot_urls: string[];
|
|
45
47
|
/** URL for managing the attached camera */
|
|
46
48
|
public readonly camera_url: string;
|
|
@@ -85,6 +87,7 @@ export class PlaceSystem extends PlaceResource {
|
|
|
85
87
|
this.public = raw_data.public ?? false;
|
|
86
88
|
this.installed_ui_devices = raw_data.installed_ui_devices || 0;
|
|
87
89
|
this.support_url = raw_data.support_url || '';
|
|
90
|
+
this.camera_snapshot_url = raw_data.camera_snapshot_url || '';
|
|
88
91
|
this.camera_snapshot_urls = raw_data.camera_snapshot_urls || [];
|
|
89
92
|
this.camera_url = raw_data.camera_url || '';
|
|
90
93
|
this.timetable_url = raw_data.timetable_url || '';
|