camstreamerlib 4.0.0-beta.52 → 4.0.0-beta.54
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/types/CamOverlayAPI/ptzCompassSchema.js +1 -0
- package/cjs/types/PlaneTrackerAPI.js +8 -2
- package/esm/types/CamOverlayAPI/ptzCompassSchema.js +1 -0
- package/esm/types/PlaneTrackerAPI.js +8 -2
- package/package.json +1 -1
- package/types/CamOverlayAPI.d.ts +2 -0
- package/types/PlaneTrackerAPI.d.ts +2 -0
- package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +9 -0
- package/types/types/CamOverlayAPI/ptzCompassSchema.d.ts +3 -0
- package/types/types/PlaneTrackerAPI.d.ts +10 -0
|
@@ -22,4 +22,5 @@ exports.ptzCompassSchema = serviceCommonTypes_1.serviceCommonSchema.extend({
|
|
|
22
22
|
generalIframeWidth: zod_1.z.number().optional(),
|
|
23
23
|
generalIframeHeight: zod_1.z.number().optional(),
|
|
24
24
|
generalAddress: zod_1.z.string().optional(),
|
|
25
|
+
showDegrees: zod_1.z.boolean().default(false),
|
|
25
26
|
});
|
|
@@ -59,8 +59,13 @@ exports.cameraSettingsSchema = zod_1.z.object({
|
|
|
59
59
|
.object({
|
|
60
60
|
nightSkyCalibrationEnabled: zod_1.z.boolean(),
|
|
61
61
|
scheduleNightSkyCalibrationTimestamp: zod_1.z.number(),
|
|
62
|
+
focusCalibrationPoints: zod_1.z.string().default(''),
|
|
62
63
|
})
|
|
63
|
-
.default({
|
|
64
|
+
.default({
|
|
65
|
+
nightSkyCalibrationEnabled: false,
|
|
66
|
+
scheduleNightSkyCalibrationTimestamp: 0,
|
|
67
|
+
focusCalibrationPoints: '',
|
|
68
|
+
}),
|
|
64
69
|
cameraConfig: zod_1.z
|
|
65
70
|
.object({
|
|
66
71
|
maxZoomLevel: zod_1.z.number().optional(),
|
|
@@ -82,8 +87,9 @@ exports.cameraSettingsSchema = zod_1.z.object({
|
|
|
82
87
|
.object({
|
|
83
88
|
dayAperture: zod_1.z.number().nonnegative().min(0).max(100),
|
|
84
89
|
nightAperture: zod_1.z.number().nonnegative().min(0).max(100),
|
|
90
|
+
maxGain: zod_1.z.number().nonnegative().min(0).max(100).default(100),
|
|
85
91
|
})
|
|
86
|
-
.default({ dayAperture: 50, nightAperture: 0 }),
|
|
92
|
+
.default({ dayAperture: 50, nightAperture: 0, maxGain: 100 }),
|
|
87
93
|
airportConfig: zod_1.z
|
|
88
94
|
.object({
|
|
89
95
|
icao: zod_1.z.string().default(''),
|
|
@@ -56,8 +56,13 @@ export const cameraSettingsSchema = z.object({
|
|
|
56
56
|
.object({
|
|
57
57
|
nightSkyCalibrationEnabled: z.boolean(),
|
|
58
58
|
scheduleNightSkyCalibrationTimestamp: z.number(),
|
|
59
|
+
focusCalibrationPoints: z.string().default(''),
|
|
59
60
|
})
|
|
60
|
-
.default({
|
|
61
|
+
.default({
|
|
62
|
+
nightSkyCalibrationEnabled: false,
|
|
63
|
+
scheduleNightSkyCalibrationTimestamp: 0,
|
|
64
|
+
focusCalibrationPoints: '',
|
|
65
|
+
}),
|
|
61
66
|
cameraConfig: z
|
|
62
67
|
.object({
|
|
63
68
|
maxZoomLevel: z.number().optional(),
|
|
@@ -79,8 +84,9 @@ export const cameraSettingsSchema = z.object({
|
|
|
79
84
|
.object({
|
|
80
85
|
dayAperture: z.number().nonnegative().min(0).max(100),
|
|
81
86
|
nightAperture: z.number().nonnegative().min(0).max(100),
|
|
87
|
+
maxGain: z.number().nonnegative().min(0).max(100).default(100),
|
|
82
88
|
})
|
|
83
|
-
.default({ dayAperture: 50, nightAperture: 0 }),
|
|
89
|
+
.default({ dayAperture: 50, nightAperture: 0, maxGain: 100 }),
|
|
84
90
|
airportConfig: z
|
|
85
91
|
.object({
|
|
86
92
|
icao: z.string().default(''),
|
package/package.json
CHANGED
package/types/CamOverlayAPI.d.ts
CHANGED
|
@@ -108,6 +108,7 @@ export declare class CamOverlayAPI<Client extends IClient<TResponse, any>> {
|
|
|
108
108
|
cameraPosX: number;
|
|
109
109
|
cameraPosY: number;
|
|
110
110
|
colorScheme: "black" | "white" | "orange";
|
|
111
|
+
showDegrees: boolean;
|
|
111
112
|
camera?: number | undefined;
|
|
112
113
|
schedule?: string | undefined;
|
|
113
114
|
invertInput?: boolean | undefined;
|
|
@@ -517,6 +518,7 @@ export declare class CamOverlayAPI<Client extends IClient<TResponse, any>> {
|
|
|
517
518
|
cameraPosX: number;
|
|
518
519
|
cameraPosY: number;
|
|
519
520
|
colorScheme: "black" | "white" | "orange";
|
|
521
|
+
showDegrees: boolean;
|
|
520
522
|
camera?: number | undefined;
|
|
521
523
|
schedule?: string | undefined;
|
|
522
524
|
invertInput?: boolean | undefined;
|
|
@@ -34,6 +34,7 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> {
|
|
|
34
34
|
cameraCalibrationProcessConfig: {
|
|
35
35
|
nightSkyCalibrationEnabled: boolean;
|
|
36
36
|
scheduleNightSkyCalibrationTimestamp: number;
|
|
37
|
+
focusCalibrationPoints: string;
|
|
37
38
|
};
|
|
38
39
|
cameraConfig: {
|
|
39
40
|
defaultCaptureSizeMeters: number;
|
|
@@ -47,6 +48,7 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> {
|
|
|
47
48
|
imageConfig: {
|
|
48
49
|
dayAperture: number;
|
|
49
50
|
nightAperture: number;
|
|
51
|
+
maxGain: number;
|
|
50
52
|
};
|
|
51
53
|
airportConfig: {
|
|
52
54
|
icao: string;
|
|
@@ -228,6 +228,7 @@ export declare const servicesSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObjec
|
|
|
228
228
|
generalIframeWidth: z.ZodOptional<z.ZodNumber>;
|
|
229
229
|
generalIframeHeight: z.ZodOptional<z.ZodNumber>;
|
|
230
230
|
generalAddress: z.ZodOptional<z.ZodString>;
|
|
231
|
+
showDegrees: z.ZodDefault<z.ZodBoolean>;
|
|
231
232
|
}, "strip", z.ZodTypeAny, {
|
|
232
233
|
type: "map" | "compass" | "image";
|
|
233
234
|
name: "ptzCompass";
|
|
@@ -247,6 +248,7 @@ export declare const servicesSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObjec
|
|
|
247
248
|
cameraPosX: number;
|
|
248
249
|
cameraPosY: number;
|
|
249
250
|
colorScheme: "black" | "white" | "orange";
|
|
251
|
+
showDegrees: boolean;
|
|
250
252
|
camera?: number | undefined;
|
|
251
253
|
schedule?: string | undefined;
|
|
252
254
|
invertInput?: boolean | undefined;
|
|
@@ -288,6 +290,7 @@ export declare const servicesSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObjec
|
|
|
288
290
|
generalIframeWidth?: number | undefined;
|
|
289
291
|
generalIframeHeight?: number | undefined;
|
|
290
292
|
generalAddress?: string | undefined;
|
|
293
|
+
showDegrees?: boolean | undefined;
|
|
291
294
|
}>, z.ZodObject<{
|
|
292
295
|
id: z.ZodNumber;
|
|
293
296
|
enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
@@ -1698,6 +1701,7 @@ export declare const serviceListSchema: z.ZodObject<{
|
|
|
1698
1701
|
generalIframeWidth: z.ZodOptional<z.ZodNumber>;
|
|
1699
1702
|
generalIframeHeight: z.ZodOptional<z.ZodNumber>;
|
|
1700
1703
|
generalAddress: z.ZodOptional<z.ZodString>;
|
|
1704
|
+
showDegrees: z.ZodDefault<z.ZodBoolean>;
|
|
1701
1705
|
}, "strip", z.ZodTypeAny, {
|
|
1702
1706
|
type: "map" | "compass" | "image";
|
|
1703
1707
|
name: "ptzCompass";
|
|
@@ -1717,6 +1721,7 @@ export declare const serviceListSchema: z.ZodObject<{
|
|
|
1717
1721
|
cameraPosX: number;
|
|
1718
1722
|
cameraPosY: number;
|
|
1719
1723
|
colorScheme: "black" | "white" | "orange";
|
|
1724
|
+
showDegrees: boolean;
|
|
1720
1725
|
camera?: number | undefined;
|
|
1721
1726
|
schedule?: string | undefined;
|
|
1722
1727
|
invertInput?: boolean | undefined;
|
|
@@ -1758,6 +1763,7 @@ export declare const serviceListSchema: z.ZodObject<{
|
|
|
1758
1763
|
generalIframeWidth?: number | undefined;
|
|
1759
1764
|
generalIframeHeight?: number | undefined;
|
|
1760
1765
|
generalAddress?: string | undefined;
|
|
1766
|
+
showDegrees?: boolean | undefined;
|
|
1761
1767
|
}>, z.ZodObject<{
|
|
1762
1768
|
id: z.ZodNumber;
|
|
1763
1769
|
enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
@@ -3037,6 +3043,7 @@ export declare const serviceListSchema: z.ZodObject<{
|
|
|
3037
3043
|
cameraPosX: number;
|
|
3038
3044
|
cameraPosY: number;
|
|
3039
3045
|
colorScheme: "black" | "white" | "orange";
|
|
3046
|
+
showDegrees: boolean;
|
|
3040
3047
|
camera?: number | undefined;
|
|
3041
3048
|
schedule?: string | undefined;
|
|
3042
3049
|
invertInput?: boolean | undefined;
|
|
@@ -3458,6 +3465,7 @@ export declare const serviceListSchema: z.ZodObject<{
|
|
|
3458
3465
|
generalIframeWidth?: number | undefined;
|
|
3459
3466
|
generalIframeHeight?: number | undefined;
|
|
3460
3467
|
generalAddress?: string | undefined;
|
|
3468
|
+
showDegrees?: boolean | undefined;
|
|
3461
3469
|
} | {
|
|
3462
3470
|
name: "images";
|
|
3463
3471
|
enabled: 0 | 1;
|
|
@@ -4011,6 +4019,7 @@ export declare const isPtzCompass: (service: TService) => service is {
|
|
|
4011
4019
|
cameraPosX: number;
|
|
4012
4020
|
cameraPosY: number;
|
|
4013
4021
|
colorScheme: "black" | "white" | "orange";
|
|
4022
|
+
showDegrees: boolean;
|
|
4014
4023
|
camera?: number | undefined;
|
|
4015
4024
|
schedule?: string | undefined;
|
|
4016
4025
|
invertInput?: boolean | undefined;
|
|
@@ -30,6 +30,7 @@ export declare const ptzCompassSchema: z.ZodObject<{
|
|
|
30
30
|
generalIframeWidth: z.ZodOptional<z.ZodNumber>;
|
|
31
31
|
generalIframeHeight: z.ZodOptional<z.ZodNumber>;
|
|
32
32
|
generalAddress: z.ZodOptional<z.ZodString>;
|
|
33
|
+
showDegrees: z.ZodDefault<z.ZodBoolean>;
|
|
33
34
|
}, "strip", z.ZodTypeAny, {
|
|
34
35
|
type: "map" | "compass" | "image";
|
|
35
36
|
name: "ptzCompass";
|
|
@@ -49,6 +50,7 @@ export declare const ptzCompassSchema: z.ZodObject<{
|
|
|
49
50
|
cameraPosX: number;
|
|
50
51
|
cameraPosY: number;
|
|
51
52
|
colorScheme: "black" | "white" | "orange";
|
|
53
|
+
showDegrees: boolean;
|
|
52
54
|
camera?: number | undefined;
|
|
53
55
|
schedule?: string | undefined;
|
|
54
56
|
invertInput?: boolean | undefined;
|
|
@@ -90,4 +92,5 @@ export declare const ptzCompassSchema: z.ZodObject<{
|
|
|
90
92
|
generalIframeWidth?: number | undefined;
|
|
91
93
|
generalIframeHeight?: number | undefined;
|
|
92
94
|
generalAddress?: string | undefined;
|
|
95
|
+
showDegrees?: boolean | undefined;
|
|
93
96
|
}>;
|
|
@@ -93,12 +93,15 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
93
93
|
cameraCalibrationProcessConfig: z.ZodDefault<z.ZodObject<{
|
|
94
94
|
nightSkyCalibrationEnabled: z.ZodBoolean;
|
|
95
95
|
scheduleNightSkyCalibrationTimestamp: z.ZodNumber;
|
|
96
|
+
focusCalibrationPoints: z.ZodDefault<z.ZodString>;
|
|
96
97
|
}, "strip", z.ZodTypeAny, {
|
|
97
98
|
nightSkyCalibrationEnabled: boolean;
|
|
98
99
|
scheduleNightSkyCalibrationTimestamp: number;
|
|
100
|
+
focusCalibrationPoints: string;
|
|
99
101
|
}, {
|
|
100
102
|
nightSkyCalibrationEnabled: boolean;
|
|
101
103
|
scheduleNightSkyCalibrationTimestamp: number;
|
|
104
|
+
focusCalibrationPoints?: string | undefined;
|
|
102
105
|
}>>;
|
|
103
106
|
cameraConfig: z.ZodDefault<z.ZodObject<{
|
|
104
107
|
maxZoomLevel: z.ZodOptional<z.ZodNumber>;
|
|
@@ -126,12 +129,15 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
126
129
|
imageConfig: z.ZodDefault<z.ZodObject<{
|
|
127
130
|
dayAperture: z.ZodNumber;
|
|
128
131
|
nightAperture: z.ZodNumber;
|
|
132
|
+
maxGain: z.ZodDefault<z.ZodNumber>;
|
|
129
133
|
}, "strip", z.ZodTypeAny, {
|
|
130
134
|
dayAperture: number;
|
|
131
135
|
nightAperture: number;
|
|
136
|
+
maxGain: number;
|
|
132
137
|
}, {
|
|
133
138
|
dayAperture: number;
|
|
134
139
|
nightAperture: number;
|
|
140
|
+
maxGain?: number | undefined;
|
|
135
141
|
}>>;
|
|
136
142
|
airportConfig: z.ZodDefault<z.ZodObject<{
|
|
137
143
|
icao: z.ZodDefault<z.ZodString>;
|
|
@@ -386,6 +392,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
386
392
|
cameraCalibrationProcessConfig: {
|
|
387
393
|
nightSkyCalibrationEnabled: boolean;
|
|
388
394
|
scheduleNightSkyCalibrationTimestamp: number;
|
|
395
|
+
focusCalibrationPoints: string;
|
|
389
396
|
};
|
|
390
397
|
cameraConfig: {
|
|
391
398
|
defaultCaptureSizeMeters: number;
|
|
@@ -399,6 +406,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
399
406
|
imageConfig: {
|
|
400
407
|
dayAperture: number;
|
|
401
408
|
nightAperture: number;
|
|
409
|
+
maxGain: number;
|
|
402
410
|
};
|
|
403
411
|
airportConfig: {
|
|
404
412
|
icao: string;
|
|
@@ -501,6 +509,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
501
509
|
cameraCalibrationProcessConfig?: {
|
|
502
510
|
nightSkyCalibrationEnabled: boolean;
|
|
503
511
|
scheduleNightSkyCalibrationTimestamp: number;
|
|
512
|
+
focusCalibrationPoints?: string | undefined;
|
|
504
513
|
} | undefined;
|
|
505
514
|
cameraConfig?: {
|
|
506
515
|
maxZoomLevel?: number | undefined;
|
|
@@ -514,6 +523,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
|
|
|
514
523
|
imageConfig?: {
|
|
515
524
|
dayAperture: number;
|
|
516
525
|
nightAperture: number;
|
|
526
|
+
maxGain?: number | undefined;
|
|
517
527
|
} | undefined;
|
|
518
528
|
airportConfig?: {
|
|
519
529
|
centerLat: number;
|