camstreamerlib 4.0.7 → 4.0.9
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 +12 -1
- package/cjs/PlaneTrackerAPI.js +23 -3
- package/cjs/VapixAPI.d.ts +11 -0
- package/cjs/VapixAPI.js +6 -1
- package/cjs/internal/convertors.js +4 -4
- package/cjs/types/PlaneTrackerAPI.d.ts +84 -9
- package/cjs/types/PlaneTrackerAPI.js +14 -1
- package/cjs/types/VapixAPI.d.ts +48 -0
- package/cjs/types/VapixAPI.js +14 -7
- package/cjs/types/ws/PlaneTrackerEvents.d.ts +2205 -589
- package/cjs/types/ws/PlaneTrackerEvents.js +48 -77
- package/cjs/ws/PlaneTrackerEvents.js +1 -9
- package/esm/PlaneTrackerAPI.js +24 -4
- package/esm/VapixAPI.js +7 -2
- package/esm/internal/convertors.js +4 -4
- package/esm/types/PlaneTrackerAPI.js +13 -0
- package/esm/types/VapixAPI.js +13 -6
- package/esm/types/ws/PlaneTrackerEvents.js +47 -76
- package/esm/ws/PlaneTrackerEvents.js +2 -10
- package/package.json +1 -1
- package/types/PlaneTrackerAPI.d.ts +12 -1
- package/types/VapixAPI.d.ts +11 -0
- package/types/types/PlaneTrackerAPI.d.ts +84 -9
- package/types/types/VapixAPI.d.ts +48 -0
- package/types/types/ws/PlaneTrackerEvents.d.ts +2205 -589
|
@@ -701,10 +701,13 @@ export type TServerSettings = z.infer<typeof serverSettingsSchema>;
|
|
|
701
701
|
export type ICAO = string;
|
|
702
702
|
export declare const getIcaoSchema: z.ZodObject<{
|
|
703
703
|
icao: z.ZodString;
|
|
704
|
+
targetId: z.ZodString;
|
|
704
705
|
}, "strip", z.ZodTypeAny, {
|
|
705
706
|
icao: string;
|
|
707
|
+
targetId: string;
|
|
706
708
|
}, {
|
|
707
709
|
icao: string;
|
|
710
|
+
targetId: string;
|
|
708
711
|
}>;
|
|
709
712
|
export type TGetIcaoByOption = 'registration' | 'callsign';
|
|
710
713
|
export declare const trackingModeSchema: z.ZodObject<{
|
|
@@ -1037,18 +1040,90 @@ export declare const zonesSchema: z.ZodObject<{
|
|
|
1037
1040
|
export type TZones = z.infer<typeof zonesSchema>;
|
|
1038
1041
|
export declare const domainIdSchema: z.ZodEnum<["adsb", "remoteId"]>;
|
|
1039
1042
|
export type TDomainId = z.infer<typeof domainIdSchema>;
|
|
1040
|
-
|
|
1041
|
-
export type
|
|
1043
|
+
declare const categoryIconSchema: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1044
|
+
export type TCategoryIcon = z.infer<typeof categoryIconSchema>;
|
|
1045
|
+
declare const categoryDescriptorSchema: z.ZodObject<{
|
|
1046
|
+
categoryId: z.ZodString;
|
|
1047
|
+
uiName: z.ZodString;
|
|
1048
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1049
|
+
}, "strip", z.ZodTypeAny, {
|
|
1042
1050
|
categoryId: string;
|
|
1043
1051
|
uiName: string;
|
|
1044
|
-
icon:
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1052
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1053
|
+
}, {
|
|
1054
|
+
categoryId: string;
|
|
1047
1055
|
uiName: string;
|
|
1048
|
-
icon:
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1056
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1057
|
+
}>;
|
|
1058
|
+
export type TCategoryDescriptor = z.infer<typeof categoryDescriptorSchema>;
|
|
1059
|
+
declare const domainDescriptorSchema: z.ZodObject<{
|
|
1060
|
+
uiName: z.ZodString;
|
|
1061
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1062
|
+
categoryList: z.ZodArray<z.ZodObject<{
|
|
1063
|
+
categoryId: z.ZodString;
|
|
1064
|
+
uiName: z.ZodString;
|
|
1065
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1066
|
+
}, "strip", z.ZodTypeAny, {
|
|
1067
|
+
categoryId: string;
|
|
1068
|
+
uiName: string;
|
|
1069
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1070
|
+
}, {
|
|
1071
|
+
categoryId: string;
|
|
1072
|
+
uiName: string;
|
|
1073
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1074
|
+
}>, "many">;
|
|
1075
|
+
}, "strip", z.ZodTypeAny, {
|
|
1076
|
+
uiName: string;
|
|
1077
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1078
|
+
categoryList: {
|
|
1079
|
+
categoryId: string;
|
|
1080
|
+
uiName: string;
|
|
1081
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1082
|
+
}[];
|
|
1083
|
+
}, {
|
|
1084
|
+
uiName: string;
|
|
1085
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1086
|
+
categoryList: {
|
|
1087
|
+
categoryId: string;
|
|
1088
|
+
uiName: string;
|
|
1089
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1090
|
+
}[];
|
|
1091
|
+
}>;
|
|
1092
|
+
export type TDomainDescriptor = z.infer<typeof domainDescriptorSchema>;
|
|
1093
|
+
export declare const domainListSchema: z.ZodRecord<z.ZodEnum<["adsb", "remoteId"]>, z.ZodObject<{
|
|
1094
|
+
uiName: z.ZodString;
|
|
1095
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1096
|
+
categoryList: z.ZodArray<z.ZodObject<{
|
|
1097
|
+
categoryId: z.ZodString;
|
|
1098
|
+
uiName: z.ZodString;
|
|
1099
|
+
icon: z.ZodEnum<["small", "large", "heavy", "helicopter", "drone", "operator", "unknown"]>;
|
|
1100
|
+
}, "strip", z.ZodTypeAny, {
|
|
1101
|
+
categoryId: string;
|
|
1102
|
+
uiName: string;
|
|
1103
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1104
|
+
}, {
|
|
1105
|
+
categoryId: string;
|
|
1106
|
+
uiName: string;
|
|
1107
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1108
|
+
}>, "many">;
|
|
1109
|
+
}, "strip", z.ZodTypeAny, {
|
|
1110
|
+
uiName: string;
|
|
1111
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1112
|
+
categoryList: {
|
|
1113
|
+
categoryId: string;
|
|
1114
|
+
uiName: string;
|
|
1115
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1116
|
+
}[];
|
|
1117
|
+
}, {
|
|
1118
|
+
uiName: string;
|
|
1119
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1120
|
+
categoryList: {
|
|
1121
|
+
categoryId: string;
|
|
1122
|
+
uiName: string;
|
|
1123
|
+
icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator";
|
|
1124
|
+
}[];
|
|
1125
|
+
}>>;
|
|
1126
|
+
export type TDomainList = z.infer<typeof domainListSchema>;
|
|
1052
1127
|
export declare const ADSB_CATEGORY_IDS: {
|
|
1053
1128
|
readonly A_LIGHT: "A_LIGHT";
|
|
1054
1129
|
readonly A_SMALL: "A_SMALL";
|
|
@@ -1576,6 +1576,54 @@ export declare const dateTimeinfoSchema: z.ZodObject<{
|
|
|
1576
1576
|
timeZone?: string | undefined;
|
|
1577
1577
|
};
|
|
1578
1578
|
}>;
|
|
1579
|
+
export declare const allDateTimeInfoSchema: z.ZodObject<{
|
|
1580
|
+
data: z.ZodObject<{
|
|
1581
|
+
dateTime: z.ZodString;
|
|
1582
|
+
dstEnabled: z.ZodBoolean;
|
|
1583
|
+
localDateTime: z.ZodString;
|
|
1584
|
+
posixTimeZone: z.ZodString;
|
|
1585
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
1586
|
+
} & {
|
|
1587
|
+
maxYearSupported: z.ZodNumber;
|
|
1588
|
+
timeZones: z.ZodArray<z.ZodString, "many">;
|
|
1589
|
+
}, "strip", z.ZodTypeAny, {
|
|
1590
|
+
dateTime: string;
|
|
1591
|
+
dstEnabled: boolean;
|
|
1592
|
+
localDateTime: string;
|
|
1593
|
+
posixTimeZone: string;
|
|
1594
|
+
maxYearSupported: number;
|
|
1595
|
+
timeZones: string[];
|
|
1596
|
+
timeZone?: string | undefined;
|
|
1597
|
+
}, {
|
|
1598
|
+
dateTime: string;
|
|
1599
|
+
dstEnabled: boolean;
|
|
1600
|
+
localDateTime: string;
|
|
1601
|
+
posixTimeZone: string;
|
|
1602
|
+
maxYearSupported: number;
|
|
1603
|
+
timeZones: string[];
|
|
1604
|
+
timeZone?: string | undefined;
|
|
1605
|
+
}>;
|
|
1606
|
+
}, "strip", z.ZodTypeAny, {
|
|
1607
|
+
data: {
|
|
1608
|
+
dateTime: string;
|
|
1609
|
+
dstEnabled: boolean;
|
|
1610
|
+
localDateTime: string;
|
|
1611
|
+
posixTimeZone: string;
|
|
1612
|
+
maxYearSupported: number;
|
|
1613
|
+
timeZones: string[];
|
|
1614
|
+
timeZone?: string | undefined;
|
|
1615
|
+
};
|
|
1616
|
+
}, {
|
|
1617
|
+
data: {
|
|
1618
|
+
dateTime: string;
|
|
1619
|
+
dstEnabled: boolean;
|
|
1620
|
+
localDateTime: string;
|
|
1621
|
+
posixTimeZone: string;
|
|
1622
|
+
maxYearSupported: number;
|
|
1623
|
+
timeZones: string[];
|
|
1624
|
+
timeZone?: string | undefined;
|
|
1625
|
+
};
|
|
1626
|
+
}>;
|
|
1579
1627
|
export declare const timeZoneSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
1580
1628
|
status: z.ZodLiteral<"success">;
|
|
1581
1629
|
data: z.ZodObject<{
|