@formant/data-sdk 1.44.1 → 1.45.0
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/data-sdk.cjs.js +1 -1
- package/dist/data-sdk.cjs.js.map +1 -1
- package/dist/data-sdk.es.js +3 -0
- package/dist/data-sdk.es.js.map +1 -1
- package/dist/data-sdk.es6.js +3 -0
- package/dist/data-sdk.umd.js +1 -1
- package/dist/types/data-sdk/src/devices/IView.d.ts +29 -0
- package/dist/types/data-sdk/src/devices/PeerDevice.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface IView {
|
|
2
|
+
id: string;
|
|
3
|
+
tags: {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
6
|
+
organizationId: string;
|
|
7
|
+
name: string;
|
|
8
|
+
description?: string | null;
|
|
9
|
+
url?: string | null;
|
|
10
|
+
showOnSingleDevice?: boolean;
|
|
11
|
+
showOnMultiDevice?: boolean;
|
|
12
|
+
showOnTeleop?: boolean;
|
|
13
|
+
showOnAnalytics?: boolean;
|
|
14
|
+
showTimeline?: boolean;
|
|
15
|
+
localModeEnabled?: boolean;
|
|
16
|
+
filter: IFilter | null;
|
|
17
|
+
deviceFilter: IFilter | null;
|
|
18
|
+
groupFilter: IFilter | null;
|
|
19
|
+
layoutType?: string | null;
|
|
20
|
+
index: number;
|
|
21
|
+
}
|
|
22
|
+
export interface IFilter {
|
|
23
|
+
deviceIds?: string[];
|
|
24
|
+
names?: string[];
|
|
25
|
+
types?: any[];
|
|
26
|
+
tags?: any;
|
|
27
|
+
notTags?: any;
|
|
28
|
+
notNames?: string[];
|
|
29
|
+
}
|
|
@@ -5,6 +5,7 @@ import { BaseDevice } from "./BaseDevice";
|
|
|
5
5
|
import { TelemetryResult } from "../model/TelemetryResult";
|
|
6
6
|
import { IEventQuery } from "../model/IEventQuery";
|
|
7
7
|
import { IEvent } from "../model/IEvent";
|
|
8
|
+
import { IView } from "./IView";
|
|
8
9
|
export declare class PeerDevice extends BaseDevice {
|
|
9
10
|
peerUrl: string;
|
|
10
11
|
id: string;
|
|
@@ -22,6 +23,7 @@ export declare class PeerDevice extends BaseDevice {
|
|
|
22
23
|
private handleXHRError;
|
|
23
24
|
getDeviceId(): Promise<string>;
|
|
24
25
|
getConfiguration(): Promise<ConfigurationDocument>;
|
|
26
|
+
getViews(): Promise<IView[]>;
|
|
25
27
|
startRealtimeConnection(sessionType?: number): Promise<void>;
|
|
26
28
|
private initConnectionMonitoring;
|
|
27
29
|
getRemotePeer(): Promise<IRtcPeer>;
|