camstreamerlib 4.0.0-beta.156 → 4.0.0-beta.157
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
CHANGED
|
@@ -60,6 +60,7 @@ export declare const widgetSchema: z.ZodObject<{
|
|
|
60
60
|
declare const labelOptionsSchema: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
61
61
|
export type TLabelOption = z.infer<typeof labelOptionsSchema>;
|
|
62
62
|
export declare const cameraSettingsSchema: z.ZodObject<{
|
|
63
|
+
trackingDomain: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"adsb">, z.ZodLiteral<"dronetag">]>>;
|
|
63
64
|
units: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"metric">, z.ZodLiteral<"imperial">]>>;
|
|
64
65
|
adsbSource: z.ZodDefault<z.ZodObject<{
|
|
65
66
|
ip: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
|
@@ -410,6 +411,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
410
411
|
protocol: "https" | "http" | "https_insecure";
|
|
411
412
|
};
|
|
412
413
|
units: "metric" | "imperial";
|
|
414
|
+
trackingDomain: "adsb" | "dronetag";
|
|
413
415
|
adsbSource: {
|
|
414
416
|
ip: string;
|
|
415
417
|
port: number;
|
|
@@ -536,6 +538,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
536
538
|
protocol: "https" | "http" | "https_insecure";
|
|
537
539
|
} | undefined;
|
|
538
540
|
units?: "metric" | "imperial" | undefined;
|
|
541
|
+
trackingDomain?: "adsb" | "dronetag" | undefined;
|
|
539
542
|
adsbSource?: {
|
|
540
543
|
ip: string;
|
|
541
544
|
port: number;
|
|
@@ -41,6 +41,7 @@ const identificationLabelSchema = zod_1.z.object({
|
|
|
41
41
|
opacity: zod_1.z.number().positive(),
|
|
42
42
|
});
|
|
43
43
|
exports.cameraSettingsSchema = zod_1.z.object({
|
|
44
|
+
trackingDomain: zod_1.z.union([zod_1.z.literal('adsb'), zod_1.z.literal('dronetag')]).default('adsb'),
|
|
44
45
|
units: zod_1.z.union([zod_1.z.literal('metric'), zod_1.z.literal('imperial')]).default('imperial'),
|
|
45
46
|
adsbSource: zod_1.z
|
|
46
47
|
.object({
|
|
@@ -38,6 +38,7 @@ const identificationLabelSchema = z.object({
|
|
|
38
38
|
opacity: z.number().positive(),
|
|
39
39
|
});
|
|
40
40
|
export const cameraSettingsSchema = z.object({
|
|
41
|
+
trackingDomain: z.union([z.literal('adsb'), z.literal('dronetag')]).default('adsb'),
|
|
41
42
|
units: z.union([z.literal('metric'), z.literal('imperial')]).default('imperial'),
|
|
42
43
|
adsbSource: z
|
|
43
44
|
.object({
|
package/package.json
CHANGED
|
@@ -60,6 +60,7 @@ export declare const widgetSchema: z.ZodObject<{
|
|
|
60
60
|
declare const labelOptionsSchema: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
|
|
61
61
|
export type TLabelOption = z.infer<typeof labelOptionsSchema>;
|
|
62
62
|
export declare const cameraSettingsSchema: z.ZodObject<{
|
|
63
|
+
trackingDomain: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"adsb">, z.ZodLiteral<"dronetag">]>>;
|
|
63
64
|
units: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"metric">, z.ZodLiteral<"imperial">]>>;
|
|
64
65
|
adsbSource: z.ZodDefault<z.ZodObject<{
|
|
65
66
|
ip: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
|
@@ -410,6 +411,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
410
411
|
protocol: "https" | "http" | "https_insecure";
|
|
411
412
|
};
|
|
412
413
|
units: "metric" | "imperial";
|
|
414
|
+
trackingDomain: "adsb" | "dronetag";
|
|
413
415
|
adsbSource: {
|
|
414
416
|
ip: string;
|
|
415
417
|
port: number;
|
|
@@ -536,6 +538,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
536
538
|
protocol: "https" | "http" | "https_insecure";
|
|
537
539
|
} | undefined;
|
|
538
540
|
units?: "metric" | "imperial" | undefined;
|
|
541
|
+
trackingDomain?: "adsb" | "dronetag" | undefined;
|
|
539
542
|
adsbSource?: {
|
|
540
543
|
ip: string;
|
|
541
544
|
port: number;
|