camstreamerlib 4.0.6 → 4.0.7

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.
@@ -1,6 +1,10 @@
1
1
  import { z } from 'zod';
2
- declare const apiFlightDataSchema: z.ZodObject<{
2
+ declare const wsApiFlightDataSchema: z.ZodObject<{
3
+ targetId: z.ZodString;
3
4
  icao: z.ZodString;
5
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
6
+ categoryId: z.ZodString;
7
+ groupId: z.ZodOptional<z.ZodString>;
4
8
  lat: z.ZodNumber;
5
9
  lon: z.ZodNumber;
6
10
  heading: z.ZodNumber;
@@ -11,7 +15,6 @@ declare const apiFlightDataSchema: z.ZodObject<{
11
15
  whiteListed: z.ZodBoolean;
12
16
  blackListed: z.ZodBoolean;
13
17
  priorityListed: z.ZodBoolean;
14
- typePriorityListed: z.ZodDefault<z.ZodBoolean>;
15
18
  autoSelectionIgnored: z.ZodBoolean;
16
19
  signalQuality: z.ZodNumber;
17
20
  emitterCategorySet: z.ZodDefault<z.ZodNumber>;
@@ -20,8 +23,11 @@ declare const apiFlightDataSchema: z.ZodObject<{
20
23
  emergencyStatusMessage: z.ZodString;
21
24
  }, "strip", z.ZodTypeAny, {
22
25
  icao: string;
26
+ domain: "adsb" | "remoteId";
23
27
  lat: number;
24
28
  lon: number;
29
+ targetId: string;
30
+ categoryId: string;
25
31
  heading: number;
26
32
  groundSpeed: number;
27
33
  altitudeAMSL: number;
@@ -30,17 +36,20 @@ declare const apiFlightDataSchema: z.ZodObject<{
30
36
  whiteListed: boolean;
31
37
  blackListed: boolean;
32
38
  priorityListed: boolean;
33
- typePriorityListed: boolean;
34
39
  autoSelectionIgnored: boolean;
35
40
  signalQuality: number;
36
41
  emitterCategorySet: number;
37
42
  emitterCategory: number;
38
43
  emergencyState: boolean;
39
44
  emergencyStatusMessage: string;
45
+ groupId?: string | undefined;
40
46
  }, {
41
47
  icao: string;
48
+ domain: "adsb" | "remoteId";
42
49
  lat: number;
43
50
  lon: number;
51
+ targetId: string;
52
+ categoryId: string;
44
53
  heading: number;
45
54
  groundSpeed: number;
46
55
  altitudeAMSL: number;
@@ -53,10 +62,29 @@ declare const apiFlightDataSchema: z.ZodObject<{
53
62
  signalQuality: number;
54
63
  emergencyState: boolean;
55
64
  emergencyStatusMessage: string;
56
- typePriorityListed?: boolean | undefined;
65
+ groupId?: string | undefined;
57
66
  emitterCategorySet?: number | undefined;
58
67
  emitterCategory?: number | undefined;
59
68
  }>;
69
+ declare const wsCameraPositionDataSchema: z.ZodObject<{
70
+ lat: z.ZodNumber;
71
+ lon: z.ZodNumber;
72
+ azimuth: z.ZodNumber;
73
+ elevation: z.ZodNumber;
74
+ fov: z.ZodNumber;
75
+ }, "strip", z.ZodTypeAny, {
76
+ lat: number;
77
+ lon: number;
78
+ azimuth: number;
79
+ elevation: number;
80
+ fov: number;
81
+ }, {
82
+ lat: number;
83
+ lon: number;
84
+ azimuth: number;
85
+ elevation: number;
86
+ fov: number;
87
+ }>;
60
88
  declare const apiUserSchema: z.ZodObject<{
61
89
  userId: z.ZodString;
62
90
  userName: z.ZodString;
@@ -73,29 +101,8 @@ declare const apiUserSchema: z.ZodObject<{
73
101
  userName: string;
74
102
  userPriority: number;
75
103
  }>;
76
- declare const apiStringUserSchema: z.ZodObject<{
77
- userId: z.ZodString;
78
- userName: z.ZodString;
79
- userPriority: z.ZodString;
80
- }, "strip", z.ZodTypeAny, {
81
- userId: string;
82
- userName: string;
83
- userPriority: string;
84
- }, {
85
- userId: string;
86
- userName: string;
87
- userPriority: string;
88
- }>;
89
- export declare enum PlaneTrackerWsEvents {
90
- FLIGHT_LIST = "FLIGHT_LIST",
91
- CAMERA_POSITION = "CAMERA_POSITION",
92
- TRACKING_START = "TRACKING_START",
93
- TRACKING_STOP = "TRACKING_STOP",
94
- USER_ACTION = "USER_ACTION",
95
- CONNECTED_USERS = "CONNECTED_USERS",
96
- FORCE_TRACKING_STATUS = "FORCE_TRACKING_STATUS"
97
- }
98
- export declare enum PlaneTrackerUserActions {
104
+ export type TEventType = 'CAMERA_POSITION' | 'TRACKING_START' | 'TRACKING_STOP' | 'FLIGHT_LIST' | 'USER_ACTION' | 'CONNECTED_USERS' | 'FORCE_TRACKING_STATUS' | 'API_LOCK_STATUS';
105
+ export declare enum EUserActions {
99
106
  TRACK_ICAO = "trackIcao.cgi",
100
107
  RESET_ICAO = "resetIcao.cgi",
101
108
  SET_PRIORITY_LIST = "setPriorityList.cgi",
@@ -108,8 +115,8 @@ export declare enum PlaneTrackerUserActions {
108
115
  LOCK_API = "lockApi.cgi",
109
116
  UNLOCK_API = "unlockApi.cgi"
110
117
  }
111
- export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObject<{
112
- cgi: z.ZodLiteral<PlaneTrackerUserActions.TRACK_ICAO>;
118
+ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObject<{
119
+ cgi: z.ZodLiteral<EUserActions.TRACK_ICAO>;
113
120
  ip: z.ZodString;
114
121
  params: z.ZodObject<{
115
122
  userId: z.ZodString;
@@ -136,7 +143,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
136
143
  userPriority: string;
137
144
  };
138
145
  ip: string;
139
- cgi: PlaneTrackerUserActions.TRACK_ICAO;
146
+ cgi: EUserActions.TRACK_ICAO;
140
147
  }, {
141
148
  params: {
142
149
  icao: string;
@@ -145,9 +152,9 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
145
152
  userPriority: string;
146
153
  };
147
154
  ip: string;
148
- cgi: PlaneTrackerUserActions.TRACK_ICAO;
155
+ cgi: EUserActions.TRACK_ICAO;
149
156
  }>, z.ZodObject<{
150
- cgi: z.ZodLiteral<PlaneTrackerUserActions.RESET_ICAO>;
157
+ cgi: z.ZodLiteral<EUserActions.RESET_ICAO>;
151
158
  ip: z.ZodString;
152
159
  params: z.ZodObject<{
153
160
  userId: z.ZodString;
@@ -169,7 +176,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
169
176
  userPriority: string;
170
177
  };
171
178
  ip: string;
172
- cgi: PlaneTrackerUserActions.RESET_ICAO;
179
+ cgi: EUserActions.RESET_ICAO;
173
180
  }, {
174
181
  params: {
175
182
  userId: string;
@@ -177,9 +184,9 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
177
184
  userPriority: string;
178
185
  };
179
186
  ip: string;
180
- cgi: PlaneTrackerUserActions.RESET_ICAO;
187
+ cgi: EUserActions.RESET_ICAO;
181
188
  }>, z.ZodObject<{
182
- cgi: z.ZodLiteral<PlaneTrackerUserActions.SET_PRIORITY_LIST>;
189
+ cgi: z.ZodLiteral<EUserActions.SET_PRIORITY_LIST>;
183
190
  ip: z.ZodString;
184
191
  params: z.ZodObject<{
185
192
  userId: z.ZodString;
@@ -234,7 +241,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
234
241
  userPriority: string;
235
242
  };
236
243
  ip: string;
237
- cgi: PlaneTrackerUserActions.SET_PRIORITY_LIST;
244
+ cgi: EUserActions.SET_PRIORITY_LIST;
238
245
  postJsonBody: {
239
246
  list: {
240
247
  priority: number;
@@ -250,7 +257,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
250
257
  userPriority: string;
251
258
  };
252
259
  ip: string;
253
- cgi: PlaneTrackerUserActions.SET_PRIORITY_LIST;
260
+ cgi: EUserActions.SET_PRIORITY_LIST;
254
261
  postJsonBody: {
255
262
  list?: {
256
263
  priority: number;
@@ -260,7 +267,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
260
267
  }[] | undefined;
261
268
  };
262
269
  }>, z.ZodObject<{
263
- cgi: z.ZodLiteral<PlaneTrackerUserActions.SET_BLACK_LIST>;
270
+ cgi: z.ZodLiteral<EUserActions.SET_BLACK_LIST>;
264
271
  ip: z.ZodString;
265
272
  params: z.ZodObject<{
266
273
  userId: z.ZodString;
@@ -309,7 +316,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
309
316
  userPriority: string;
310
317
  };
311
318
  ip: string;
312
- cgi: PlaneTrackerUserActions.SET_BLACK_LIST;
319
+ cgi: EUserActions.SET_BLACK_LIST;
313
320
  postJsonBody: {
314
321
  list: {
315
322
  domain: "adsb" | "remoteId";
@@ -324,7 +331,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
324
331
  userPriority: string;
325
332
  };
326
333
  ip: string;
327
- cgi: PlaneTrackerUserActions.SET_BLACK_LIST;
334
+ cgi: EUserActions.SET_BLACK_LIST;
328
335
  postJsonBody: {
329
336
  list?: {
330
337
  domain: "adsb" | "remoteId";
@@ -333,7 +340,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
333
340
  }[] | undefined;
334
341
  };
335
342
  }>, z.ZodObject<{
336
- cgi: z.ZodLiteral<PlaneTrackerUserActions.SET_WHITE_LIST>;
343
+ cgi: z.ZodLiteral<EUserActions.SET_WHITE_LIST>;
337
344
  ip: z.ZodString;
338
345
  params: z.ZodObject<{
339
346
  userId: z.ZodString;
@@ -382,7 +389,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
382
389
  userPriority: string;
383
390
  };
384
391
  ip: string;
385
- cgi: PlaneTrackerUserActions.SET_WHITE_LIST;
392
+ cgi: EUserActions.SET_WHITE_LIST;
386
393
  postJsonBody: {
387
394
  list: {
388
395
  domain: "adsb" | "remoteId";
@@ -397,7 +404,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
397
404
  userPriority: string;
398
405
  };
399
406
  ip: string;
400
- cgi: PlaneTrackerUserActions.SET_WHITE_LIST;
407
+ cgi: EUserActions.SET_WHITE_LIST;
401
408
  postJsonBody: {
402
409
  list?: {
403
410
  domain: "adsb" | "remoteId";
@@ -406,7 +413,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
406
413
  }[] | undefined;
407
414
  };
408
415
  }>, z.ZodObject<{
409
- cgi: z.ZodLiteral<PlaneTrackerUserActions.GO_TO_COORDINATES>;
416
+ cgi: z.ZodLiteral<EUserActions.GO_TO_COORDINATES>;
410
417
  ip: z.ZodString;
411
418
  params: z.ZodObject<{
412
419
  userId: z.ZodString;
@@ -437,7 +444,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
437
444
  userPriority: string;
438
445
  };
439
446
  ip: string;
440
- cgi: PlaneTrackerUserActions.GO_TO_COORDINATES;
447
+ cgi: EUserActions.GO_TO_COORDINATES;
441
448
  }, {
442
449
  params: {
443
450
  lat: string;
@@ -447,9 +454,9 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
447
454
  userPriority: string;
448
455
  };
449
456
  ip: string;
450
- cgi: PlaneTrackerUserActions.GO_TO_COORDINATES;
457
+ cgi: EUserActions.GO_TO_COORDINATES;
451
458
  }>, z.ZodObject<{
452
- cgi: z.ZodLiteral<PlaneTrackerUserActions.SET_TRACKING_MODE>;
459
+ cgi: z.ZodLiteral<EUserActions.SET_TRACKING_MODE>;
453
460
  ip: z.ZodString;
454
461
  params: z.ZodObject<{
455
462
  userId: z.ZodString;
@@ -478,7 +485,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
478
485
  userPriority: string;
479
486
  };
480
487
  ip: string;
481
- cgi: PlaneTrackerUserActions.SET_TRACKING_MODE;
488
+ cgi: EUserActions.SET_TRACKING_MODE;
482
489
  postJsonBody: {
483
490
  mode: "MANUAL" | "AUTOMATIC";
484
491
  };
@@ -489,12 +496,12 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
489
496
  userPriority: string;
490
497
  };
491
498
  ip: string;
492
- cgi: PlaneTrackerUserActions.SET_TRACKING_MODE;
499
+ cgi: EUserActions.SET_TRACKING_MODE;
493
500
  postJsonBody: {
494
501
  mode?: "MANUAL" | "AUTOMATIC" | undefined;
495
502
  };
496
503
  }>, z.ZodObject<{
497
- cgi: z.ZodLiteral<PlaneTrackerUserActions.SET_ZONES>;
504
+ cgi: z.ZodLiteral<EUserActions.SET_ZONES>;
498
505
  ip: z.ZodString;
499
506
  params: z.ZodObject<{
500
507
  userId: z.ZodString;
@@ -606,7 +613,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
606
613
  userPriority: string;
607
614
  };
608
615
  ip: string;
609
- cgi: PlaneTrackerUserActions.SET_ZONES;
616
+ cgi: EUserActions.SET_ZONES;
610
617
  postJsonBody: {
611
618
  zones: {
612
619
  enabled: boolean;
@@ -633,7 +640,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
633
640
  userPriority: string;
634
641
  };
635
642
  ip: string;
636
- cgi: PlaneTrackerUserActions.SET_ZONES;
643
+ cgi: EUserActions.SET_ZONES;
637
644
  postJsonBody: {
638
645
  zones?: {
639
646
  area: [{
@@ -654,7 +661,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
654
661
  }[] | undefined;
655
662
  };
656
663
  }>, z.ZodObject<{
657
- cgi: z.ZodLiteral<PlaneTrackerUserActions.RESET_PTZ_CALIBRATION>;
664
+ cgi: z.ZodLiteral<EUserActions.RESET_PTZ_CALIBRATION>;
658
665
  ip: z.ZodString;
659
666
  params: z.ZodObject<{
660
667
  userId: z.ZodString;
@@ -676,7 +683,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
676
683
  userPriority: string;
677
684
  };
678
685
  ip: string;
679
- cgi: PlaneTrackerUserActions.RESET_PTZ_CALIBRATION;
686
+ cgi: EUserActions.RESET_PTZ_CALIBRATION;
680
687
  }, {
681
688
  params: {
682
689
  userId: string;
@@ -684,9 +691,9 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
684
691
  userPriority: string;
685
692
  };
686
693
  ip: string;
687
- cgi: PlaneTrackerUserActions.RESET_PTZ_CALIBRATION;
694
+ cgi: EUserActions.RESET_PTZ_CALIBRATION;
688
695
  }>, z.ZodObject<{
689
- cgi: z.ZodLiteral<PlaneTrackerUserActions.LOCK_API>;
696
+ cgi: z.ZodLiteral<EUserActions.LOCK_API>;
690
697
  ip: z.ZodString;
691
698
  params: z.ZodObject<{
692
699
  userId: z.ZodString;
@@ -713,7 +720,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
713
720
  userPriority: string;
714
721
  };
715
722
  ip: string;
716
- cgi: PlaneTrackerUserActions.LOCK_API;
723
+ cgi: EUserActions.LOCK_API;
717
724
  }, {
718
725
  params: {
719
726
  timeout: string;
@@ -722,9 +729,9 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
722
729
  userPriority: string;
723
730
  };
724
731
  ip: string;
725
- cgi: PlaneTrackerUserActions.LOCK_API;
732
+ cgi: EUserActions.LOCK_API;
726
733
  }>, z.ZodObject<{
727
- cgi: z.ZodLiteral<PlaneTrackerUserActions.UNLOCK_API>;
734
+ cgi: z.ZodLiteral<EUserActions.UNLOCK_API>;
728
735
  ip: z.ZodString;
729
736
  params: z.ZodObject<{
730
737
  userId: z.ZodString;
@@ -746,7 +753,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
746
753
  userPriority: string;
747
754
  };
748
755
  ip: string;
749
- cgi: PlaneTrackerUserActions.UNLOCK_API;
756
+ cgi: EUserActions.UNLOCK_API;
750
757
  }, {
751
758
  params: {
752
759
  userId: string;
@@ -754,10 +761,12 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
754
761
  userPriority: string;
755
762
  };
756
763
  ip: string;
757
- cgi: PlaneTrackerUserActions.UNLOCK_API;
764
+ cgi: EUserActions.UNLOCK_API;
758
765
  }>]>;
759
- declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
766
+ export type TWsUserActionData = z.infer<typeof wsUserActionData>;
767
+ declare const eventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
760
768
  type: z.ZodLiteral<"CAMERA_POSITION">;
769
+ } & {
761
770
  lat: z.ZodNumber;
762
771
  lon: z.ZodNumber;
763
772
  azimuth: z.ZodNumber;
@@ -795,7 +804,11 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
795
804
  }>, z.ZodObject<{
796
805
  type: z.ZodLiteral<"FLIGHT_LIST">;
797
806
  list: z.ZodArray<z.ZodObject<{
807
+ targetId: z.ZodString;
798
808
  icao: z.ZodString;
809
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
810
+ categoryId: z.ZodString;
811
+ groupId: z.ZodOptional<z.ZodString>;
799
812
  lat: z.ZodNumber;
800
813
  lon: z.ZodNumber;
801
814
  heading: z.ZodNumber;
@@ -806,7 +819,6 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
806
819
  whiteListed: z.ZodBoolean;
807
820
  blackListed: z.ZodBoolean;
808
821
  priorityListed: z.ZodBoolean;
809
- typePriorityListed: z.ZodDefault<z.ZodBoolean>;
810
822
  autoSelectionIgnored: z.ZodBoolean;
811
823
  signalQuality: z.ZodNumber;
812
824
  emitterCategorySet: z.ZodDefault<z.ZodNumber>;
@@ -815,8 +827,11 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
815
827
  emergencyStatusMessage: z.ZodString;
816
828
  }, "strip", z.ZodTypeAny, {
817
829
  icao: string;
830
+ domain: "adsb" | "remoteId";
818
831
  lat: number;
819
832
  lon: number;
833
+ targetId: string;
834
+ categoryId: string;
820
835
  heading: number;
821
836
  groundSpeed: number;
822
837
  altitudeAMSL: number;
@@ -825,17 +840,20 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
825
840
  whiteListed: boolean;
826
841
  blackListed: boolean;
827
842
  priorityListed: boolean;
828
- typePriorityListed: boolean;
829
843
  autoSelectionIgnored: boolean;
830
844
  signalQuality: number;
831
845
  emitterCategorySet: number;
832
846
  emitterCategory: number;
833
847
  emergencyState: boolean;
834
848
  emergencyStatusMessage: string;
849
+ groupId?: string | undefined;
835
850
  }, {
836
851
  icao: string;
852
+ domain: "adsb" | "remoteId";
837
853
  lat: number;
838
854
  lon: number;
855
+ targetId: string;
856
+ categoryId: string;
839
857
  heading: number;
840
858
  groundSpeed: number;
841
859
  altitudeAMSL: number;
@@ -848,7 +866,7 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
848
866
  signalQuality: number;
849
867
  emergencyState: boolean;
850
868
  emergencyStatusMessage: string;
851
- typePriorityListed?: boolean | undefined;
869
+ groupId?: string | undefined;
852
870
  emitterCategorySet?: number | undefined;
853
871
  emitterCategory?: number | undefined;
854
872
  }>, "many">;
@@ -856,8 +874,11 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
856
874
  type: "FLIGHT_LIST";
857
875
  list: {
858
876
  icao: string;
877
+ domain: "adsb" | "remoteId";
859
878
  lat: number;
860
879
  lon: number;
880
+ targetId: string;
881
+ categoryId: string;
861
882
  heading: number;
862
883
  groundSpeed: number;
863
884
  altitudeAMSL: number;
@@ -866,20 +887,23 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
866
887
  whiteListed: boolean;
867
888
  blackListed: boolean;
868
889
  priorityListed: boolean;
869
- typePriorityListed: boolean;
870
890
  autoSelectionIgnored: boolean;
871
891
  signalQuality: number;
872
892
  emitterCategorySet: number;
873
893
  emitterCategory: number;
874
894
  emergencyState: boolean;
875
895
  emergencyStatusMessage: string;
896
+ groupId?: string | undefined;
876
897
  }[];
877
898
  }, {
878
899
  type: "FLIGHT_LIST";
879
900
  list: {
880
901
  icao: string;
902
+ domain: "adsb" | "remoteId";
881
903
  lat: number;
882
904
  lon: number;
905
+ targetId: string;
906
+ categoryId: string;
883
907
  heading: number;
884
908
  groundSpeed: number;
885
909
  altitudeAMSL: number;
@@ -892,7 +916,7 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
892
916
  signalQuality: number;
893
917
  emergencyState: boolean;
894
918
  emergencyStatusMessage: string;
895
- typePriorityListed?: boolean | undefined;
919
+ groupId?: string | undefined;
896
920
  emitterCategorySet?: number | undefined;
897
921
  emitterCategory?: number | undefined;
898
922
  }[];
@@ -922,7 +946,7 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
922
946
  lat?: string | undefined;
923
947
  lon?: string | undefined;
924
948
  }>;
925
- cgi: z.ZodEnum<[PlaneTrackerUserActions.TRACK_ICAO, PlaneTrackerUserActions.RESET_ICAO, PlaneTrackerUserActions.SET_PRIORITY_LIST, PlaneTrackerUserActions.SET_BLACK_LIST, PlaneTrackerUserActions.SET_WHITE_LIST, PlaneTrackerUserActions.GO_TO_COORDINATES, PlaneTrackerUserActions.SET_TRACKING_MODE, PlaneTrackerUserActions.SET_ZONES, PlaneTrackerUserActions.RESET_PTZ_CALIBRATION, PlaneTrackerUserActions.LOCK_API, PlaneTrackerUserActions.UNLOCK_API]>;
949
+ cgi: z.ZodEnum<[EUserActions.TRACK_ICAO, EUserActions.RESET_ICAO, EUserActions.SET_PRIORITY_LIST, EUserActions.SET_BLACK_LIST, EUserActions.SET_WHITE_LIST, EUserActions.GO_TO_COORDINATES, EUserActions.SET_TRACKING_MODE, EUserActions.SET_ZONES, EUserActions.RESET_PTZ_CALIBRATION, EUserActions.LOCK_API, EUserActions.UNLOCK_API]>;
926
950
  postJsonBody: z.ZodAny;
927
951
  }, "strip", z.ZodTypeAny, {
928
952
  params: {
@@ -935,7 +959,7 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
935
959
  };
936
960
  type: "USER_ACTION";
937
961
  ip: string;
938
- cgi: PlaneTrackerUserActions;
962
+ cgi: EUserActions;
939
963
  postJsonBody?: any;
940
964
  }, {
941
965
  params: {
@@ -948,7 +972,7 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
948
972
  };
949
973
  type: "USER_ACTION";
950
974
  ip: string;
951
- cgi: PlaneTrackerUserActions;
975
+ cgi: EUserActions;
952
976
  postJsonBody?: any;
953
977
  }>, z.ZodObject<{
954
978
  type: z.ZodLiteral<"CONNECTED_USERS">;
@@ -1038,6 +1062,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1038
1062
  type: z.ZodLiteral<"init">;
1039
1063
  data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1040
1064
  type: z.ZodLiteral<"CAMERA_POSITION">;
1065
+ } & {
1041
1066
  lat: z.ZodNumber;
1042
1067
  lon: z.ZodNumber;
1043
1068
  azimuth: z.ZodNumber;
@@ -1075,7 +1100,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1075
1100
  }>, z.ZodObject<{
1076
1101
  type: z.ZodLiteral<"FLIGHT_LIST">;
1077
1102
  list: z.ZodArray<z.ZodObject<{
1103
+ targetId: z.ZodString;
1078
1104
  icao: z.ZodString;
1105
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
1106
+ categoryId: z.ZodString;
1107
+ groupId: z.ZodOptional<z.ZodString>;
1079
1108
  lat: z.ZodNumber;
1080
1109
  lon: z.ZodNumber;
1081
1110
  heading: z.ZodNumber;
@@ -1086,7 +1115,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1086
1115
  whiteListed: z.ZodBoolean;
1087
1116
  blackListed: z.ZodBoolean;
1088
1117
  priorityListed: z.ZodBoolean;
1089
- typePriorityListed: z.ZodDefault<z.ZodBoolean>;
1090
1118
  autoSelectionIgnored: z.ZodBoolean;
1091
1119
  signalQuality: z.ZodNumber;
1092
1120
  emitterCategorySet: z.ZodDefault<z.ZodNumber>;
@@ -1095,8 +1123,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1095
1123
  emergencyStatusMessage: z.ZodString;
1096
1124
  }, "strip", z.ZodTypeAny, {
1097
1125
  icao: string;
1126
+ domain: "adsb" | "remoteId";
1098
1127
  lat: number;
1099
1128
  lon: number;
1129
+ targetId: string;
1130
+ categoryId: string;
1100
1131
  heading: number;
1101
1132
  groundSpeed: number;
1102
1133
  altitudeAMSL: number;
@@ -1105,17 +1136,20 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1105
1136
  whiteListed: boolean;
1106
1137
  blackListed: boolean;
1107
1138
  priorityListed: boolean;
1108
- typePriorityListed: boolean;
1109
1139
  autoSelectionIgnored: boolean;
1110
1140
  signalQuality: number;
1111
1141
  emitterCategorySet: number;
1112
1142
  emitterCategory: number;
1113
1143
  emergencyState: boolean;
1114
1144
  emergencyStatusMessage: string;
1145
+ groupId?: string | undefined;
1115
1146
  }, {
1116
1147
  icao: string;
1148
+ domain: "adsb" | "remoteId";
1117
1149
  lat: number;
1118
1150
  lon: number;
1151
+ targetId: string;
1152
+ categoryId: string;
1119
1153
  heading: number;
1120
1154
  groundSpeed: number;
1121
1155
  altitudeAMSL: number;
@@ -1128,7 +1162,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1128
1162
  signalQuality: number;
1129
1163
  emergencyState: boolean;
1130
1164
  emergencyStatusMessage: string;
1131
- typePriorityListed?: boolean | undefined;
1165
+ groupId?: string | undefined;
1132
1166
  emitterCategorySet?: number | undefined;
1133
1167
  emitterCategory?: number | undefined;
1134
1168
  }>, "many">;
@@ -1136,8 +1170,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1136
1170
  type: "FLIGHT_LIST";
1137
1171
  list: {
1138
1172
  icao: string;
1173
+ domain: "adsb" | "remoteId";
1139
1174
  lat: number;
1140
1175
  lon: number;
1176
+ targetId: string;
1177
+ categoryId: string;
1141
1178
  heading: number;
1142
1179
  groundSpeed: number;
1143
1180
  altitudeAMSL: number;
@@ -1146,20 +1183,23 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1146
1183
  whiteListed: boolean;
1147
1184
  blackListed: boolean;
1148
1185
  priorityListed: boolean;
1149
- typePriorityListed: boolean;
1150
1186
  autoSelectionIgnored: boolean;
1151
1187
  signalQuality: number;
1152
1188
  emitterCategorySet: number;
1153
1189
  emitterCategory: number;
1154
1190
  emergencyState: boolean;
1155
1191
  emergencyStatusMessage: string;
1192
+ groupId?: string | undefined;
1156
1193
  }[];
1157
1194
  }, {
1158
1195
  type: "FLIGHT_LIST";
1159
1196
  list: {
1160
1197
  icao: string;
1198
+ domain: "adsb" | "remoteId";
1161
1199
  lat: number;
1162
1200
  lon: number;
1201
+ targetId: string;
1202
+ categoryId: string;
1163
1203
  heading: number;
1164
1204
  groundSpeed: number;
1165
1205
  altitudeAMSL: number;
@@ -1172,7 +1212,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1172
1212
  signalQuality: number;
1173
1213
  emergencyState: boolean;
1174
1214
  emergencyStatusMessage: string;
1175
- typePriorityListed?: boolean | undefined;
1215
+ groupId?: string | undefined;
1176
1216
  emitterCategorySet?: number | undefined;
1177
1217
  emitterCategory?: number | undefined;
1178
1218
  }[];
@@ -1202,7 +1242,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1202
1242
  lat?: string | undefined;
1203
1243
  lon?: string | undefined;
1204
1244
  }>;
1205
- cgi: z.ZodEnum<[PlaneTrackerUserActions.TRACK_ICAO, PlaneTrackerUserActions.RESET_ICAO, PlaneTrackerUserActions.SET_PRIORITY_LIST, PlaneTrackerUserActions.SET_BLACK_LIST, PlaneTrackerUserActions.SET_WHITE_LIST, PlaneTrackerUserActions.GO_TO_COORDINATES, PlaneTrackerUserActions.SET_TRACKING_MODE, PlaneTrackerUserActions.SET_ZONES, PlaneTrackerUserActions.RESET_PTZ_CALIBRATION, PlaneTrackerUserActions.LOCK_API, PlaneTrackerUserActions.UNLOCK_API]>;
1245
+ cgi: z.ZodEnum<[EUserActions.TRACK_ICAO, EUserActions.RESET_ICAO, EUserActions.SET_PRIORITY_LIST, EUserActions.SET_BLACK_LIST, EUserActions.SET_WHITE_LIST, EUserActions.GO_TO_COORDINATES, EUserActions.SET_TRACKING_MODE, EUserActions.SET_ZONES, EUserActions.RESET_PTZ_CALIBRATION, EUserActions.LOCK_API, EUserActions.UNLOCK_API]>;
1206
1246
  postJsonBody: z.ZodAny;
1207
1247
  }, "strip", z.ZodTypeAny, {
1208
1248
  params: {
@@ -1215,7 +1255,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1215
1255
  };
1216
1256
  type: "USER_ACTION";
1217
1257
  ip: string;
1218
- cgi: PlaneTrackerUserActions;
1258
+ cgi: EUserActions;
1219
1259
  postJsonBody?: any;
1220
1260
  }, {
1221
1261
  params: {
@@ -1228,7 +1268,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1228
1268
  };
1229
1269
  type: "USER_ACTION";
1230
1270
  ip: string;
1231
- cgi: PlaneTrackerUserActions;
1271
+ cgi: EUserActions;
1232
1272
  postJsonBody?: any;
1233
1273
  }>, z.ZodObject<{
1234
1274
  type: z.ZodLiteral<"CONNECTED_USERS">;
@@ -1332,8 +1372,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1332
1372
  type: "FLIGHT_LIST";
1333
1373
  list: {
1334
1374
  icao: string;
1375
+ domain: "adsb" | "remoteId";
1335
1376
  lat: number;
1336
1377
  lon: number;
1378
+ targetId: string;
1379
+ categoryId: string;
1337
1380
  heading: number;
1338
1381
  groundSpeed: number;
1339
1382
  altitudeAMSL: number;
@@ -1342,13 +1385,13 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1342
1385
  whiteListed: boolean;
1343
1386
  blackListed: boolean;
1344
1387
  priorityListed: boolean;
1345
- typePriorityListed: boolean;
1346
1388
  autoSelectionIgnored: boolean;
1347
1389
  signalQuality: number;
1348
1390
  emitterCategorySet: number;
1349
1391
  emitterCategory: number;
1350
1392
  emergencyState: boolean;
1351
1393
  emergencyStatusMessage: string;
1394
+ groupId?: string | undefined;
1352
1395
  }[];
1353
1396
  } | {
1354
1397
  params: {
@@ -1361,7 +1404,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1361
1404
  };
1362
1405
  type: "USER_ACTION";
1363
1406
  ip: string;
1364
- cgi: PlaneTrackerUserActions;
1407
+ cgi: EUserActions;
1365
1408
  postJsonBody?: any;
1366
1409
  } | {
1367
1410
  type: "CONNECTED_USERS";
@@ -1403,8 +1446,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1403
1446
  type: "FLIGHT_LIST";
1404
1447
  list: {
1405
1448
  icao: string;
1449
+ domain: "adsb" | "remoteId";
1406
1450
  lat: number;
1407
1451
  lon: number;
1452
+ targetId: string;
1453
+ categoryId: string;
1408
1454
  heading: number;
1409
1455
  groundSpeed: number;
1410
1456
  altitudeAMSL: number;
@@ -1417,7 +1463,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1417
1463
  signalQuality: number;
1418
1464
  emergencyState: boolean;
1419
1465
  emergencyStatusMessage: string;
1420
- typePriorityListed?: boolean | undefined;
1466
+ groupId?: string | undefined;
1421
1467
  emitterCategorySet?: number | undefined;
1422
1468
  emitterCategory?: number | undefined;
1423
1469
  }[];
@@ -1432,7 +1478,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1432
1478
  };
1433
1479
  type: "USER_ACTION";
1434
1480
  ip: string;
1435
- cgi: PlaneTrackerUserActions;
1481
+ cgi: EUserActions;
1436
1482
  postJsonBody?: any;
1437
1483
  } | {
1438
1484
  type: "CONNECTED_USERS";
@@ -1458,6 +1504,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1458
1504
  };
1459
1505
  }>, z.ZodObject<{
1460
1506
  type: z.ZodLiteral<"CAMERA_POSITION">;
1507
+ } & {
1461
1508
  lat: z.ZodNumber;
1462
1509
  lon: z.ZodNumber;
1463
1510
  azimuth: z.ZodNumber;
@@ -1495,7 +1542,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1495
1542
  }>, z.ZodObject<{
1496
1543
  type: z.ZodLiteral<"FLIGHT_LIST">;
1497
1544
  list: z.ZodArray<z.ZodObject<{
1545
+ targetId: z.ZodString;
1498
1546
  icao: z.ZodString;
1547
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
1548
+ categoryId: z.ZodString;
1549
+ groupId: z.ZodOptional<z.ZodString>;
1499
1550
  lat: z.ZodNumber;
1500
1551
  lon: z.ZodNumber;
1501
1552
  heading: z.ZodNumber;
@@ -1506,7 +1557,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1506
1557
  whiteListed: z.ZodBoolean;
1507
1558
  blackListed: z.ZodBoolean;
1508
1559
  priorityListed: z.ZodBoolean;
1509
- typePriorityListed: z.ZodDefault<z.ZodBoolean>;
1510
1560
  autoSelectionIgnored: z.ZodBoolean;
1511
1561
  signalQuality: z.ZodNumber;
1512
1562
  emitterCategorySet: z.ZodDefault<z.ZodNumber>;
@@ -1515,8 +1565,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1515
1565
  emergencyStatusMessage: z.ZodString;
1516
1566
  }, "strip", z.ZodTypeAny, {
1517
1567
  icao: string;
1568
+ domain: "adsb" | "remoteId";
1518
1569
  lat: number;
1519
1570
  lon: number;
1571
+ targetId: string;
1572
+ categoryId: string;
1520
1573
  heading: number;
1521
1574
  groundSpeed: number;
1522
1575
  altitudeAMSL: number;
@@ -1525,17 +1578,20 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1525
1578
  whiteListed: boolean;
1526
1579
  blackListed: boolean;
1527
1580
  priorityListed: boolean;
1528
- typePriorityListed: boolean;
1529
1581
  autoSelectionIgnored: boolean;
1530
1582
  signalQuality: number;
1531
1583
  emitterCategorySet: number;
1532
1584
  emitterCategory: number;
1533
1585
  emergencyState: boolean;
1534
1586
  emergencyStatusMessage: string;
1587
+ groupId?: string | undefined;
1535
1588
  }, {
1536
1589
  icao: string;
1590
+ domain: "adsb" | "remoteId";
1537
1591
  lat: number;
1538
1592
  lon: number;
1593
+ targetId: string;
1594
+ categoryId: string;
1539
1595
  heading: number;
1540
1596
  groundSpeed: number;
1541
1597
  altitudeAMSL: number;
@@ -1548,7 +1604,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1548
1604
  signalQuality: number;
1549
1605
  emergencyState: boolean;
1550
1606
  emergencyStatusMessage: string;
1551
- typePriorityListed?: boolean | undefined;
1607
+ groupId?: string | undefined;
1552
1608
  emitterCategorySet?: number | undefined;
1553
1609
  emitterCategory?: number | undefined;
1554
1610
  }>, "many">;
@@ -1556,8 +1612,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1556
1612
  type: "FLIGHT_LIST";
1557
1613
  list: {
1558
1614
  icao: string;
1615
+ domain: "adsb" | "remoteId";
1559
1616
  lat: number;
1560
1617
  lon: number;
1618
+ targetId: string;
1619
+ categoryId: string;
1561
1620
  heading: number;
1562
1621
  groundSpeed: number;
1563
1622
  altitudeAMSL: number;
@@ -1566,20 +1625,23 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1566
1625
  whiteListed: boolean;
1567
1626
  blackListed: boolean;
1568
1627
  priorityListed: boolean;
1569
- typePriorityListed: boolean;
1570
1628
  autoSelectionIgnored: boolean;
1571
1629
  signalQuality: number;
1572
1630
  emitterCategorySet: number;
1573
1631
  emitterCategory: number;
1574
1632
  emergencyState: boolean;
1575
1633
  emergencyStatusMessage: string;
1634
+ groupId?: string | undefined;
1576
1635
  }[];
1577
1636
  }, {
1578
1637
  type: "FLIGHT_LIST";
1579
1638
  list: {
1580
1639
  icao: string;
1640
+ domain: "adsb" | "remoteId";
1581
1641
  lat: number;
1582
1642
  lon: number;
1643
+ targetId: string;
1644
+ categoryId: string;
1583
1645
  heading: number;
1584
1646
  groundSpeed: number;
1585
1647
  altitudeAMSL: number;
@@ -1592,7 +1654,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1592
1654
  signalQuality: number;
1593
1655
  emergencyState: boolean;
1594
1656
  emergencyStatusMessage: string;
1595
- typePriorityListed?: boolean | undefined;
1657
+ groupId?: string | undefined;
1596
1658
  emitterCategorySet?: number | undefined;
1597
1659
  emitterCategory?: number | undefined;
1598
1660
  }[];
@@ -1622,7 +1684,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1622
1684
  lat?: string | undefined;
1623
1685
  lon?: string | undefined;
1624
1686
  }>;
1625
- cgi: z.ZodEnum<[PlaneTrackerUserActions.TRACK_ICAO, PlaneTrackerUserActions.RESET_ICAO, PlaneTrackerUserActions.SET_PRIORITY_LIST, PlaneTrackerUserActions.SET_BLACK_LIST, PlaneTrackerUserActions.SET_WHITE_LIST, PlaneTrackerUserActions.GO_TO_COORDINATES, PlaneTrackerUserActions.SET_TRACKING_MODE, PlaneTrackerUserActions.SET_ZONES, PlaneTrackerUserActions.RESET_PTZ_CALIBRATION, PlaneTrackerUserActions.LOCK_API, PlaneTrackerUserActions.UNLOCK_API]>;
1687
+ cgi: z.ZodEnum<[EUserActions.TRACK_ICAO, EUserActions.RESET_ICAO, EUserActions.SET_PRIORITY_LIST, EUserActions.SET_BLACK_LIST, EUserActions.SET_WHITE_LIST, EUserActions.GO_TO_COORDINATES, EUserActions.SET_TRACKING_MODE, EUserActions.SET_ZONES, EUserActions.RESET_PTZ_CALIBRATION, EUserActions.LOCK_API, EUserActions.UNLOCK_API]>;
1626
1688
  postJsonBody: z.ZodAny;
1627
1689
  }, "strip", z.ZodTypeAny, {
1628
1690
  params: {
@@ -1635,7 +1697,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1635
1697
  };
1636
1698
  type: "USER_ACTION";
1637
1699
  ip: string;
1638
- cgi: PlaneTrackerUserActions;
1700
+ cgi: EUserActions;
1639
1701
  postJsonBody?: any;
1640
1702
  }, {
1641
1703
  params: {
@@ -1648,7 +1710,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1648
1710
  };
1649
1711
  type: "USER_ACTION";
1650
1712
  ip: string;
1651
- cgi: PlaneTrackerUserActions;
1713
+ cgi: EUserActions;
1652
1714
  postJsonBody?: any;
1653
1715
  }>, z.ZodObject<{
1654
1716
  type: z.ZodLiteral<"CONNECTED_USERS">;
@@ -1734,16 +1796,12 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1734
1796
  userPriority: number;
1735
1797
  } | undefined;
1736
1798
  }>]>;
1737
- export type TPlaneTrackerEvent = z.infer<typeof ptrEventsDataSchema>;
1738
- export type TPlaneTrackerEventType = TPlaneTrackerEvent['type'];
1739
- export type TPlaneTrackerEventOfType<T extends TPlaneTrackerEventType> = Extract<TPlaneTrackerEvent, {
1740
- type: T;
1741
- }>;
1742
- export type TPlaneTrackerApiFlightData = z.infer<typeof apiFlightDataSchema>;
1743
- export type TPlaneTrackerApiUser = z.infer<typeof apiUserSchema>;
1744
- export type TPlaneTrackerStringApiUser = z.infer<typeof apiStringUserSchema>;
1745
- export type TPlaneTrackerUserActionData = z.infer<typeof planeTrackerUserActionData>;
1746
- export type TPlaneTrackerUserActionDataOfCgi<T extends PlaneTrackerUserActions> = Extract<TPlaneTrackerUserActionData, {
1799
+ export type TEventData = z.infer<typeof eventsDataSchema>;
1800
+ export type TWsApiFlightData = z.infer<typeof wsApiFlightDataSchema>;
1801
+ export type TWsApiCameraData = z.infer<typeof wsCameraPositionDataSchema>;
1802
+ export type TApiUser = z.infer<typeof apiUserSchema>;
1803
+ export type TUserActionData = z.infer<typeof wsUserActionData>;
1804
+ export type TUserActionDataOfCgi<T extends EUserActions> = Extract<TUserActionData, {
1747
1805
  cgi: T;
1748
1806
  }>;
1749
1807
  export {};