camstreamerlib 4.0.34 → 4.0.35-9984935
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/cjs/CamOverlayAPI.d.ts +6 -0
- package/cjs/CamOverlayAPI.js +16 -0
- package/cjs/CamSwitcherAPI.d.ts +1 -1
- package/cjs/PlaneTrackerAPI.d.ts +46 -10
- package/cjs/PlaneTrackerAPI.js +2 -1
- package/cjs/VapixAPI.js +4 -2
- package/cjs/errors/errors.js +4 -4
- package/cjs/types/CamSwitcherAPI.d.ts +4 -4
- package/cjs/types/PlaneTrackerAPI.d.ts +223 -39
- package/cjs/types/PlaneTrackerAPI.js +72 -23
- package/cjs/types/PlaneTrackerAPI.test.d.ts +1 -0
- package/cjs/types/PlaneTrackerAPI.test.js +117 -0
- package/cjs/types/common.d.ts +13 -0
- package/cjs/types/common.js +6 -1
- package/esm/CamOverlayAPI.js +17 -1
- package/esm/PlaneTrackerAPI.js +2 -1
- package/esm/VapixAPI.js +4 -2
- package/esm/errors/errors.js +4 -4
- package/esm/types/PlaneTrackerAPI.js +71 -22
- package/esm/types/PlaneTrackerAPI.test.js +115 -0
- package/esm/types/common.js +5 -0
- package/package.json +107 -110
- package/types/CamOverlayAPI.d.ts +6 -0
- package/types/CamSwitcherAPI.d.ts +1 -1
- package/types/PlaneTrackerAPI.d.ts +46 -10
- package/types/types/CamSwitcherAPI.d.ts +4 -4
- package/types/types/PlaneTrackerAPI.d.ts +223 -39
- package/types/types/PlaneTrackerAPI.test.d.ts +1 -0
- package/types/types/common.d.ts +13 -0
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export type TImportDataType = 'MAP_DATA' | 'SERVER_DATA' | 'ALL';
|
|
3
3
|
export type TExportDataType = 'NIGHT_SKY_CALIBRATION_DATA' | 'ALL';
|
|
4
|
-
export declare const wsAliasResponseSchema: z.ZodObject<{
|
|
5
|
-
alias: z.ZodString;
|
|
6
|
-
ws: z.ZodString;
|
|
7
|
-
ws_initial_message: z.ZodString;
|
|
8
|
-
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
ws: string;
|
|
10
|
-
ws_initial_message: string;
|
|
11
|
-
alias: string;
|
|
12
|
-
}, {
|
|
13
|
-
ws: string;
|
|
14
|
-
ws_initial_message: string;
|
|
15
|
-
alias: string;
|
|
16
|
-
}>;
|
|
17
4
|
export declare const connectionSchema: z.ZodObject<{
|
|
18
5
|
protocol: z.ZodUnion<[z.ZodLiteral<"http">, z.ZodLiteral<"https">, z.ZodLiteral<"https_insecure">]>;
|
|
19
6
|
ip: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
|
@@ -67,8 +54,12 @@ export declare const widgetSchema: z.ZodObject<{
|
|
|
67
54
|
posY: number;
|
|
68
55
|
enabled?: boolean | undefined;
|
|
69
56
|
}>;
|
|
57
|
+
declare const widgetUnitsSchema: z.ZodUnion<[z.ZodLiteral<"metric">, z.ZodLiteral<"imperial">, z.ZodLiteral<"rotate">]>;
|
|
58
|
+
export type TWidgetUnits = z.infer<typeof widgetUnitsSchema>;
|
|
70
59
|
declare const labelOptionsSchema: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
71
60
|
export type TLabelOption = z.infer<typeof labelOptionsSchema>;
|
|
61
|
+
declare const droneLabelOptionsSchema: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"remote_id">]>;
|
|
62
|
+
export type TDroneLabelOption = z.infer<typeof droneLabelOptionsSchema>;
|
|
72
63
|
export declare const cameraSettingsSchema: z.ZodObject<{
|
|
73
64
|
units: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"metric">, z.ZodLiteral<"imperial">]>>;
|
|
74
65
|
adsbSource: z.ZodDefault<z.ZodObject<{
|
|
@@ -132,16 +123,67 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
132
123
|
nightSkyCalibrationFocusValue?: number | undefined;
|
|
133
124
|
focusCalibrationPoints?: string | undefined;
|
|
134
125
|
}>>;
|
|
135
|
-
cameraConfig: z.ZodDefault<z.ZodObject<{
|
|
126
|
+
cameraConfig: z.ZodDefault<z.ZodUnion<[z.ZodObject<{
|
|
127
|
+
aircraft: z.ZodObject<{
|
|
128
|
+
defaultCaptureSizeMeters: z.ZodNumber;
|
|
129
|
+
captureSizeExtensionMeters: z.ZodNumber;
|
|
130
|
+
}, "strip", z.ZodTypeAny, {
|
|
131
|
+
defaultCaptureSizeMeters: number;
|
|
132
|
+
captureSizeExtensionMeters: number;
|
|
133
|
+
}, {
|
|
134
|
+
defaultCaptureSizeMeters: number;
|
|
135
|
+
captureSizeExtensionMeters: number;
|
|
136
|
+
}>;
|
|
137
|
+
drone: z.ZodDefault<z.ZodObject<{
|
|
138
|
+
defaultCaptureSizeMeters: z.ZodNumber;
|
|
139
|
+
captureSizeExtensionMeters: z.ZodNumber;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
defaultCaptureSizeMeters: number;
|
|
142
|
+
captureSizeExtensionMeters: number;
|
|
143
|
+
}, {
|
|
144
|
+
defaultCaptureSizeMeters: number;
|
|
145
|
+
captureSizeExtensionMeters: number;
|
|
146
|
+
}>>;
|
|
147
|
+
}, "strip", z.ZodTypeAny, {
|
|
148
|
+
aircraft: {
|
|
149
|
+
defaultCaptureSizeMeters: number;
|
|
150
|
+
captureSizeExtensionMeters: number;
|
|
151
|
+
};
|
|
152
|
+
drone: {
|
|
153
|
+
defaultCaptureSizeMeters: number;
|
|
154
|
+
captureSizeExtensionMeters: number;
|
|
155
|
+
};
|
|
156
|
+
}, {
|
|
157
|
+
aircraft: {
|
|
158
|
+
defaultCaptureSizeMeters: number;
|
|
159
|
+
captureSizeExtensionMeters: number;
|
|
160
|
+
};
|
|
161
|
+
drone?: {
|
|
162
|
+
defaultCaptureSizeMeters: number;
|
|
163
|
+
captureSizeExtensionMeters: number;
|
|
164
|
+
} | undefined;
|
|
165
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
136
166
|
defaultCaptureSizeMeters: z.ZodDefault<z.ZodNumber>;
|
|
137
167
|
captureSizeExtensionMeters: z.ZodDefault<z.ZodNumber>;
|
|
138
|
-
}, "
|
|
168
|
+
}, "strict", z.ZodTypeAny, {
|
|
139
169
|
defaultCaptureSizeMeters: number;
|
|
140
170
|
captureSizeExtensionMeters: number;
|
|
141
171
|
}, {
|
|
142
172
|
defaultCaptureSizeMeters?: number | undefined;
|
|
143
173
|
captureSizeExtensionMeters?: number | undefined;
|
|
144
|
-
}
|
|
174
|
+
}>, {
|
|
175
|
+
aircraft: {
|
|
176
|
+
defaultCaptureSizeMeters: number;
|
|
177
|
+
captureSizeExtensionMeters: number;
|
|
178
|
+
};
|
|
179
|
+
drone: {
|
|
180
|
+
defaultCaptureSizeMeters: number;
|
|
181
|
+
captureSizeExtensionMeters: number;
|
|
182
|
+
};
|
|
183
|
+
}, {
|
|
184
|
+
defaultCaptureSizeMeters?: number | undefined;
|
|
185
|
+
captureSizeExtensionMeters?: number | undefined;
|
|
186
|
+
}>]>>;
|
|
145
187
|
stream: z.ZodDefault<z.ZodObject<{
|
|
146
188
|
width: z.ZodNumber;
|
|
147
189
|
height: z.ZodNumber;
|
|
@@ -273,9 +315,12 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
273
315
|
posX: z.ZodNumber;
|
|
274
316
|
posY: z.ZodNumber;
|
|
275
317
|
scale: z.ZodNumber;
|
|
318
|
+
} & {
|
|
319
|
+
units: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"metric">, z.ZodLiteral<"imperial">, z.ZodLiteral<"rotate">]>>;
|
|
276
320
|
}, "strip", z.ZodTypeAny, {
|
|
277
321
|
enabled: boolean;
|
|
278
322
|
scale: number;
|
|
323
|
+
units: "rotate" | "metric" | "imperial";
|
|
279
324
|
coord: "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
280
325
|
posX: number;
|
|
281
326
|
posY: number;
|
|
@@ -285,6 +330,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
285
330
|
posX: number;
|
|
286
331
|
posY: number;
|
|
287
332
|
enabled?: boolean | undefined;
|
|
333
|
+
units?: "rotate" | "metric" | "imperial" | undefined;
|
|
288
334
|
}>>;
|
|
289
335
|
airportWidget: z.ZodDefault<z.ZodObject<{
|
|
290
336
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -296,6 +342,8 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
296
342
|
showWeather: z.ZodDefault<z.ZodBoolean>;
|
|
297
343
|
weatherLocationKey: z.ZodDefault<z.ZodString>;
|
|
298
344
|
weatherLocationName: z.ZodDefault<z.ZodString>;
|
|
345
|
+
windSpeedUnits: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"metric">, z.ZodLiteral<"imperial">, z.ZodLiteral<"rotate">]>>;
|
|
346
|
+
temperatureUnits: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"metric">, z.ZodLiteral<"imperial">, z.ZodLiteral<"rotate">]>>;
|
|
299
347
|
}, "strip", z.ZodTypeAny, {
|
|
300
348
|
enabled: boolean;
|
|
301
349
|
scale: number;
|
|
@@ -305,6 +353,8 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
305
353
|
posY: number;
|
|
306
354
|
showWeather: boolean;
|
|
307
355
|
weatherLocationKey: string;
|
|
356
|
+
windSpeedUnits: "rotate" | "metric" | "imperial";
|
|
357
|
+
temperatureUnits: "rotate" | "metric" | "imperial";
|
|
308
358
|
}, {
|
|
309
359
|
scale: number;
|
|
310
360
|
coord: "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
@@ -314,6 +364,8 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
314
364
|
weatherLocationName?: string | undefined;
|
|
315
365
|
showWeather?: boolean | undefined;
|
|
316
366
|
weatherLocationKey?: string | undefined;
|
|
367
|
+
windSpeedUnits?: "rotate" | "metric" | "imperial" | undefined;
|
|
368
|
+
temperatureUnits?: "rotate" | "metric" | "imperial" | undefined;
|
|
317
369
|
}>>;
|
|
318
370
|
fr24FlightInfoSource: z.ZodDefault<z.ZodObject<{
|
|
319
371
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -347,7 +399,61 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
347
399
|
port?: number | undefined;
|
|
348
400
|
priority?: number | undefined;
|
|
349
401
|
}>>;
|
|
350
|
-
identificationLabel: z.ZodDefault<z.ZodObject<{
|
|
402
|
+
identificationLabel: z.ZodDefault<z.ZodUnion<[z.ZodObject<{
|
|
403
|
+
aircraft: z.ZodObject<{
|
|
404
|
+
firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
405
|
+
secondRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
406
|
+
thirdRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
407
|
+
fourthRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
408
|
+
opacity: z.ZodNumber;
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
411
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
412
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
413
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
414
|
+
opacity: number;
|
|
415
|
+
}, {
|
|
416
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
417
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
418
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
419
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
420
|
+
opacity: number;
|
|
421
|
+
}>;
|
|
422
|
+
drone: z.ZodDefault<z.ZodObject<{
|
|
423
|
+
firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"remote_id">]>;
|
|
424
|
+
opacity: z.ZodNumber;
|
|
425
|
+
}, "strip", z.ZodTypeAny, {
|
|
426
|
+
firstRow: "blank" | "remote_id";
|
|
427
|
+
opacity: number;
|
|
428
|
+
}, {
|
|
429
|
+
firstRow: "blank" | "remote_id";
|
|
430
|
+
opacity: number;
|
|
431
|
+
}>>;
|
|
432
|
+
}, "strip", z.ZodTypeAny, {
|
|
433
|
+
aircraft: {
|
|
434
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
435
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
436
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
437
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
438
|
+
opacity: number;
|
|
439
|
+
};
|
|
440
|
+
drone: {
|
|
441
|
+
firstRow: "blank" | "remote_id";
|
|
442
|
+
opacity: number;
|
|
443
|
+
};
|
|
444
|
+
}, {
|
|
445
|
+
aircraft: {
|
|
446
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
447
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
448
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
449
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
450
|
+
opacity: number;
|
|
451
|
+
};
|
|
452
|
+
drone?: {
|
|
453
|
+
firstRow: "blank" | "remote_id";
|
|
454
|
+
opacity: number;
|
|
455
|
+
} | undefined;
|
|
456
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
351
457
|
firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
352
458
|
secondRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
353
459
|
thirdRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
@@ -365,7 +471,25 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
365
471
|
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
366
472
|
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
367
473
|
opacity: number;
|
|
368
|
-
}
|
|
474
|
+
}>, {
|
|
475
|
+
aircraft: {
|
|
476
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
477
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
478
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
479
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
480
|
+
opacity: number;
|
|
481
|
+
};
|
|
482
|
+
drone: {
|
|
483
|
+
firstRow: "blank" | "remote_id";
|
|
484
|
+
opacity: number;
|
|
485
|
+
};
|
|
486
|
+
}, {
|
|
487
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
488
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
489
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
490
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
491
|
+
opacity: number;
|
|
492
|
+
}>]>>;
|
|
369
493
|
acs: z.ZodDefault<z.ZodObject<{
|
|
370
494
|
protocol: z.ZodUnion<[z.ZodLiteral<"http">, z.ZodLiteral<"https">, z.ZodLiteral<"https_insecure">]>;
|
|
371
495
|
ip: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
|
@@ -460,8 +584,23 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
460
584
|
focusCalibrationPoints: string;
|
|
461
585
|
};
|
|
462
586
|
cameraConfig: {
|
|
463
|
-
|
|
464
|
-
|
|
587
|
+
aircraft: {
|
|
588
|
+
defaultCaptureSizeMeters: number;
|
|
589
|
+
captureSizeExtensionMeters: number;
|
|
590
|
+
};
|
|
591
|
+
drone: {
|
|
592
|
+
defaultCaptureSizeMeters: number;
|
|
593
|
+
captureSizeExtensionMeters: number;
|
|
594
|
+
};
|
|
595
|
+
} | {
|
|
596
|
+
aircraft: {
|
|
597
|
+
defaultCaptureSizeMeters: number;
|
|
598
|
+
captureSizeExtensionMeters: number;
|
|
599
|
+
};
|
|
600
|
+
drone: {
|
|
601
|
+
defaultCaptureSizeMeters: number;
|
|
602
|
+
captureSizeExtensionMeters: number;
|
|
603
|
+
};
|
|
465
604
|
};
|
|
466
605
|
stream: {
|
|
467
606
|
width: number;
|
|
@@ -487,6 +626,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
487
626
|
widget: {
|
|
488
627
|
enabled: boolean;
|
|
489
628
|
scale: number;
|
|
629
|
+
units: "rotate" | "metric" | "imperial";
|
|
490
630
|
coord: "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
491
631
|
posX: number;
|
|
492
632
|
posY: number;
|
|
@@ -500,6 +640,8 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
500
640
|
posY: number;
|
|
501
641
|
showWeather: boolean;
|
|
502
642
|
weatherLocationKey: string;
|
|
643
|
+
windSpeedUnits: "rotate" | "metric" | "imperial";
|
|
644
|
+
temperatureUnits: "rotate" | "metric" | "imperial";
|
|
503
645
|
};
|
|
504
646
|
fr24FlightInfoSource: {
|
|
505
647
|
enabled: boolean;
|
|
@@ -514,11 +656,29 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
514
656
|
priority: number;
|
|
515
657
|
};
|
|
516
658
|
identificationLabel: {
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
659
|
+
aircraft: {
|
|
660
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
661
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
662
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
663
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
664
|
+
opacity: number;
|
|
665
|
+
};
|
|
666
|
+
drone: {
|
|
667
|
+
firstRow: "blank" | "remote_id";
|
|
668
|
+
opacity: number;
|
|
669
|
+
};
|
|
670
|
+
} | {
|
|
671
|
+
aircraft: {
|
|
672
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
673
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
674
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
675
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
676
|
+
opacity: number;
|
|
677
|
+
};
|
|
678
|
+
drone: {
|
|
679
|
+
firstRow: "blank" | "remote_id";
|
|
680
|
+
opacity: number;
|
|
681
|
+
};
|
|
522
682
|
};
|
|
523
683
|
acs: {
|
|
524
684
|
ip: string;
|
|
@@ -594,6 +754,15 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
594
754
|
focusCalibrationPoints?: string | undefined;
|
|
595
755
|
} | undefined;
|
|
596
756
|
cameraConfig?: {
|
|
757
|
+
aircraft: {
|
|
758
|
+
defaultCaptureSizeMeters: number;
|
|
759
|
+
captureSizeExtensionMeters: number;
|
|
760
|
+
};
|
|
761
|
+
drone?: {
|
|
762
|
+
defaultCaptureSizeMeters: number;
|
|
763
|
+
captureSizeExtensionMeters: number;
|
|
764
|
+
} | undefined;
|
|
765
|
+
} | {
|
|
597
766
|
defaultCaptureSizeMeters?: number | undefined;
|
|
598
767
|
captureSizeExtensionMeters?: number | undefined;
|
|
599
768
|
} | undefined;
|
|
@@ -648,6 +817,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
648
817
|
posX: number;
|
|
649
818
|
posY: number;
|
|
650
819
|
enabled?: boolean | undefined;
|
|
820
|
+
units?: "rotate" | "metric" | "imperial" | undefined;
|
|
651
821
|
} | undefined;
|
|
652
822
|
airportWidget?: {
|
|
653
823
|
scale: number;
|
|
@@ -658,6 +828,8 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
658
828
|
weatherLocationName?: string | undefined;
|
|
659
829
|
showWeather?: boolean | undefined;
|
|
660
830
|
weatherLocationKey?: string | undefined;
|
|
831
|
+
windSpeedUnits?: "rotate" | "metric" | "imperial" | undefined;
|
|
832
|
+
temperatureUnits?: "rotate" | "metric" | "imperial" | undefined;
|
|
661
833
|
} | undefined;
|
|
662
834
|
fr24FlightInfoSource?: {
|
|
663
835
|
enabled?: boolean | undefined;
|
|
@@ -677,6 +849,18 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
677
849
|
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
678
850
|
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
679
851
|
opacity: number;
|
|
852
|
+
} | {
|
|
853
|
+
aircraft: {
|
|
854
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
855
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
856
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
857
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
858
|
+
opacity: number;
|
|
859
|
+
};
|
|
860
|
+
drone?: {
|
|
861
|
+
firstRow: "blank" | "remote_id";
|
|
862
|
+
opacity: number;
|
|
863
|
+
} | undefined;
|
|
680
864
|
} | undefined;
|
|
681
865
|
acs?: {
|
|
682
866
|
ip: string;
|
|
@@ -1209,11 +1393,11 @@ declare const categoryDescriptorSchema: z.ZodObject<{
|
|
|
1209
1393
|
}, "strip", z.ZodTypeAny, {
|
|
1210
1394
|
categoryId: string;
|
|
1211
1395
|
uiName: string;
|
|
1212
|
-
icon: "unknown" | "small" | "
|
|
1396
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1213
1397
|
}, {
|
|
1214
1398
|
categoryId: string;
|
|
1215
1399
|
uiName: string;
|
|
1216
|
-
icon: "unknown" | "small" | "
|
|
1400
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1217
1401
|
}>;
|
|
1218
1402
|
export type TCategoryDescriptor = z.infer<typeof categoryDescriptorSchema>;
|
|
1219
1403
|
declare const domainDescriptorSchema: z.ZodObject<{
|
|
@@ -1226,27 +1410,27 @@ declare const domainDescriptorSchema: z.ZodObject<{
|
|
|
1226
1410
|
}, "strip", z.ZodTypeAny, {
|
|
1227
1411
|
categoryId: string;
|
|
1228
1412
|
uiName: string;
|
|
1229
|
-
icon: "unknown" | "small" | "
|
|
1413
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1230
1414
|
}, {
|
|
1231
1415
|
categoryId: string;
|
|
1232
1416
|
uiName: string;
|
|
1233
|
-
icon: "unknown" | "small" | "
|
|
1417
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1234
1418
|
}>, "many">;
|
|
1235
1419
|
}, "strip", z.ZodTypeAny, {
|
|
1236
1420
|
uiName: string;
|
|
1237
|
-
icon: "unknown" | "small" | "
|
|
1421
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1238
1422
|
categoryList: {
|
|
1239
1423
|
categoryId: string;
|
|
1240
1424
|
uiName: string;
|
|
1241
|
-
icon: "unknown" | "small" | "
|
|
1425
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1242
1426
|
}[];
|
|
1243
1427
|
}, {
|
|
1244
1428
|
uiName: string;
|
|
1245
|
-
icon: "unknown" | "small" | "
|
|
1429
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1246
1430
|
categoryList: {
|
|
1247
1431
|
categoryId: string;
|
|
1248
1432
|
uiName: string;
|
|
1249
|
-
icon: "unknown" | "small" | "
|
|
1433
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1250
1434
|
}[];
|
|
1251
1435
|
}>;
|
|
1252
1436
|
export type TDomainDescriptor = z.infer<typeof domainDescriptorSchema>;
|
|
@@ -1260,27 +1444,27 @@ export declare const domainListSchema: z.ZodRecord<z.ZodEnum<["adsb", "remoteId"
|
|
|
1260
1444
|
}, "strip", z.ZodTypeAny, {
|
|
1261
1445
|
categoryId: string;
|
|
1262
1446
|
uiName: string;
|
|
1263
|
-
icon: "unknown" | "small" | "
|
|
1447
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1264
1448
|
}, {
|
|
1265
1449
|
categoryId: string;
|
|
1266
1450
|
uiName: string;
|
|
1267
|
-
icon: "unknown" | "small" | "
|
|
1451
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1268
1452
|
}>, "many">;
|
|
1269
1453
|
}, "strip", z.ZodTypeAny, {
|
|
1270
1454
|
uiName: string;
|
|
1271
|
-
icon: "unknown" | "small" | "
|
|
1455
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1272
1456
|
categoryList: {
|
|
1273
1457
|
categoryId: string;
|
|
1274
1458
|
uiName: string;
|
|
1275
|
-
icon: "unknown" | "small" | "
|
|
1459
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1276
1460
|
}[];
|
|
1277
1461
|
}, {
|
|
1278
1462
|
uiName: string;
|
|
1279
|
-
icon: "unknown" | "small" | "
|
|
1463
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1280
1464
|
categoryList: {
|
|
1281
1465
|
categoryId: string;
|
|
1282
1466
|
uiName: string;
|
|
1283
|
-
icon: "unknown" | "small" | "
|
|
1467
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1284
1468
|
}[];
|
|
1285
1469
|
}>>;
|
|
1286
1470
|
export type TDomainList = z.infer<typeof domainListSchema>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/types/types/common.d.ts
CHANGED
|
@@ -26,6 +26,19 @@ export declare const keyboardShortcutSchema: z.ZodNullable<z.ZodString>;
|
|
|
26
26
|
export declare const keyboardShortcutsSchema: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
27
27
|
export type TKeyboardShortcut = z.infer<typeof keyboardShortcutSchema>;
|
|
28
28
|
export type TKeyboardShortcuts = z.infer<typeof keyboardShortcutsSchema>;
|
|
29
|
+
export declare const wsAliasResponseSchema: z.ZodObject<{
|
|
30
|
+
alias: z.ZodString;
|
|
31
|
+
ws: z.ZodString;
|
|
32
|
+
ws_initial_message: z.ZodString;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
alias: string;
|
|
35
|
+
ws: string;
|
|
36
|
+
ws_initial_message: string;
|
|
37
|
+
}, {
|
|
38
|
+
alias: string;
|
|
39
|
+
ws: string;
|
|
40
|
+
ws_initial_message: string;
|
|
41
|
+
}>;
|
|
29
42
|
export type TProxyTarget = {
|
|
30
43
|
ip: string;
|
|
31
44
|
mdnsName: string;
|