@formant/data-sdk 0.0.129 → 0.0.131

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.
@@ -8,6 +8,7 @@ import { IStreamData } from "./model/IStreamData";
8
8
  import { PeerDevice } from "./PeerDevice";
9
9
  import { IDeviceQuery } from "./model/IDeviceQuery";
10
10
  import { IAnnotationQuery } from "./model/IAnnotationQuery";
11
+ import { IStream } from "./model/IStream";
11
12
  export interface TelemetryResult {
12
13
  deviceId: string;
13
14
  name: string;
@@ -46,4 +47,6 @@ export declare class Fleet {
46
47
  static getAnnotationCount(query: IAnnotationQuery): Promise<{
47
48
  [key: string]: number;
48
49
  }>;
50
+ static getStreams(): Promise<IStream[]>;
51
+ static patchStream(stream: IStream): Promise<IStream>;
49
52
  }
@@ -0,0 +1,18 @@
1
+ import { IsoDate } from "./IsoDate";
2
+ import { Uuid } from "./Uuid";
3
+ import { StreamType } from "./StreamType";
4
+ export interface IStream {
5
+ active: boolean;
6
+ alias: string;
7
+ createdAt: IsoDate;
8
+ enabled: boolean;
9
+ id: Uuid;
10
+ isEventFilter: boolean;
11
+ isOverviewColumn: boolean;
12
+ isOverviewRow: boolean;
13
+ isTelemetryFilter: boolean;
14
+ organizationId: Uuid;
15
+ streamName: string;
16
+ streamType: StreamType;
17
+ updatedAt: IsoDate;
18
+ }
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "require": "./dist/data-sdk.umd.js"
19
19
  }
20
20
  },
21
- "version": "0.0.129",
21
+ "version": "0.0.131",
22
22
  "scripts": {
23
23
  "dev": "vite --port 9146",
24
24
  "build": "tsc && vite build",