camstreamerlib 4.0.35 → 4.0.36-c07c9c1
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/CamSwitcherAPI.d.ts +1 -0
- package/cjs/CamSwitcherAPI.js +2 -0
- package/cjs/PlaneTrackerAPI.d.ts +42 -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/CamSwitcherAPI.d.ts +3 -0
- package/cjs/types/CamSwitcherAPI.js +1 -0
- package/cjs/types/PlaneTrackerAPI.d.ts +205 -26
- package/cjs/types/PlaneTrackerAPI.js +60 -16
- package/cjs/types/PlaneTrackerAPI.test.d.ts +1 -0
- package/cjs/types/PlaneTrackerAPI.test.js +90 -0
- package/cjs/types/ws/CamSwitcherEvents.d.ts +8 -8
- package/esm/CamSwitcherAPI.js +2 -0
- package/esm/VapixAPI.js +16 -12
- package/esm/VapixAPI.test.js +144 -0
- package/esm/types/CamSwitcherAPI.js +1 -0
- package/esm/types/PlaneTrackerAPI.js +60 -16
- package/esm/types/PlaneTrackerAPI.test.js +88 -0
- package/package.json +107 -107
- package/types/CamSwitcherAPI.d.ts +1 -0
- package/types/PlaneTrackerAPI.d.ts +42 -9
- package/types/VapixAPI.test.d.ts +1 -0
- package/types/types/CamSwitcherAPI.d.ts +3 -0
- package/types/types/PlaneTrackerAPI.d.ts +205 -26
- package/types/types/PlaneTrackerAPI.test.d.ts +1 -0
- package/types/types/ws/CamSwitcherEvents.d.ts +8 -8
|
@@ -45,8 +45,23 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
|
|
|
45
45
|
focusCalibrationPoints: string;
|
|
46
46
|
};
|
|
47
47
|
cameraConfig: {
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
aircraft: {
|
|
49
|
+
defaultCaptureSizeMeters: number;
|
|
50
|
+
captureSizeExtensionMeters: number;
|
|
51
|
+
};
|
|
52
|
+
drone: {
|
|
53
|
+
defaultCaptureSizeMeters: number;
|
|
54
|
+
captureSizeExtensionMeters: number;
|
|
55
|
+
};
|
|
56
|
+
} | {
|
|
57
|
+
aircraft: {
|
|
58
|
+
defaultCaptureSizeMeters: number;
|
|
59
|
+
captureSizeExtensionMeters: number;
|
|
60
|
+
};
|
|
61
|
+
drone: {
|
|
62
|
+
defaultCaptureSizeMeters: number;
|
|
63
|
+
captureSizeExtensionMeters: number;
|
|
64
|
+
};
|
|
50
65
|
};
|
|
51
66
|
stream: {
|
|
52
67
|
width: number;
|
|
@@ -99,11 +114,29 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
|
|
|
99
114
|
priority: number;
|
|
100
115
|
};
|
|
101
116
|
identificationLabel: {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
117
|
+
aircraft: {
|
|
118
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
119
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
120
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
121
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
122
|
+
opacity: number;
|
|
123
|
+
};
|
|
124
|
+
drone: {
|
|
125
|
+
firstRow: "blank" | "remote_id";
|
|
126
|
+
opacity: number;
|
|
127
|
+
};
|
|
128
|
+
} | {
|
|
129
|
+
aircraft: {
|
|
130
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
131
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
132
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
133
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
134
|
+
opacity: number;
|
|
135
|
+
};
|
|
136
|
+
drone: {
|
|
137
|
+
firstRow: "blank" | "remote_id";
|
|
138
|
+
opacity: number;
|
|
139
|
+
};
|
|
107
140
|
};
|
|
108
141
|
acs: {
|
|
109
142
|
ip: string;
|
|
@@ -181,11 +214,11 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
|
|
|
181
214
|
importAppSettings(dataType: TImportDataType, formData: Parameters<Client['post']>[0]['data'], options?: THttpRequestOptions): Promise<void>;
|
|
182
215
|
getDomainList(options?: THttpRequestOptions): Promise<Partial<Record<"adsb" | "remoteId", {
|
|
183
216
|
uiName: string;
|
|
184
|
-
icon: "unknown" | "small" | "
|
|
217
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
185
218
|
categoryList: {
|
|
186
219
|
categoryId: string;
|
|
187
220
|
uiName: string;
|
|
188
|
-
icon: "unknown" | "small" | "
|
|
221
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
189
222
|
}[];
|
|
190
223
|
}>>>;
|
|
191
224
|
fetchFlightInfo(targetId: string, options?: THttpRequestOptions): Promise<{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -785,6 +785,7 @@ export declare const cameraOptionsSchema: z.ZodObject<{
|
|
|
785
785
|
bitrateVapixParams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
786
786
|
audioSampleRate: z.ZodOptional<z.ZodNumber>;
|
|
787
787
|
audioChannelCount: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
788
|
+
audioBitrate: z.ZodOptional<z.ZodNumber>;
|
|
788
789
|
keyboard: z.ZodOptional<z.ZodObject<{
|
|
789
790
|
fromSource: z.ZodNullable<z.ZodString>;
|
|
790
791
|
none: z.ZodNullable<z.ZodString>;
|
|
@@ -812,6 +813,7 @@ export declare const cameraOptionsSchema: z.ZodObject<{
|
|
|
812
813
|
bitrateVapixParams?: string | null | undefined;
|
|
813
814
|
audioSampleRate?: number | undefined;
|
|
814
815
|
audioChannelCount?: 1 | 2 | undefined;
|
|
816
|
+
audioBitrate?: number | undefined;
|
|
815
817
|
}, {
|
|
816
818
|
resolution?: string | undefined;
|
|
817
819
|
compression?: number | undefined;
|
|
@@ -829,6 +831,7 @@ export declare const cameraOptionsSchema: z.ZodObject<{
|
|
|
829
831
|
bitrateVapixParams?: string | null | undefined;
|
|
830
832
|
audioSampleRate?: number | undefined;
|
|
831
833
|
audioChannelCount?: 1 | 2 | undefined;
|
|
834
|
+
audioBitrate?: number | undefined;
|
|
832
835
|
}>;
|
|
833
836
|
export type TCameraOptions = z.infer<typeof cameraOptionsSchema>;
|
|
834
837
|
export declare const globalAudioSettingsTypeSchema: z.ZodUnion<[z.ZodLiteral<"fromSource">, z.ZodLiteral<"source">]>;
|
|
@@ -56,6 +56,8 @@ export declare const widgetSchema: z.ZodObject<{
|
|
|
56
56
|
}>;
|
|
57
57
|
declare const labelOptionsSchema: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
58
58
|
export type TLabelOption = z.infer<typeof labelOptionsSchema>;
|
|
59
|
+
declare const droneLabelOptionsSchema: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"remote_id">]>;
|
|
60
|
+
export type TDroneLabelOption = z.infer<typeof droneLabelOptionsSchema>;
|
|
59
61
|
export declare const cameraSettingsSchema: z.ZodObject<{
|
|
60
62
|
units: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"metric">, z.ZodLiteral<"imperial">]>>;
|
|
61
63
|
adsbSource: z.ZodDefault<z.ZodObject<{
|
|
@@ -119,16 +121,67 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
119
121
|
nightSkyCalibrationFocusValue?: number | undefined;
|
|
120
122
|
focusCalibrationPoints?: string | undefined;
|
|
121
123
|
}>>;
|
|
122
|
-
cameraConfig: z.ZodDefault<z.ZodObject<{
|
|
124
|
+
cameraConfig: z.ZodDefault<z.ZodUnion<[z.ZodObject<{
|
|
125
|
+
aircraft: z.ZodObject<{
|
|
126
|
+
defaultCaptureSizeMeters: z.ZodNumber;
|
|
127
|
+
captureSizeExtensionMeters: z.ZodNumber;
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
|
+
defaultCaptureSizeMeters: number;
|
|
130
|
+
captureSizeExtensionMeters: number;
|
|
131
|
+
}, {
|
|
132
|
+
defaultCaptureSizeMeters: number;
|
|
133
|
+
captureSizeExtensionMeters: number;
|
|
134
|
+
}>;
|
|
135
|
+
drone: z.ZodDefault<z.ZodObject<{
|
|
136
|
+
defaultCaptureSizeMeters: z.ZodNumber;
|
|
137
|
+
captureSizeExtensionMeters: z.ZodNumber;
|
|
138
|
+
}, "strip", z.ZodTypeAny, {
|
|
139
|
+
defaultCaptureSizeMeters: number;
|
|
140
|
+
captureSizeExtensionMeters: number;
|
|
141
|
+
}, {
|
|
142
|
+
defaultCaptureSizeMeters: number;
|
|
143
|
+
captureSizeExtensionMeters: number;
|
|
144
|
+
}>>;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
|
+
aircraft: {
|
|
147
|
+
defaultCaptureSizeMeters: number;
|
|
148
|
+
captureSizeExtensionMeters: number;
|
|
149
|
+
};
|
|
150
|
+
drone: {
|
|
151
|
+
defaultCaptureSizeMeters: number;
|
|
152
|
+
captureSizeExtensionMeters: number;
|
|
153
|
+
};
|
|
154
|
+
}, {
|
|
155
|
+
aircraft: {
|
|
156
|
+
defaultCaptureSizeMeters: number;
|
|
157
|
+
captureSizeExtensionMeters: number;
|
|
158
|
+
};
|
|
159
|
+
drone?: {
|
|
160
|
+
defaultCaptureSizeMeters: number;
|
|
161
|
+
captureSizeExtensionMeters: number;
|
|
162
|
+
} | undefined;
|
|
163
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
123
164
|
defaultCaptureSizeMeters: z.ZodDefault<z.ZodNumber>;
|
|
124
165
|
captureSizeExtensionMeters: z.ZodDefault<z.ZodNumber>;
|
|
125
|
-
}, "
|
|
166
|
+
}, "strict", z.ZodTypeAny, {
|
|
126
167
|
defaultCaptureSizeMeters: number;
|
|
127
168
|
captureSizeExtensionMeters: number;
|
|
128
169
|
}, {
|
|
129
170
|
defaultCaptureSizeMeters?: number | undefined;
|
|
130
171
|
captureSizeExtensionMeters?: number | undefined;
|
|
131
|
-
}
|
|
172
|
+
}>, {
|
|
173
|
+
aircraft: {
|
|
174
|
+
defaultCaptureSizeMeters: number;
|
|
175
|
+
captureSizeExtensionMeters: number;
|
|
176
|
+
};
|
|
177
|
+
drone: {
|
|
178
|
+
defaultCaptureSizeMeters: number;
|
|
179
|
+
captureSizeExtensionMeters: number;
|
|
180
|
+
};
|
|
181
|
+
}, {
|
|
182
|
+
defaultCaptureSizeMeters?: number | undefined;
|
|
183
|
+
captureSizeExtensionMeters?: number | undefined;
|
|
184
|
+
}>]>>;
|
|
132
185
|
stream: z.ZodDefault<z.ZodObject<{
|
|
133
186
|
width: z.ZodNumber;
|
|
134
187
|
height: z.ZodNumber;
|
|
@@ -334,7 +387,61 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
334
387
|
port?: number | undefined;
|
|
335
388
|
priority?: number | undefined;
|
|
336
389
|
}>>;
|
|
337
|
-
identificationLabel: z.ZodDefault<z.ZodObject<{
|
|
390
|
+
identificationLabel: z.ZodDefault<z.ZodUnion<[z.ZodObject<{
|
|
391
|
+
aircraft: z.ZodObject<{
|
|
392
|
+
firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
393
|
+
secondRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
394
|
+
thirdRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
395
|
+
fourthRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
396
|
+
opacity: z.ZodNumber;
|
|
397
|
+
}, "strip", z.ZodTypeAny, {
|
|
398
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
399
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
400
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
401
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
402
|
+
opacity: number;
|
|
403
|
+
}, {
|
|
404
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
405
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
406
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
407
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
408
|
+
opacity: number;
|
|
409
|
+
}>;
|
|
410
|
+
drone: z.ZodDefault<z.ZodObject<{
|
|
411
|
+
firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"remote_id">]>;
|
|
412
|
+
opacity: z.ZodNumber;
|
|
413
|
+
}, "strip", z.ZodTypeAny, {
|
|
414
|
+
firstRow: "blank" | "remote_id";
|
|
415
|
+
opacity: number;
|
|
416
|
+
}, {
|
|
417
|
+
firstRow: "blank" | "remote_id";
|
|
418
|
+
opacity: number;
|
|
419
|
+
}>>;
|
|
420
|
+
}, "strip", z.ZodTypeAny, {
|
|
421
|
+
aircraft: {
|
|
422
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
423
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
424
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
425
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
426
|
+
opacity: number;
|
|
427
|
+
};
|
|
428
|
+
drone: {
|
|
429
|
+
firstRow: "blank" | "remote_id";
|
|
430
|
+
opacity: number;
|
|
431
|
+
};
|
|
432
|
+
}, {
|
|
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
|
+
} | undefined;
|
|
444
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
338
445
|
firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
339
446
|
secondRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
340
447
|
thirdRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
@@ -352,7 +459,25 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
352
459
|
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
353
460
|
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
354
461
|
opacity: number;
|
|
355
|
-
}
|
|
462
|
+
}>, {
|
|
463
|
+
aircraft: {
|
|
464
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
465
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
466
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
467
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
468
|
+
opacity: number;
|
|
469
|
+
};
|
|
470
|
+
drone: {
|
|
471
|
+
firstRow: "blank" | "remote_id";
|
|
472
|
+
opacity: number;
|
|
473
|
+
};
|
|
474
|
+
}, {
|
|
475
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
476
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
477
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
478
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
479
|
+
opacity: number;
|
|
480
|
+
}>]>>;
|
|
356
481
|
acs: z.ZodDefault<z.ZodObject<{
|
|
357
482
|
protocol: z.ZodUnion<[z.ZodLiteral<"http">, z.ZodLiteral<"https">, z.ZodLiteral<"https_insecure">]>;
|
|
358
483
|
ip: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
|
@@ -447,8 +572,23 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
447
572
|
focusCalibrationPoints: string;
|
|
448
573
|
};
|
|
449
574
|
cameraConfig: {
|
|
450
|
-
|
|
451
|
-
|
|
575
|
+
aircraft: {
|
|
576
|
+
defaultCaptureSizeMeters: number;
|
|
577
|
+
captureSizeExtensionMeters: number;
|
|
578
|
+
};
|
|
579
|
+
drone: {
|
|
580
|
+
defaultCaptureSizeMeters: number;
|
|
581
|
+
captureSizeExtensionMeters: number;
|
|
582
|
+
};
|
|
583
|
+
} | {
|
|
584
|
+
aircraft: {
|
|
585
|
+
defaultCaptureSizeMeters: number;
|
|
586
|
+
captureSizeExtensionMeters: number;
|
|
587
|
+
};
|
|
588
|
+
drone: {
|
|
589
|
+
defaultCaptureSizeMeters: number;
|
|
590
|
+
captureSizeExtensionMeters: number;
|
|
591
|
+
};
|
|
452
592
|
};
|
|
453
593
|
stream: {
|
|
454
594
|
width: number;
|
|
@@ -501,11 +641,29 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
501
641
|
priority: number;
|
|
502
642
|
};
|
|
503
643
|
identificationLabel: {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
644
|
+
aircraft: {
|
|
645
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
646
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
647
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
648
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
649
|
+
opacity: number;
|
|
650
|
+
};
|
|
651
|
+
drone: {
|
|
652
|
+
firstRow: "blank" | "remote_id";
|
|
653
|
+
opacity: number;
|
|
654
|
+
};
|
|
655
|
+
} | {
|
|
656
|
+
aircraft: {
|
|
657
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
658
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
659
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
660
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
661
|
+
opacity: number;
|
|
662
|
+
};
|
|
663
|
+
drone: {
|
|
664
|
+
firstRow: "blank" | "remote_id";
|
|
665
|
+
opacity: number;
|
|
666
|
+
};
|
|
509
667
|
};
|
|
510
668
|
acs: {
|
|
511
669
|
ip: string;
|
|
@@ -581,6 +739,15 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
581
739
|
focusCalibrationPoints?: string | undefined;
|
|
582
740
|
} | undefined;
|
|
583
741
|
cameraConfig?: {
|
|
742
|
+
aircraft: {
|
|
743
|
+
defaultCaptureSizeMeters: number;
|
|
744
|
+
captureSizeExtensionMeters: number;
|
|
745
|
+
};
|
|
746
|
+
drone?: {
|
|
747
|
+
defaultCaptureSizeMeters: number;
|
|
748
|
+
captureSizeExtensionMeters: number;
|
|
749
|
+
} | undefined;
|
|
750
|
+
} | {
|
|
584
751
|
defaultCaptureSizeMeters?: number | undefined;
|
|
585
752
|
captureSizeExtensionMeters?: number | undefined;
|
|
586
753
|
} | undefined;
|
|
@@ -664,6 +831,18 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
664
831
|
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
665
832
|
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
666
833
|
opacity: number;
|
|
834
|
+
} | {
|
|
835
|
+
aircraft: {
|
|
836
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
837
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
838
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
839
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
840
|
+
opacity: number;
|
|
841
|
+
};
|
|
842
|
+
drone?: {
|
|
843
|
+
firstRow: "blank" | "remote_id";
|
|
844
|
+
opacity: number;
|
|
845
|
+
} | undefined;
|
|
667
846
|
} | undefined;
|
|
668
847
|
acs?: {
|
|
669
848
|
ip: string;
|
|
@@ -1196,11 +1375,11 @@ declare const categoryDescriptorSchema: z.ZodObject<{
|
|
|
1196
1375
|
}, "strip", z.ZodTypeAny, {
|
|
1197
1376
|
categoryId: string;
|
|
1198
1377
|
uiName: string;
|
|
1199
|
-
icon: "unknown" | "small" | "
|
|
1378
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1200
1379
|
}, {
|
|
1201
1380
|
categoryId: string;
|
|
1202
1381
|
uiName: string;
|
|
1203
|
-
icon: "unknown" | "small" | "
|
|
1382
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1204
1383
|
}>;
|
|
1205
1384
|
export type TCategoryDescriptor = z.infer<typeof categoryDescriptorSchema>;
|
|
1206
1385
|
declare const domainDescriptorSchema: z.ZodObject<{
|
|
@@ -1213,27 +1392,27 @@ declare const domainDescriptorSchema: z.ZodObject<{
|
|
|
1213
1392
|
}, "strip", z.ZodTypeAny, {
|
|
1214
1393
|
categoryId: string;
|
|
1215
1394
|
uiName: string;
|
|
1216
|
-
icon: "unknown" | "small" | "
|
|
1395
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1217
1396
|
}, {
|
|
1218
1397
|
categoryId: string;
|
|
1219
1398
|
uiName: string;
|
|
1220
|
-
icon: "unknown" | "small" | "
|
|
1399
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1221
1400
|
}>, "many">;
|
|
1222
1401
|
}, "strip", z.ZodTypeAny, {
|
|
1223
1402
|
uiName: string;
|
|
1224
|
-
icon: "unknown" | "small" | "
|
|
1403
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1225
1404
|
categoryList: {
|
|
1226
1405
|
categoryId: string;
|
|
1227
1406
|
uiName: string;
|
|
1228
|
-
icon: "unknown" | "small" | "
|
|
1407
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1229
1408
|
}[];
|
|
1230
1409
|
}, {
|
|
1231
1410
|
uiName: string;
|
|
1232
|
-
icon: "unknown" | "small" | "
|
|
1411
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1233
1412
|
categoryList: {
|
|
1234
1413
|
categoryId: string;
|
|
1235
1414
|
uiName: string;
|
|
1236
|
-
icon: "unknown" | "small" | "
|
|
1415
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1237
1416
|
}[];
|
|
1238
1417
|
}>;
|
|
1239
1418
|
export type TDomainDescriptor = z.infer<typeof domainDescriptorSchema>;
|
|
@@ -1247,27 +1426,27 @@ export declare const domainListSchema: z.ZodRecord<z.ZodEnum<["adsb", "remoteId"
|
|
|
1247
1426
|
}, "strip", z.ZodTypeAny, {
|
|
1248
1427
|
categoryId: string;
|
|
1249
1428
|
uiName: string;
|
|
1250
|
-
icon: "unknown" | "small" | "
|
|
1429
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1251
1430
|
}, {
|
|
1252
1431
|
categoryId: string;
|
|
1253
1432
|
uiName: string;
|
|
1254
|
-
icon: "unknown" | "small" | "
|
|
1433
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1255
1434
|
}>, "many">;
|
|
1256
1435
|
}, "strip", z.ZodTypeAny, {
|
|
1257
1436
|
uiName: string;
|
|
1258
|
-
icon: "unknown" | "small" | "
|
|
1437
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1259
1438
|
categoryList: {
|
|
1260
1439
|
categoryId: string;
|
|
1261
1440
|
uiName: string;
|
|
1262
|
-
icon: "unknown" | "small" | "
|
|
1441
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1263
1442
|
}[];
|
|
1264
1443
|
}, {
|
|
1265
1444
|
uiName: string;
|
|
1266
|
-
icon: "unknown" | "small" | "
|
|
1445
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1267
1446
|
categoryList: {
|
|
1268
1447
|
categoryId: string;
|
|
1269
1448
|
uiName: string;
|
|
1270
|
-
icon: "unknown" | "small" | "
|
|
1449
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1271
1450
|
}[];
|
|
1272
1451
|
}>>;
|
|
1273
1452
|
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<{
|