@luxonis/depthai-viewer-common 1.5.11 → 1.5.13
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.
|
@@ -45,8 +45,18 @@ export declare const IrSchema: z.ZodObject<{
|
|
|
45
45
|
dotProjector: boolean;
|
|
46
46
|
}>;
|
|
47
47
|
export type Ir = z.infer<typeof IrSchema>;
|
|
48
|
-
export declare const PlatformSchema: z.ZodEnum<["RVC2", "RVC4"]>;
|
|
48
|
+
export declare const PlatformSchema: z.ZodEnum<["RVC2", "RVC4", "UNKNOWN"]>;
|
|
49
49
|
export type Platform = z.infer<typeof PlatformSchema>;
|
|
50
|
+
export declare const PLATFORM_NAMES: {
|
|
51
|
+
RVC2: string;
|
|
52
|
+
RVC4: string;
|
|
53
|
+
UNKNOWN: string;
|
|
54
|
+
};
|
|
55
|
+
export declare const PLATFORM_COLORS: {
|
|
56
|
+
RVC2: string;
|
|
57
|
+
RVC4: string;
|
|
58
|
+
UNKNOWN: string;
|
|
59
|
+
};
|
|
50
60
|
export declare const ConnectionTypeSchema: z.ZodEnum<["USB", "ETH", "UNKNOWN"]>;
|
|
51
61
|
export type ConnectionType = z.infer<typeof ConnectionTypeSchema>;
|
|
52
62
|
export declare const DeviceConfigurationSchema: z.ZodObject<{
|
|
@@ -97,7 +107,7 @@ export declare const DeviceConfigurationSchema: z.ZodObject<{
|
|
|
97
107
|
stereo: z.ZodBoolean;
|
|
98
108
|
thermal: z.ZodBoolean;
|
|
99
109
|
productName: z.ZodEnum<["OAK-D S2 AF", "OAK-D S2 FF", "OAK-D-W", "OAK-D-W-97", "OAK-D Pro AF", "OAK-D Pro FF", "OAK-D Pro FF 97", "OAK-D Pro W", "OAK-D Pro W 97", "OAK-D-Lite AF", "OAK-D-Lite FF", "OAK-D", "OAK-D-S2 PoE AF", "OAK-D-S2 PoE FF", "OAK-D W PoE", "OAK-D-W PoE 97", "OAK-D-Pro PoE AF", "OAK-D-Pro PoE FF", "OAK-D-Pro PoE FF 97", "OAK-D-Pro W PoE", "OAK-D-Pro W PoE 97", "OAK-D-PoE", "OAK-1-PoE AF", "OAK-1-PoE FF", "OAK-1 W PoE", "OAK-1 W PoE 97", "OAK-1 AF", "OAK-1 FF", "OAK-1 FF 97", "OAK-1 W", "OAK-1 W 97", "OAK-1 MAX", "OAK-1-Lite AF", "OAK-1-Lite FF", "OAK-1-Lite W", "OAK-D CM4", "OAK-D CM4 PoE", "OAK-D LR", "OAK-D SR", "OAK-D SR PoE", "RAE", "OAK4-D", "OAK4-D-AF", "OAK4-D-FF", "OAK4-D-W", "OAK4-D-PRO", "OAK4-D-PRO-AF", "OAK4-D-PRO-FF", "OAK4-D-PRO-W", "OAK4-S", "OAK4-S-AF", "OAK4-S-FF", "OAK4-S-W", "OAK4-LR", "OAK4-SR"]>;
|
|
100
|
-
platform: z.ZodEnum<["RVC2", "RVC4"]>;
|
|
110
|
+
platform: z.ZodEnum<["RVC2", "RVC4", "UNKNOWN"]>;
|
|
101
111
|
imu: z.ZodBoolean;
|
|
102
112
|
calibrated: z.ZodBoolean;
|
|
103
113
|
dynamicCalibration: z.ZodBoolean;
|
|
@@ -122,7 +132,7 @@ export declare const DeviceConfigurationSchema: z.ZodObject<{
|
|
|
122
132
|
stereo: boolean;
|
|
123
133
|
thermal: boolean;
|
|
124
134
|
productName: "OAK-D S2 AF" | "OAK-D S2 FF" | "OAK-D-W" | "OAK-D-W-97" | "OAK-D Pro AF" | "OAK-D Pro FF" | "OAK-D Pro FF 97" | "OAK-D Pro W" | "OAK-D Pro W 97" | "OAK-D-Lite AF" | "OAK-D-Lite FF" | "OAK-D" | "OAK-D-S2 PoE AF" | "OAK-D-S2 PoE FF" | "OAK-D W PoE" | "OAK-D-W PoE 97" | "OAK-D-Pro PoE AF" | "OAK-D-Pro PoE FF" | "OAK-D-Pro PoE FF 97" | "OAK-D-Pro W PoE" | "OAK-D-Pro W PoE 97" | "OAK-D-PoE" | "OAK-1-PoE AF" | "OAK-1-PoE FF" | "OAK-1 W PoE" | "OAK-1 W PoE 97" | "OAK-1 AF" | "OAK-1 FF" | "OAK-1 FF 97" | "OAK-1 W" | "OAK-1 W 97" | "OAK-1 MAX" | "OAK-1-Lite AF" | "OAK-1-Lite FF" | "OAK-1-Lite W" | "OAK-D CM4" | "OAK-D CM4 PoE" | "OAK-D LR" | "OAK-D SR" | "OAK-D SR PoE" | "RAE" | "OAK4-D" | "OAK4-D-AF" | "OAK4-D-FF" | "OAK4-D-W" | "OAK4-D-PRO" | "OAK4-D-PRO-AF" | "OAK4-D-PRO-FF" | "OAK4-D-PRO-W" | "OAK4-S" | "OAK4-S-AF" | "OAK4-S-FF" | "OAK4-S-W" | "OAK4-LR" | "OAK4-SR";
|
|
125
|
-
platform: "RVC2" | "RVC4";
|
|
135
|
+
platform: "RVC2" | "RVC4" | "UNKNOWN";
|
|
126
136
|
calibrated: boolean;
|
|
127
137
|
dynamicCalibration: boolean;
|
|
128
138
|
fullyCompatible: boolean;
|
|
@@ -146,7 +156,7 @@ export declare const DeviceConfigurationSchema: z.ZodObject<{
|
|
|
146
156
|
stereo: boolean;
|
|
147
157
|
thermal: boolean;
|
|
148
158
|
productName: "OAK-D S2 AF" | "OAK-D S2 FF" | "OAK-D-W" | "OAK-D-W-97" | "OAK-D Pro AF" | "OAK-D Pro FF" | "OAK-D Pro FF 97" | "OAK-D Pro W" | "OAK-D Pro W 97" | "OAK-D-Lite AF" | "OAK-D-Lite FF" | "OAK-D" | "OAK-D-S2 PoE AF" | "OAK-D-S2 PoE FF" | "OAK-D W PoE" | "OAK-D-W PoE 97" | "OAK-D-Pro PoE AF" | "OAK-D-Pro PoE FF" | "OAK-D-Pro PoE FF 97" | "OAK-D-Pro W PoE" | "OAK-D-Pro W PoE 97" | "OAK-D-PoE" | "OAK-1-PoE AF" | "OAK-1-PoE FF" | "OAK-1 W PoE" | "OAK-1 W PoE 97" | "OAK-1 AF" | "OAK-1 FF" | "OAK-1 FF 97" | "OAK-1 W" | "OAK-1 W 97" | "OAK-1 MAX" | "OAK-1-Lite AF" | "OAK-1-Lite FF" | "OAK-1-Lite W" | "OAK-D CM4" | "OAK-D CM4 PoE" | "OAK-D LR" | "OAK-D SR" | "OAK-D SR PoE" | "RAE" | "OAK4-D" | "OAK4-D-AF" | "OAK4-D-FF" | "OAK4-D-W" | "OAK4-D-PRO" | "OAK4-D-PRO-AF" | "OAK4-D-PRO-FF" | "OAK4-D-PRO-W" | "OAK4-S" | "OAK4-S-AF" | "OAK4-S-FF" | "OAK4-S-W" | "OAK4-LR" | "OAK4-SR";
|
|
149
|
-
platform: "RVC2" | "RVC4";
|
|
159
|
+
platform: "RVC2" | "RVC4" | "UNKNOWN";
|
|
150
160
|
calibrated: boolean;
|
|
151
161
|
dynamicCalibration: boolean;
|
|
152
162
|
fullyCompatible: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-configuration.d.ts","sourceRoot":"","sources":["../../src/models/device-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMvB,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,QAAQ;;;;;;;;;EAGnB,CAAC;AACH,MAAM,MAAM,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE1C,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"device-configuration.d.ts","sourceRoot":"","sources":["../../src/models/device-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMvB,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,QAAQ;;;;;;;;;EAGnB,CAAC;AACH,MAAM,MAAM,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE1C,eAAO,MAAM,cAAc,wCAAsC,CAAC;AAClE,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACtD,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AACF,eAAO,MAAM,eAAe;;;;CAI3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,sCAAoC,CAAC;AACtE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -11,7 +11,17 @@ export const IrSchema = z.object({
|
|
|
11
11
|
floodLight: z.boolean(),
|
|
12
12
|
dotProjector: z.boolean(),
|
|
13
13
|
});
|
|
14
|
-
export const PlatformSchema = z.enum(['RVC2', 'RVC4']);
|
|
14
|
+
export const PlatformSchema = z.enum(['RVC2', 'RVC4', 'UNKNOWN']);
|
|
15
|
+
export const PLATFORM_NAMES = {
|
|
16
|
+
RVC2: 'RVC2',
|
|
17
|
+
RVC4: 'RVC4',
|
|
18
|
+
UNKNOWN: 'Unknown',
|
|
19
|
+
};
|
|
20
|
+
export const PLATFORM_COLORS = {
|
|
21
|
+
RVC2: 'active',
|
|
22
|
+
RVC4: 'success',
|
|
23
|
+
UNKNOWN: 'gray',
|
|
24
|
+
};
|
|
15
25
|
export const ConnectionTypeSchema = z.enum(['USB', 'ETH', 'UNKNOWN']);
|
|
16
26
|
export const DeviceConfigurationSchema = z.object({
|
|
17
27
|
cameraSensors: z.array(SensorSchema),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-configuration.js","sourceRoot":"","sources":["../../src/models/device-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,oBAAoB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;CAClF,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;CACzB,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"device-configuration.js","sourceRoot":"","sources":["../../src/models/device-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CA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