camstreamerlib 4.0.19 → 4.0.21

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.
@@ -38,6 +38,7 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
38
38
  cameraCalibrationProcessConfig: {
39
39
  nightSkyCalibrationEnabled: boolean;
40
40
  scheduleNightSkyCalibrationTimestamp: number;
41
+ nightSkyCalibrationFocusValue: number;
41
42
  focusCalibrationPoints: string;
42
43
  };
43
44
  cameraConfig: {
@@ -113,14 +113,17 @@ export declare const cameraSettingsSchema: z.ZodObject<{
113
113
  cameraCalibrationProcessConfig: z.ZodDefault<z.ZodObject<{
114
114
  nightSkyCalibrationEnabled: z.ZodBoolean;
115
115
  scheduleNightSkyCalibrationTimestamp: z.ZodNumber;
116
+ nightSkyCalibrationFocusValue: z.ZodDefault<z.ZodNumber>;
116
117
  focusCalibrationPoints: z.ZodDefault<z.ZodString>;
117
118
  }, "strip", z.ZodTypeAny, {
118
119
  nightSkyCalibrationEnabled: boolean;
119
120
  scheduleNightSkyCalibrationTimestamp: number;
121
+ nightSkyCalibrationFocusValue: number;
120
122
  focusCalibrationPoints: string;
121
123
  }, {
122
124
  nightSkyCalibrationEnabled: boolean;
123
125
  scheduleNightSkyCalibrationTimestamp: number;
126
+ nightSkyCalibrationFocusValue?: number | undefined;
124
127
  focusCalibrationPoints?: string | undefined;
125
128
  }>>;
126
129
  cameraConfig: z.ZodDefault<z.ZodObject<{
@@ -445,6 +448,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
445
448
  cameraCalibrationProcessConfig: {
446
449
  nightSkyCalibrationEnabled: boolean;
447
450
  scheduleNightSkyCalibrationTimestamp: number;
451
+ nightSkyCalibrationFocusValue: number;
448
452
  focusCalibrationPoints: string;
449
453
  };
450
454
  cameraConfig: {
@@ -576,6 +580,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
576
580
  cameraCalibrationProcessConfig?: {
577
581
  nightSkyCalibrationEnabled: boolean;
578
582
  scheduleNightSkyCalibrationTimestamp: number;
583
+ nightSkyCalibrationFocusValue?: number | undefined;
579
584
  focusCalibrationPoints?: string | undefined;
580
585
  } | undefined;
581
586
  cameraConfig?: {
@@ -72,11 +72,13 @@ exports.cameraSettingsSchema = zod_1.z.object({
72
72
  .object({
73
73
  nightSkyCalibrationEnabled: zod_1.z.boolean(),
74
74
  scheduleNightSkyCalibrationTimestamp: zod_1.z.number(),
75
+ nightSkyCalibrationFocusValue: zod_1.z.number().int().min(1).max(9999).default(9000),
75
76
  focusCalibrationPoints: zod_1.z.string().default(''),
76
77
  })
77
78
  .default({
78
79
  nightSkyCalibrationEnabled: false,
79
80
  scheduleNightSkyCalibrationTimestamp: 0,
81
+ nightSkyCalibrationFocusValue: 9000,
80
82
  focusCalibrationPoints: '',
81
83
  }),
82
84
  cameraConfig: zod_1.z
@@ -153,7 +155,7 @@ exports.cameraSettingsSchema = zod_1.z.object({
153
155
  coord: 'top_right',
154
156
  posX: 10,
155
157
  posY: 10,
156
- scale: 75,
158
+ scale: 100,
157
159
  }),
158
160
  airportWidget: exports.widgetSchema
159
161
  .extend({
@@ -166,7 +168,7 @@ exports.cameraSettingsSchema = zod_1.z.object({
166
168
  coord: 'top_left',
167
169
  posX: 10,
168
170
  posY: 10,
169
- scale: 75,
171
+ scale: 100,
170
172
  showWeather: false,
171
173
  weatherLocationKey: '',
172
174
  weatherLocationName: '',
@@ -69,11 +69,13 @@ export const cameraSettingsSchema = z.object({
69
69
  .object({
70
70
  nightSkyCalibrationEnabled: z.boolean(),
71
71
  scheduleNightSkyCalibrationTimestamp: z.number(),
72
+ nightSkyCalibrationFocusValue: z.number().int().min(1).max(9999).default(9000),
72
73
  focusCalibrationPoints: z.string().default(''),
73
74
  })
74
75
  .default({
75
76
  nightSkyCalibrationEnabled: false,
76
77
  scheduleNightSkyCalibrationTimestamp: 0,
78
+ nightSkyCalibrationFocusValue: 9000,
77
79
  focusCalibrationPoints: '',
78
80
  }),
79
81
  cameraConfig: z
@@ -150,7 +152,7 @@ export const cameraSettingsSchema = z.object({
150
152
  coord: 'top_right',
151
153
  posX: 10,
152
154
  posY: 10,
153
- scale: 75,
155
+ scale: 100,
154
156
  }),
155
157
  airportWidget: widgetSchema
156
158
  .extend({
@@ -163,7 +165,7 @@ export const cameraSettingsSchema = z.object({
163
165
  coord: 'top_left',
164
166
  posX: 10,
165
167
  posY: 10,
166
- scale: 75,
168
+ scale: 100,
167
169
  showWeather: false,
168
170
  weatherLocationKey: '',
169
171
  weatherLocationName: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camstreamerlib",
3
- "version": "4.0.19",
3
+ "version": "4.0.21",
4
4
  "description": "Helper library for CamStreamer ACAP applications.",
5
5
  "prettier": "@camstreamer/prettier-config",
6
6
  "engine": {
@@ -38,6 +38,7 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
38
38
  cameraCalibrationProcessConfig: {
39
39
  nightSkyCalibrationEnabled: boolean;
40
40
  scheduleNightSkyCalibrationTimestamp: number;
41
+ nightSkyCalibrationFocusValue: number;
41
42
  focusCalibrationPoints: string;
42
43
  };
43
44
  cameraConfig: {
@@ -113,14 +113,17 @@ export declare const cameraSettingsSchema: z.ZodObject<{
113
113
  cameraCalibrationProcessConfig: z.ZodDefault<z.ZodObject<{
114
114
  nightSkyCalibrationEnabled: z.ZodBoolean;
115
115
  scheduleNightSkyCalibrationTimestamp: z.ZodNumber;
116
+ nightSkyCalibrationFocusValue: z.ZodDefault<z.ZodNumber>;
116
117
  focusCalibrationPoints: z.ZodDefault<z.ZodString>;
117
118
  }, "strip", z.ZodTypeAny, {
118
119
  nightSkyCalibrationEnabled: boolean;
119
120
  scheduleNightSkyCalibrationTimestamp: number;
121
+ nightSkyCalibrationFocusValue: number;
120
122
  focusCalibrationPoints: string;
121
123
  }, {
122
124
  nightSkyCalibrationEnabled: boolean;
123
125
  scheduleNightSkyCalibrationTimestamp: number;
126
+ nightSkyCalibrationFocusValue?: number | undefined;
124
127
  focusCalibrationPoints?: string | undefined;
125
128
  }>>;
126
129
  cameraConfig: z.ZodDefault<z.ZodObject<{
@@ -445,6 +448,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
445
448
  cameraCalibrationProcessConfig: {
446
449
  nightSkyCalibrationEnabled: boolean;
447
450
  scheduleNightSkyCalibrationTimestamp: number;
451
+ nightSkyCalibrationFocusValue: number;
448
452
  focusCalibrationPoints: string;
449
453
  };
450
454
  cameraConfig: {
@@ -576,6 +580,7 @@ export declare const cameraSettingsSchema: z.ZodObject<{
576
580
  cameraCalibrationProcessConfig?: {
577
581
  nightSkyCalibrationEnabled: boolean;
578
582
  scheduleNightSkyCalibrationTimestamp: number;
583
+ nightSkyCalibrationFocusValue?: number | undefined;
579
584
  focusCalibrationPoints?: string | undefined;
580
585
  } | undefined;
581
586
  cameraConfig?: {