@camstack/types 1.2.147 → 1.2.148
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.
|
@@ -107,8 +107,12 @@ export declare const ConfigEntrySchema: z.ZodObject<{
|
|
|
107
107
|
value: z.ZodUnknown;
|
|
108
108
|
description: z.ZodOptional<z.ZodString>;
|
|
109
109
|
}, z.core.$strip>;
|
|
110
|
+
/**
|
|
111
|
+
* Only `manual` since D356: the operator picks, nothing links itself. The
|
|
112
|
+
* field survives on the wire because a viewer already OTA'd parses it —
|
|
113
|
+
* drop it once no shipped client reads `mode`.
|
|
114
|
+
*/
|
|
110
115
|
export declare const LinkedDevicesModeSchema: z.ZodEnum<{
|
|
111
|
-
auto: "auto";
|
|
112
116
|
manual: "manual";
|
|
113
117
|
}>;
|
|
114
118
|
export type LinkedDevicesMode = z.infer<typeof LinkedDevicesModeSchema>;
|
|
@@ -127,7 +131,6 @@ export type LinkedDevice = z.infer<typeof LinkedDeviceSchema>;
|
|
|
127
131
|
export declare const LinkedDevicesForDeviceSchema: z.ZodObject<{
|
|
128
132
|
deviceId: z.ZodNumber;
|
|
129
133
|
mode: z.ZodEnum<{
|
|
130
|
-
auto: "auto";
|
|
131
134
|
manual: "manual";
|
|
132
135
|
}>;
|
|
133
136
|
devices: z.ZodArray<z.ZodObject<{
|
|
@@ -926,7 +929,6 @@ export declare const deviceManagerCapability: {
|
|
|
926
929
|
deviceId: z.ZodNumber;
|
|
927
930
|
}, z.core.$strip>, z.ZodObject<{
|
|
928
931
|
mode: z.ZodEnum<{
|
|
929
|
-
auto: "auto";
|
|
930
932
|
manual: "manual";
|
|
931
933
|
}>;
|
|
932
934
|
devices: z.ZodArray<z.ZodObject<{
|
|
@@ -958,7 +960,6 @@ export declare const deviceManagerCapability: {
|
|
|
958
960
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
959
961
|
deviceId: z.ZodNumber;
|
|
960
962
|
mode: z.ZodEnum<{
|
|
961
|
-
auto: "auto";
|
|
962
963
|
manual: "manual";
|
|
963
964
|
}>;
|
|
964
965
|
devices: z.ZodArray<z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -10350,7 +10350,12 @@ var ConfigEntrySchema = zod.z.object({
|
|
|
10350
10350
|
value: zod.z.unknown(),
|
|
10351
10351
|
description: zod.z.string().optional()
|
|
10352
10352
|
});
|
|
10353
|
-
|
|
10353
|
+
/**
|
|
10354
|
+
* Only `manual` since D356: the operator picks, nothing links itself. The
|
|
10355
|
+
* field survives on the wire because a viewer already OTA'd parses it —
|
|
10356
|
+
* drop it once no shipped client reads `mode`.
|
|
10357
|
+
*/
|
|
10358
|
+
var LinkedDevicesModeSchema = zod.z.enum(["manual"]);
|
|
10354
10359
|
/** One resolved linked device — the compact projection consumers need. */
|
|
10355
10360
|
var LinkedDeviceSchema = zod.z.object({
|
|
10356
10361
|
deviceId: zod.z.number(),
|
package/dist/index.mjs
CHANGED
|
@@ -10349,7 +10349,12 @@ var ConfigEntrySchema = z.object({
|
|
|
10349
10349
|
value: z.unknown(),
|
|
10350
10350
|
description: z.string().optional()
|
|
10351
10351
|
});
|
|
10352
|
-
|
|
10352
|
+
/**
|
|
10353
|
+
* Only `manual` since D356: the operator picks, nothing links itself. The
|
|
10354
|
+
* field survives on the wire because a viewer already OTA'd parses it —
|
|
10355
|
+
* drop it once no shipped client reads `mode`.
|
|
10356
|
+
*/
|
|
10357
|
+
var LinkedDevicesModeSchema = z.enum(["manual"]);
|
|
10353
10358
|
/** One resolved linked device — the compact projection consumers need. */
|
|
10354
10359
|
var LinkedDeviceSchema = z.object({
|
|
10355
10360
|
deviceId: z.number(),
|
|
@@ -392,6 +392,9 @@ export interface DeviceSelectFilter {
|
|
|
392
392
|
readonly types?: readonly string[];
|
|
393
393
|
/** Always drop this device id from the options (e.g. the host device). */
|
|
394
394
|
readonly excludeDeviceId?: number;
|
|
395
|
+
/** Always drop devices of these `DeviceType`s — a container is never a
|
|
396
|
+
* legitimate pick, its children are. Applied before every positive clause. */
|
|
397
|
+
readonly excludeTypes?: readonly string[];
|
|
395
398
|
}
|
|
396
399
|
/**
|
|
397
400
|
* Pick a SINGLE device from the live device catalogue. Options are the
|
|
@@ -411,6 +414,14 @@ export interface ConfigDeviceMultiSelectField extends ConfigFieldBase {
|
|
|
411
414
|
type: 'device-multiselect';
|
|
412
415
|
deviceFilter?: DeviceSelectFilter;
|
|
413
416
|
maxItems?: number;
|
|
417
|
+
/**
|
|
418
|
+
* Devices sharing this location are listed FIRST, under a "Suggested"
|
|
419
|
+
* heading, and the location / type facet chips are shown — the shape the
|
|
420
|
+
* linked-devices picker needs (D356): a catalogue of hundreds narrowed by
|
|
421
|
+
* where and what before the free-text search, and the room's own devices
|
|
422
|
+
* offered without being linked on anybody's behalf. `null` = no suggestion.
|
|
423
|
+
*/
|
|
424
|
+
suggestLocation?: string | null;
|
|
414
425
|
}
|
|
415
426
|
export interface ConfigPasswordField extends ConfigFieldBase {
|
|
416
427
|
type: 'password';
|