@awarevue/api-types 1.0.90 → 1.0.91
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-factory.d.ts +19 -0
- package/dist/device-factory.js +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/device-factory.d.ts
CHANGED
|
@@ -3,34 +3,43 @@ import { DeviceType } from './device/any-device';
|
|
|
3
3
|
export declare const sIoSlot: z.ZodObject<{
|
|
4
4
|
deviceId: z.ZodString;
|
|
5
5
|
slot: z.ZodString;
|
|
6
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
6
7
|
}, "strip", z.ZodTypeAny, {
|
|
7
8
|
slot: string;
|
|
8
9
|
deviceId: string;
|
|
10
|
+
inverted?: boolean | undefined;
|
|
9
11
|
}, {
|
|
10
12
|
slot: string;
|
|
11
13
|
deviceId: string;
|
|
14
|
+
inverted?: boolean | undefined;
|
|
12
15
|
}>;
|
|
13
16
|
export type IoSlot = z.infer<typeof sIoSlot>;
|
|
14
17
|
export declare const sInputBindings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
15
18
|
deviceId: z.ZodString;
|
|
16
19
|
slot: z.ZodString;
|
|
20
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
17
21
|
}, "strip", z.ZodTypeAny, {
|
|
18
22
|
slot: string;
|
|
19
23
|
deviceId: string;
|
|
24
|
+
inverted?: boolean | undefined;
|
|
20
25
|
}, {
|
|
21
26
|
slot: string;
|
|
22
27
|
deviceId: string;
|
|
28
|
+
inverted?: boolean | undefined;
|
|
23
29
|
}>>;
|
|
24
30
|
export type InputBindings = z.infer<typeof sInputBindings>;
|
|
25
31
|
export declare const sOutputBindings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
26
32
|
deviceId: z.ZodString;
|
|
27
33
|
slot: z.ZodString;
|
|
34
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
28
35
|
}, "strip", z.ZodTypeAny, {
|
|
29
36
|
slot: string;
|
|
30
37
|
deviceId: string;
|
|
38
|
+
inverted?: boolean | undefined;
|
|
31
39
|
}, {
|
|
32
40
|
slot: string;
|
|
33
41
|
deviceId: string;
|
|
42
|
+
inverted?: boolean | undefined;
|
|
34
43
|
}>>;
|
|
35
44
|
export type OutputBindings = z.infer<typeof sOutputBindings>;
|
|
36
45
|
export interface DeviceFactoryProviderMetadata {
|
|
@@ -64,40 +73,50 @@ export declare const sUpdateCustomDeviceRequest: z.ZodObject<{
|
|
|
64
73
|
inputBindings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
65
74
|
deviceId: z.ZodString;
|
|
66
75
|
slot: z.ZodString;
|
|
76
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
67
77
|
}, "strip", z.ZodTypeAny, {
|
|
68
78
|
slot: string;
|
|
69
79
|
deviceId: string;
|
|
80
|
+
inverted?: boolean | undefined;
|
|
70
81
|
}, {
|
|
71
82
|
slot: string;
|
|
72
83
|
deviceId: string;
|
|
84
|
+
inverted?: boolean | undefined;
|
|
73
85
|
}>>;
|
|
74
86
|
outputBindings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
75
87
|
deviceId: z.ZodString;
|
|
76
88
|
slot: z.ZodString;
|
|
89
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
77
90
|
}, "strip", z.ZodTypeAny, {
|
|
78
91
|
slot: string;
|
|
79
92
|
deviceId: string;
|
|
93
|
+
inverted?: boolean | undefined;
|
|
80
94
|
}, {
|
|
81
95
|
slot: string;
|
|
82
96
|
deviceId: string;
|
|
97
|
+
inverted?: boolean | undefined;
|
|
83
98
|
}>>;
|
|
84
99
|
}, "strip", z.ZodTypeAny, {
|
|
85
100
|
inputBindings: Record<string, {
|
|
86
101
|
slot: string;
|
|
87
102
|
deviceId: string;
|
|
103
|
+
inverted?: boolean | undefined;
|
|
88
104
|
}>;
|
|
89
105
|
outputBindings: Record<string, {
|
|
90
106
|
slot: string;
|
|
91
107
|
deviceId: string;
|
|
108
|
+
inverted?: boolean | undefined;
|
|
92
109
|
}>;
|
|
93
110
|
}, {
|
|
94
111
|
inputBindings: Record<string, {
|
|
95
112
|
slot: string;
|
|
96
113
|
deviceId: string;
|
|
114
|
+
inverted?: boolean | undefined;
|
|
97
115
|
}>;
|
|
98
116
|
outputBindings: Record<string, {
|
|
99
117
|
slot: string;
|
|
100
118
|
deviceId: string;
|
|
119
|
+
inverted?: boolean | undefined;
|
|
101
120
|
}>;
|
|
102
121
|
}>;
|
|
103
122
|
export type UpdateCustomDeviceRequest = {
|
package/dist/device-factory.js
CHANGED
|
@@ -8,6 +8,7 @@ const zod_1 = __importDefault(require("zod"));
|
|
|
8
8
|
exports.sIoSlot = zod_1.default.object({
|
|
9
9
|
deviceId: zod_1.default.string().nonempty(),
|
|
10
10
|
slot: zod_1.default.string().nonempty(),
|
|
11
|
+
inverted: zod_1.default.boolean().optional(),
|
|
11
12
|
});
|
|
12
13
|
exports.sInputBindings = zod_1.default.record(exports.sIoSlot);
|
|
13
14
|
exports.sOutputBindings = zod_1.default.record(exports.sIoSlot);
|
package/dist/package.json
CHANGED