@camstack/types 1.2.556 → 1.2.558
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/CHANGELOG.md +19 -1
- package/dist/addon/fake-addon-context.d.ts +3 -0
- package/dist/addon.js +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/automation/action-target.d.ts +8 -0
- package/dist/automation/action.d.ts +24 -54
- package/dist/automation/draft/draft-json.d.ts +1 -1
- package/dist/automation/draft/index.d.ts +0 -1
- package/dist/automation/index.d.ts +3 -2
- package/dist/automation/normalize-units.d.ts +3 -3
- package/dist/automation/offered.d.ts +18 -0
- package/dist/automation/recipe.d.ts +1156 -2598
- package/dist/automation/scheduler.d.ts +48 -108
- package/dist/automation/step-runner.d.ts +7 -0
- package/dist/capabilities/action-source.cap.d.ts +12 -27
- package/dist/capabilities/actions.cap.d.ts +84 -189
- package/dist/capabilities/device-export.cap.d.ts +36 -1
- package/dist/capabilities/hero-layout.cap.d.ts +92 -0
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/remote.cap.d.ts +2 -2
- package/dist/capabilities/scene-monitor.cap.d.ts +1 -1
- package/dist/capabilities/schedulers.cap.d.ts +96 -216
- package/dist/client.d.ts +1 -1
- package/dist/client.js +21 -3
- package/dist/client.mjs +20 -4
- package/dist/{composed-stable-id-CDNLq7Y8.js → composed-stable-id-BmJ_5GiE.js} +5 -0
- package/dist/{composed-stable-id-CPp3votu.mjs → composed-stable-id-iddnCQ51.mjs} +5 -0
- package/dist/composition/composition.d.ts +8 -0
- package/dist/composition/helpers/index.d.ts +1 -1
- package/dist/composition/helpers/save.d.ts +2 -0
- package/dist/composition/helpers/source-pick.d.ts +11 -5
- package/dist/composition/validate-composition.d.ts +2 -0
- package/dist/device/cap-vocabulary/action-index.d.ts +32 -0
- package/dist/device/cap-vocabulary/index.d.ts +2 -2
- package/dist/device/device-do-actions.d.ts +3 -105
- package/dist/device/device-kind.d.ts +36 -0
- package/dist/device/device-type.d.ts +5 -0
- package/dist/device/export-name.d.ts +65 -0
- package/dist/device/hero/hero-contribution-kit.d.ts +3 -0
- package/dist/device/hero/hero-fragment.d.ts +3 -0
- package/dist/device/hero/hero-look.d.ts +6 -0
- package/dist/device/hero/hero-measurement.d.ts +76 -0
- package/dist/device/hero/hero-model.d.ts +91 -0
- package/dist/device/hero/hero-row.d.ts +61 -0
- package/dist/device/hero/hero-scene.d.ts +1 -0
- package/dist/device/hero/index.d.ts +1 -0
- package/dist/device/index.d.ts +1 -1
- package/dist/generated/addon-api.d.ts +7 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/{implemented-methods-5YMDeE3f.mjs → implemented-methods-CSTk6zYK.mjs} +147 -2
- package/dist/{implemented-methods-Cj65uy2F.js → implemented-methods-CfaRR_ki.js} +212 -1
- package/dist/index.d.ts +9 -8
- package/dist/index.js +3145 -2959
- package/dist/index.mjs +3095 -2936
- package/dist/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/dist/notification/alarm-steps.d.ts +18 -0
- package/dist/remote/remote-config.d.ts +5 -5
- package/dist/{sleep-Czv-4wFH.mjs → sleep-BvVGLl30.mjs} +52 -2
- package/dist/{sleep-BRGFFgr9.js → sleep-CyWfD1LJ.js} +69 -1
- package/dist/testing.js +3 -3
- package/dist/testing.mjs +3 -3
- package/package.json +1 -1
|
@@ -28,9 +28,8 @@ export declare const actionsCapability: {
|
|
|
28
28
|
kind: z.ZodLiteral<"wait">;
|
|
29
29
|
seconds: z.ZodNumber;
|
|
30
30
|
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
kind: z.ZodLiteral<"
|
|
32
|
-
|
|
33
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
31
|
+
kind: z.ZodLiteral<"command">;
|
|
32
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
34
33
|
kind: z.ZodLiteral<"devices">;
|
|
35
34
|
ids: z.ZodArray<z.ZodNumber>;
|
|
36
35
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -40,19 +39,14 @@ export declare const actionsCapability: {
|
|
|
40
39
|
}, z.core.$strip>, z.ZodObject<{
|
|
41
40
|
kind: z.ZodLiteral<"var">;
|
|
42
41
|
name: z.ZodString;
|
|
43
|
-
}, z.core.$strip>], "kind"
|
|
44
|
-
|
|
45
|
-
$var: z.ZodString;
|
|
46
|
-
}, z.core.$strip>]>>;
|
|
47
|
-
cap: z.ZodString;
|
|
48
|
-
method: z.ZodString;
|
|
42
|
+
}, z.core.$strip>], "kind">;
|
|
43
|
+
actionId: z.ZodString;
|
|
49
44
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
50
45
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
51
46
|
}, z.core.$strip>], "kind">>>;
|
|
52
47
|
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
kind: z.ZodLiteral<"
|
|
54
|
-
|
|
55
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
48
|
+
kind: z.ZodLiteral<"command">;
|
|
49
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
56
50
|
kind: z.ZodLiteral<"devices">;
|
|
57
51
|
ids: z.ZodArray<z.ZodNumber>;
|
|
58
52
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -62,12 +56,8 @@ export declare const actionsCapability: {
|
|
|
62
56
|
}, z.core.$strip>, z.ZodObject<{
|
|
63
57
|
kind: z.ZodLiteral<"var">;
|
|
64
58
|
name: z.ZodString;
|
|
65
|
-
}, z.core.$strip>], "kind"
|
|
66
|
-
|
|
67
|
-
$var: z.ZodString;
|
|
68
|
-
}, z.core.$strip>]>>;
|
|
69
|
-
cap: z.ZodString;
|
|
70
|
-
method: z.ZodString;
|
|
59
|
+
}, z.core.$strip>], "kind">;
|
|
60
|
+
actionId: z.ZodString;
|
|
71
61
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
72
62
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
73
63
|
if: z.ZodOptional<z.ZodType<import("../index.js").AutomationWhen, unknown, z.core.$ZodTypeInternals<import("../index.js").AutomationWhen, unknown>>>;
|
|
@@ -75,9 +65,8 @@ export declare const actionsCapability: {
|
|
|
75
65
|
kind: z.ZodLiteral<"wait">;
|
|
76
66
|
seconds: z.ZodNumber;
|
|
77
67
|
}, z.core.$strip>, z.ZodObject<{
|
|
78
|
-
kind: z.ZodLiteral<"
|
|
79
|
-
|
|
80
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
68
|
+
kind: z.ZodLiteral<"command">;
|
|
69
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
81
70
|
kind: z.ZodLiteral<"devices">;
|
|
82
71
|
ids: z.ZodArray<z.ZodNumber>;
|
|
83
72
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -87,12 +76,8 @@ export declare const actionsCapability: {
|
|
|
87
76
|
}, z.core.$strip>, z.ZodObject<{
|
|
88
77
|
kind: z.ZodLiteral<"var">;
|
|
89
78
|
name: z.ZodString;
|
|
90
|
-
}, z.core.$strip>], "kind"
|
|
91
|
-
|
|
92
|
-
$var: z.ZodString;
|
|
93
|
-
}, z.core.$strip>]>>;
|
|
94
|
-
cap: z.ZodString;
|
|
95
|
-
method: z.ZodString;
|
|
79
|
+
}, z.core.$strip>], "kind">;
|
|
80
|
+
actionId: z.ZodString;
|
|
96
81
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
97
82
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
98
83
|
}, z.core.$strip>], "kind">>>;
|
|
@@ -142,9 +127,8 @@ export declare const actionsCapability: {
|
|
|
142
127
|
kind: z.ZodLiteral<"wait">;
|
|
143
128
|
seconds: z.ZodNumber;
|
|
144
129
|
}, z.core.$strip>, z.ZodObject<{
|
|
145
|
-
kind: z.ZodLiteral<"
|
|
146
|
-
|
|
147
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
130
|
+
kind: z.ZodLiteral<"command">;
|
|
131
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
148
132
|
kind: z.ZodLiteral<"devices">;
|
|
149
133
|
ids: z.ZodArray<z.ZodNumber>;
|
|
150
134
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -154,19 +138,14 @@ export declare const actionsCapability: {
|
|
|
154
138
|
}, z.core.$strip>, z.ZodObject<{
|
|
155
139
|
kind: z.ZodLiteral<"var">;
|
|
156
140
|
name: z.ZodString;
|
|
157
|
-
}, z.core.$strip>], "kind"
|
|
158
|
-
|
|
159
|
-
$var: z.ZodString;
|
|
160
|
-
}, z.core.$strip>]>>;
|
|
161
|
-
cap: z.ZodString;
|
|
162
|
-
method: z.ZodString;
|
|
141
|
+
}, z.core.$strip>], "kind">;
|
|
142
|
+
actionId: z.ZodString;
|
|
163
143
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
164
144
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
165
145
|
}, z.core.$strip>], "kind">>>;
|
|
166
146
|
}, z.core.$strip>, z.ZodObject<{
|
|
167
|
-
kind: z.ZodLiteral<"
|
|
168
|
-
|
|
169
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
147
|
+
kind: z.ZodLiteral<"command">;
|
|
148
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
170
149
|
kind: z.ZodLiteral<"devices">;
|
|
171
150
|
ids: z.ZodArray<z.ZodNumber>;
|
|
172
151
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -176,12 +155,8 @@ export declare const actionsCapability: {
|
|
|
176
155
|
}, z.core.$strip>, z.ZodObject<{
|
|
177
156
|
kind: z.ZodLiteral<"var">;
|
|
178
157
|
name: z.ZodString;
|
|
179
|
-
}, z.core.$strip>], "kind"
|
|
180
|
-
|
|
181
|
-
$var: z.ZodString;
|
|
182
|
-
}, z.core.$strip>]>>;
|
|
183
|
-
cap: z.ZodString;
|
|
184
|
-
method: z.ZodString;
|
|
158
|
+
}, z.core.$strip>], "kind">;
|
|
159
|
+
actionId: z.ZodString;
|
|
185
160
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
186
161
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
187
162
|
if: z.ZodOptional<z.ZodType<import("../index.js").AutomationWhen, unknown, z.core.$ZodTypeInternals<import("../index.js").AutomationWhen, unknown>>>;
|
|
@@ -189,9 +164,8 @@ export declare const actionsCapability: {
|
|
|
189
164
|
kind: z.ZodLiteral<"wait">;
|
|
190
165
|
seconds: z.ZodNumber;
|
|
191
166
|
}, z.core.$strip>, z.ZodObject<{
|
|
192
|
-
kind: z.ZodLiteral<"
|
|
193
|
-
|
|
194
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
167
|
+
kind: z.ZodLiteral<"command">;
|
|
168
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
195
169
|
kind: z.ZodLiteral<"devices">;
|
|
196
170
|
ids: z.ZodArray<z.ZodNumber>;
|
|
197
171
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -201,12 +175,8 @@ export declare const actionsCapability: {
|
|
|
201
175
|
}, z.core.$strip>, z.ZodObject<{
|
|
202
176
|
kind: z.ZodLiteral<"var">;
|
|
203
177
|
name: z.ZodString;
|
|
204
|
-
}, z.core.$strip>], "kind"
|
|
205
|
-
|
|
206
|
-
$var: z.ZodString;
|
|
207
|
-
}, z.core.$strip>]>>;
|
|
208
|
-
cap: z.ZodString;
|
|
209
|
-
method: z.ZodString;
|
|
178
|
+
}, z.core.$strip>], "kind">;
|
|
179
|
+
actionId: z.ZodString;
|
|
210
180
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
211
181
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
212
182
|
}, z.core.$strip>], "kind">>>;
|
|
@@ -292,9 +262,8 @@ export declare const actionsCapability: {
|
|
|
292
262
|
kind: z.ZodLiteral<"wait">;
|
|
293
263
|
seconds: z.ZodNumber;
|
|
294
264
|
}, z.core.$strip>, z.ZodObject<{
|
|
295
|
-
kind: z.ZodLiteral<"
|
|
296
|
-
|
|
297
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
265
|
+
kind: z.ZodLiteral<"command">;
|
|
266
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
298
267
|
kind: z.ZodLiteral<"devices">;
|
|
299
268
|
ids: z.ZodArray<z.ZodNumber>;
|
|
300
269
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -304,19 +273,14 @@ export declare const actionsCapability: {
|
|
|
304
273
|
}, z.core.$strip>, z.ZodObject<{
|
|
305
274
|
kind: z.ZodLiteral<"var">;
|
|
306
275
|
name: z.ZodString;
|
|
307
|
-
}, z.core.$strip>], "kind"
|
|
308
|
-
|
|
309
|
-
$var: z.ZodString;
|
|
310
|
-
}, z.core.$strip>]>>;
|
|
311
|
-
cap: z.ZodString;
|
|
312
|
-
method: z.ZodString;
|
|
276
|
+
}, z.core.$strip>], "kind">;
|
|
277
|
+
actionId: z.ZodString;
|
|
313
278
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
314
279
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
315
280
|
}, z.core.$strip>], "kind">>>;
|
|
316
281
|
}, z.core.$strip>, z.ZodObject<{
|
|
317
|
-
kind: z.ZodLiteral<"
|
|
318
|
-
|
|
319
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
282
|
+
kind: z.ZodLiteral<"command">;
|
|
283
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
320
284
|
kind: z.ZodLiteral<"devices">;
|
|
321
285
|
ids: z.ZodArray<z.ZodNumber>;
|
|
322
286
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -326,12 +290,8 @@ export declare const actionsCapability: {
|
|
|
326
290
|
}, z.core.$strip>, z.ZodObject<{
|
|
327
291
|
kind: z.ZodLiteral<"var">;
|
|
328
292
|
name: z.ZodString;
|
|
329
|
-
}, z.core.$strip>], "kind"
|
|
330
|
-
|
|
331
|
-
$var: z.ZodString;
|
|
332
|
-
}, z.core.$strip>]>>;
|
|
333
|
-
cap: z.ZodString;
|
|
334
|
-
method: z.ZodString;
|
|
293
|
+
}, z.core.$strip>], "kind">;
|
|
294
|
+
actionId: z.ZodString;
|
|
335
295
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
336
296
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
337
297
|
if: z.ZodOptional<z.ZodType<import("../index.js").AutomationWhen, unknown, z.core.$ZodTypeInternals<import("../index.js").AutomationWhen, unknown>>>;
|
|
@@ -339,9 +299,8 @@ export declare const actionsCapability: {
|
|
|
339
299
|
kind: z.ZodLiteral<"wait">;
|
|
340
300
|
seconds: z.ZodNumber;
|
|
341
301
|
}, z.core.$strip>, z.ZodObject<{
|
|
342
|
-
kind: z.ZodLiteral<"
|
|
343
|
-
|
|
344
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
302
|
+
kind: z.ZodLiteral<"command">;
|
|
303
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
345
304
|
kind: z.ZodLiteral<"devices">;
|
|
346
305
|
ids: z.ZodArray<z.ZodNumber>;
|
|
347
306
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -351,12 +310,8 @@ export declare const actionsCapability: {
|
|
|
351
310
|
}, z.core.$strip>, z.ZodObject<{
|
|
352
311
|
kind: z.ZodLiteral<"var">;
|
|
353
312
|
name: z.ZodString;
|
|
354
|
-
}, z.core.$strip>], "kind"
|
|
355
|
-
|
|
356
|
-
$var: z.ZodString;
|
|
357
|
-
}, z.core.$strip>]>>;
|
|
358
|
-
cap: z.ZodString;
|
|
359
|
-
method: z.ZodString;
|
|
313
|
+
}, z.core.$strip>], "kind">;
|
|
314
|
+
actionId: z.ZodString;
|
|
360
315
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
361
316
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
362
317
|
}, z.core.$strip>], "kind">>>;
|
|
@@ -394,9 +349,8 @@ export declare const actionsCapability: {
|
|
|
394
349
|
kind: z.ZodLiteral<"wait">;
|
|
395
350
|
seconds: z.ZodNumber;
|
|
396
351
|
}, z.core.$strip>, z.ZodObject<{
|
|
397
|
-
kind: z.ZodLiteral<"
|
|
398
|
-
|
|
399
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
352
|
+
kind: z.ZodLiteral<"command">;
|
|
353
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
400
354
|
kind: z.ZodLiteral<"devices">;
|
|
401
355
|
ids: z.ZodArray<z.ZodNumber>;
|
|
402
356
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -406,19 +360,14 @@ export declare const actionsCapability: {
|
|
|
406
360
|
}, z.core.$strip>, z.ZodObject<{
|
|
407
361
|
kind: z.ZodLiteral<"var">;
|
|
408
362
|
name: z.ZodString;
|
|
409
|
-
}, z.core.$strip>], "kind"
|
|
410
|
-
|
|
411
|
-
$var: z.ZodString;
|
|
412
|
-
}, z.core.$strip>]>>;
|
|
413
|
-
cap: z.ZodString;
|
|
414
|
-
method: z.ZodString;
|
|
363
|
+
}, z.core.$strip>], "kind">;
|
|
364
|
+
actionId: z.ZodString;
|
|
415
365
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
416
366
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
417
367
|
}, z.core.$strip>], "kind">>>;
|
|
418
368
|
}, z.core.$strip>, z.ZodObject<{
|
|
419
|
-
kind: z.ZodLiteral<"
|
|
420
|
-
|
|
421
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
369
|
+
kind: z.ZodLiteral<"command">;
|
|
370
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
422
371
|
kind: z.ZodLiteral<"devices">;
|
|
423
372
|
ids: z.ZodArray<z.ZodNumber>;
|
|
424
373
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -428,12 +377,8 @@ export declare const actionsCapability: {
|
|
|
428
377
|
}, z.core.$strip>, z.ZodObject<{
|
|
429
378
|
kind: z.ZodLiteral<"var">;
|
|
430
379
|
name: z.ZodString;
|
|
431
|
-
}, z.core.$strip>], "kind"
|
|
432
|
-
|
|
433
|
-
$var: z.ZodString;
|
|
434
|
-
}, z.core.$strip>]>>;
|
|
435
|
-
cap: z.ZodString;
|
|
436
|
-
method: z.ZodString;
|
|
380
|
+
}, z.core.$strip>], "kind">;
|
|
381
|
+
actionId: z.ZodString;
|
|
437
382
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
438
383
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
439
384
|
if: z.ZodOptional<z.ZodType<import("../index.js").AutomationWhen, unknown, z.core.$ZodTypeInternals<import("../index.js").AutomationWhen, unknown>>>;
|
|
@@ -441,9 +386,8 @@ export declare const actionsCapability: {
|
|
|
441
386
|
kind: z.ZodLiteral<"wait">;
|
|
442
387
|
seconds: z.ZodNumber;
|
|
443
388
|
}, z.core.$strip>, z.ZodObject<{
|
|
444
|
-
kind: z.ZodLiteral<"
|
|
445
|
-
|
|
446
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
389
|
+
kind: z.ZodLiteral<"command">;
|
|
390
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
447
391
|
kind: z.ZodLiteral<"devices">;
|
|
448
392
|
ids: z.ZodArray<z.ZodNumber>;
|
|
449
393
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -453,12 +397,8 @@ export declare const actionsCapability: {
|
|
|
453
397
|
}, z.core.$strip>, z.ZodObject<{
|
|
454
398
|
kind: z.ZodLiteral<"var">;
|
|
455
399
|
name: z.ZodString;
|
|
456
|
-
}, z.core.$strip>], "kind"
|
|
457
|
-
|
|
458
|
-
$var: z.ZodString;
|
|
459
|
-
}, z.core.$strip>]>>;
|
|
460
|
-
cap: z.ZodString;
|
|
461
|
-
method: z.ZodString;
|
|
400
|
+
}, z.core.$strip>], "kind">;
|
|
401
|
+
actionId: z.ZodString;
|
|
462
402
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
463
403
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
464
404
|
}, z.core.$strip>], "kind">>>;
|
|
@@ -504,9 +444,8 @@ export declare const actionsCapability: {
|
|
|
504
444
|
kind: z.ZodLiteral<"wait">;
|
|
505
445
|
seconds: z.ZodNumber;
|
|
506
446
|
}, z.core.$strip>, z.ZodObject<{
|
|
507
|
-
kind: z.ZodLiteral<"
|
|
508
|
-
|
|
509
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
447
|
+
kind: z.ZodLiteral<"command">;
|
|
448
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
510
449
|
kind: z.ZodLiteral<"devices">;
|
|
511
450
|
ids: z.ZodArray<z.ZodNumber>;
|
|
512
451
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -516,19 +455,14 @@ export declare const actionsCapability: {
|
|
|
516
455
|
}, z.core.$strip>, z.ZodObject<{
|
|
517
456
|
kind: z.ZodLiteral<"var">;
|
|
518
457
|
name: z.ZodString;
|
|
519
|
-
}, z.core.$strip>], "kind"
|
|
520
|
-
|
|
521
|
-
$var: z.ZodString;
|
|
522
|
-
}, z.core.$strip>]>>;
|
|
523
|
-
cap: z.ZodString;
|
|
524
|
-
method: z.ZodString;
|
|
458
|
+
}, z.core.$strip>], "kind">;
|
|
459
|
+
actionId: z.ZodString;
|
|
525
460
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
526
461
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
527
462
|
}, z.core.$strip>], "kind">>>;
|
|
528
463
|
}, z.core.$strip>, z.ZodObject<{
|
|
529
|
-
kind: z.ZodLiteral<"
|
|
530
|
-
|
|
531
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
464
|
+
kind: z.ZodLiteral<"command">;
|
|
465
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
532
466
|
kind: z.ZodLiteral<"devices">;
|
|
533
467
|
ids: z.ZodArray<z.ZodNumber>;
|
|
534
468
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -538,12 +472,8 @@ export declare const actionsCapability: {
|
|
|
538
472
|
}, z.core.$strip>, z.ZodObject<{
|
|
539
473
|
kind: z.ZodLiteral<"var">;
|
|
540
474
|
name: z.ZodString;
|
|
541
|
-
}, z.core.$strip>], "kind"
|
|
542
|
-
|
|
543
|
-
$var: z.ZodString;
|
|
544
|
-
}, z.core.$strip>]>>;
|
|
545
|
-
cap: z.ZodString;
|
|
546
|
-
method: z.ZodString;
|
|
475
|
+
}, z.core.$strip>], "kind">;
|
|
476
|
+
actionId: z.ZodString;
|
|
547
477
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
548
478
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
549
479
|
if: z.ZodOptional<z.ZodType<import("../index.js").AutomationWhen, unknown, z.core.$ZodTypeInternals<import("../index.js").AutomationWhen, unknown>>>;
|
|
@@ -551,9 +481,8 @@ export declare const actionsCapability: {
|
|
|
551
481
|
kind: z.ZodLiteral<"wait">;
|
|
552
482
|
seconds: z.ZodNumber;
|
|
553
483
|
}, z.core.$strip>, z.ZodObject<{
|
|
554
|
-
kind: z.ZodLiteral<"
|
|
555
|
-
|
|
556
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
484
|
+
kind: z.ZodLiteral<"command">;
|
|
485
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
557
486
|
kind: z.ZodLiteral<"devices">;
|
|
558
487
|
ids: z.ZodArray<z.ZodNumber>;
|
|
559
488
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -563,12 +492,8 @@ export declare const actionsCapability: {
|
|
|
563
492
|
}, z.core.$strip>, z.ZodObject<{
|
|
564
493
|
kind: z.ZodLiteral<"var">;
|
|
565
494
|
name: z.ZodString;
|
|
566
|
-
}, z.core.$strip>], "kind"
|
|
567
|
-
|
|
568
|
-
$var: z.ZodString;
|
|
569
|
-
}, z.core.$strip>]>>;
|
|
570
|
-
cap: z.ZodString;
|
|
571
|
-
method: z.ZodString;
|
|
495
|
+
}, z.core.$strip>], "kind">;
|
|
496
|
+
actionId: z.ZodString;
|
|
572
497
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
573
498
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
574
499
|
}, z.core.$strip>], "kind">>>;
|
|
@@ -606,9 +531,8 @@ export declare const actionsCapability: {
|
|
|
606
531
|
kind: z.ZodLiteral<"wait">;
|
|
607
532
|
seconds: z.ZodNumber;
|
|
608
533
|
}, z.core.$strip>, z.ZodObject<{
|
|
609
|
-
kind: z.ZodLiteral<"
|
|
610
|
-
|
|
611
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
534
|
+
kind: z.ZodLiteral<"command">;
|
|
535
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
612
536
|
kind: z.ZodLiteral<"devices">;
|
|
613
537
|
ids: z.ZodArray<z.ZodNumber>;
|
|
614
538
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -618,19 +542,14 @@ export declare const actionsCapability: {
|
|
|
618
542
|
}, z.core.$strip>, z.ZodObject<{
|
|
619
543
|
kind: z.ZodLiteral<"var">;
|
|
620
544
|
name: z.ZodString;
|
|
621
|
-
}, z.core.$strip>], "kind"
|
|
622
|
-
|
|
623
|
-
$var: z.ZodString;
|
|
624
|
-
}, z.core.$strip>]>>;
|
|
625
|
-
cap: z.ZodString;
|
|
626
|
-
method: z.ZodString;
|
|
545
|
+
}, z.core.$strip>], "kind">;
|
|
546
|
+
actionId: z.ZodString;
|
|
627
547
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
628
548
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
629
549
|
}, z.core.$strip>], "kind">>>;
|
|
630
550
|
}, z.core.$strip>, z.ZodObject<{
|
|
631
|
-
kind: z.ZodLiteral<"
|
|
632
|
-
|
|
633
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
551
|
+
kind: z.ZodLiteral<"command">;
|
|
552
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
634
553
|
kind: z.ZodLiteral<"devices">;
|
|
635
554
|
ids: z.ZodArray<z.ZodNumber>;
|
|
636
555
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -640,12 +559,8 @@ export declare const actionsCapability: {
|
|
|
640
559
|
}, z.core.$strip>, z.ZodObject<{
|
|
641
560
|
kind: z.ZodLiteral<"var">;
|
|
642
561
|
name: z.ZodString;
|
|
643
|
-
}, z.core.$strip>], "kind"
|
|
644
|
-
|
|
645
|
-
$var: z.ZodString;
|
|
646
|
-
}, z.core.$strip>]>>;
|
|
647
|
-
cap: z.ZodString;
|
|
648
|
-
method: z.ZodString;
|
|
562
|
+
}, z.core.$strip>], "kind">;
|
|
563
|
+
actionId: z.ZodString;
|
|
649
564
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
650
565
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
651
566
|
if: z.ZodOptional<z.ZodType<import("../index.js").AutomationWhen, unknown, z.core.$ZodTypeInternals<import("../index.js").AutomationWhen, unknown>>>;
|
|
@@ -653,9 +568,8 @@ export declare const actionsCapability: {
|
|
|
653
568
|
kind: z.ZodLiteral<"wait">;
|
|
654
569
|
seconds: z.ZodNumber;
|
|
655
570
|
}, z.core.$strip>, z.ZodObject<{
|
|
656
|
-
kind: z.ZodLiteral<"
|
|
657
|
-
|
|
658
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
571
|
+
kind: z.ZodLiteral<"command">;
|
|
572
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
659
573
|
kind: z.ZodLiteral<"devices">;
|
|
660
574
|
ids: z.ZodArray<z.ZodNumber>;
|
|
661
575
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -665,12 +579,8 @@ export declare const actionsCapability: {
|
|
|
665
579
|
}, z.core.$strip>, z.ZodObject<{
|
|
666
580
|
kind: z.ZodLiteral<"var">;
|
|
667
581
|
name: z.ZodString;
|
|
668
|
-
}, z.core.$strip>], "kind"
|
|
669
|
-
|
|
670
|
-
$var: z.ZodString;
|
|
671
|
-
}, z.core.$strip>]>>;
|
|
672
|
-
cap: z.ZodString;
|
|
673
|
-
method: z.ZodString;
|
|
582
|
+
}, z.core.$strip>], "kind">;
|
|
583
|
+
actionId: z.ZodString;
|
|
674
584
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
675
585
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
676
586
|
}, z.core.$strip>], "kind">>>;
|
|
@@ -731,9 +641,8 @@ export declare const actionsCapability: {
|
|
|
731
641
|
kind: z.ZodLiteral<"wait">;
|
|
732
642
|
seconds: z.ZodNumber;
|
|
733
643
|
}, z.core.$strip>, z.ZodObject<{
|
|
734
|
-
kind: z.ZodLiteral<"
|
|
735
|
-
|
|
736
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
644
|
+
kind: z.ZodLiteral<"command">;
|
|
645
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
737
646
|
kind: z.ZodLiteral<"devices">;
|
|
738
647
|
ids: z.ZodArray<z.ZodNumber>;
|
|
739
648
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -743,19 +652,14 @@ export declare const actionsCapability: {
|
|
|
743
652
|
}, z.core.$strip>, z.ZodObject<{
|
|
744
653
|
kind: z.ZodLiteral<"var">;
|
|
745
654
|
name: z.ZodString;
|
|
746
|
-
}, z.core.$strip>], "kind"
|
|
747
|
-
|
|
748
|
-
$var: z.ZodString;
|
|
749
|
-
}, z.core.$strip>]>>;
|
|
750
|
-
cap: z.ZodString;
|
|
751
|
-
method: z.ZodString;
|
|
655
|
+
}, z.core.$strip>], "kind">;
|
|
656
|
+
actionId: z.ZodString;
|
|
752
657
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
753
658
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
754
659
|
}, z.core.$strip>], "kind">>>;
|
|
755
660
|
}, z.core.$strip>, z.ZodObject<{
|
|
756
|
-
kind: z.ZodLiteral<"
|
|
757
|
-
|
|
758
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
661
|
+
kind: z.ZodLiteral<"command">;
|
|
662
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
759
663
|
kind: z.ZodLiteral<"devices">;
|
|
760
664
|
ids: z.ZodArray<z.ZodNumber>;
|
|
761
665
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -765,12 +669,8 @@ export declare const actionsCapability: {
|
|
|
765
669
|
}, z.core.$strip>, z.ZodObject<{
|
|
766
670
|
kind: z.ZodLiteral<"var">;
|
|
767
671
|
name: z.ZodString;
|
|
768
|
-
}, z.core.$strip>], "kind"
|
|
769
|
-
|
|
770
|
-
$var: z.ZodString;
|
|
771
|
-
}, z.core.$strip>]>>;
|
|
772
|
-
cap: z.ZodString;
|
|
773
|
-
method: z.ZodString;
|
|
672
|
+
}, z.core.$strip>], "kind">;
|
|
673
|
+
actionId: z.ZodString;
|
|
774
674
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
775
675
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
776
676
|
if: z.ZodOptional<z.ZodType<import("../index.js").AutomationWhen, unknown, z.core.$ZodTypeInternals<import("../index.js").AutomationWhen, unknown>>>;
|
|
@@ -778,9 +678,8 @@ export declare const actionsCapability: {
|
|
|
778
678
|
kind: z.ZodLiteral<"wait">;
|
|
779
679
|
seconds: z.ZodNumber;
|
|
780
680
|
}, z.core.$strip>, z.ZodObject<{
|
|
781
|
-
kind: z.ZodLiteral<"
|
|
782
|
-
|
|
783
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
681
|
+
kind: z.ZodLiteral<"command">;
|
|
682
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
784
683
|
kind: z.ZodLiteral<"devices">;
|
|
785
684
|
ids: z.ZodArray<z.ZodNumber>;
|
|
786
685
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -790,12 +689,8 @@ export declare const actionsCapability: {
|
|
|
790
689
|
}, z.core.$strip>, z.ZodObject<{
|
|
791
690
|
kind: z.ZodLiteral<"var">;
|
|
792
691
|
name: z.ZodString;
|
|
793
|
-
}, z.core.$strip>], "kind"
|
|
794
|
-
|
|
795
|
-
$var: z.ZodString;
|
|
796
|
-
}, z.core.$strip>]>>;
|
|
797
|
-
cap: z.ZodString;
|
|
798
|
-
method: z.ZodString;
|
|
692
|
+
}, z.core.$strip>], "kind">;
|
|
693
|
+
actionId: z.ZodString;
|
|
799
694
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
800
695
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
801
696
|
}, z.core.$strip>], "kind">>>;
|
|
@@ -9,6 +9,7 @@ declare const ExportInstanceSchema: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodString;
|
|
10
10
|
enabled: z.ZodBoolean;
|
|
11
11
|
kind: z.ZodOptional<z.ZodString>;
|
|
12
|
+
nameRule: z.ZodOptional<z.ZodString>;
|
|
12
13
|
}, z.core.$strip>;
|
|
13
14
|
export declare const EXPORT_INSTANCE_UNKNOWN = "export-instance-unknown";
|
|
14
15
|
/** The named failure of an `instanceId` the provider does not serve. The message starts with the code. */
|
|
@@ -77,16 +78,40 @@ declare const DeviceExportStatusSchema: z.ZodObject<{
|
|
|
77
78
|
note: z.ZodOptional<z.ZodString>;
|
|
78
79
|
}, z.core.$strip>>;
|
|
79
80
|
}, z.core.$strip>;
|
|
81
|
+
/**
|
|
82
|
+
* EXPOSED NAME. What one instance calls a device on its platform, when it should not be the
|
|
83
|
+
* device's own name. The exporter owns it: it is stored per instance in the exporter's per-device
|
|
84
|
+
* store (D865), validated by the exporter against its platform's naming rules, and never reaches
|
|
85
|
+
* the exported id — a rename updates the SAME device on the platform, never a second one.
|
|
86
|
+
* Blank or `null` = the device's own name. A name the platform would refuse is refused with
|
|
87
|
+
* `ExportNameRefusedError` (`export-name-refused`), whose message says why.
|
|
88
|
+
*/
|
|
80
89
|
declare const ExposedDeviceSchema: z.ZodObject<{
|
|
81
90
|
deviceId: z.ZodString;
|
|
82
91
|
exposedAs: z.ZodOptional<z.ZodString>;
|
|
92
|
+
exposedName: z.ZodOptional<z.ZodString>;
|
|
83
93
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
84
94
|
}, z.core.$strip>;
|
|
85
95
|
declare const ExposeInputSchema: z.ZodObject<{
|
|
86
96
|
instanceId: z.ZodString;
|
|
87
97
|
deviceId: z.ZodString;
|
|
88
98
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
99
|
+
exposedName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
declare const SetExposedNameInputSchema: z.ZodObject<{
|
|
102
|
+
instanceId: z.ZodString;
|
|
103
|
+
deviceId: z.ZodString;
|
|
104
|
+
name: z.ZodNullable<z.ZodString>;
|
|
105
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
89
106
|
}, z.core.$strip>;
|
|
107
|
+
export declare const EXPORT_NAME_REFUSED = "export-name-refused";
|
|
108
|
+
/** A name the instance's platform would refuse. The message starts with the code, then the reason. */
|
|
109
|
+
export declare class ExportNameRefusedError extends Error {
|
|
110
|
+
readonly code = "export-name-refused";
|
|
111
|
+
readonly instanceId: string;
|
|
112
|
+
readonly reason: string;
|
|
113
|
+
constructor(instanceId: string, reason: string);
|
|
114
|
+
}
|
|
90
115
|
declare const UnexposeInputSchema: z.ZodObject<{
|
|
91
116
|
instanceId: z.ZodString;
|
|
92
117
|
deviceId: z.ZodString;
|
|
@@ -211,6 +236,7 @@ export declare const deviceExportCapability: {
|
|
|
211
236
|
name: z.ZodString;
|
|
212
237
|
enabled: z.ZodBoolean;
|
|
213
238
|
kind: z.ZodOptional<z.ZodString>;
|
|
239
|
+
nameRule: z.ZodOptional<z.ZodString>;
|
|
214
240
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
215
241
|
readonly listSupportedDeviceKinds: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
216
242
|
instanceId: z.ZodOptional<z.ZodString>;
|
|
@@ -220,17 +246,25 @@ export declare const deviceExportCapability: {
|
|
|
220
246
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
221
247
|
deviceId: z.ZodString;
|
|
222
248
|
exposedAs: z.ZodOptional<z.ZodString>;
|
|
249
|
+
exposedName: z.ZodOptional<z.ZodString>;
|
|
223
250
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
224
251
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
225
252
|
readonly exposeDevice: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
226
253
|
instanceId: z.ZodString;
|
|
227
254
|
deviceId: z.ZodString;
|
|
228
255
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
256
|
+
exposedName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
229
257
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
230
258
|
readonly unexposeDevice: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
231
259
|
instanceId: z.ZodString;
|
|
232
260
|
deviceId: z.ZodString;
|
|
233
261
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
262
|
+
readonly setExposedName: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
263
|
+
instanceId: z.ZodString;
|
|
264
|
+
deviceId: z.ZodString;
|
|
265
|
+
name: z.ZodNullable<z.ZodString>;
|
|
266
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
267
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
234
268
|
readonly listSupportedEntityKinds: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodArray<z.ZodEnum<{
|
|
235
269
|
action: "action";
|
|
236
270
|
device: "device";
|
|
@@ -294,8 +328,9 @@ type DeviceExportInferred = InferProvider<typeof deviceExportCapability>;
|
|
|
294
328
|
* panel omits them. Addons that implement the methods stay assignable.
|
|
295
329
|
*/
|
|
296
330
|
export type IDeviceExportProvider = Omit<DeviceExportInferred, keyof DeviceSettingsContribution> & Partial<Pick<DeviceExportInferred, keyof DeviceSettingsContribution>>;
|
|
297
|
-
export { InstancePinSchema, ExportInstanceSchema, DeviceExportStatusSchema, ExportSetupSchema, ExportSetupFieldSchema, ExposedDeviceSchema, ExposeInputSchema, UnexposeInputSchema, ExportEntityKindSchema, ExportEntityRefSchema, ExposedEntitySchema, ExposeEntityInputSchema, UnexposeEntityInputSchema, };
|
|
331
|
+
export { InstancePinSchema, ExportInstanceSchema, DeviceExportStatusSchema, ExportSetupSchema, ExportSetupFieldSchema, ExposedDeviceSchema, ExposeInputSchema, UnexposeInputSchema, SetExposedNameInputSchema, ExportEntityKindSchema, ExportEntityRefSchema, ExposedEntitySchema, ExposeEntityInputSchema, UnexposeEntityInputSchema, };
|
|
298
332
|
export type ExportInstance = z.infer<typeof ExportInstanceSchema>;
|
|
333
|
+
export type SetExposedNameInput = z.infer<typeof SetExposedNameInputSchema>;
|
|
299
334
|
export type ExportEntityKind = z.infer<typeof ExportEntityKindSchema>;
|
|
300
335
|
export type ExportEntityRef = z.infer<typeof ExportEntityRefSchema>;
|
|
301
336
|
export type ExposedEntity = z.infer<typeof ExposedEntitySchema>;
|