@tx5dr/contracts 1.7.0 → 1.7.1
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/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/schema/__tests__/audio.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/audio.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/audio.schema.test.js +126 -0
- package/dist/schema/__tests__/audio.schema.test.js.map +1 -0
- package/dist/schema/api-response.schema.d.ts +30 -30
- package/dist/schema/audio.schema.d.ts +1292 -0
- package/dist/schema/audio.schema.d.ts.map +1 -1
- package/dist/schema/audio.schema.js +33 -0
- package/dist/schema/audio.schema.js.map +1 -1
- package/dist/schema/cpu-profile.schema.d.ts +4 -4
- package/dist/schema/ft8.schema.d.ts +4 -4
- package/dist/schema/logbook.schema.d.ts +22 -0
- package/dist/schema/logbook.schema.d.ts.map +1 -1
- package/dist/schema/logbook.schema.js +8 -0
- package/dist/schema/logbook.schema.js.map +1 -1
- package/dist/schema/plugin.schema.d.ts +16 -16
- package/dist/schema/qso.schema.d.ts +2 -2
- package/dist/schema/radio-power.schema.d.ts +6 -6
- package/dist/schema/radio-profile.schema.d.ts +280 -108
- package/dist/schema/radio-profile.schema.d.ts.map +1 -1
- package/dist/schema/radio.schema.d.ts +18 -18
- package/dist/schema/realtime.schema.d.ts +22 -22
- package/dist/schema/slot-info.schema.d.ts +18 -18
- package/dist/schema/spectrum.schema.d.ts +6 -6
- package/dist/schema/system.schema.d.ts +11 -0
- package/dist/schema/system.schema.d.ts.map +1 -1
- package/dist/schema/system.schema.js +4 -0
- package/dist/schema/system.schema.js.map +1 -1
- package/dist/schema/transmission.schema.d.ts +8 -8
- package/dist/schema/update.schema.d.ts +62 -0
- package/dist/schema/update.schema.d.ts.map +1 -0
- package/dist/schema/update.schema.js +28 -0
- package/dist/schema/update.schema.js.map +1 -0
- package/dist/schema/websocket.schema.d.ts +364 -128
- package/dist/schema/websocket.schema.d.ts.map +1 -1
- package/dist/schema/websocket.schema.js +38 -0
- package/dist/schema/websocket.schema.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/schema/__tests__/audio.schema.test.ts +142 -0
- package/src/schema/audio.schema.ts +44 -1
- package/src/schema/logbook.schema.ts +8 -0
- package/src/schema/system.schema.ts +6 -0
- package/src/schema/update.schema.ts +33 -0
- package/src/schema/websocket.schema.ts +52 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-profile.schema.d.ts","sourceRoot":"","sources":["../../src/schema/radio-profile.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"radio-profile.schema.d.ts","sourceRoot":"","sources":["../../src/schema/radio-profile.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D;;GAEG;AACH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AAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -429,9 +429,6 @@ export declare const HamlibConfigSchema: z.ZodObject<{
|
|
|
429
429
|
pttPort: z.ZodOptional<z.ZodString>;
|
|
430
430
|
}, "strip", z.ZodTypeAny, {
|
|
431
431
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
432
|
-
spectrum?: {
|
|
433
|
-
speed?: number | undefined;
|
|
434
|
-
} | undefined;
|
|
435
432
|
network?: {
|
|
436
433
|
host: string;
|
|
437
434
|
port: number;
|
|
@@ -454,6 +451,9 @@ export declare const HamlibConfigSchema: z.ZodObject<{
|
|
|
454
451
|
} | undefined;
|
|
455
452
|
backendConfig?: Record<string, string> | undefined;
|
|
456
453
|
} | undefined;
|
|
454
|
+
spectrum?: {
|
|
455
|
+
speed?: number | undefined;
|
|
456
|
+
} | undefined;
|
|
457
457
|
icomWlan?: {
|
|
458
458
|
ip: string;
|
|
459
459
|
port: number;
|
|
@@ -466,9 +466,6 @@ export declare const HamlibConfigSchema: z.ZodObject<{
|
|
|
466
466
|
pttPort?: string | undefined;
|
|
467
467
|
}, {
|
|
468
468
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
469
|
-
spectrum?: {
|
|
470
|
-
speed?: number | undefined;
|
|
471
|
-
} | undefined;
|
|
472
469
|
network?: {
|
|
473
470
|
host: string;
|
|
474
471
|
port: number;
|
|
@@ -491,6 +488,9 @@ export declare const HamlibConfigSchema: z.ZodObject<{
|
|
|
491
488
|
} | undefined;
|
|
492
489
|
backendConfig?: Record<string, string> | undefined;
|
|
493
490
|
} | undefined;
|
|
491
|
+
spectrum?: {
|
|
492
|
+
speed?: number | undefined;
|
|
493
|
+
} | undefined;
|
|
494
494
|
icomWlan?: {
|
|
495
495
|
ip: string;
|
|
496
496
|
port: number;
|
|
@@ -631,9 +631,6 @@ export declare const RadioConfigResponseSchema: z.ZodObject<{
|
|
|
631
631
|
pttPort: z.ZodOptional<z.ZodString>;
|
|
632
632
|
}, "strip", z.ZodTypeAny, {
|
|
633
633
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
634
|
-
spectrum?: {
|
|
635
|
-
speed?: number | undefined;
|
|
636
|
-
} | undefined;
|
|
637
634
|
network?: {
|
|
638
635
|
host: string;
|
|
639
636
|
port: number;
|
|
@@ -656,6 +653,9 @@ export declare const RadioConfigResponseSchema: z.ZodObject<{
|
|
|
656
653
|
} | undefined;
|
|
657
654
|
backendConfig?: Record<string, string> | undefined;
|
|
658
655
|
} | undefined;
|
|
656
|
+
spectrum?: {
|
|
657
|
+
speed?: number | undefined;
|
|
658
|
+
} | undefined;
|
|
659
659
|
icomWlan?: {
|
|
660
660
|
ip: string;
|
|
661
661
|
port: number;
|
|
@@ -668,9 +668,6 @@ export declare const RadioConfigResponseSchema: z.ZodObject<{
|
|
|
668
668
|
pttPort?: string | undefined;
|
|
669
669
|
}, {
|
|
670
670
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
671
|
-
spectrum?: {
|
|
672
|
-
speed?: number | undefined;
|
|
673
|
-
} | undefined;
|
|
674
671
|
network?: {
|
|
675
672
|
host: string;
|
|
676
673
|
port: number;
|
|
@@ -693,6 +690,9 @@ export declare const RadioConfigResponseSchema: z.ZodObject<{
|
|
|
693
690
|
} | undefined;
|
|
694
691
|
backendConfig?: Record<string, string> | undefined;
|
|
695
692
|
} | undefined;
|
|
693
|
+
spectrum?: {
|
|
694
|
+
speed?: number | undefined;
|
|
695
|
+
} | undefined;
|
|
696
696
|
icomWlan?: {
|
|
697
697
|
ip: string;
|
|
698
698
|
port: number;
|
|
@@ -708,9 +708,6 @@ export declare const RadioConfigResponseSchema: z.ZodObject<{
|
|
|
708
708
|
success: boolean;
|
|
709
709
|
config: {
|
|
710
710
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
711
|
-
spectrum?: {
|
|
712
|
-
speed?: number | undefined;
|
|
713
|
-
} | undefined;
|
|
714
711
|
network?: {
|
|
715
712
|
host: string;
|
|
716
713
|
port: number;
|
|
@@ -733,6 +730,9 @@ export declare const RadioConfigResponseSchema: z.ZodObject<{
|
|
|
733
730
|
} | undefined;
|
|
734
731
|
backendConfig?: Record<string, string> | undefined;
|
|
735
732
|
} | undefined;
|
|
733
|
+
spectrum?: {
|
|
734
|
+
speed?: number | undefined;
|
|
735
|
+
} | undefined;
|
|
736
736
|
icomWlan?: {
|
|
737
737
|
ip: string;
|
|
738
738
|
port: number;
|
|
@@ -748,9 +748,6 @@ export declare const RadioConfigResponseSchema: z.ZodObject<{
|
|
|
748
748
|
success: boolean;
|
|
749
749
|
config: {
|
|
750
750
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
751
|
-
spectrum?: {
|
|
752
|
-
speed?: number | undefined;
|
|
753
|
-
} | undefined;
|
|
754
751
|
network?: {
|
|
755
752
|
host: string;
|
|
756
753
|
port: number;
|
|
@@ -773,6 +770,9 @@ export declare const RadioConfigResponseSchema: z.ZodObject<{
|
|
|
773
770
|
} | undefined;
|
|
774
771
|
backendConfig?: Record<string, string> | undefined;
|
|
775
772
|
} | undefined;
|
|
773
|
+
spectrum?: {
|
|
774
|
+
speed?: number | undefined;
|
|
775
|
+
} | undefined;
|
|
776
776
|
icomWlan?: {
|
|
777
777
|
ip: string;
|
|
778
778
|
port: number;
|
|
@@ -18,33 +18,33 @@ export declare const RealtimeAudioCodecCapabilitiesSchema: z.ZodOptional<z.ZodOb
|
|
|
18
18
|
encodeSampleRates: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
19
19
|
decodeSampleRates: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
sampleRates?: number[] | undefined;
|
|
21
22
|
encode?: boolean | undefined;
|
|
22
23
|
decode?: boolean | undefined;
|
|
23
|
-
sampleRates?: number[] | undefined;
|
|
24
24
|
encodeSampleRates?: number[] | undefined;
|
|
25
25
|
decodeSampleRates?: number[] | undefined;
|
|
26
26
|
}, {
|
|
27
|
+
sampleRates?: number[] | undefined;
|
|
27
28
|
encode?: boolean | undefined;
|
|
28
29
|
decode?: boolean | undefined;
|
|
29
|
-
sampleRates?: number[] | undefined;
|
|
30
30
|
encodeSampleRates?: number[] | undefined;
|
|
31
31
|
decodeSampleRates?: number[] | undefined;
|
|
32
32
|
}>>;
|
|
33
33
|
pcmS16le: z.ZodOptional<z.ZodBoolean>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
35
|
opus?: {
|
|
36
|
+
sampleRates?: number[] | undefined;
|
|
36
37
|
encode?: boolean | undefined;
|
|
37
38
|
decode?: boolean | undefined;
|
|
38
|
-
sampleRates?: number[] | undefined;
|
|
39
39
|
encodeSampleRates?: number[] | undefined;
|
|
40
40
|
decodeSampleRates?: number[] | undefined;
|
|
41
41
|
} | undefined;
|
|
42
42
|
pcmS16le?: boolean | undefined;
|
|
43
43
|
}, {
|
|
44
44
|
opus?: {
|
|
45
|
+
sampleRates?: number[] | undefined;
|
|
45
46
|
encode?: boolean | undefined;
|
|
46
47
|
decode?: boolean | undefined;
|
|
47
|
-
sampleRates?: number[] | undefined;
|
|
48
48
|
encodeSampleRates?: number[] | undefined;
|
|
49
49
|
decodeSampleRates?: number[] | undefined;
|
|
50
50
|
} | undefined;
|
|
@@ -221,33 +221,33 @@ export declare const RealtimeSessionRequestSchema: z.ZodObject<{
|
|
|
221
221
|
encodeSampleRates: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
222
222
|
decodeSampleRates: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
223
223
|
}, "strip", z.ZodTypeAny, {
|
|
224
|
+
sampleRates?: number[] | undefined;
|
|
224
225
|
encode?: boolean | undefined;
|
|
225
226
|
decode?: boolean | undefined;
|
|
226
|
-
sampleRates?: number[] | undefined;
|
|
227
227
|
encodeSampleRates?: number[] | undefined;
|
|
228
228
|
decodeSampleRates?: number[] | undefined;
|
|
229
229
|
}, {
|
|
230
|
+
sampleRates?: number[] | undefined;
|
|
230
231
|
encode?: boolean | undefined;
|
|
231
232
|
decode?: boolean | undefined;
|
|
232
|
-
sampleRates?: number[] | undefined;
|
|
233
233
|
encodeSampleRates?: number[] | undefined;
|
|
234
234
|
decodeSampleRates?: number[] | undefined;
|
|
235
235
|
}>>;
|
|
236
236
|
pcmS16le: z.ZodOptional<z.ZodBoolean>;
|
|
237
237
|
}, "strip", z.ZodTypeAny, {
|
|
238
238
|
opus?: {
|
|
239
|
+
sampleRates?: number[] | undefined;
|
|
239
240
|
encode?: boolean | undefined;
|
|
240
241
|
decode?: boolean | undefined;
|
|
241
|
-
sampleRates?: number[] | undefined;
|
|
242
242
|
encodeSampleRates?: number[] | undefined;
|
|
243
243
|
decodeSampleRates?: number[] | undefined;
|
|
244
244
|
} | undefined;
|
|
245
245
|
pcmS16le?: boolean | undefined;
|
|
246
246
|
}, {
|
|
247
247
|
opus?: {
|
|
248
|
+
sampleRates?: number[] | undefined;
|
|
248
249
|
encode?: boolean | undefined;
|
|
249
250
|
decode?: boolean | undefined;
|
|
250
|
-
sampleRates?: number[] | undefined;
|
|
251
251
|
encodeSampleRates?: number[] | undefined;
|
|
252
252
|
decodeSampleRates?: number[] | undefined;
|
|
253
253
|
} | undefined;
|
|
@@ -265,9 +265,9 @@ export declare const RealtimeSessionRequestSchema: z.ZodObject<{
|
|
|
265
265
|
} | undefined;
|
|
266
266
|
audioCodecCapabilities?: {
|
|
267
267
|
opus?: {
|
|
268
|
+
sampleRates?: number[] | undefined;
|
|
268
269
|
encode?: boolean | undefined;
|
|
269
270
|
decode?: boolean | undefined;
|
|
270
|
-
sampleRates?: number[] | undefined;
|
|
271
271
|
encodeSampleRates?: number[] | undefined;
|
|
272
272
|
decodeSampleRates?: number[] | undefined;
|
|
273
273
|
} | undefined;
|
|
@@ -282,9 +282,9 @@ export declare const RealtimeSessionRequestSchema: z.ZodObject<{
|
|
|
282
282
|
audioCodecPreference?: "pcm" | "auto" | "opus" | undefined;
|
|
283
283
|
audioCodecCapabilities?: {
|
|
284
284
|
opus?: {
|
|
285
|
+
sampleRates?: number[] | undefined;
|
|
285
286
|
encode?: boolean | undefined;
|
|
286
287
|
decode?: boolean | undefined;
|
|
287
|
-
sampleRates?: number[] | undefined;
|
|
288
288
|
encodeSampleRates?: number[] | undefined;
|
|
289
289
|
decodeSampleRates?: number[] | undefined;
|
|
290
290
|
} | undefined;
|
|
@@ -1160,6 +1160,8 @@ export declare const RealtimeVoiceTxServerOutputStatsSchema: z.ZodObject<{
|
|
|
1160
1160
|
outputBufferSize: z.ZodNullable<z.ZodNumber>;
|
|
1161
1161
|
writeFailures: z.ZodNumber;
|
|
1162
1162
|
}, "strip", z.ZodTypeAny, {
|
|
1163
|
+
outputSampleRate: number | null;
|
|
1164
|
+
outputBufferSize: number | null;
|
|
1163
1165
|
resampleMs: {
|
|
1164
1166
|
current: number | null;
|
|
1165
1167
|
rolling: number | null;
|
|
@@ -1195,10 +1197,10 @@ export declare const RealtimeVoiceTxServerOutputStatsSchema: z.ZodObject<{
|
|
|
1195
1197
|
rolling: number | null;
|
|
1196
1198
|
peak: number | null;
|
|
1197
1199
|
};
|
|
1198
|
-
outputSampleRate: number | null;
|
|
1199
|
-
outputBufferSize: number | null;
|
|
1200
1200
|
writeFailures: number;
|
|
1201
1201
|
}, {
|
|
1202
|
+
outputSampleRate: number | null;
|
|
1203
|
+
outputBufferSize: number | null;
|
|
1202
1204
|
resampleMs: {
|
|
1203
1205
|
current: number | null;
|
|
1204
1206
|
rolling: number | null;
|
|
@@ -1234,8 +1236,6 @@ export declare const RealtimeVoiceTxServerOutputStatsSchema: z.ZodObject<{
|
|
|
1234
1236
|
rolling: number | null;
|
|
1235
1237
|
peak: number | null;
|
|
1236
1238
|
};
|
|
1237
|
-
outputSampleRate: number | null;
|
|
1238
|
-
outputBufferSize: number | null;
|
|
1239
1239
|
writeFailures: number;
|
|
1240
1240
|
}>;
|
|
1241
1241
|
export type RealtimeVoiceTxServerOutputStats = z.infer<typeof RealtimeVoiceTxServerOutputStatsSchema>;
|
|
@@ -1446,6 +1446,8 @@ export declare const RealtimeVoiceTxStatsResponseSchema: z.ZodObject<{
|
|
|
1446
1446
|
outputBufferSize: z.ZodNullable<z.ZodNumber>;
|
|
1447
1447
|
writeFailures: z.ZodNumber;
|
|
1448
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1449
|
+
outputSampleRate: number | null;
|
|
1450
|
+
outputBufferSize: number | null;
|
|
1449
1451
|
resampleMs: {
|
|
1450
1452
|
current: number | null;
|
|
1451
1453
|
rolling: number | null;
|
|
@@ -1481,10 +1483,10 @@ export declare const RealtimeVoiceTxStatsResponseSchema: z.ZodObject<{
|
|
|
1481
1483
|
rolling: number | null;
|
|
1482
1484
|
peak: number | null;
|
|
1483
1485
|
};
|
|
1484
|
-
outputSampleRate: number | null;
|
|
1485
|
-
outputBufferSize: number | null;
|
|
1486
1486
|
writeFailures: number;
|
|
1487
1487
|
}, {
|
|
1488
|
+
outputSampleRate: number | null;
|
|
1489
|
+
outputBufferSize: number | null;
|
|
1488
1490
|
resampleMs: {
|
|
1489
1491
|
current: number | null;
|
|
1490
1492
|
rolling: number | null;
|
|
@@ -1520,8 +1522,6 @@ export declare const RealtimeVoiceTxStatsResponseSchema: z.ZodObject<{
|
|
|
1520
1522
|
rolling: number | null;
|
|
1521
1523
|
peak: number | null;
|
|
1522
1524
|
};
|
|
1523
|
-
outputSampleRate: number | null;
|
|
1524
|
-
outputBufferSize: number | null;
|
|
1525
1525
|
writeFailures: number;
|
|
1526
1526
|
}>;
|
|
1527
1527
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1560,6 +1560,8 @@ export declare const RealtimeVoiceTxStatsResponseSchema: z.ZodObject<{
|
|
|
1560
1560
|
jitterTargetMs: number;
|
|
1561
1561
|
};
|
|
1562
1562
|
serverOutput: {
|
|
1563
|
+
outputSampleRate: number | null;
|
|
1564
|
+
outputBufferSize: number | null;
|
|
1563
1565
|
resampleMs: {
|
|
1564
1566
|
current: number | null;
|
|
1565
1567
|
rolling: number | null;
|
|
@@ -1595,8 +1597,6 @@ export declare const RealtimeVoiceTxStatsResponseSchema: z.ZodObject<{
|
|
|
1595
1597
|
rolling: number | null;
|
|
1596
1598
|
peak: number | null;
|
|
1597
1599
|
};
|
|
1598
|
-
outputSampleRate: number | null;
|
|
1599
|
-
outputBufferSize: number | null;
|
|
1600
1600
|
writeFailures: number;
|
|
1601
1601
|
};
|
|
1602
1602
|
}, {
|
|
@@ -1635,6 +1635,8 @@ export declare const RealtimeVoiceTxStatsResponseSchema: z.ZodObject<{
|
|
|
1635
1635
|
jitterTargetMs: number;
|
|
1636
1636
|
};
|
|
1637
1637
|
serverOutput: {
|
|
1638
|
+
outputSampleRate: number | null;
|
|
1639
|
+
outputBufferSize: number | null;
|
|
1638
1640
|
resampleMs: {
|
|
1639
1641
|
current: number | null;
|
|
1640
1642
|
rolling: number | null;
|
|
@@ -1670,8 +1672,6 @@ export declare const RealtimeVoiceTxStatsResponseSchema: z.ZodObject<{
|
|
|
1670
1672
|
rolling: number | null;
|
|
1671
1673
|
peak: number | null;
|
|
1672
1674
|
};
|
|
1673
|
-
outputSampleRate: number | null;
|
|
1674
|
-
outputBufferSize: number | null;
|
|
1675
1675
|
writeFailures: number;
|
|
1676
1676
|
};
|
|
1677
1677
|
}>;
|
|
@@ -74,7 +74,7 @@ export declare const LogbookAnalysisSchema: z.ZodObject<{
|
|
|
74
74
|
grid?: string | undefined;
|
|
75
75
|
dxccId?: number | undefined;
|
|
76
76
|
dxccEntity?: string | undefined;
|
|
77
|
-
dxccStatus?: "unknown" | "
|
|
77
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
78
78
|
isNewCallsign?: boolean | undefined;
|
|
79
79
|
isNewDxccEntity?: boolean | undefined;
|
|
80
80
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -88,7 +88,7 @@ export declare const LogbookAnalysisSchema: z.ZodObject<{
|
|
|
88
88
|
grid?: string | undefined;
|
|
89
89
|
dxccId?: number | undefined;
|
|
90
90
|
dxccEntity?: string | undefined;
|
|
91
|
-
dxccStatus?: "unknown" | "
|
|
91
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
92
92
|
isNewCallsign?: boolean | undefined;
|
|
93
93
|
isNewDxccEntity?: boolean | undefined;
|
|
94
94
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -146,7 +146,7 @@ export declare const FrameMessageSchema: z.ZodObject<{
|
|
|
146
146
|
grid?: string | undefined;
|
|
147
147
|
dxccId?: number | undefined;
|
|
148
148
|
dxccEntity?: string | undefined;
|
|
149
|
-
dxccStatus?: "unknown" | "
|
|
149
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
150
150
|
isNewCallsign?: boolean | undefined;
|
|
151
151
|
isNewDxccEntity?: boolean | undefined;
|
|
152
152
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -160,7 +160,7 @@ export declare const FrameMessageSchema: z.ZodObject<{
|
|
|
160
160
|
grid?: string | undefined;
|
|
161
161
|
dxccId?: number | undefined;
|
|
162
162
|
dxccEntity?: string | undefined;
|
|
163
|
-
dxccStatus?: "unknown" | "
|
|
163
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
164
164
|
isNewCallsign?: boolean | undefined;
|
|
165
165
|
isNewDxccEntity?: boolean | undefined;
|
|
166
166
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -184,7 +184,7 @@ export declare const FrameMessageSchema: z.ZodObject<{
|
|
|
184
184
|
grid?: string | undefined;
|
|
185
185
|
dxccId?: number | undefined;
|
|
186
186
|
dxccEntity?: string | undefined;
|
|
187
|
-
dxccStatus?: "unknown" | "
|
|
187
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
188
188
|
isNewCallsign?: boolean | undefined;
|
|
189
189
|
isNewDxccEntity?: boolean | undefined;
|
|
190
190
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -206,7 +206,7 @@ export declare const FrameMessageSchema: z.ZodObject<{
|
|
|
206
206
|
grid?: string | undefined;
|
|
207
207
|
dxccId?: number | undefined;
|
|
208
208
|
dxccEntity?: string | undefined;
|
|
209
|
-
dxccStatus?: "unknown" | "
|
|
209
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
210
210
|
isNewCallsign?: boolean | undefined;
|
|
211
211
|
isNewDxccEntity?: boolean | undefined;
|
|
212
212
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -307,7 +307,7 @@ export declare const DecodeResultSchema: z.ZodObject<{
|
|
|
307
307
|
grid?: string | undefined;
|
|
308
308
|
dxccId?: number | undefined;
|
|
309
309
|
dxccEntity?: string | undefined;
|
|
310
|
-
dxccStatus?: "unknown" | "
|
|
310
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
311
311
|
isNewCallsign?: boolean | undefined;
|
|
312
312
|
isNewDxccEntity?: boolean | undefined;
|
|
313
313
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -321,7 +321,7 @@ export declare const DecodeResultSchema: z.ZodObject<{
|
|
|
321
321
|
grid?: string | undefined;
|
|
322
322
|
dxccId?: number | undefined;
|
|
323
323
|
dxccEntity?: string | undefined;
|
|
324
|
-
dxccStatus?: "unknown" | "
|
|
324
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
325
325
|
isNewCallsign?: boolean | undefined;
|
|
326
326
|
isNewDxccEntity?: boolean | undefined;
|
|
327
327
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -345,7 +345,7 @@ export declare const DecodeResultSchema: z.ZodObject<{
|
|
|
345
345
|
grid?: string | undefined;
|
|
346
346
|
dxccId?: number | undefined;
|
|
347
347
|
dxccEntity?: string | undefined;
|
|
348
|
-
dxccStatus?: "unknown" | "
|
|
348
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
349
349
|
isNewCallsign?: boolean | undefined;
|
|
350
350
|
isNewDxccEntity?: boolean | undefined;
|
|
351
351
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -367,7 +367,7 @@ export declare const DecodeResultSchema: z.ZodObject<{
|
|
|
367
367
|
grid?: string | undefined;
|
|
368
368
|
dxccId?: number | undefined;
|
|
369
369
|
dxccEntity?: string | undefined;
|
|
370
|
-
dxccStatus?: "unknown" | "
|
|
370
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
371
371
|
isNewCallsign?: boolean | undefined;
|
|
372
372
|
isNewDxccEntity?: boolean | undefined;
|
|
373
373
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -403,7 +403,7 @@ export declare const DecodeResultSchema: z.ZodObject<{
|
|
|
403
403
|
grid?: string | undefined;
|
|
404
404
|
dxccId?: number | undefined;
|
|
405
405
|
dxccEntity?: string | undefined;
|
|
406
|
-
dxccStatus?: "unknown" | "
|
|
406
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
407
407
|
isNewCallsign?: boolean | undefined;
|
|
408
408
|
isNewDxccEntity?: boolean | undefined;
|
|
409
409
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -431,7 +431,7 @@ export declare const DecodeResultSchema: z.ZodObject<{
|
|
|
431
431
|
grid?: string | undefined;
|
|
432
432
|
dxccId?: number | undefined;
|
|
433
433
|
dxccEntity?: string | undefined;
|
|
434
|
-
dxccStatus?: "unknown" | "
|
|
434
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
435
435
|
isNewCallsign?: boolean | undefined;
|
|
436
436
|
isNewDxccEntity?: boolean | undefined;
|
|
437
437
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -503,7 +503,7 @@ export declare const SlotPackSchema: z.ZodObject<{
|
|
|
503
503
|
grid?: string | undefined;
|
|
504
504
|
dxccId?: number | undefined;
|
|
505
505
|
dxccEntity?: string | undefined;
|
|
506
|
-
dxccStatus?: "unknown" | "
|
|
506
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
507
507
|
isNewCallsign?: boolean | undefined;
|
|
508
508
|
isNewDxccEntity?: boolean | undefined;
|
|
509
509
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -517,7 +517,7 @@ export declare const SlotPackSchema: z.ZodObject<{
|
|
|
517
517
|
grid?: string | undefined;
|
|
518
518
|
dxccId?: number | undefined;
|
|
519
519
|
dxccEntity?: string | undefined;
|
|
520
|
-
dxccStatus?: "unknown" | "
|
|
520
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
521
521
|
isNewCallsign?: boolean | undefined;
|
|
522
522
|
isNewDxccEntity?: boolean | undefined;
|
|
523
523
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -541,7 +541,7 @@ export declare const SlotPackSchema: z.ZodObject<{
|
|
|
541
541
|
grid?: string | undefined;
|
|
542
542
|
dxccId?: number | undefined;
|
|
543
543
|
dxccEntity?: string | undefined;
|
|
544
|
-
dxccStatus?: "unknown" | "
|
|
544
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
545
545
|
isNewCallsign?: boolean | undefined;
|
|
546
546
|
isNewDxccEntity?: boolean | undefined;
|
|
547
547
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -563,7 +563,7 @@ export declare const SlotPackSchema: z.ZodObject<{
|
|
|
563
563
|
grid?: string | undefined;
|
|
564
564
|
dxccId?: number | undefined;
|
|
565
565
|
dxccEntity?: string | undefined;
|
|
566
|
-
dxccStatus?: "unknown" | "
|
|
566
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
567
567
|
isNewCallsign?: boolean | undefined;
|
|
568
568
|
isNewDxccEntity?: boolean | undefined;
|
|
569
569
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -635,7 +635,7 @@ export declare const SlotPackSchema: z.ZodObject<{
|
|
|
635
635
|
grid?: string | undefined;
|
|
636
636
|
dxccId?: number | undefined;
|
|
637
637
|
dxccEntity?: string | undefined;
|
|
638
|
-
dxccStatus?: "unknown" | "
|
|
638
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
639
639
|
isNewCallsign?: boolean | undefined;
|
|
640
640
|
isNewDxccEntity?: boolean | undefined;
|
|
641
641
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -676,7 +676,7 @@ export declare const SlotPackSchema: z.ZodObject<{
|
|
|
676
676
|
grid?: string | undefined;
|
|
677
677
|
dxccId?: number | undefined;
|
|
678
678
|
dxccEntity?: string | undefined;
|
|
679
|
-
dxccStatus?: "unknown" | "
|
|
679
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
680
680
|
isNewCallsign?: boolean | undefined;
|
|
681
681
|
isNewDxccEntity?: boolean | undefined;
|
|
682
682
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -227,8 +227,8 @@ export declare const SpectrumSourceAvailabilitySchema: z.ZodObject<{
|
|
|
227
227
|
defaultSelected: boolean;
|
|
228
228
|
supportsWaterfall: boolean;
|
|
229
229
|
frequencyRangeMode: "baseband" | "absolute";
|
|
230
|
-
sourceBinCount?: number | null | undefined;
|
|
231
230
|
reason?: string | undefined;
|
|
231
|
+
sourceBinCount?: number | null | undefined;
|
|
232
232
|
}, {
|
|
233
233
|
displayBinCount: number;
|
|
234
234
|
kind: "audio" | "radio-sdr" | "openwebrx-sdr";
|
|
@@ -237,8 +237,8 @@ export declare const SpectrumSourceAvailabilitySchema: z.ZodObject<{
|
|
|
237
237
|
defaultSelected: boolean;
|
|
238
238
|
supportsWaterfall: boolean;
|
|
239
239
|
frequencyRangeMode: "baseband" | "absolute";
|
|
240
|
-
sourceBinCount?: number | null | undefined;
|
|
241
240
|
reason?: string | undefined;
|
|
241
|
+
sourceBinCount?: number | null | undefined;
|
|
242
242
|
}>;
|
|
243
243
|
export declare const SpectrumCapabilitiesSchema: z.ZodObject<{
|
|
244
244
|
profileId: z.ZodNullable<z.ZodString>;
|
|
@@ -261,8 +261,8 @@ export declare const SpectrumCapabilitiesSchema: z.ZodObject<{
|
|
|
261
261
|
defaultSelected: boolean;
|
|
262
262
|
supportsWaterfall: boolean;
|
|
263
263
|
frequencyRangeMode: "baseband" | "absolute";
|
|
264
|
-
sourceBinCount?: number | null | undefined;
|
|
265
264
|
reason?: string | undefined;
|
|
265
|
+
sourceBinCount?: number | null | undefined;
|
|
266
266
|
}, {
|
|
267
267
|
displayBinCount: number;
|
|
268
268
|
kind: "audio" | "radio-sdr" | "openwebrx-sdr";
|
|
@@ -271,8 +271,8 @@ export declare const SpectrumCapabilitiesSchema: z.ZodObject<{
|
|
|
271
271
|
defaultSelected: boolean;
|
|
272
272
|
supportsWaterfall: boolean;
|
|
273
273
|
frequencyRangeMode: "baseband" | "absolute";
|
|
274
|
-
sourceBinCount?: number | null | undefined;
|
|
275
274
|
reason?: string | undefined;
|
|
275
|
+
sourceBinCount?: number | null | undefined;
|
|
276
276
|
}>, "many">;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
278
|
profileId: string | null;
|
|
@@ -285,8 +285,8 @@ export declare const SpectrumCapabilitiesSchema: z.ZodObject<{
|
|
|
285
285
|
defaultSelected: boolean;
|
|
286
286
|
supportsWaterfall: boolean;
|
|
287
287
|
frequencyRangeMode: "baseband" | "absolute";
|
|
288
|
-
sourceBinCount?: number | null | undefined;
|
|
289
288
|
reason?: string | undefined;
|
|
289
|
+
sourceBinCount?: number | null | undefined;
|
|
290
290
|
}[];
|
|
291
291
|
}, {
|
|
292
292
|
profileId: string | null;
|
|
@@ -299,8 +299,8 @@ export declare const SpectrumCapabilitiesSchema: z.ZodObject<{
|
|
|
299
299
|
defaultSelected: boolean;
|
|
300
300
|
supportsWaterfall: boolean;
|
|
301
301
|
frequencyRangeMode: "baseband" | "absolute";
|
|
302
|
-
sourceBinCount?: number | null | undefined;
|
|
303
302
|
reason?: string | undefined;
|
|
303
|
+
sourceBinCount?: number | null | undefined;
|
|
304
304
|
}[];
|
|
305
305
|
}>;
|
|
306
306
|
export declare const SpectrumSessionControlIdSchema: z.ZodEnum<["zoom-step", "digital-window-toggle", "openwebrx-detail-toggle", "viewport-zoom"]>;
|
|
@@ -63,6 +63,7 @@ export declare const ClockStatusDetailSchema: z.ZodObject<{
|
|
|
63
63
|
syncState: z.ZodEnum<["synced", "stale", "never", "failed"]>;
|
|
64
64
|
serverUsed: z.ZodNullable<z.ZodString>;
|
|
65
65
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
66
|
+
autoApplyOffset: z.ZodBoolean;
|
|
66
67
|
}, "strip", z.ZodTypeAny, {
|
|
67
68
|
appliedOffsetMs: number;
|
|
68
69
|
indicatorState: "never" | "warn" | "failed" | "stale" | "ok" | "alert";
|
|
@@ -71,6 +72,7 @@ export declare const ClockStatusDetailSchema: z.ZodObject<{
|
|
|
71
72
|
syncState: "never" | "failed" | "synced" | "stale";
|
|
72
73
|
serverUsed: string | null;
|
|
73
74
|
errorMessage: string | null;
|
|
75
|
+
autoApplyOffset: boolean;
|
|
74
76
|
}, {
|
|
75
77
|
appliedOffsetMs: number;
|
|
76
78
|
indicatorState: "never" | "warn" | "failed" | "stale" | "ok" | "alert";
|
|
@@ -79,6 +81,7 @@ export declare const ClockStatusDetailSchema: z.ZodObject<{
|
|
|
79
81
|
syncState: "never" | "failed" | "synced" | "stale";
|
|
80
82
|
serverUsed: string | null;
|
|
81
83
|
errorMessage: string | null;
|
|
84
|
+
autoApplyOffset: boolean;
|
|
82
85
|
}>;
|
|
83
86
|
export type ClockStatusDetail = z.infer<typeof ClockStatusDetailSchema>;
|
|
84
87
|
export declare const SetClockOffsetRequestSchema: z.ZodObject<{
|
|
@@ -89,6 +92,14 @@ export declare const SetClockOffsetRequestSchema: z.ZodObject<{
|
|
|
89
92
|
offsetMs: number;
|
|
90
93
|
}>;
|
|
91
94
|
export type SetClockOffsetRequest = z.infer<typeof SetClockOffsetRequestSchema>;
|
|
95
|
+
export declare const SetClockAutoApplyRequestSchema: z.ZodObject<{
|
|
96
|
+
enabled: z.ZodBoolean;
|
|
97
|
+
}, "strip", z.ZodTypeAny, {
|
|
98
|
+
enabled: boolean;
|
|
99
|
+
}, {
|
|
100
|
+
enabled: boolean;
|
|
101
|
+
}>;
|
|
102
|
+
export type SetClockAutoApplyRequest = z.infer<typeof SetClockAutoApplyRequestSchema>;
|
|
92
103
|
export declare function isValidNtpServerHost(value: string): boolean;
|
|
93
104
|
export declare const NtpServerHostSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
94
105
|
export declare const NtpServerListSettingsSchema: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.schema.d.ts","sourceRoot":"","sources":["../../src/schema/system.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAI5D,eAAO,MAAM,oBAAoB,mDAAiD,CAAC;AACnF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,yBAAyB,gEAA8D,CAAC;AACrG,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,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,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AA8BtF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAgB3D;AAED,eAAO,MAAM,mBAAmB,2CAE9B,CAAC;AAgBH,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,gCAAgC;;;;;;EAE3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
|
|
@@ -22,10 +22,14 @@ export const ClockStatusDetailSchema = ClockStatusSummarySchema.extend({
|
|
|
22
22
|
syncState: ClockSyncStateSchema,
|
|
23
23
|
serverUsed: z.string().nullable(),
|
|
24
24
|
errorMessage: z.string().nullable(),
|
|
25
|
+
autoApplyOffset: z.boolean(),
|
|
25
26
|
});
|
|
26
27
|
export const SetClockOffsetRequestSchema = z.object({
|
|
27
28
|
offsetMs: z.number().finite(),
|
|
28
29
|
});
|
|
30
|
+
export const SetClockAutoApplyRequestSchema = z.object({
|
|
31
|
+
enabled: z.boolean(),
|
|
32
|
+
});
|
|
29
33
|
// ===== NTP server list settings =====
|
|
30
34
|
function isValidIPv4Address(value) {
|
|
31
35
|
const parts = value.split('.');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.schema.js","sourceRoot":"","sources":["../../src/schema/system.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,mBAAmB;AAEnB,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAIH,MAAM,CAAC,MA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