camstreamerlib 4.0.35 → 4.0.36-05711a0
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/PlaneTrackerAPI.d.ts +45 -9
- package/cjs/VapixAPI.js +15 -11
- package/cjs/VapixAPI.test.d.ts +1 -0
- package/cjs/VapixAPI.test.js +146 -0
- package/cjs/types/PlaneTrackerAPI.d.ts +223 -26
- package/cjs/types/PlaneTrackerAPI.js +71 -17
- package/cjs/types/PlaneTrackerAPI.test.d.ts +1 -0
- package/cjs/types/PlaneTrackerAPI.test.js +117 -0
- package/cjs/types/ws/CamSwitcherEvents.d.ts +8 -8
- package/esm/VapixAPI.js +16 -12
- package/esm/VapixAPI.test.js +144 -0
- package/esm/types/PlaneTrackerAPI.js +71 -17
- package/esm/types/PlaneTrackerAPI.test.js +115 -0
- package/package.json +107 -107
- package/types/PlaneTrackerAPI.d.ts +45 -9
- package/types/VapixAPI.test.d.ts +1 -0
- package/types/types/PlaneTrackerAPI.d.ts +223 -26
- package/types/types/PlaneTrackerAPI.test.d.ts +1 -0
- package/types/types/ws/CamSwitcherEvents.d.ts +8 -8
|
@@ -54,8 +54,12 @@ export declare const widgetSchema: z.ZodObject<{
|
|
|
54
54
|
posY: number;
|
|
55
55
|
enabled?: boolean | undefined;
|
|
56
56
|
}>;
|
|
57
|
+
declare const widgetUnitsSchema: z.ZodUnion<[z.ZodLiteral<"metric">, z.ZodLiteral<"imperial">, z.ZodLiteral<"rotate">]>;
|
|
58
|
+
export type TWidgetUnits = z.infer<typeof widgetUnitsSchema>;
|
|
57
59
|
declare const labelOptionsSchema: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
58
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>;
|
|
59
63
|
export declare const cameraSettingsSchema: z.ZodObject<{
|
|
60
64
|
units: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"metric">, z.ZodLiteral<"imperial">]>>;
|
|
61
65
|
adsbSource: z.ZodDefault<z.ZodObject<{
|
|
@@ -119,16 +123,67 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
119
123
|
nightSkyCalibrationFocusValue?: number | undefined;
|
|
120
124
|
focusCalibrationPoints?: string | undefined;
|
|
121
125
|
}>>;
|
|
122
|
-
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<{
|
|
123
166
|
defaultCaptureSizeMeters: z.ZodDefault<z.ZodNumber>;
|
|
124
167
|
captureSizeExtensionMeters: z.ZodDefault<z.ZodNumber>;
|
|
125
|
-
}, "
|
|
168
|
+
}, "strict", z.ZodTypeAny, {
|
|
126
169
|
defaultCaptureSizeMeters: number;
|
|
127
170
|
captureSizeExtensionMeters: number;
|
|
128
171
|
}, {
|
|
129
172
|
defaultCaptureSizeMeters?: number | undefined;
|
|
130
173
|
captureSizeExtensionMeters?: number | undefined;
|
|
131
|
-
}
|
|
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
|
+
}>]>>;
|
|
132
187
|
stream: z.ZodDefault<z.ZodObject<{
|
|
133
188
|
width: z.ZodNumber;
|
|
134
189
|
height: z.ZodNumber;
|
|
@@ -260,9 +315,12 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
260
315
|
posX: z.ZodNumber;
|
|
261
316
|
posY: z.ZodNumber;
|
|
262
317
|
scale: z.ZodNumber;
|
|
318
|
+
} & {
|
|
319
|
+
units: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"metric">, z.ZodLiteral<"imperial">, z.ZodLiteral<"rotate">]>>;
|
|
263
320
|
}, "strip", z.ZodTypeAny, {
|
|
264
321
|
enabled: boolean;
|
|
265
322
|
scale: number;
|
|
323
|
+
units: "rotate" | "metric" | "imperial";
|
|
266
324
|
coord: "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
267
325
|
posX: number;
|
|
268
326
|
posY: number;
|
|
@@ -272,6 +330,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
272
330
|
posX: number;
|
|
273
331
|
posY: number;
|
|
274
332
|
enabled?: boolean | undefined;
|
|
333
|
+
units?: "rotate" | "metric" | "imperial" | undefined;
|
|
275
334
|
}>>;
|
|
276
335
|
airportWidget: z.ZodDefault<z.ZodObject<{
|
|
277
336
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -283,6 +342,8 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
283
342
|
showWeather: z.ZodDefault<z.ZodBoolean>;
|
|
284
343
|
weatherLocationKey: z.ZodDefault<z.ZodString>;
|
|
285
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">]>>;
|
|
286
347
|
}, "strip", z.ZodTypeAny, {
|
|
287
348
|
enabled: boolean;
|
|
288
349
|
scale: number;
|
|
@@ -292,6 +353,8 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
292
353
|
posY: number;
|
|
293
354
|
showWeather: boolean;
|
|
294
355
|
weatherLocationKey: string;
|
|
356
|
+
windSpeedUnits: "rotate" | "metric" | "imperial";
|
|
357
|
+
temperatureUnits: "rotate" | "metric" | "imperial";
|
|
295
358
|
}, {
|
|
296
359
|
scale: number;
|
|
297
360
|
coord: "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
@@ -301,6 +364,8 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
301
364
|
weatherLocationName?: string | undefined;
|
|
302
365
|
showWeather?: boolean | undefined;
|
|
303
366
|
weatherLocationKey?: string | undefined;
|
|
367
|
+
windSpeedUnits?: "rotate" | "metric" | "imperial" | undefined;
|
|
368
|
+
temperatureUnits?: "rotate" | "metric" | "imperial" | undefined;
|
|
304
369
|
}>>;
|
|
305
370
|
fr24FlightInfoSource: z.ZodDefault<z.ZodObject<{
|
|
306
371
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -334,7 +399,61 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
334
399
|
port?: number | undefined;
|
|
335
400
|
priority?: number | undefined;
|
|
336
401
|
}>>;
|
|
337
|
-
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<{
|
|
338
457
|
firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
339
458
|
secondRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
340
459
|
thirdRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
@@ -352,7 +471,25 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
352
471
|
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
353
472
|
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
354
473
|
opacity: number;
|
|
355
|
-
}
|
|
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
|
+
}>]>>;
|
|
356
493
|
acs: z.ZodDefault<z.ZodObject<{
|
|
357
494
|
protocol: z.ZodUnion<[z.ZodLiteral<"http">, z.ZodLiteral<"https">, z.ZodLiteral<"https_insecure">]>;
|
|
358
495
|
ip: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
|
@@ -447,8 +584,23 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
447
584
|
focusCalibrationPoints: string;
|
|
448
585
|
};
|
|
449
586
|
cameraConfig: {
|
|
450
|
-
|
|
451
|
-
|
|
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
|
+
};
|
|
452
604
|
};
|
|
453
605
|
stream: {
|
|
454
606
|
width: number;
|
|
@@ -474,6 +626,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
474
626
|
widget: {
|
|
475
627
|
enabled: boolean;
|
|
476
628
|
scale: number;
|
|
629
|
+
units: "rotate" | "metric" | "imperial";
|
|
477
630
|
coord: "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
478
631
|
posX: number;
|
|
479
632
|
posY: number;
|
|
@@ -487,6 +640,8 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
487
640
|
posY: number;
|
|
488
641
|
showWeather: boolean;
|
|
489
642
|
weatherLocationKey: string;
|
|
643
|
+
windSpeedUnits: "rotate" | "metric" | "imperial";
|
|
644
|
+
temperatureUnits: "rotate" | "metric" | "imperial";
|
|
490
645
|
};
|
|
491
646
|
fr24FlightInfoSource: {
|
|
492
647
|
enabled: boolean;
|
|
@@ -501,11 +656,29 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
501
656
|
priority: number;
|
|
502
657
|
};
|
|
503
658
|
identificationLabel: {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
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
|
+
};
|
|
509
682
|
};
|
|
510
683
|
acs: {
|
|
511
684
|
ip: string;
|
|
@@ -581,6 +754,15 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
581
754
|
focusCalibrationPoints?: string | undefined;
|
|
582
755
|
} | undefined;
|
|
583
756
|
cameraConfig?: {
|
|
757
|
+
aircraft: {
|
|
758
|
+
defaultCaptureSizeMeters: number;
|
|
759
|
+
captureSizeExtensionMeters: number;
|
|
760
|
+
};
|
|
761
|
+
drone?: {
|
|
762
|
+
defaultCaptureSizeMeters: number;
|
|
763
|
+
captureSizeExtensionMeters: number;
|
|
764
|
+
} | undefined;
|
|
765
|
+
} | {
|
|
584
766
|
defaultCaptureSizeMeters?: number | undefined;
|
|
585
767
|
captureSizeExtensionMeters?: number | undefined;
|
|
586
768
|
} | undefined;
|
|
@@ -635,6 +817,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
635
817
|
posX: number;
|
|
636
818
|
posY: number;
|
|
637
819
|
enabled?: boolean | undefined;
|
|
820
|
+
units?: "rotate" | "metric" | "imperial" | undefined;
|
|
638
821
|
} | undefined;
|
|
639
822
|
airportWidget?: {
|
|
640
823
|
scale: number;
|
|
@@ -645,6 +828,8 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
645
828
|
weatherLocationName?: string | undefined;
|
|
646
829
|
showWeather?: boolean | undefined;
|
|
647
830
|
weatherLocationKey?: string | undefined;
|
|
831
|
+
windSpeedUnits?: "rotate" | "metric" | "imperial" | undefined;
|
|
832
|
+
temperatureUnits?: "rotate" | "metric" | "imperial" | undefined;
|
|
648
833
|
} | undefined;
|
|
649
834
|
fr24FlightInfoSource?: {
|
|
650
835
|
enabled?: boolean | undefined;
|
|
@@ -664,6 +849,18 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
664
849
|
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
665
850
|
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
666
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;
|
|
667
864
|
} | undefined;
|
|
668
865
|
acs?: {
|
|
669
866
|
ip: string;
|
|
@@ -1196,11 +1393,11 @@ declare const categoryDescriptorSchema: z.ZodObject<{
|
|
|
1196
1393
|
}, "strip", z.ZodTypeAny, {
|
|
1197
1394
|
categoryId: string;
|
|
1198
1395
|
uiName: string;
|
|
1199
|
-
icon: "unknown" | "small" | "
|
|
1396
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1200
1397
|
}, {
|
|
1201
1398
|
categoryId: string;
|
|
1202
1399
|
uiName: string;
|
|
1203
|
-
icon: "unknown" | "small" | "
|
|
1400
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1204
1401
|
}>;
|
|
1205
1402
|
export type TCategoryDescriptor = z.infer<typeof categoryDescriptorSchema>;
|
|
1206
1403
|
declare const domainDescriptorSchema: z.ZodObject<{
|
|
@@ -1213,27 +1410,27 @@ declare const domainDescriptorSchema: z.ZodObject<{
|
|
|
1213
1410
|
}, "strip", z.ZodTypeAny, {
|
|
1214
1411
|
categoryId: string;
|
|
1215
1412
|
uiName: string;
|
|
1216
|
-
icon: "unknown" | "small" | "
|
|
1413
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1217
1414
|
}, {
|
|
1218
1415
|
categoryId: string;
|
|
1219
1416
|
uiName: string;
|
|
1220
|
-
icon: "unknown" | "small" | "
|
|
1417
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1221
1418
|
}>, "many">;
|
|
1222
1419
|
}, "strip", z.ZodTypeAny, {
|
|
1223
1420
|
uiName: string;
|
|
1224
|
-
icon: "unknown" | "small" | "
|
|
1421
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1225
1422
|
categoryList: {
|
|
1226
1423
|
categoryId: string;
|
|
1227
1424
|
uiName: string;
|
|
1228
|
-
icon: "unknown" | "small" | "
|
|
1425
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1229
1426
|
}[];
|
|
1230
1427
|
}, {
|
|
1231
1428
|
uiName: string;
|
|
1232
|
-
icon: "unknown" | "small" | "
|
|
1429
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1233
1430
|
categoryList: {
|
|
1234
1431
|
categoryId: string;
|
|
1235
1432
|
uiName: string;
|
|
1236
|
-
icon: "unknown" | "small" | "
|
|
1433
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1237
1434
|
}[];
|
|
1238
1435
|
}>;
|
|
1239
1436
|
export type TDomainDescriptor = z.infer<typeof domainDescriptorSchema>;
|
|
@@ -1247,27 +1444,27 @@ export declare const domainListSchema: z.ZodRecord<z.ZodEnum<["adsb", "remoteId"
|
|
|
1247
1444
|
}, "strip", z.ZodTypeAny, {
|
|
1248
1445
|
categoryId: string;
|
|
1249
1446
|
uiName: string;
|
|
1250
|
-
icon: "unknown" | "small" | "
|
|
1447
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1251
1448
|
}, {
|
|
1252
1449
|
categoryId: string;
|
|
1253
1450
|
uiName: string;
|
|
1254
|
-
icon: "unknown" | "small" | "
|
|
1451
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1255
1452
|
}>, "many">;
|
|
1256
1453
|
}, "strip", z.ZodTypeAny, {
|
|
1257
1454
|
uiName: string;
|
|
1258
|
-
icon: "unknown" | "small" | "
|
|
1455
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1259
1456
|
categoryList: {
|
|
1260
1457
|
categoryId: string;
|
|
1261
1458
|
uiName: string;
|
|
1262
|
-
icon: "unknown" | "small" | "
|
|
1459
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1263
1460
|
}[];
|
|
1264
1461
|
}, {
|
|
1265
1462
|
uiName: string;
|
|
1266
|
-
icon: "unknown" | "small" | "
|
|
1463
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1267
1464
|
categoryList: {
|
|
1268
1465
|
categoryId: string;
|
|
1269
1466
|
uiName: string;
|
|
1270
|
-
icon: "unknown" | "small" | "
|
|
1467
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1271
1468
|
}[];
|
|
1272
1469
|
}>>;
|
|
1273
1470
|
export type TDomainList = z.infer<typeof domainListSchema>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -54,15 +54,15 @@ declare const cswEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
55
|
type: "StreamSwitchVideoError";
|
|
56
56
|
playlist_name: string;
|
|
57
|
-
playlist_active_stream: number;
|
|
58
57
|
info: string;
|
|
58
|
+
playlist_active_stream: number;
|
|
59
59
|
stream_name?: string | undefined;
|
|
60
60
|
clip_name?: string | undefined;
|
|
61
61
|
}, {
|
|
62
62
|
type: "StreamSwitchVideoError";
|
|
63
63
|
playlist_name: string;
|
|
64
|
-
playlist_active_stream: number;
|
|
65
64
|
info: string;
|
|
65
|
+
playlist_active_stream: number;
|
|
66
66
|
stream_name?: string | undefined;
|
|
67
67
|
clip_name?: string | undefined;
|
|
68
68
|
}>, z.ZodObject<{
|
|
@@ -207,15 +207,15 @@ export declare const cswEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
207
207
|
}, "strip", z.ZodTypeAny, {
|
|
208
208
|
type: "StreamSwitchVideoError";
|
|
209
209
|
playlist_name: string;
|
|
210
|
-
playlist_active_stream: number;
|
|
211
210
|
info: string;
|
|
211
|
+
playlist_active_stream: number;
|
|
212
212
|
stream_name?: string | undefined;
|
|
213
213
|
clip_name?: string | undefined;
|
|
214
214
|
}, {
|
|
215
215
|
type: "StreamSwitchVideoError";
|
|
216
216
|
playlist_name: string;
|
|
217
|
-
playlist_active_stream: number;
|
|
218
217
|
info: string;
|
|
218
|
+
playlist_active_stream: number;
|
|
219
219
|
stream_name?: string | undefined;
|
|
220
220
|
clip_name?: string | undefined;
|
|
221
221
|
}>, z.ZodObject<{
|
|
@@ -323,8 +323,8 @@ export declare const cswEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
323
323
|
} | {
|
|
324
324
|
type: "StreamSwitchVideoError";
|
|
325
325
|
playlist_name: string;
|
|
326
|
-
playlist_active_stream: number;
|
|
327
326
|
info: string;
|
|
327
|
+
playlist_active_stream: number;
|
|
328
328
|
stream_name?: string | undefined;
|
|
329
329
|
clip_name?: string | undefined;
|
|
330
330
|
} | {
|
|
@@ -376,8 +376,8 @@ export declare const cswEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
376
376
|
} | {
|
|
377
377
|
type: "StreamSwitchVideoError";
|
|
378
378
|
playlist_name: string;
|
|
379
|
-
playlist_active_stream: number;
|
|
380
379
|
info: string;
|
|
380
|
+
playlist_active_stream: number;
|
|
381
381
|
stream_name?: string | undefined;
|
|
382
382
|
clip_name?: string | undefined;
|
|
383
383
|
} | {
|
|
@@ -464,15 +464,15 @@ export declare const cswEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
464
464
|
}, "strip", z.ZodTypeAny, {
|
|
465
465
|
type: "StreamSwitchVideoError";
|
|
466
466
|
playlist_name: string;
|
|
467
|
-
playlist_active_stream: number;
|
|
468
467
|
info: string;
|
|
468
|
+
playlist_active_stream: number;
|
|
469
469
|
stream_name?: string | undefined;
|
|
470
470
|
clip_name?: string | undefined;
|
|
471
471
|
}, {
|
|
472
472
|
type: "StreamSwitchVideoError";
|
|
473
473
|
playlist_name: string;
|
|
474
|
-
playlist_active_stream: number;
|
|
475
474
|
info: string;
|
|
475
|
+
playlist_active_stream: number;
|
|
476
476
|
stream_name?: string | undefined;
|
|
477
477
|
clip_name?: string | undefined;
|
|
478
478
|
}>, z.ZodObject<{
|