camstreamerlib 4.0.0-beta.153 → 4.0.0-beta.154
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<"">]>;
|
|
@@ -404,6 +405,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
404
405
|
protocol: "https" | "http" | "https_insecure";
|
|
405
406
|
};
|
|
406
407
|
units: "metric" | "imperial";
|
|
408
|
+
trackingDomain: "adsb" | "dronetag";
|
|
407
409
|
adsbSource: {
|
|
408
410
|
ip: string;
|
|
409
411
|
port: number;
|
|
@@ -528,6 +530,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
528
530
|
protocol: "https" | "http" | "https_insecure";
|
|
529
531
|
} | undefined;
|
|
530
532
|
units?: "metric" | "imperial" | undefined;
|
|
533
|
+
trackingDomain?: "adsb" | "dronetag" | undefined;
|
|
531
534
|
adsbSource?: {
|
|
532
535
|
ip: string;
|
|
533
536
|
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<"">]>;
|
|
@@ -404,6 +405,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
404
405
|
protocol: "https" | "http" | "https_insecure";
|
|
405
406
|
};
|
|
406
407
|
units: "metric" | "imperial";
|
|
408
|
+
trackingDomain: "adsb" | "dronetag";
|
|
407
409
|
adsbSource: {
|
|
408
410
|
ip: string;
|
|
409
411
|
port: number;
|
|
@@ -528,6 +530,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
528
530
|
protocol: "https" | "http" | "https_insecure";
|
|
529
531
|
} | undefined;
|
|
530
532
|
units?: "metric" | "imperial" | undefined;
|
|
533
|
+
trackingDomain?: "adsb" | "dronetag" | undefined;
|
|
531
534
|
adsbSource?: {
|
|
532
535
|
ip: string;
|
|
533
536
|
port: number;
|