@awarevue/api-types 1.0.38 → 1.0.39
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/device/display.d.ts +31 -0
- package/dist/device/display.js +12 -0
- package/dist/device/index.d.ts +1 -0
- package/dist/device/index.js +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const DISPLAY: "display";
|
|
3
|
+
export declare const sDisplaySpecs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
4
|
+
export type DisplaySpecs = z.infer<typeof sDisplaySpecs>;
|
|
5
|
+
export interface DisplaySetViewCommand {
|
|
6
|
+
command: 'display.set-view';
|
|
7
|
+
params: {
|
|
8
|
+
tile: {
|
|
9
|
+
cameras: {
|
|
10
|
+
username: string;
|
|
11
|
+
password: string;
|
|
12
|
+
streams: {
|
|
13
|
+
resolution: string | null;
|
|
14
|
+
rtspUrl: string;
|
|
15
|
+
}[];
|
|
16
|
+
}[];
|
|
17
|
+
}[];
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export type DisplayCommand = DisplaySetViewCommand;
|
|
21
|
+
export interface DisplayStateDto {
|
|
22
|
+
online: Record<string, boolean>;
|
|
23
|
+
}
|
|
24
|
+
export declare const sDisplayUnitOfflineEvent: z.ZodObject<{
|
|
25
|
+
kind: z.ZodLiteral<"display-unit-offline">;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
kind: "display-unit-offline";
|
|
28
|
+
}, {
|
|
29
|
+
kind: "display-unit-offline";
|
|
30
|
+
}>;
|
|
31
|
+
export type DisplayUnitOfflineEvent = z.infer<typeof sDisplayUnitOfflineEvent>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sDisplayUnitOfflineEvent = exports.sDisplaySpecs = exports.DISPLAY = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.DISPLAY = 'display';
|
|
6
|
+
// SPECS
|
|
7
|
+
exports.sDisplaySpecs = zod_1.z.object({});
|
|
8
|
+
// EVENTS
|
|
9
|
+
exports.sDisplayUnitOfflineEvent = zod_1.z.object({
|
|
10
|
+
kind: zod_1.z.literal('display-unit-offline'),
|
|
11
|
+
});
|
|
12
|
+
//Could report on other events in the future like bad streams, high cpu usage, etc.
|
package/dist/device/index.d.ts
CHANGED
package/dist/device/index.js
CHANGED
package/dist/package.json
CHANGED