camstreamerlib 4.0.0-beta.53 → 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.
@@ -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({ nightSkyCalibrationEnabled: false, scheduleNightSkyCalibrationTimestamp: 0 }),
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({ nightSkyCalibrationEnabled: false, scheduleNightSkyCalibrationTimestamp: 0 }),
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camstreamerlib",
3
- "version": "4.0.0-beta.53",
3
+ "version": "4.0.0-beta.54",
4
4
  "description": "Helper library for CamStreamer ACAP applications.",
5
5
  "prettier": "@camstreamer/prettier-config",
6
6
  "engine": {
@@ -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;
@@ -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;