camstreamerlib 4.0.33-4b63673 → 4.0.33-a07b434
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 +25 -7
- package/cjs/types/PlaneTrackerAPI.d.ts +125 -21
- package/cjs/types/PlaneTrackerAPI.js +28 -6
- package/cjs/types/ws/PlaneTrackerEvents.d.ts +11 -0
- package/cjs/types/ws/PlaneTrackerEvents.js +1 -0
- package/esm/types/PlaneTrackerAPI.js +28 -6
- package/esm/types/ws/PlaneTrackerEvents.js +1 -0
- package/package.json +1 -1
- package/types/PlaneTrackerAPI.d.ts +25 -7
- package/types/types/PlaneTrackerAPI.d.ts +125 -21
- package/types/types/ws/PlaneTrackerEvents.d.ts +11 -0
package/cjs/PlaneTrackerAPI.d.ts
CHANGED
|
@@ -99,11 +99,29 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
|
|
|
99
99
|
priority: number;
|
|
100
100
|
};
|
|
101
101
|
identificationLabel: {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
102
|
+
aircraft: {
|
|
103
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
104
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
105
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
106
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
107
|
+
opacity: number;
|
|
108
|
+
};
|
|
109
|
+
drone: {
|
|
110
|
+
firstRow: "blank" | "remote_id";
|
|
111
|
+
opacity: number;
|
|
112
|
+
};
|
|
113
|
+
} | {
|
|
114
|
+
aircraft: {
|
|
115
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
116
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
117
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
118
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
119
|
+
opacity: number;
|
|
120
|
+
};
|
|
121
|
+
drone: {
|
|
122
|
+
readonly firstRow: "remote_id";
|
|
123
|
+
readonly opacity: 30;
|
|
124
|
+
};
|
|
107
125
|
};
|
|
108
126
|
acs: {
|
|
109
127
|
ip: string;
|
|
@@ -181,11 +199,11 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
|
|
|
181
199
|
importAppSettings(dataType: TImportDataType, formData: Parameters<Client['post']>[0]['data'], options?: THttpRequestOptions): Promise<void>;
|
|
182
200
|
getDomainList(options?: THttpRequestOptions): Promise<Partial<Record<"adsb" | "remoteId", {
|
|
183
201
|
uiName: string;
|
|
184
|
-
icon: "unknown" | "small" | "
|
|
202
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
185
203
|
categoryList: {
|
|
186
204
|
categoryId: string;
|
|
187
205
|
uiName: string;
|
|
188
|
-
icon: "unknown" | "small" | "
|
|
206
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
189
207
|
}[];
|
|
190
208
|
}>>>;
|
|
191
209
|
fetchFlightInfo(targetId: string, options?: THttpRequestOptions): Promise<{
|
|
@@ -69,6 +69,8 @@ export declare const widgetSchema: z.ZodObject<{
|
|
|
69
69
|
}>;
|
|
70
70
|
declare const labelOptionsSchema: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
71
71
|
export type TLabelOption = z.infer<typeof labelOptionsSchema>;
|
|
72
|
+
declare const droneLabelOptionsSchema: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"remote_id">]>;
|
|
73
|
+
export type TDroneLabelOption = z.infer<typeof droneLabelOptionsSchema>;
|
|
72
74
|
export declare const cameraSettingsSchema: z.ZodObject<{
|
|
73
75
|
units: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"metric">, z.ZodLiteral<"imperial">]>>;
|
|
74
76
|
adsbSource: z.ZodDefault<z.ZodObject<{
|
|
@@ -347,7 +349,61 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
347
349
|
port?: number | undefined;
|
|
348
350
|
priority?: number | undefined;
|
|
349
351
|
}>>;
|
|
350
|
-
identificationLabel: z.ZodDefault<z.ZodObject<{
|
|
352
|
+
identificationLabel: z.ZodDefault<z.ZodUnion<[z.ZodObject<{
|
|
353
|
+
aircraft: z.ZodObject<{
|
|
354
|
+
firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
355
|
+
secondRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
356
|
+
thirdRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
357
|
+
fourthRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
358
|
+
opacity: z.ZodNumber;
|
|
359
|
+
}, "strip", z.ZodTypeAny, {
|
|
360
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
361
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
362
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
363
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
364
|
+
opacity: number;
|
|
365
|
+
}, {
|
|
366
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
367
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
368
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
369
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
370
|
+
opacity: number;
|
|
371
|
+
}>;
|
|
372
|
+
drone: z.ZodDefault<z.ZodObject<{
|
|
373
|
+
firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"remote_id">]>;
|
|
374
|
+
opacity: z.ZodNumber;
|
|
375
|
+
}, "strip", z.ZodTypeAny, {
|
|
376
|
+
firstRow: "blank" | "remote_id";
|
|
377
|
+
opacity: number;
|
|
378
|
+
}, {
|
|
379
|
+
firstRow: "blank" | "remote_id";
|
|
380
|
+
opacity: number;
|
|
381
|
+
}>>;
|
|
382
|
+
}, "strip", z.ZodTypeAny, {
|
|
383
|
+
aircraft: {
|
|
384
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
385
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
386
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
387
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
388
|
+
opacity: number;
|
|
389
|
+
};
|
|
390
|
+
drone: {
|
|
391
|
+
firstRow: "blank" | "remote_id";
|
|
392
|
+
opacity: number;
|
|
393
|
+
};
|
|
394
|
+
}, {
|
|
395
|
+
aircraft: {
|
|
396
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
397
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
398
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
399
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
400
|
+
opacity: number;
|
|
401
|
+
};
|
|
402
|
+
drone?: {
|
|
403
|
+
firstRow: "blank" | "remote_id";
|
|
404
|
+
opacity: number;
|
|
405
|
+
} | undefined;
|
|
406
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
351
407
|
firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
352
408
|
secondRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
353
409
|
thirdRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
@@ -365,7 +421,25 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
365
421
|
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
366
422
|
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
367
423
|
opacity: number;
|
|
368
|
-
}
|
|
424
|
+
}>, {
|
|
425
|
+
aircraft: {
|
|
426
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
427
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
428
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
429
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
430
|
+
opacity: number;
|
|
431
|
+
};
|
|
432
|
+
drone: {
|
|
433
|
+
readonly firstRow: "remote_id";
|
|
434
|
+
readonly opacity: 30;
|
|
435
|
+
};
|
|
436
|
+
}, {
|
|
437
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
438
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
439
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
440
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
441
|
+
opacity: number;
|
|
442
|
+
}>]>>;
|
|
369
443
|
acs: z.ZodDefault<z.ZodObject<{
|
|
370
444
|
protocol: z.ZodUnion<[z.ZodLiteral<"http">, z.ZodLiteral<"https">, z.ZodLiteral<"https_insecure">]>;
|
|
371
445
|
ip: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
|
@@ -514,11 +588,29 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
514
588
|
priority: number;
|
|
515
589
|
};
|
|
516
590
|
identificationLabel: {
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
591
|
+
aircraft: {
|
|
592
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
593
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
594
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
595
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
596
|
+
opacity: number;
|
|
597
|
+
};
|
|
598
|
+
drone: {
|
|
599
|
+
firstRow: "blank" | "remote_id";
|
|
600
|
+
opacity: number;
|
|
601
|
+
};
|
|
602
|
+
} | {
|
|
603
|
+
aircraft: {
|
|
604
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
605
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
606
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
607
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
608
|
+
opacity: number;
|
|
609
|
+
};
|
|
610
|
+
drone: {
|
|
611
|
+
readonly firstRow: "remote_id";
|
|
612
|
+
readonly opacity: 30;
|
|
613
|
+
};
|
|
522
614
|
};
|
|
523
615
|
acs: {
|
|
524
616
|
ip: string;
|
|
@@ -677,6 +769,18 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
677
769
|
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
678
770
|
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
679
771
|
opacity: number;
|
|
772
|
+
} | {
|
|
773
|
+
aircraft: {
|
|
774
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
775
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
776
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
777
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
778
|
+
opacity: number;
|
|
779
|
+
};
|
|
780
|
+
drone?: {
|
|
781
|
+
firstRow: "blank" | "remote_id";
|
|
782
|
+
opacity: number;
|
|
783
|
+
} | undefined;
|
|
680
784
|
} | undefined;
|
|
681
785
|
acs?: {
|
|
682
786
|
ip: string;
|
|
@@ -1209,11 +1313,11 @@ declare const categoryDescriptorSchema: z.ZodObject<{
|
|
|
1209
1313
|
}, "strip", z.ZodTypeAny, {
|
|
1210
1314
|
categoryId: string;
|
|
1211
1315
|
uiName: string;
|
|
1212
|
-
icon: "unknown" | "small" | "
|
|
1316
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1213
1317
|
}, {
|
|
1214
1318
|
categoryId: string;
|
|
1215
1319
|
uiName: string;
|
|
1216
|
-
icon: "unknown" | "small" | "
|
|
1320
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1217
1321
|
}>;
|
|
1218
1322
|
export type TCategoryDescriptor = z.infer<typeof categoryDescriptorSchema>;
|
|
1219
1323
|
declare const domainDescriptorSchema: z.ZodObject<{
|
|
@@ -1226,27 +1330,27 @@ declare const domainDescriptorSchema: z.ZodObject<{
|
|
|
1226
1330
|
}, "strip", z.ZodTypeAny, {
|
|
1227
1331
|
categoryId: string;
|
|
1228
1332
|
uiName: string;
|
|
1229
|
-
icon: "unknown" | "small" | "
|
|
1333
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1230
1334
|
}, {
|
|
1231
1335
|
categoryId: string;
|
|
1232
1336
|
uiName: string;
|
|
1233
|
-
icon: "unknown" | "small" | "
|
|
1337
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1234
1338
|
}>, "many">;
|
|
1235
1339
|
}, "strip", z.ZodTypeAny, {
|
|
1236
1340
|
uiName: string;
|
|
1237
|
-
icon: "unknown" | "small" | "
|
|
1341
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1238
1342
|
categoryList: {
|
|
1239
1343
|
categoryId: string;
|
|
1240
1344
|
uiName: string;
|
|
1241
|
-
icon: "unknown" | "small" | "
|
|
1345
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1242
1346
|
}[];
|
|
1243
1347
|
}, {
|
|
1244
1348
|
uiName: string;
|
|
1245
|
-
icon: "unknown" | "small" | "
|
|
1349
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1246
1350
|
categoryList: {
|
|
1247
1351
|
categoryId: string;
|
|
1248
1352
|
uiName: string;
|
|
1249
|
-
icon: "unknown" | "small" | "
|
|
1353
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1250
1354
|
}[];
|
|
1251
1355
|
}>;
|
|
1252
1356
|
export type TDomainDescriptor = z.infer<typeof domainDescriptorSchema>;
|
|
@@ -1260,27 +1364,27 @@ export declare const domainListSchema: z.ZodRecord<z.ZodEnum<["adsb", "remoteId"
|
|
|
1260
1364
|
}, "strip", z.ZodTypeAny, {
|
|
1261
1365
|
categoryId: string;
|
|
1262
1366
|
uiName: string;
|
|
1263
|
-
icon: "unknown" | "small" | "
|
|
1367
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1264
1368
|
}, {
|
|
1265
1369
|
categoryId: string;
|
|
1266
1370
|
uiName: string;
|
|
1267
|
-
icon: "unknown" | "small" | "
|
|
1371
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1268
1372
|
}>, "many">;
|
|
1269
1373
|
}, "strip", z.ZodTypeAny, {
|
|
1270
1374
|
uiName: string;
|
|
1271
|
-
icon: "unknown" | "small" | "
|
|
1375
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1272
1376
|
categoryList: {
|
|
1273
1377
|
categoryId: string;
|
|
1274
1378
|
uiName: string;
|
|
1275
|
-
icon: "unknown" | "small" | "
|
|
1379
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1276
1380
|
}[];
|
|
1277
1381
|
}, {
|
|
1278
1382
|
uiName: string;
|
|
1279
|
-
icon: "unknown" | "small" | "
|
|
1383
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1280
1384
|
categoryList: {
|
|
1281
1385
|
categoryId: string;
|
|
1282
1386
|
uiName: string;
|
|
1283
|
-
icon: "unknown" | "small" | "
|
|
1387
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1284
1388
|
}[];
|
|
1285
1389
|
}>>;
|
|
1286
1390
|
export type TDomainList = z.infer<typeof domainListSchema>;
|
|
@@ -40,13 +40,32 @@ const labelOptionsSchema = zod_1.z.union([
|
|
|
40
40
|
zod_1.z.literal('flight_number'),
|
|
41
41
|
zod_1.z.literal('icao'),
|
|
42
42
|
]);
|
|
43
|
-
const
|
|
43
|
+
const aircraftIdentificationLabelSchema = zod_1.z.object({
|
|
44
44
|
firstRow: labelOptionsSchema,
|
|
45
45
|
secondRow: labelOptionsSchema,
|
|
46
46
|
thirdRow: labelOptionsSchema,
|
|
47
47
|
fourthRow: labelOptionsSchema,
|
|
48
48
|
opacity: zod_1.z.number().positive(),
|
|
49
49
|
});
|
|
50
|
+
const droneLabelOptionsSchema = zod_1.z.union([zod_1.z.literal('blank'), zod_1.z.literal('remote_id')]);
|
|
51
|
+
const droneIdentificationLabelSchema = zod_1.z.object({
|
|
52
|
+
firstRow: droneLabelOptionsSchema,
|
|
53
|
+
opacity: zod_1.z.number().positive(),
|
|
54
|
+
});
|
|
55
|
+
const DEFAULT_DRONE_IDENTIFICATION_LABEL = {
|
|
56
|
+
firstRow: 'remote_id',
|
|
57
|
+
opacity: 30,
|
|
58
|
+
};
|
|
59
|
+
const identificationLabelSchema = zod_1.z.union([
|
|
60
|
+
zod_1.z.object({
|
|
61
|
+
aircraft: aircraftIdentificationLabelSchema,
|
|
62
|
+
drone: droneIdentificationLabelSchema.default(DEFAULT_DRONE_IDENTIFICATION_LABEL),
|
|
63
|
+
}),
|
|
64
|
+
aircraftIdentificationLabelSchema.transform((aircraft) => ({
|
|
65
|
+
aircraft,
|
|
66
|
+
drone: DEFAULT_DRONE_IDENTIFICATION_LABEL,
|
|
67
|
+
})),
|
|
68
|
+
]);
|
|
50
69
|
exports.cameraSettingsSchema = zod_1.z.object({
|
|
51
70
|
units: zod_1.z.union([zod_1.z.literal('metric'), zod_1.z.literal('imperial')]).default('imperial'),
|
|
52
71
|
adsbSource: zod_1.z
|
|
@@ -203,11 +222,14 @@ exports.cameraSettingsSchema = zod_1.z.object({
|
|
|
203
222
|
port: 80,
|
|
204
223
|
}),
|
|
205
224
|
identificationLabel: identificationLabelSchema.default({
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
225
|
+
aircraft: {
|
|
226
|
+
firstRow: 'registration',
|
|
227
|
+
secondRow: 'blank',
|
|
228
|
+
thirdRow: 'blank',
|
|
229
|
+
fourthRow: 'blank',
|
|
230
|
+
opacity: 30,
|
|
231
|
+
},
|
|
232
|
+
drone: DEFAULT_DRONE_IDENTIFICATION_LABEL,
|
|
211
233
|
}),
|
|
212
234
|
acs: exports.connectionSchema
|
|
213
235
|
.extend({
|
|
@@ -181,6 +181,7 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
181
181
|
type: z.ZodLiteral<"TRACKING_START">;
|
|
182
182
|
icao: z.ZodString;
|
|
183
183
|
targetId: z.ZodString;
|
|
184
|
+
callsign: z.ZodOptional<z.ZodString>;
|
|
184
185
|
domain: z.ZodEnum<["adsb", "remoteId"]>;
|
|
185
186
|
categoryId: z.ZodString;
|
|
186
187
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -189,12 +190,14 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
189
190
|
targetId: string;
|
|
190
191
|
domain: "adsb" | "remoteId";
|
|
191
192
|
categoryId: string;
|
|
193
|
+
callsign?: string | undefined;
|
|
192
194
|
}, {
|
|
193
195
|
type: "TRACKING_START";
|
|
194
196
|
icao: string;
|
|
195
197
|
targetId: string;
|
|
196
198
|
domain: "adsb" | "remoteId";
|
|
197
199
|
categoryId: string;
|
|
200
|
+
callsign?: string | undefined;
|
|
198
201
|
}>, z.ZodObject<{
|
|
199
202
|
type: z.ZodLiteral<"TRACKING_STOP">;
|
|
200
203
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1342,6 +1345,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1342
1345
|
type: z.ZodLiteral<"TRACKING_START">;
|
|
1343
1346
|
icao: z.ZodString;
|
|
1344
1347
|
targetId: z.ZodString;
|
|
1348
|
+
callsign: z.ZodOptional<z.ZodString>;
|
|
1345
1349
|
domain: z.ZodEnum<["adsb", "remoteId"]>;
|
|
1346
1350
|
categoryId: z.ZodString;
|
|
1347
1351
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1350,12 +1354,14 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1350
1354
|
targetId: string;
|
|
1351
1355
|
domain: "adsb" | "remoteId";
|
|
1352
1356
|
categoryId: string;
|
|
1357
|
+
callsign?: string | undefined;
|
|
1353
1358
|
}, {
|
|
1354
1359
|
type: "TRACKING_START";
|
|
1355
1360
|
icao: string;
|
|
1356
1361
|
targetId: string;
|
|
1357
1362
|
domain: "adsb" | "remoteId";
|
|
1358
1363
|
categoryId: string;
|
|
1364
|
+
callsign?: string | undefined;
|
|
1359
1365
|
}>, z.ZodObject<{
|
|
1360
1366
|
type: z.ZodLiteral<"TRACKING_STOP">;
|
|
1361
1367
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2488,6 +2494,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2488
2494
|
targetId: string;
|
|
2489
2495
|
domain: "adsb" | "remoteId";
|
|
2490
2496
|
categoryId: string;
|
|
2497
|
+
callsign?: string | undefined;
|
|
2491
2498
|
} | {
|
|
2492
2499
|
type: "TRACKING_STOP";
|
|
2493
2500
|
} | {
|
|
@@ -2752,6 +2759,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2752
2759
|
targetId: string;
|
|
2753
2760
|
domain: "adsb" | "remoteId";
|
|
2754
2761
|
categoryId: string;
|
|
2762
|
+
callsign?: string | undefined;
|
|
2755
2763
|
} | {
|
|
2756
2764
|
type: "TRACKING_STOP";
|
|
2757
2765
|
} | {
|
|
@@ -3029,6 +3037,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3029
3037
|
type: z.ZodLiteral<"TRACKING_START">;
|
|
3030
3038
|
icao: z.ZodString;
|
|
3031
3039
|
targetId: z.ZodString;
|
|
3040
|
+
callsign: z.ZodOptional<z.ZodString>;
|
|
3032
3041
|
domain: z.ZodEnum<["adsb", "remoteId"]>;
|
|
3033
3042
|
categoryId: z.ZodString;
|
|
3034
3043
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3037,12 +3046,14 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3037
3046
|
targetId: string;
|
|
3038
3047
|
domain: "adsb" | "remoteId";
|
|
3039
3048
|
categoryId: string;
|
|
3049
|
+
callsign?: string | undefined;
|
|
3040
3050
|
}, {
|
|
3041
3051
|
type: "TRACKING_START";
|
|
3042
3052
|
icao: string;
|
|
3043
3053
|
targetId: string;
|
|
3044
3054
|
domain: "adsb" | "remoteId";
|
|
3045
3055
|
categoryId: string;
|
|
3056
|
+
callsign?: string | undefined;
|
|
3046
3057
|
}>, z.ZodObject<{
|
|
3047
3058
|
type: z.ZodLiteral<"TRACKING_STOP">;
|
|
3048
3059
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -83,6 +83,7 @@ const eventsDataSchema = zod_1.z.union([
|
|
|
83
83
|
type: zod_1.z.literal('TRACKING_START'),
|
|
84
84
|
icao: zod_1.z.string(),
|
|
85
85
|
targetId: zod_1.z.string(),
|
|
86
|
+
callsign: zod_1.z.string().optional(),
|
|
86
87
|
domain: PlaneTrackerAPI_1.domainIdSchema,
|
|
87
88
|
categoryId: zod_1.z.string(),
|
|
88
89
|
}),
|
|
@@ -37,13 +37,32 @@ const labelOptionsSchema = z.union([
|
|
|
37
37
|
z.literal('flight_number'),
|
|
38
38
|
z.literal('icao'),
|
|
39
39
|
]);
|
|
40
|
-
const
|
|
40
|
+
const aircraftIdentificationLabelSchema = z.object({
|
|
41
41
|
firstRow: labelOptionsSchema,
|
|
42
42
|
secondRow: labelOptionsSchema,
|
|
43
43
|
thirdRow: labelOptionsSchema,
|
|
44
44
|
fourthRow: labelOptionsSchema,
|
|
45
45
|
opacity: z.number().positive(),
|
|
46
46
|
});
|
|
47
|
+
const droneLabelOptionsSchema = z.union([z.literal('blank'), z.literal('remote_id')]);
|
|
48
|
+
const droneIdentificationLabelSchema = z.object({
|
|
49
|
+
firstRow: droneLabelOptionsSchema,
|
|
50
|
+
opacity: z.number().positive(),
|
|
51
|
+
});
|
|
52
|
+
const DEFAULT_DRONE_IDENTIFICATION_LABEL = {
|
|
53
|
+
firstRow: 'remote_id',
|
|
54
|
+
opacity: 30,
|
|
55
|
+
};
|
|
56
|
+
const identificationLabelSchema = z.union([
|
|
57
|
+
z.object({
|
|
58
|
+
aircraft: aircraftIdentificationLabelSchema,
|
|
59
|
+
drone: droneIdentificationLabelSchema.default(DEFAULT_DRONE_IDENTIFICATION_LABEL),
|
|
60
|
+
}),
|
|
61
|
+
aircraftIdentificationLabelSchema.transform((aircraft) => ({
|
|
62
|
+
aircraft,
|
|
63
|
+
drone: DEFAULT_DRONE_IDENTIFICATION_LABEL,
|
|
64
|
+
})),
|
|
65
|
+
]);
|
|
47
66
|
export const cameraSettingsSchema = z.object({
|
|
48
67
|
units: z.union([z.literal('metric'), z.literal('imperial')]).default('imperial'),
|
|
49
68
|
adsbSource: z
|
|
@@ -200,11 +219,14 @@ export const cameraSettingsSchema = z.object({
|
|
|
200
219
|
port: 80,
|
|
201
220
|
}),
|
|
202
221
|
identificationLabel: identificationLabelSchema.default({
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
222
|
+
aircraft: {
|
|
223
|
+
firstRow: 'registration',
|
|
224
|
+
secondRow: 'blank',
|
|
225
|
+
thirdRow: 'blank',
|
|
226
|
+
fourthRow: 'blank',
|
|
227
|
+
opacity: 30,
|
|
228
|
+
},
|
|
229
|
+
drone: DEFAULT_DRONE_IDENTIFICATION_LABEL,
|
|
208
230
|
}),
|
|
209
231
|
acs: connectionSchema
|
|
210
232
|
.extend({
|
package/package.json
CHANGED
|
@@ -99,11 +99,29 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
|
|
|
99
99
|
priority: number;
|
|
100
100
|
};
|
|
101
101
|
identificationLabel: {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
102
|
+
aircraft: {
|
|
103
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
104
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
105
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
106
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
107
|
+
opacity: number;
|
|
108
|
+
};
|
|
109
|
+
drone: {
|
|
110
|
+
firstRow: "blank" | "remote_id";
|
|
111
|
+
opacity: number;
|
|
112
|
+
};
|
|
113
|
+
} | {
|
|
114
|
+
aircraft: {
|
|
115
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
116
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
117
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
118
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
119
|
+
opacity: number;
|
|
120
|
+
};
|
|
121
|
+
drone: {
|
|
122
|
+
readonly firstRow: "remote_id";
|
|
123
|
+
readonly opacity: 30;
|
|
124
|
+
};
|
|
107
125
|
};
|
|
108
126
|
acs: {
|
|
109
127
|
ip: string;
|
|
@@ -181,11 +199,11 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
|
|
|
181
199
|
importAppSettings(dataType: TImportDataType, formData: Parameters<Client['post']>[0]['data'], options?: THttpRequestOptions): Promise<void>;
|
|
182
200
|
getDomainList(options?: THttpRequestOptions): Promise<Partial<Record<"adsb" | "remoteId", {
|
|
183
201
|
uiName: string;
|
|
184
|
-
icon: "unknown" | "small" | "
|
|
202
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
185
203
|
categoryList: {
|
|
186
204
|
categoryId: string;
|
|
187
205
|
uiName: string;
|
|
188
|
-
icon: "unknown" | "small" | "
|
|
206
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
189
207
|
}[];
|
|
190
208
|
}>>>;
|
|
191
209
|
fetchFlightInfo(targetId: string, options?: THttpRequestOptions): Promise<{
|
|
@@ -69,6 +69,8 @@ export declare const widgetSchema: z.ZodObject<{
|
|
|
69
69
|
}>;
|
|
70
70
|
declare const labelOptionsSchema: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
71
71
|
export type TLabelOption = z.infer<typeof labelOptionsSchema>;
|
|
72
|
+
declare const droneLabelOptionsSchema: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"remote_id">]>;
|
|
73
|
+
export type TDroneLabelOption = z.infer<typeof droneLabelOptionsSchema>;
|
|
72
74
|
export declare const cameraSettingsSchema: z.ZodObject<{
|
|
73
75
|
units: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"metric">, z.ZodLiteral<"imperial">]>>;
|
|
74
76
|
adsbSource: z.ZodDefault<z.ZodObject<{
|
|
@@ -347,7 +349,61 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
347
349
|
port?: number | undefined;
|
|
348
350
|
priority?: number | undefined;
|
|
349
351
|
}>>;
|
|
350
|
-
identificationLabel: z.ZodDefault<z.ZodObject<{
|
|
352
|
+
identificationLabel: z.ZodDefault<z.ZodUnion<[z.ZodObject<{
|
|
353
|
+
aircraft: z.ZodObject<{
|
|
354
|
+
firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
355
|
+
secondRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
356
|
+
thirdRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
357
|
+
fourthRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
358
|
+
opacity: z.ZodNumber;
|
|
359
|
+
}, "strip", z.ZodTypeAny, {
|
|
360
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
361
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
362
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
363
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
364
|
+
opacity: number;
|
|
365
|
+
}, {
|
|
366
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
367
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
368
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
369
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
370
|
+
opacity: number;
|
|
371
|
+
}>;
|
|
372
|
+
drone: z.ZodDefault<z.ZodObject<{
|
|
373
|
+
firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"remote_id">]>;
|
|
374
|
+
opacity: z.ZodNumber;
|
|
375
|
+
}, "strip", z.ZodTypeAny, {
|
|
376
|
+
firstRow: "blank" | "remote_id";
|
|
377
|
+
opacity: number;
|
|
378
|
+
}, {
|
|
379
|
+
firstRow: "blank" | "remote_id";
|
|
380
|
+
opacity: number;
|
|
381
|
+
}>>;
|
|
382
|
+
}, "strip", z.ZodTypeAny, {
|
|
383
|
+
aircraft: {
|
|
384
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
385
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
386
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
387
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
388
|
+
opacity: number;
|
|
389
|
+
};
|
|
390
|
+
drone: {
|
|
391
|
+
firstRow: "blank" | "remote_id";
|
|
392
|
+
opacity: number;
|
|
393
|
+
};
|
|
394
|
+
}, {
|
|
395
|
+
aircraft: {
|
|
396
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
397
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
398
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
399
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
400
|
+
opacity: number;
|
|
401
|
+
};
|
|
402
|
+
drone?: {
|
|
403
|
+
firstRow: "blank" | "remote_id";
|
|
404
|
+
opacity: number;
|
|
405
|
+
} | undefined;
|
|
406
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
351
407
|
firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
352
408
|
secondRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
353
409
|
thirdRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
@@ -365,7 +421,25 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
365
421
|
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
366
422
|
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
367
423
|
opacity: number;
|
|
368
|
-
}
|
|
424
|
+
}>, {
|
|
425
|
+
aircraft: {
|
|
426
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
427
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
428
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
429
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
430
|
+
opacity: number;
|
|
431
|
+
};
|
|
432
|
+
drone: {
|
|
433
|
+
readonly firstRow: "remote_id";
|
|
434
|
+
readonly opacity: 30;
|
|
435
|
+
};
|
|
436
|
+
}, {
|
|
437
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
438
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
439
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
440
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
441
|
+
opacity: number;
|
|
442
|
+
}>]>>;
|
|
369
443
|
acs: z.ZodDefault<z.ZodObject<{
|
|
370
444
|
protocol: z.ZodUnion<[z.ZodLiteral<"http">, z.ZodLiteral<"https">, z.ZodLiteral<"https_insecure">]>;
|
|
371
445
|
ip: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
|
@@ -514,11 +588,29 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
514
588
|
priority: number;
|
|
515
589
|
};
|
|
516
590
|
identificationLabel: {
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
591
|
+
aircraft: {
|
|
592
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
593
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
594
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
595
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
596
|
+
opacity: number;
|
|
597
|
+
};
|
|
598
|
+
drone: {
|
|
599
|
+
firstRow: "blank" | "remote_id";
|
|
600
|
+
opacity: number;
|
|
601
|
+
};
|
|
602
|
+
} | {
|
|
603
|
+
aircraft: {
|
|
604
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
605
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
606
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
607
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
608
|
+
opacity: number;
|
|
609
|
+
};
|
|
610
|
+
drone: {
|
|
611
|
+
readonly firstRow: "remote_id";
|
|
612
|
+
readonly opacity: 30;
|
|
613
|
+
};
|
|
522
614
|
};
|
|
523
615
|
acs: {
|
|
524
616
|
ip: string;
|
|
@@ -677,6 +769,18 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
677
769
|
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
678
770
|
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
679
771
|
opacity: number;
|
|
772
|
+
} | {
|
|
773
|
+
aircraft: {
|
|
774
|
+
firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
775
|
+
secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
776
|
+
thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
777
|
+
fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
|
|
778
|
+
opacity: number;
|
|
779
|
+
};
|
|
780
|
+
drone?: {
|
|
781
|
+
firstRow: "blank" | "remote_id";
|
|
782
|
+
opacity: number;
|
|
783
|
+
} | undefined;
|
|
680
784
|
} | undefined;
|
|
681
785
|
acs?: {
|
|
682
786
|
ip: string;
|
|
@@ -1209,11 +1313,11 @@ declare const categoryDescriptorSchema: z.ZodObject<{
|
|
|
1209
1313
|
}, "strip", z.ZodTypeAny, {
|
|
1210
1314
|
categoryId: string;
|
|
1211
1315
|
uiName: string;
|
|
1212
|
-
icon: "unknown" | "small" | "
|
|
1316
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1213
1317
|
}, {
|
|
1214
1318
|
categoryId: string;
|
|
1215
1319
|
uiName: string;
|
|
1216
|
-
icon: "unknown" | "small" | "
|
|
1320
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1217
1321
|
}>;
|
|
1218
1322
|
export type TCategoryDescriptor = z.infer<typeof categoryDescriptorSchema>;
|
|
1219
1323
|
declare const domainDescriptorSchema: z.ZodObject<{
|
|
@@ -1226,27 +1330,27 @@ declare const domainDescriptorSchema: z.ZodObject<{
|
|
|
1226
1330
|
}, "strip", z.ZodTypeAny, {
|
|
1227
1331
|
categoryId: string;
|
|
1228
1332
|
uiName: string;
|
|
1229
|
-
icon: "unknown" | "small" | "
|
|
1333
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1230
1334
|
}, {
|
|
1231
1335
|
categoryId: string;
|
|
1232
1336
|
uiName: string;
|
|
1233
|
-
icon: "unknown" | "small" | "
|
|
1337
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1234
1338
|
}>, "many">;
|
|
1235
1339
|
}, "strip", z.ZodTypeAny, {
|
|
1236
1340
|
uiName: string;
|
|
1237
|
-
icon: "unknown" | "small" | "
|
|
1341
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1238
1342
|
categoryList: {
|
|
1239
1343
|
categoryId: string;
|
|
1240
1344
|
uiName: string;
|
|
1241
|
-
icon: "unknown" | "small" | "
|
|
1345
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1242
1346
|
}[];
|
|
1243
1347
|
}, {
|
|
1244
1348
|
uiName: string;
|
|
1245
|
-
icon: "unknown" | "small" | "
|
|
1349
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1246
1350
|
categoryList: {
|
|
1247
1351
|
categoryId: string;
|
|
1248
1352
|
uiName: string;
|
|
1249
|
-
icon: "unknown" | "small" | "
|
|
1353
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1250
1354
|
}[];
|
|
1251
1355
|
}>;
|
|
1252
1356
|
export type TDomainDescriptor = z.infer<typeof domainDescriptorSchema>;
|
|
@@ -1260,27 +1364,27 @@ export declare const domainListSchema: z.ZodRecord<z.ZodEnum<["adsb", "remoteId"
|
|
|
1260
1364
|
}, "strip", z.ZodTypeAny, {
|
|
1261
1365
|
categoryId: string;
|
|
1262
1366
|
uiName: string;
|
|
1263
|
-
icon: "unknown" | "small" | "
|
|
1367
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1264
1368
|
}, {
|
|
1265
1369
|
categoryId: string;
|
|
1266
1370
|
uiName: string;
|
|
1267
|
-
icon: "unknown" | "small" | "
|
|
1371
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1268
1372
|
}>, "many">;
|
|
1269
1373
|
}, "strip", z.ZodTypeAny, {
|
|
1270
1374
|
uiName: string;
|
|
1271
|
-
icon: "unknown" | "small" | "
|
|
1375
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1272
1376
|
categoryList: {
|
|
1273
1377
|
categoryId: string;
|
|
1274
1378
|
uiName: string;
|
|
1275
|
-
icon: "unknown" | "small" | "
|
|
1379
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1276
1380
|
}[];
|
|
1277
1381
|
}, {
|
|
1278
1382
|
uiName: string;
|
|
1279
|
-
icon: "unknown" | "small" | "
|
|
1383
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1280
1384
|
categoryList: {
|
|
1281
1385
|
categoryId: string;
|
|
1282
1386
|
uiName: string;
|
|
1283
|
-
icon: "unknown" | "small" | "
|
|
1387
|
+
icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
|
|
1284
1388
|
}[];
|
|
1285
1389
|
}>>;
|
|
1286
1390
|
export type TDomainList = z.infer<typeof domainListSchema>;
|
|
@@ -181,6 +181,7 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
181
181
|
type: z.ZodLiteral<"TRACKING_START">;
|
|
182
182
|
icao: z.ZodString;
|
|
183
183
|
targetId: z.ZodString;
|
|
184
|
+
callsign: z.ZodOptional<z.ZodString>;
|
|
184
185
|
domain: z.ZodEnum<["adsb", "remoteId"]>;
|
|
185
186
|
categoryId: z.ZodString;
|
|
186
187
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -189,12 +190,14 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
189
190
|
targetId: string;
|
|
190
191
|
domain: "adsb" | "remoteId";
|
|
191
192
|
categoryId: string;
|
|
193
|
+
callsign?: string | undefined;
|
|
192
194
|
}, {
|
|
193
195
|
type: "TRACKING_START";
|
|
194
196
|
icao: string;
|
|
195
197
|
targetId: string;
|
|
196
198
|
domain: "adsb" | "remoteId";
|
|
197
199
|
categoryId: string;
|
|
200
|
+
callsign?: string | undefined;
|
|
198
201
|
}>, z.ZodObject<{
|
|
199
202
|
type: z.ZodLiteral<"TRACKING_STOP">;
|
|
200
203
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1342,6 +1345,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1342
1345
|
type: z.ZodLiteral<"TRACKING_START">;
|
|
1343
1346
|
icao: z.ZodString;
|
|
1344
1347
|
targetId: z.ZodString;
|
|
1348
|
+
callsign: z.ZodOptional<z.ZodString>;
|
|
1345
1349
|
domain: z.ZodEnum<["adsb", "remoteId"]>;
|
|
1346
1350
|
categoryId: z.ZodString;
|
|
1347
1351
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1350,12 +1354,14 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1350
1354
|
targetId: string;
|
|
1351
1355
|
domain: "adsb" | "remoteId";
|
|
1352
1356
|
categoryId: string;
|
|
1357
|
+
callsign?: string | undefined;
|
|
1353
1358
|
}, {
|
|
1354
1359
|
type: "TRACKING_START";
|
|
1355
1360
|
icao: string;
|
|
1356
1361
|
targetId: string;
|
|
1357
1362
|
domain: "adsb" | "remoteId";
|
|
1358
1363
|
categoryId: string;
|
|
1364
|
+
callsign?: string | undefined;
|
|
1359
1365
|
}>, z.ZodObject<{
|
|
1360
1366
|
type: z.ZodLiteral<"TRACKING_STOP">;
|
|
1361
1367
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2488,6 +2494,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2488
2494
|
targetId: string;
|
|
2489
2495
|
domain: "adsb" | "remoteId";
|
|
2490
2496
|
categoryId: string;
|
|
2497
|
+
callsign?: string | undefined;
|
|
2491
2498
|
} | {
|
|
2492
2499
|
type: "TRACKING_STOP";
|
|
2493
2500
|
} | {
|
|
@@ -2752,6 +2759,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2752
2759
|
targetId: string;
|
|
2753
2760
|
domain: "adsb" | "remoteId";
|
|
2754
2761
|
categoryId: string;
|
|
2762
|
+
callsign?: string | undefined;
|
|
2755
2763
|
} | {
|
|
2756
2764
|
type: "TRACKING_STOP";
|
|
2757
2765
|
} | {
|
|
@@ -3029,6 +3037,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3029
3037
|
type: z.ZodLiteral<"TRACKING_START">;
|
|
3030
3038
|
icao: z.ZodString;
|
|
3031
3039
|
targetId: z.ZodString;
|
|
3040
|
+
callsign: z.ZodOptional<z.ZodString>;
|
|
3032
3041
|
domain: z.ZodEnum<["adsb", "remoteId"]>;
|
|
3033
3042
|
categoryId: z.ZodString;
|
|
3034
3043
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3037,12 +3046,14 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3037
3046
|
targetId: string;
|
|
3038
3047
|
domain: "adsb" | "remoteId";
|
|
3039
3048
|
categoryId: string;
|
|
3049
|
+
callsign?: string | undefined;
|
|
3040
3050
|
}, {
|
|
3041
3051
|
type: "TRACKING_START";
|
|
3042
3052
|
icao: string;
|
|
3043
3053
|
targetId: string;
|
|
3044
3054
|
domain: "adsb" | "remoteId";
|
|
3045
3055
|
categoryId: string;
|
|
3056
|
+
callsign?: string | undefined;
|
|
3046
3057
|
}>, z.ZodObject<{
|
|
3047
3058
|
type: z.ZodLiteral<"TRACKING_STOP">;
|
|
3048
3059
|
}, "strip", z.ZodTypeAny, {
|