@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
|
@@ -68,6 +68,9 @@ export declare enum WSMessageType {
|
|
|
68
68
|
PTT_STATUS_CHANGED = "pttStatusChanged",
|
|
69
69
|
FORCE_STOP_TRANSMISSION = "forceStopTransmission",
|
|
70
70
|
REMOVE_OPERATOR_FROM_TRANSMISSION = "removeOperatorFromTransmission",
|
|
71
|
+
START_TUNE_TONE = "startTuneTone",
|
|
72
|
+
STOP_TUNE_TONE = "stopTuneTone",
|
|
73
|
+
TUNE_TONE_STATUS_CHANGED = "tuneToneStatusChanged",
|
|
71
74
|
METER_DATA = "meterData",
|
|
72
75
|
SQUELCH_STATUS_CHANGED = "squelchStatusChanged",
|
|
73
76
|
TEXT_MESSAGE = "textMessage",
|
|
@@ -369,6 +372,37 @@ export declare const PTTStatusSchema: z.ZodObject<{
|
|
|
369
372
|
operatorIds: string[];
|
|
370
373
|
isTransmitting: boolean;
|
|
371
374
|
}>;
|
|
375
|
+
export declare const TuneToneStartPayloadSchema: z.ZodObject<{
|
|
376
|
+
operatorId: z.ZodOptional<z.ZodString>;
|
|
377
|
+
toneHz: z.ZodOptional<z.ZodNumber>;
|
|
378
|
+
}, "strip", z.ZodTypeAny, {
|
|
379
|
+
operatorId?: string | undefined;
|
|
380
|
+
toneHz?: number | undefined;
|
|
381
|
+
}, {
|
|
382
|
+
operatorId?: string | undefined;
|
|
383
|
+
toneHz?: number | undefined;
|
|
384
|
+
}>;
|
|
385
|
+
export type TuneToneStartPayload = z.infer<typeof TuneToneStartPayloadSchema>;
|
|
386
|
+
export declare const TuneToneStatusSchema: z.ZodObject<{
|
|
387
|
+
active: z.ZodBoolean;
|
|
388
|
+
toneHz: z.ZodNullable<z.ZodNumber>;
|
|
389
|
+
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
390
|
+
maxDurationMs: z.ZodNumber;
|
|
391
|
+
error: z.ZodOptional<z.ZodString>;
|
|
392
|
+
}, "strip", z.ZodTypeAny, {
|
|
393
|
+
active: boolean;
|
|
394
|
+
toneHz: number | null;
|
|
395
|
+
startedAt: number | null;
|
|
396
|
+
maxDurationMs: number;
|
|
397
|
+
error?: string | undefined;
|
|
398
|
+
}, {
|
|
399
|
+
active: boolean;
|
|
400
|
+
toneHz: number | null;
|
|
401
|
+
startedAt: number | null;
|
|
402
|
+
maxDurationMs: number;
|
|
403
|
+
error?: string | undefined;
|
|
404
|
+
}>;
|
|
405
|
+
export type TuneToneStatus = z.infer<typeof TuneToneStatusSchema>;
|
|
372
406
|
export declare const SquelchStatusSchema: z.ZodObject<{
|
|
373
407
|
supported: z.ZodBoolean;
|
|
374
408
|
open: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -969,7 +1003,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
|
|
|
969
1003
|
grid?: string | undefined;
|
|
970
1004
|
dxccId?: number | undefined;
|
|
971
1005
|
dxccEntity?: string | undefined;
|
|
972
|
-
dxccStatus?: "unknown" | "
|
|
1006
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
973
1007
|
isNewCallsign?: boolean | undefined;
|
|
974
1008
|
isNewDxccEntity?: boolean | undefined;
|
|
975
1009
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -983,7 +1017,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
|
|
|
983
1017
|
grid?: string | undefined;
|
|
984
1018
|
dxccId?: number | undefined;
|
|
985
1019
|
dxccEntity?: string | undefined;
|
|
986
|
-
dxccStatus?: "unknown" | "
|
|
1020
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
987
1021
|
isNewCallsign?: boolean | undefined;
|
|
988
1022
|
isNewDxccEntity?: boolean | undefined;
|
|
989
1023
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -1006,7 +1040,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
|
|
|
1006
1040
|
grid?: string | undefined;
|
|
1007
1041
|
dxccId?: number | undefined;
|
|
1008
1042
|
dxccEntity?: string | undefined;
|
|
1009
|
-
dxccStatus?: "unknown" | "
|
|
1043
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
1010
1044
|
isNewCallsign?: boolean | undefined;
|
|
1011
1045
|
isNewDxccEntity?: boolean | undefined;
|
|
1012
1046
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -1028,7 +1062,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
|
|
|
1028
1062
|
grid?: string | undefined;
|
|
1029
1063
|
dxccId?: number | undefined;
|
|
1030
1064
|
dxccEntity?: string | undefined;
|
|
1031
|
-
dxccStatus?: "unknown" | "
|
|
1065
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
1032
1066
|
isNewCallsign?: boolean | undefined;
|
|
1033
1067
|
isNewDxccEntity?: boolean | undefined;
|
|
1034
1068
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -1092,7 +1126,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
|
|
|
1092
1126
|
grid?: string | undefined;
|
|
1093
1127
|
dxccId?: number | undefined;
|
|
1094
1128
|
dxccEntity?: string | undefined;
|
|
1095
|
-
dxccStatus?: "unknown" | "
|
|
1129
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
1096
1130
|
isNewCallsign?: boolean | undefined;
|
|
1097
1131
|
isNewDxccEntity?: boolean | undefined;
|
|
1098
1132
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -1133,7 +1167,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
|
|
|
1133
1167
|
grid?: string | undefined;
|
|
1134
1168
|
dxccId?: number | undefined;
|
|
1135
1169
|
dxccEntity?: string | undefined;
|
|
1136
|
-
dxccStatus?: "unknown" | "
|
|
1170
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
1137
1171
|
isNewCallsign?: boolean | undefined;
|
|
1138
1172
|
isNewDxccEntity?: boolean | undefined;
|
|
1139
1173
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -1178,7 +1212,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
|
|
|
1178
1212
|
grid?: string | undefined;
|
|
1179
1213
|
dxccId?: number | undefined;
|
|
1180
1214
|
dxccEntity?: string | undefined;
|
|
1181
|
-
dxccStatus?: "unknown" | "
|
|
1215
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
1182
1216
|
isNewCallsign?: boolean | undefined;
|
|
1183
1217
|
isNewDxccEntity?: boolean | undefined;
|
|
1184
1218
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -1224,7 +1258,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
|
|
|
1224
1258
|
grid?: string | undefined;
|
|
1225
1259
|
dxccId?: number | undefined;
|
|
1226
1260
|
dxccEntity?: string | undefined;
|
|
1227
|
-
dxccStatus?: "unknown" | "
|
|
1261
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
1228
1262
|
isNewCallsign?: boolean | undefined;
|
|
1229
1263
|
isNewDxccEntity?: boolean | undefined;
|
|
1230
1264
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -1278,8 +1312,8 @@ export declare const WSSpectrumCapabilitiesMessageSchema: z.ZodObject<{
|
|
|
1278
1312
|
defaultSelected: boolean;
|
|
1279
1313
|
supportsWaterfall: boolean;
|
|
1280
1314
|
frequencyRangeMode: "baseband" | "absolute";
|
|
1281
|
-
sourceBinCount?: number | null | undefined;
|
|
1282
1315
|
reason?: string | undefined;
|
|
1316
|
+
sourceBinCount?: number | null | undefined;
|
|
1283
1317
|
}, {
|
|
1284
1318
|
displayBinCount: number;
|
|
1285
1319
|
kind: "audio" | "radio-sdr" | "openwebrx-sdr";
|
|
@@ -1288,8 +1322,8 @@ export declare const WSSpectrumCapabilitiesMessageSchema: z.ZodObject<{
|
|
|
1288
1322
|
defaultSelected: boolean;
|
|
1289
1323
|
supportsWaterfall: boolean;
|
|
1290
1324
|
frequencyRangeMode: "baseband" | "absolute";
|
|
1291
|
-
sourceBinCount?: number | null | undefined;
|
|
1292
1325
|
reason?: string | undefined;
|
|
1326
|
+
sourceBinCount?: number | null | undefined;
|
|
1293
1327
|
}>, "many">;
|
|
1294
1328
|
}, "strip", z.ZodTypeAny, {
|
|
1295
1329
|
profileId: string | null;
|
|
@@ -1302,8 +1336,8 @@ export declare const WSSpectrumCapabilitiesMessageSchema: z.ZodObject<{
|
|
|
1302
1336
|
defaultSelected: boolean;
|
|
1303
1337
|
supportsWaterfall: boolean;
|
|
1304
1338
|
frequencyRangeMode: "baseband" | "absolute";
|
|
1305
|
-
sourceBinCount?: number | null | undefined;
|
|
1306
1339
|
reason?: string | undefined;
|
|
1340
|
+
sourceBinCount?: number | null | undefined;
|
|
1307
1341
|
}[];
|
|
1308
1342
|
}, {
|
|
1309
1343
|
profileId: string | null;
|
|
@@ -1316,8 +1350,8 @@ export declare const WSSpectrumCapabilitiesMessageSchema: z.ZodObject<{
|
|
|
1316
1350
|
defaultSelected: boolean;
|
|
1317
1351
|
supportsWaterfall: boolean;
|
|
1318
1352
|
frequencyRangeMode: "baseband" | "absolute";
|
|
1319
|
-
sourceBinCount?: number | null | undefined;
|
|
1320
1353
|
reason?: string | undefined;
|
|
1354
|
+
sourceBinCount?: number | null | undefined;
|
|
1321
1355
|
}[];
|
|
1322
1356
|
}>;
|
|
1323
1357
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1334,8 +1368,8 @@ export declare const WSSpectrumCapabilitiesMessageSchema: z.ZodObject<{
|
|
|
1334
1368
|
defaultSelected: boolean;
|
|
1335
1369
|
supportsWaterfall: boolean;
|
|
1336
1370
|
frequencyRangeMode: "baseband" | "absolute";
|
|
1337
|
-
sourceBinCount?: number | null | undefined;
|
|
1338
1371
|
reason?: string | undefined;
|
|
1372
|
+
sourceBinCount?: number | null | undefined;
|
|
1339
1373
|
}[];
|
|
1340
1374
|
};
|
|
1341
1375
|
id?: string | undefined;
|
|
@@ -1353,8 +1387,8 @@ export declare const WSSpectrumCapabilitiesMessageSchema: z.ZodObject<{
|
|
|
1353
1387
|
defaultSelected: boolean;
|
|
1354
1388
|
supportsWaterfall: boolean;
|
|
1355
1389
|
frequencyRangeMode: "baseband" | "absolute";
|
|
1356
|
-
sourceBinCount?: number | null | undefined;
|
|
1357
1390
|
reason?: string | undefined;
|
|
1391
|
+
sourceBinCount?: number | null | undefined;
|
|
1358
1392
|
}[];
|
|
1359
1393
|
};
|
|
1360
1394
|
id?: string | undefined;
|
|
@@ -4360,7 +4394,7 @@ export declare const WSQSORecordAddedMessageSchema: z.ZodObject<{
|
|
|
4360
4394
|
qth?: string | undefined;
|
|
4361
4395
|
dxccId?: number | undefined;
|
|
4362
4396
|
dxccEntity?: string | undefined;
|
|
4363
|
-
dxccStatus?: "unknown" | "
|
|
4397
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
4364
4398
|
countryCode?: string | undefined;
|
|
4365
4399
|
cqZone?: number | undefined;
|
|
4366
4400
|
ituZone?: number | undefined;
|
|
@@ -4403,7 +4437,7 @@ export declare const WSQSORecordAddedMessageSchema: z.ZodObject<{
|
|
|
4403
4437
|
qth?: string | undefined;
|
|
4404
4438
|
dxccId?: number | undefined;
|
|
4405
4439
|
dxccEntity?: string | undefined;
|
|
4406
|
-
dxccStatus?: "unknown" | "
|
|
4440
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
4407
4441
|
countryCode?: string | undefined;
|
|
4408
4442
|
cqZone?: number | undefined;
|
|
4409
4443
|
ituZone?: number | undefined;
|
|
@@ -4450,7 +4484,7 @@ export declare const WSQSORecordAddedMessageSchema: z.ZodObject<{
|
|
|
4450
4484
|
qth?: string | undefined;
|
|
4451
4485
|
dxccId?: number | undefined;
|
|
4452
4486
|
dxccEntity?: string | undefined;
|
|
4453
|
-
dxccStatus?: "unknown" | "
|
|
4487
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
4454
4488
|
countryCode?: string | undefined;
|
|
4455
4489
|
cqZone?: number | undefined;
|
|
4456
4490
|
ituZone?: number | undefined;
|
|
@@ -4497,7 +4531,7 @@ export declare const WSQSORecordAddedMessageSchema: z.ZodObject<{
|
|
|
4497
4531
|
qth?: string | undefined;
|
|
4498
4532
|
dxccId?: number | undefined;
|
|
4499
4533
|
dxccEntity?: string | undefined;
|
|
4500
|
-
dxccStatus?: "unknown" | "
|
|
4534
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
4501
4535
|
countryCode?: string | undefined;
|
|
4502
4536
|
cqZone?: number | undefined;
|
|
4503
4537
|
ituZone?: number | undefined;
|
|
@@ -4548,7 +4582,7 @@ export declare const WSQSORecordAddedMessageSchema: z.ZodObject<{
|
|
|
4548
4582
|
qth?: string | undefined;
|
|
4549
4583
|
dxccId?: number | undefined;
|
|
4550
4584
|
dxccEntity?: string | undefined;
|
|
4551
|
-
dxccStatus?: "unknown" | "
|
|
4585
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
4552
4586
|
countryCode?: string | undefined;
|
|
4553
4587
|
cqZone?: number | undefined;
|
|
4554
4588
|
ituZone?: number | undefined;
|
|
@@ -4600,7 +4634,7 @@ export declare const WSQSORecordAddedMessageSchema: z.ZodObject<{
|
|
|
4600
4634
|
qth?: string | undefined;
|
|
4601
4635
|
dxccId?: number | undefined;
|
|
4602
4636
|
dxccEntity?: string | undefined;
|
|
4603
|
-
dxccStatus?: "unknown" | "
|
|
4637
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
4604
4638
|
countryCode?: string | undefined;
|
|
4605
4639
|
cqZone?: number | undefined;
|
|
4606
4640
|
ituZone?: number | undefined;
|
|
@@ -4702,7 +4736,7 @@ export declare const WSQSORecordUpdatedMessageSchema: z.ZodObject<{
|
|
|
4702
4736
|
qth?: string | undefined;
|
|
4703
4737
|
dxccId?: number | undefined;
|
|
4704
4738
|
dxccEntity?: string | undefined;
|
|
4705
|
-
dxccStatus?: "unknown" | "
|
|
4739
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
4706
4740
|
countryCode?: string | undefined;
|
|
4707
4741
|
cqZone?: number | undefined;
|
|
4708
4742
|
ituZone?: number | undefined;
|
|
@@ -4745,7 +4779,7 @@ export declare const WSQSORecordUpdatedMessageSchema: z.ZodObject<{
|
|
|
4745
4779
|
qth?: string | undefined;
|
|
4746
4780
|
dxccId?: number | undefined;
|
|
4747
4781
|
dxccEntity?: string | undefined;
|
|
4748
|
-
dxccStatus?: "unknown" | "
|
|
4782
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
4749
4783
|
countryCode?: string | undefined;
|
|
4750
4784
|
cqZone?: number | undefined;
|
|
4751
4785
|
ituZone?: number | undefined;
|
|
@@ -4792,7 +4826,7 @@ export declare const WSQSORecordUpdatedMessageSchema: z.ZodObject<{
|
|
|
4792
4826
|
qth?: string | undefined;
|
|
4793
4827
|
dxccId?: number | undefined;
|
|
4794
4828
|
dxccEntity?: string | undefined;
|
|
4795
|
-
dxccStatus?: "unknown" | "
|
|
4829
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
4796
4830
|
countryCode?: string | undefined;
|
|
4797
4831
|
cqZone?: number | undefined;
|
|
4798
4832
|
ituZone?: number | undefined;
|
|
@@ -4839,7 +4873,7 @@ export declare const WSQSORecordUpdatedMessageSchema: z.ZodObject<{
|
|
|
4839
4873
|
qth?: string | undefined;
|
|
4840
4874
|
dxccId?: number | undefined;
|
|
4841
4875
|
dxccEntity?: string | undefined;
|
|
4842
|
-
dxccStatus?: "unknown" | "
|
|
4876
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
4843
4877
|
countryCode?: string | undefined;
|
|
4844
4878
|
cqZone?: number | undefined;
|
|
4845
4879
|
ituZone?: number | undefined;
|
|
@@ -4890,7 +4924,7 @@ export declare const WSQSORecordUpdatedMessageSchema: z.ZodObject<{
|
|
|
4890
4924
|
qth?: string | undefined;
|
|
4891
4925
|
dxccId?: number | undefined;
|
|
4892
4926
|
dxccEntity?: string | undefined;
|
|
4893
|
-
dxccStatus?: "unknown" | "
|
|
4927
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
4894
4928
|
countryCode?: string | undefined;
|
|
4895
4929
|
cqZone?: number | undefined;
|
|
4896
4930
|
ituZone?: number | undefined;
|
|
@@ -4942,7 +4976,7 @@ export declare const WSQSORecordUpdatedMessageSchema: z.ZodObject<{
|
|
|
4942
4976
|
qth?: string | undefined;
|
|
4943
4977
|
dxccId?: number | undefined;
|
|
4944
4978
|
dxccEntity?: string | undefined;
|
|
4945
|
-
dxccStatus?: "unknown" | "
|
|
4979
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
4946
4980
|
countryCode?: string | undefined;
|
|
4947
4981
|
cqZone?: number | undefined;
|
|
4948
4982
|
ituZone?: number | undefined;
|
|
@@ -5439,9 +5473,6 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
|
|
|
5439
5473
|
pttPort: z.ZodOptional<z.ZodString>;
|
|
5440
5474
|
}, "strip", z.ZodTypeAny, {
|
|
5441
5475
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
5442
|
-
spectrum?: {
|
|
5443
|
-
speed?: number | undefined;
|
|
5444
|
-
} | undefined;
|
|
5445
5476
|
network?: {
|
|
5446
5477
|
host: string;
|
|
5447
5478
|
port: number;
|
|
@@ -5464,6 +5495,9 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
|
|
|
5464
5495
|
} | undefined;
|
|
5465
5496
|
backendConfig?: Record<string, string> | undefined;
|
|
5466
5497
|
} | undefined;
|
|
5498
|
+
spectrum?: {
|
|
5499
|
+
speed?: number | undefined;
|
|
5500
|
+
} | undefined;
|
|
5467
5501
|
icomWlan?: {
|
|
5468
5502
|
ip: string;
|
|
5469
5503
|
port: number;
|
|
@@ -5476,9 +5510,6 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
|
|
|
5476
5510
|
pttPort?: string | undefined;
|
|
5477
5511
|
}, {
|
|
5478
5512
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
5479
|
-
spectrum?: {
|
|
5480
|
-
speed?: number | undefined;
|
|
5481
|
-
} | undefined;
|
|
5482
5513
|
network?: {
|
|
5483
5514
|
host: string;
|
|
5484
5515
|
port: number;
|
|
@@ -5501,6 +5532,9 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
|
|
|
5501
5532
|
} | undefined;
|
|
5502
5533
|
backendConfig?: Record<string, string> | undefined;
|
|
5503
5534
|
} | undefined;
|
|
5535
|
+
spectrum?: {
|
|
5536
|
+
speed?: number | undefined;
|
|
5537
|
+
} | undefined;
|
|
5504
5538
|
icomWlan?: {
|
|
5505
5539
|
ip: string;
|
|
5506
5540
|
port: number;
|
|
@@ -5715,9 +5749,6 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
|
|
|
5715
5749
|
reason?: string | undefined;
|
|
5716
5750
|
radioConfig?: {
|
|
5717
5751
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
5718
|
-
spectrum?: {
|
|
5719
|
-
speed?: number | undefined;
|
|
5720
|
-
} | undefined;
|
|
5721
5752
|
network?: {
|
|
5722
5753
|
host: string;
|
|
5723
5754
|
port: number;
|
|
@@ -5740,6 +5771,9 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
|
|
|
5740
5771
|
} | undefined;
|
|
5741
5772
|
backendConfig?: Record<string, string> | undefined;
|
|
5742
5773
|
} | undefined;
|
|
5774
|
+
spectrum?: {
|
|
5775
|
+
speed?: number | undefined;
|
|
5776
|
+
} | undefined;
|
|
5743
5777
|
icomWlan?: {
|
|
5744
5778
|
ip: string;
|
|
5745
5779
|
port: number;
|
|
@@ -5819,9 +5853,6 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
|
|
|
5819
5853
|
reason?: string | undefined;
|
|
5820
5854
|
radioConfig?: {
|
|
5821
5855
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
5822
|
-
spectrum?: {
|
|
5823
|
-
speed?: number | undefined;
|
|
5824
|
-
} | undefined;
|
|
5825
5856
|
network?: {
|
|
5826
5857
|
host: string;
|
|
5827
5858
|
port: number;
|
|
@@ -5844,6 +5875,9 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
|
|
|
5844
5875
|
} | undefined;
|
|
5845
5876
|
backendConfig?: Record<string, string> | undefined;
|
|
5846
5877
|
} | undefined;
|
|
5878
|
+
spectrum?: {
|
|
5879
|
+
speed?: number | undefined;
|
|
5880
|
+
} | undefined;
|
|
5847
5881
|
icomWlan?: {
|
|
5848
5882
|
ip: string;
|
|
5849
5883
|
port: number;
|
|
@@ -5927,9 +5961,6 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
|
|
|
5927
5961
|
reason?: string | undefined;
|
|
5928
5962
|
radioConfig?: {
|
|
5929
5963
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
5930
|
-
spectrum?: {
|
|
5931
|
-
speed?: number | undefined;
|
|
5932
|
-
} | undefined;
|
|
5933
5964
|
network?: {
|
|
5934
5965
|
host: string;
|
|
5935
5966
|
port: number;
|
|
@@ -5952,6 +5983,9 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
|
|
|
5952
5983
|
} | undefined;
|
|
5953
5984
|
backendConfig?: Record<string, string> | undefined;
|
|
5954
5985
|
} | undefined;
|
|
5986
|
+
spectrum?: {
|
|
5987
|
+
speed?: number | undefined;
|
|
5988
|
+
} | undefined;
|
|
5955
5989
|
icomWlan?: {
|
|
5956
5990
|
ip: string;
|
|
5957
5991
|
port: number;
|
|
@@ -6036,9 +6070,6 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
|
|
|
6036
6070
|
reason?: string | undefined;
|
|
6037
6071
|
radioConfig?: {
|
|
6038
6072
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
6039
|
-
spectrum?: {
|
|
6040
|
-
speed?: number | undefined;
|
|
6041
|
-
} | undefined;
|
|
6042
6073
|
network?: {
|
|
6043
6074
|
host: string;
|
|
6044
6075
|
port: number;
|
|
@@ -6061,6 +6092,9 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
|
|
|
6061
6092
|
} | undefined;
|
|
6062
6093
|
backendConfig?: Record<string, string> | undefined;
|
|
6063
6094
|
} | undefined;
|
|
6095
|
+
spectrum?: {
|
|
6096
|
+
speed?: number | undefined;
|
|
6097
|
+
} | undefined;
|
|
6064
6098
|
icomWlan?: {
|
|
6065
6099
|
ip: string;
|
|
6066
6100
|
port: number;
|
|
@@ -7100,6 +7134,114 @@ export declare const WSRemoveOperatorFromTransmissionMessageSchema: z.ZodObject<
|
|
|
7100
7134
|
id?: string | undefined;
|
|
7101
7135
|
}>;
|
|
7102
7136
|
export type WSRemoveOperatorFromTransmissionMessage = z.infer<typeof WSRemoveOperatorFromTransmissionMessageSchema>;
|
|
7137
|
+
/**
|
|
7138
|
+
* 启动外接天调单音调谐(客户端到服务端)
|
|
7139
|
+
*/
|
|
7140
|
+
export declare const WSStartTuneToneMessageSchema: z.ZodObject<{
|
|
7141
|
+
timestamp: z.ZodString;
|
|
7142
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7143
|
+
} & {
|
|
7144
|
+
type: z.ZodLiteral<WSMessageType.START_TUNE_TONE>;
|
|
7145
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
7146
|
+
operatorId: z.ZodOptional<z.ZodString>;
|
|
7147
|
+
toneHz: z.ZodOptional<z.ZodNumber>;
|
|
7148
|
+
}, "strip", z.ZodTypeAny, {
|
|
7149
|
+
operatorId?: string | undefined;
|
|
7150
|
+
toneHz?: number | undefined;
|
|
7151
|
+
}, {
|
|
7152
|
+
operatorId?: string | undefined;
|
|
7153
|
+
toneHz?: number | undefined;
|
|
7154
|
+
}>>;
|
|
7155
|
+
}, "strip", z.ZodTypeAny, {
|
|
7156
|
+
type: WSMessageType.START_TUNE_TONE;
|
|
7157
|
+
timestamp: string;
|
|
7158
|
+
id?: string | undefined;
|
|
7159
|
+
data?: {
|
|
7160
|
+
operatorId?: string | undefined;
|
|
7161
|
+
toneHz?: number | undefined;
|
|
7162
|
+
} | undefined;
|
|
7163
|
+
}, {
|
|
7164
|
+
type: WSMessageType.START_TUNE_TONE;
|
|
7165
|
+
timestamp: string;
|
|
7166
|
+
id?: string | undefined;
|
|
7167
|
+
data?: {
|
|
7168
|
+
operatorId?: string | undefined;
|
|
7169
|
+
toneHz?: number | undefined;
|
|
7170
|
+
} | undefined;
|
|
7171
|
+
}>;
|
|
7172
|
+
export type WSStartTuneToneMessage = z.infer<typeof WSStartTuneToneMessageSchema>;
|
|
7173
|
+
/**
|
|
7174
|
+
* 停止外接天调单音调谐(客户端到服务端)
|
|
7175
|
+
*/
|
|
7176
|
+
export declare const WSStopTuneToneMessageSchema: z.ZodObject<{
|
|
7177
|
+
timestamp: z.ZodString;
|
|
7178
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7179
|
+
} & {
|
|
7180
|
+
type: z.ZodLiteral<WSMessageType.STOP_TUNE_TONE>;
|
|
7181
|
+
data: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
7182
|
+
}, "strip", z.ZodTypeAny, {
|
|
7183
|
+
type: WSMessageType.STOP_TUNE_TONE;
|
|
7184
|
+
timestamp: string;
|
|
7185
|
+
id?: string | undefined;
|
|
7186
|
+
data?: {} | undefined;
|
|
7187
|
+
}, {
|
|
7188
|
+
type: WSMessageType.STOP_TUNE_TONE;
|
|
7189
|
+
timestamp: string;
|
|
7190
|
+
id?: string | undefined;
|
|
7191
|
+
data?: {} | undefined;
|
|
7192
|
+
}>;
|
|
7193
|
+
export type WSStopTuneToneMessage = z.infer<typeof WSStopTuneToneMessageSchema>;
|
|
7194
|
+
/**
|
|
7195
|
+
* 外接天调单音调谐状态(服务端到客户端)
|
|
7196
|
+
*/
|
|
7197
|
+
export declare const WSTuneToneStatusChangedMessageSchema: z.ZodObject<{
|
|
7198
|
+
timestamp: z.ZodString;
|
|
7199
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7200
|
+
} & {
|
|
7201
|
+
type: z.ZodLiteral<WSMessageType.TUNE_TONE_STATUS_CHANGED>;
|
|
7202
|
+
data: z.ZodObject<{
|
|
7203
|
+
active: z.ZodBoolean;
|
|
7204
|
+
toneHz: z.ZodNullable<z.ZodNumber>;
|
|
7205
|
+
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
7206
|
+
maxDurationMs: z.ZodNumber;
|
|
7207
|
+
error: z.ZodOptional<z.ZodString>;
|
|
7208
|
+
}, "strip", z.ZodTypeAny, {
|
|
7209
|
+
active: boolean;
|
|
7210
|
+
toneHz: number | null;
|
|
7211
|
+
startedAt: number | null;
|
|
7212
|
+
maxDurationMs: number;
|
|
7213
|
+
error?: string | undefined;
|
|
7214
|
+
}, {
|
|
7215
|
+
active: boolean;
|
|
7216
|
+
toneHz: number | null;
|
|
7217
|
+
startedAt: number | null;
|
|
7218
|
+
maxDurationMs: number;
|
|
7219
|
+
error?: string | undefined;
|
|
7220
|
+
}>;
|
|
7221
|
+
}, "strip", z.ZodTypeAny, {
|
|
7222
|
+
type: WSMessageType.TUNE_TONE_STATUS_CHANGED;
|
|
7223
|
+
timestamp: string;
|
|
7224
|
+
data: {
|
|
7225
|
+
active: boolean;
|
|
7226
|
+
toneHz: number | null;
|
|
7227
|
+
startedAt: number | null;
|
|
7228
|
+
maxDurationMs: number;
|
|
7229
|
+
error?: string | undefined;
|
|
7230
|
+
};
|
|
7231
|
+
id?: string | undefined;
|
|
7232
|
+
}, {
|
|
7233
|
+
type: WSMessageType.TUNE_TONE_STATUS_CHANGED;
|
|
7234
|
+
timestamp: string;
|
|
7235
|
+
data: {
|
|
7236
|
+
active: boolean;
|
|
7237
|
+
toneHz: number | null;
|
|
7238
|
+
startedAt: number | null;
|
|
7239
|
+
maxDurationMs: number;
|
|
7240
|
+
error?: string | undefined;
|
|
7241
|
+
};
|
|
7242
|
+
id?: string | undefined;
|
|
7243
|
+
}>;
|
|
7244
|
+
export type WSTuneToneStatusChangedMessage = z.infer<typeof WSTuneToneStatusChangedMessageSchema>;
|
|
7103
7245
|
/**
|
|
7104
7246
|
* 电台数值表数据消息(服务端到客户端)
|
|
7105
7247
|
*/
|
|
@@ -7372,14 +7514,14 @@ export declare const WSTextMessageSchema: z.ZodObject<{
|
|
|
7372
7514
|
params?: Record<string, string> | undefined;
|
|
7373
7515
|
key?: string | undefined;
|
|
7374
7516
|
timeout?: number | null | undefined;
|
|
7375
|
-
color?: "
|
|
7517
|
+
color?: "default" | "success" | "warning" | "danger" | undefined;
|
|
7376
7518
|
}, {
|
|
7377
7519
|
title: string;
|
|
7378
7520
|
text: string;
|
|
7379
7521
|
params?: Record<string, string> | undefined;
|
|
7380
7522
|
key?: string | undefined;
|
|
7381
7523
|
timeout?: number | null | undefined;
|
|
7382
|
-
color?: "
|
|
7524
|
+
color?: "default" | "success" | "warning" | "danger" | undefined;
|
|
7383
7525
|
}>;
|
|
7384
7526
|
}, "strip", z.ZodTypeAny, {
|
|
7385
7527
|
type: WSMessageType.TEXT_MESSAGE;
|
|
@@ -7390,7 +7532,7 @@ export declare const WSTextMessageSchema: z.ZodObject<{
|
|
|
7390
7532
|
params?: Record<string, string> | undefined;
|
|
7391
7533
|
key?: string | undefined;
|
|
7392
7534
|
timeout?: number | null | undefined;
|
|
7393
|
-
color?: "
|
|
7535
|
+
color?: "default" | "success" | "warning" | "danger" | undefined;
|
|
7394
7536
|
};
|
|
7395
7537
|
id?: string | undefined;
|
|
7396
7538
|
}, {
|
|
@@ -7402,7 +7544,7 @@ export declare const WSTextMessageSchema: z.ZodObject<{
|
|
|
7402
7544
|
params?: Record<string, string> | undefined;
|
|
7403
7545
|
key?: string | undefined;
|
|
7404
7546
|
timeout?: number | null | undefined;
|
|
7405
|
-
color?: "
|
|
7547
|
+
color?: "default" | "success" | "warning" | "danger" | undefined;
|
|
7406
7548
|
};
|
|
7407
7549
|
id?: string | undefined;
|
|
7408
7550
|
}>;
|
|
@@ -8128,10 +8270,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8128
8270
|
value: string;
|
|
8129
8271
|
label: string;
|
|
8130
8272
|
}[] | undefined;
|
|
8273
|
+
default?: unknown;
|
|
8131
8274
|
min?: number | undefined;
|
|
8132
8275
|
max?: number | undefined;
|
|
8133
8276
|
description?: string | undefined;
|
|
8134
|
-
default?: unknown;
|
|
8135
8277
|
itemFields?: {
|
|
8136
8278
|
type: "string" | "number" | "boolean";
|
|
8137
8279
|
label: string;
|
|
@@ -8148,10 +8290,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8148
8290
|
value: string;
|
|
8149
8291
|
label: string;
|
|
8150
8292
|
}[] | undefined;
|
|
8293
|
+
default?: unknown;
|
|
8151
8294
|
min?: number | undefined;
|
|
8152
8295
|
max?: number | undefined;
|
|
8153
8296
|
description?: string | undefined;
|
|
8154
|
-
default?: unknown;
|
|
8155
8297
|
itemFields?: {
|
|
8156
8298
|
label: string;
|
|
8157
8299
|
key: string;
|
|
@@ -8326,10 +8468,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8326
8468
|
value: string;
|
|
8327
8469
|
label: string;
|
|
8328
8470
|
}[] | undefined;
|
|
8471
|
+
default?: unknown;
|
|
8329
8472
|
min?: number | undefined;
|
|
8330
8473
|
max?: number | undefined;
|
|
8331
8474
|
description?: string | undefined;
|
|
8332
|
-
default?: unknown;
|
|
8333
8475
|
itemFields?: {
|
|
8334
8476
|
type: "string" | "number" | "boolean";
|
|
8335
8477
|
label: string;
|
|
@@ -8397,10 +8539,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8397
8539
|
value: string;
|
|
8398
8540
|
label: string;
|
|
8399
8541
|
}[] | undefined;
|
|
8542
|
+
default?: unknown;
|
|
8400
8543
|
min?: number | undefined;
|
|
8401
8544
|
max?: number | undefined;
|
|
8402
8545
|
description?: string | undefined;
|
|
8403
|
-
default?: unknown;
|
|
8404
8546
|
itemFields?: {
|
|
8405
8547
|
label: string;
|
|
8406
8548
|
key: string;
|
|
@@ -8599,10 +8741,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8599
8741
|
value: string;
|
|
8600
8742
|
label: string;
|
|
8601
8743
|
}[] | undefined;
|
|
8744
|
+
default?: unknown;
|
|
8602
8745
|
min?: number | undefined;
|
|
8603
8746
|
max?: number | undefined;
|
|
8604
8747
|
description?: string | undefined;
|
|
8605
|
-
default?: unknown;
|
|
8606
8748
|
itemFields?: {
|
|
8607
8749
|
type: "string" | "number" | "boolean";
|
|
8608
8750
|
label: string;
|
|
@@ -8705,10 +8847,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8705
8847
|
value: string;
|
|
8706
8848
|
label: string;
|
|
8707
8849
|
}[] | undefined;
|
|
8850
|
+
default?: unknown;
|
|
8708
8851
|
min?: number | undefined;
|
|
8709
8852
|
max?: number | undefined;
|
|
8710
8853
|
description?: string | undefined;
|
|
8711
|
-
default?: unknown;
|
|
8712
8854
|
itemFields?: {
|
|
8713
8855
|
label: string;
|
|
8714
8856
|
key: string;
|
|
@@ -8821,10 +8963,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8821
8963
|
value: string;
|
|
8822
8964
|
label: string;
|
|
8823
8965
|
}[] | undefined;
|
|
8966
|
+
default?: unknown;
|
|
8824
8967
|
min?: number | undefined;
|
|
8825
8968
|
max?: number | undefined;
|
|
8826
8969
|
description?: string | undefined;
|
|
8827
|
-
default?: unknown;
|
|
8828
8970
|
itemFields?: {
|
|
8829
8971
|
type: "string" | "number" | "boolean";
|
|
8830
8972
|
label: string;
|
|
@@ -8932,10 +9074,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8932
9074
|
value: string;
|
|
8933
9075
|
label: string;
|
|
8934
9076
|
}[] | undefined;
|
|
9077
|
+
default?: unknown;
|
|
8935
9078
|
min?: number | undefined;
|
|
8936
9079
|
max?: number | undefined;
|
|
8937
9080
|
description?: string | undefined;
|
|
8938
|
-
default?: unknown;
|
|
8939
9081
|
itemFields?: {
|
|
8940
9082
|
label: string;
|
|
8941
9083
|
key: string;
|
|
@@ -9066,10 +9208,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
9066
9208
|
value: string;
|
|
9067
9209
|
label: string;
|
|
9068
9210
|
}[] | undefined;
|
|
9211
|
+
default?: unknown;
|
|
9069
9212
|
min?: number | undefined;
|
|
9070
9213
|
max?: number | undefined;
|
|
9071
9214
|
description?: string | undefined;
|
|
9072
|
-
default?: unknown;
|
|
9073
9215
|
itemFields?: {
|
|
9074
9216
|
type: "string" | "number" | "boolean";
|
|
9075
9217
|
label: string;
|
|
@@ -9086,10 +9228,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
9086
9228
|
value: string;
|
|
9087
9229
|
label: string;
|
|
9088
9230
|
}[] | undefined;
|
|
9231
|
+
default?: unknown;
|
|
9089
9232
|
min?: number | undefined;
|
|
9090
9233
|
max?: number | undefined;
|
|
9091
9234
|
description?: string | undefined;
|
|
9092
|
-
default?: unknown;
|
|
9093
9235
|
itemFields?: {
|
|
9094
9236
|
label: string;
|
|
9095
9237
|
key: string;
|
|
@@ -9264,10 +9406,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
9264
9406
|
value: string;
|
|
9265
9407
|
label: string;
|
|
9266
9408
|
}[] | undefined;
|
|
9409
|
+
default?: unknown;
|
|
9267
9410
|
min?: number | undefined;
|
|
9268
9411
|
max?: number | undefined;
|
|
9269
9412
|
description?: string | undefined;
|
|
9270
|
-
default?: unknown;
|
|
9271
9413
|
itemFields?: {
|
|
9272
9414
|
type: "string" | "number" | "boolean";
|
|
9273
9415
|
label: string;
|
|
@@ -9335,10 +9477,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
9335
9477
|
value: string;
|
|
9336
9478
|
label: string;
|
|
9337
9479
|
}[] | undefined;
|
|
9480
|
+
default?: unknown;
|
|
9338
9481
|
min?: number | undefined;
|
|
9339
9482
|
max?: number | undefined;
|
|
9340
9483
|
description?: string | undefined;
|
|
9341
|
-
default?: unknown;
|
|
9342
9484
|
itemFields?: {
|
|
9343
9485
|
label: string;
|
|
9344
9486
|
key: string;
|
|
@@ -9415,10 +9557,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
9415
9557
|
value: string;
|
|
9416
9558
|
label: string;
|
|
9417
9559
|
}[] | undefined;
|
|
9560
|
+
default?: unknown;
|
|
9418
9561
|
min?: number | undefined;
|
|
9419
9562
|
max?: number | undefined;
|
|
9420
9563
|
description?: string | undefined;
|
|
9421
|
-
default?: unknown;
|
|
9422
9564
|
itemFields?: {
|
|
9423
9565
|
type: "string" | "number" | "boolean";
|
|
9424
9566
|
label: string;
|
|
@@ -9489,10 +9631,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
9489
9631
|
value: string;
|
|
9490
9632
|
label: string;
|
|
9491
9633
|
}[] | undefined;
|
|
9634
|
+
default?: unknown;
|
|
9492
9635
|
min?: number | undefined;
|
|
9493
9636
|
max?: number | undefined;
|
|
9494
9637
|
description?: string | undefined;
|
|
9495
|
-
default?: unknown;
|
|
9496
9638
|
itemFields?: {
|
|
9497
9639
|
label: string;
|
|
9498
9640
|
key: string;
|
|
@@ -9573,10 +9715,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
9573
9715
|
value: string;
|
|
9574
9716
|
label: string;
|
|
9575
9717
|
}[] | undefined;
|
|
9718
|
+
default?: unknown;
|
|
9576
9719
|
min?: number | undefined;
|
|
9577
9720
|
max?: number | undefined;
|
|
9578
9721
|
description?: string | undefined;
|
|
9579
|
-
default?: unknown;
|
|
9580
9722
|
itemFields?: {
|
|
9581
9723
|
type: "string" | "number" | "boolean";
|
|
9582
9724
|
label: string;
|
|
@@ -9652,10 +9794,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
9652
9794
|
value: string;
|
|
9653
9795
|
label: string;
|
|
9654
9796
|
}[] | undefined;
|
|
9797
|
+
default?: unknown;
|
|
9655
9798
|
min?: number | undefined;
|
|
9656
9799
|
max?: number | undefined;
|
|
9657
9800
|
description?: string | undefined;
|
|
9658
|
-
default?: unknown;
|
|
9659
9801
|
itemFields?: {
|
|
9660
9802
|
label: string;
|
|
9661
9803
|
key: string;
|
|
@@ -10263,7 +10405,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
10263
10405
|
grid?: string | undefined;
|
|
10264
10406
|
dxccId?: number | undefined;
|
|
10265
10407
|
dxccEntity?: string | undefined;
|
|
10266
|
-
dxccStatus?: "unknown" | "
|
|
10408
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
10267
10409
|
isNewCallsign?: boolean | undefined;
|
|
10268
10410
|
isNewDxccEntity?: boolean | undefined;
|
|
10269
10411
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -10277,7 +10419,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
10277
10419
|
grid?: string | undefined;
|
|
10278
10420
|
dxccId?: number | undefined;
|
|
10279
10421
|
dxccEntity?: string | undefined;
|
|
10280
|
-
dxccStatus?: "unknown" | "
|
|
10422
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
10281
10423
|
isNewCallsign?: boolean | undefined;
|
|
10282
10424
|
isNewDxccEntity?: boolean | undefined;
|
|
10283
10425
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -10300,7 +10442,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
10300
10442
|
grid?: string | undefined;
|
|
10301
10443
|
dxccId?: number | undefined;
|
|
10302
10444
|
dxccEntity?: string | undefined;
|
|
10303
|
-
dxccStatus?: "unknown" | "
|
|
10445
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
10304
10446
|
isNewCallsign?: boolean | undefined;
|
|
10305
10447
|
isNewDxccEntity?: boolean | undefined;
|
|
10306
10448
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -10322,7 +10464,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
10322
10464
|
grid?: string | undefined;
|
|
10323
10465
|
dxccId?: number | undefined;
|
|
10324
10466
|
dxccEntity?: string | undefined;
|
|
10325
|
-
dxccStatus?: "unknown" | "
|
|
10467
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
10326
10468
|
isNewCallsign?: boolean | undefined;
|
|
10327
10469
|
isNewDxccEntity?: boolean | undefined;
|
|
10328
10470
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -10386,7 +10528,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
10386
10528
|
grid?: string | undefined;
|
|
10387
10529
|
dxccId?: number | undefined;
|
|
10388
10530
|
dxccEntity?: string | undefined;
|
|
10389
|
-
dxccStatus?: "unknown" | "
|
|
10531
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
10390
10532
|
isNewCallsign?: boolean | undefined;
|
|
10391
10533
|
isNewDxccEntity?: boolean | undefined;
|
|
10392
10534
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -10427,7 +10569,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
10427
10569
|
grid?: string | undefined;
|
|
10428
10570
|
dxccId?: number | undefined;
|
|
10429
10571
|
dxccEntity?: string | undefined;
|
|
10430
|
-
dxccStatus?: "unknown" | "
|
|
10572
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
10431
10573
|
isNewCallsign?: boolean | undefined;
|
|
10432
10574
|
isNewDxccEntity?: boolean | undefined;
|
|
10433
10575
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -10472,7 +10614,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
10472
10614
|
grid?: string | undefined;
|
|
10473
10615
|
dxccId?: number | undefined;
|
|
10474
10616
|
dxccEntity?: string | undefined;
|
|
10475
|
-
dxccStatus?: "unknown" | "
|
|
10617
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
10476
10618
|
isNewCallsign?: boolean | undefined;
|
|
10477
10619
|
isNewDxccEntity?: boolean | undefined;
|
|
10478
10620
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -10518,7 +10660,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
10518
10660
|
grid?: string | undefined;
|
|
10519
10661
|
dxccId?: number | undefined;
|
|
10520
10662
|
dxccEntity?: string | undefined;
|
|
10521
|
-
dxccStatus?: "unknown" | "
|
|
10663
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
10522
10664
|
isNewCallsign?: boolean | undefined;
|
|
10523
10665
|
isNewDxccEntity?: boolean | undefined;
|
|
10524
10666
|
isNewBandDxccEntity?: boolean | undefined;
|
|
@@ -10571,8 +10713,8 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
10571
10713
|
defaultSelected: boolean;
|
|
10572
10714
|
supportsWaterfall: boolean;
|
|
10573
10715
|
frequencyRangeMode: "baseband" | "absolute";
|
|
10574
|
-
sourceBinCount?: number | null | undefined;
|
|
10575
10716
|
reason?: string | undefined;
|
|
10717
|
+
sourceBinCount?: number | null | undefined;
|
|
10576
10718
|
}, {
|
|
10577
10719
|
displayBinCount: number;
|
|
10578
10720
|
kind: "audio" | "radio-sdr" | "openwebrx-sdr";
|
|
@@ -10581,8 +10723,8 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
10581
10723
|
defaultSelected: boolean;
|
|
10582
10724
|
supportsWaterfall: boolean;
|
|
10583
10725
|
frequencyRangeMode: "baseband" | "absolute";
|
|
10584
|
-
sourceBinCount?: number | null | undefined;
|
|
10585
10726
|
reason?: string | undefined;
|
|
10727
|
+
sourceBinCount?: number | null | undefined;
|
|
10586
10728
|
}>, "many">;
|
|
10587
10729
|
}, "strip", z.ZodTypeAny, {
|
|
10588
10730
|
profileId: string | null;
|
|
@@ -10595,8 +10737,8 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
10595
10737
|
defaultSelected: boolean;
|
|
10596
10738
|
supportsWaterfall: boolean;
|
|
10597
10739
|
frequencyRangeMode: "baseband" | "absolute";
|
|
10598
|
-
sourceBinCount?: number | null | undefined;
|
|
10599
10740
|
reason?: string | undefined;
|
|
10741
|
+
sourceBinCount?: number | null | undefined;
|
|
10600
10742
|
}[];
|
|
10601
10743
|
}, {
|
|
10602
10744
|
profileId: string | null;
|
|
@@ -10609,8 +10751,8 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
10609
10751
|
defaultSelected: boolean;
|
|
10610
10752
|
supportsWaterfall: boolean;
|
|
10611
10753
|
frequencyRangeMode: "baseband" | "absolute";
|
|
10612
|
-
sourceBinCount?: number | null | undefined;
|
|
10613
10754
|
reason?: string | undefined;
|
|
10755
|
+
sourceBinCount?: number | null | undefined;
|
|
10614
10756
|
}[];
|
|
10615
10757
|
}>;
|
|
10616
10758
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -10627,8 +10769,8 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
10627
10769
|
defaultSelected: boolean;
|
|
10628
10770
|
supportsWaterfall: boolean;
|
|
10629
10771
|
frequencyRangeMode: "baseband" | "absolute";
|
|
10630
|
-
sourceBinCount?: number | null | undefined;
|
|
10631
10772
|
reason?: string | undefined;
|
|
10773
|
+
sourceBinCount?: number | null | undefined;
|
|
10632
10774
|
}[];
|
|
10633
10775
|
};
|
|
10634
10776
|
id?: string | undefined;
|
|
@@ -10646,8 +10788,8 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
10646
10788
|
defaultSelected: boolean;
|
|
10647
10789
|
supportsWaterfall: boolean;
|
|
10648
10790
|
frequencyRangeMode: "baseband" | "absolute";
|
|
10649
|
-
sourceBinCount?: number | null | undefined;
|
|
10650
10791
|
reason?: string | undefined;
|
|
10792
|
+
sourceBinCount?: number | null | undefined;
|
|
10651
10793
|
}[];
|
|
10652
10794
|
};
|
|
10653
10795
|
id?: string | undefined;
|
|
@@ -13111,7 +13253,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
13111
13253
|
qth?: string | undefined;
|
|
13112
13254
|
dxccId?: number | undefined;
|
|
13113
13255
|
dxccEntity?: string | undefined;
|
|
13114
|
-
dxccStatus?: "unknown" | "
|
|
13256
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
13115
13257
|
countryCode?: string | undefined;
|
|
13116
13258
|
cqZone?: number | undefined;
|
|
13117
13259
|
ituZone?: number | undefined;
|
|
@@ -13154,7 +13296,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
13154
13296
|
qth?: string | undefined;
|
|
13155
13297
|
dxccId?: number | undefined;
|
|
13156
13298
|
dxccEntity?: string | undefined;
|
|
13157
|
-
dxccStatus?: "unknown" | "
|
|
13299
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
13158
13300
|
countryCode?: string | undefined;
|
|
13159
13301
|
cqZone?: number | undefined;
|
|
13160
13302
|
ituZone?: number | undefined;
|
|
@@ -13201,7 +13343,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
13201
13343
|
qth?: string | undefined;
|
|
13202
13344
|
dxccId?: number | undefined;
|
|
13203
13345
|
dxccEntity?: string | undefined;
|
|
13204
|
-
dxccStatus?: "unknown" | "
|
|
13346
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
13205
13347
|
countryCode?: string | undefined;
|
|
13206
13348
|
cqZone?: number | undefined;
|
|
13207
13349
|
ituZone?: number | undefined;
|
|
@@ -13248,7 +13390,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
13248
13390
|
qth?: string | undefined;
|
|
13249
13391
|
dxccId?: number | undefined;
|
|
13250
13392
|
dxccEntity?: string | undefined;
|
|
13251
|
-
dxccStatus?: "unknown" | "
|
|
13393
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
13252
13394
|
countryCode?: string | undefined;
|
|
13253
13395
|
cqZone?: number | undefined;
|
|
13254
13396
|
ituZone?: number | undefined;
|
|
@@ -13299,7 +13441,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
13299
13441
|
qth?: string | undefined;
|
|
13300
13442
|
dxccId?: number | undefined;
|
|
13301
13443
|
dxccEntity?: string | undefined;
|
|
13302
|
-
dxccStatus?: "unknown" | "
|
|
13444
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
13303
13445
|
countryCode?: string | undefined;
|
|
13304
13446
|
cqZone?: number | undefined;
|
|
13305
13447
|
ituZone?: number | undefined;
|
|
@@ -13351,7 +13493,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
13351
13493
|
qth?: string | undefined;
|
|
13352
13494
|
dxccId?: number | undefined;
|
|
13353
13495
|
dxccEntity?: string | undefined;
|
|
13354
|
-
dxccStatus?: "unknown" | "
|
|
13496
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
13355
13497
|
countryCode?: string | undefined;
|
|
13356
13498
|
cqZone?: number | undefined;
|
|
13357
13499
|
ituZone?: number | undefined;
|
|
@@ -13448,7 +13590,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
13448
13590
|
qth?: string | undefined;
|
|
13449
13591
|
dxccId?: number | undefined;
|
|
13450
13592
|
dxccEntity?: string | undefined;
|
|
13451
|
-
dxccStatus?: "unknown" | "
|
|
13593
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
13452
13594
|
countryCode?: string | undefined;
|
|
13453
13595
|
cqZone?: number | undefined;
|
|
13454
13596
|
ituZone?: number | undefined;
|
|
@@ -13491,7 +13633,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
13491
13633
|
qth?: string | undefined;
|
|
13492
13634
|
dxccId?: number | undefined;
|
|
13493
13635
|
dxccEntity?: string | undefined;
|
|
13494
|
-
dxccStatus?: "unknown" | "
|
|
13636
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
13495
13637
|
countryCode?: string | undefined;
|
|
13496
13638
|
cqZone?: number | undefined;
|
|
13497
13639
|
ituZone?: number | undefined;
|
|
@@ -13538,7 +13680,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
13538
13680
|
qth?: string | undefined;
|
|
13539
13681
|
dxccId?: number | undefined;
|
|
13540
13682
|
dxccEntity?: string | undefined;
|
|
13541
|
-
dxccStatus?: "unknown" | "
|
|
13683
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
13542
13684
|
countryCode?: string | undefined;
|
|
13543
13685
|
cqZone?: number | undefined;
|
|
13544
13686
|
ituZone?: number | undefined;
|
|
@@ -13585,7 +13727,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
13585
13727
|
qth?: string | undefined;
|
|
13586
13728
|
dxccId?: number | undefined;
|
|
13587
13729
|
dxccEntity?: string | undefined;
|
|
13588
|
-
dxccStatus?: "unknown" | "
|
|
13730
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
13589
13731
|
countryCode?: string | undefined;
|
|
13590
13732
|
cqZone?: number | undefined;
|
|
13591
13733
|
ituZone?: number | undefined;
|
|
@@ -13636,7 +13778,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
13636
13778
|
qth?: string | undefined;
|
|
13637
13779
|
dxccId?: number | undefined;
|
|
13638
13780
|
dxccEntity?: string | undefined;
|
|
13639
|
-
dxccStatus?: "unknown" | "
|
|
13781
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
13640
13782
|
countryCode?: string | undefined;
|
|
13641
13783
|
cqZone?: number | undefined;
|
|
13642
13784
|
ituZone?: number | undefined;
|
|
@@ -13688,7 +13830,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
13688
13830
|
qth?: string | undefined;
|
|
13689
13831
|
dxccId?: number | undefined;
|
|
13690
13832
|
dxccEntity?: string | undefined;
|
|
13691
|
-
dxccStatus?: "unknown" | "
|
|
13833
|
+
dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
|
|
13692
13834
|
countryCode?: string | undefined;
|
|
13693
13835
|
cqZone?: number | undefined;
|
|
13694
13836
|
ituZone?: number | undefined;
|
|
@@ -14340,9 +14482,6 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14340
14482
|
pttPort: z.ZodOptional<z.ZodString>;
|
|
14341
14483
|
}, "strip", z.ZodTypeAny, {
|
|
14342
14484
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
14343
|
-
spectrum?: {
|
|
14344
|
-
speed?: number | undefined;
|
|
14345
|
-
} | undefined;
|
|
14346
14485
|
network?: {
|
|
14347
14486
|
host: string;
|
|
14348
14487
|
port: number;
|
|
@@ -14365,6 +14504,9 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14365
14504
|
} | undefined;
|
|
14366
14505
|
backendConfig?: Record<string, string> | undefined;
|
|
14367
14506
|
} | undefined;
|
|
14507
|
+
spectrum?: {
|
|
14508
|
+
speed?: number | undefined;
|
|
14509
|
+
} | undefined;
|
|
14368
14510
|
icomWlan?: {
|
|
14369
14511
|
ip: string;
|
|
14370
14512
|
port: number;
|
|
@@ -14377,9 +14519,6 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14377
14519
|
pttPort?: string | undefined;
|
|
14378
14520
|
}, {
|
|
14379
14521
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
14380
|
-
spectrum?: {
|
|
14381
|
-
speed?: number | undefined;
|
|
14382
|
-
} | undefined;
|
|
14383
14522
|
network?: {
|
|
14384
14523
|
host: string;
|
|
14385
14524
|
port: number;
|
|
@@ -14402,6 +14541,9 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14402
14541
|
} | undefined;
|
|
14403
14542
|
backendConfig?: Record<string, string> | undefined;
|
|
14404
14543
|
} | undefined;
|
|
14544
|
+
spectrum?: {
|
|
14545
|
+
speed?: number | undefined;
|
|
14546
|
+
} | undefined;
|
|
14405
14547
|
icomWlan?: {
|
|
14406
14548
|
ip: string;
|
|
14407
14549
|
port: number;
|
|
@@ -14616,9 +14758,6 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14616
14758
|
reason?: string | undefined;
|
|
14617
14759
|
radioConfig?: {
|
|
14618
14760
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
14619
|
-
spectrum?: {
|
|
14620
|
-
speed?: number | undefined;
|
|
14621
|
-
} | undefined;
|
|
14622
14761
|
network?: {
|
|
14623
14762
|
host: string;
|
|
14624
14763
|
port: number;
|
|
@@ -14641,6 +14780,9 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14641
14780
|
} | undefined;
|
|
14642
14781
|
backendConfig?: Record<string, string> | undefined;
|
|
14643
14782
|
} | undefined;
|
|
14783
|
+
spectrum?: {
|
|
14784
|
+
speed?: number | undefined;
|
|
14785
|
+
} | undefined;
|
|
14644
14786
|
icomWlan?: {
|
|
14645
14787
|
ip: string;
|
|
14646
14788
|
port: number;
|
|
@@ -14720,9 +14862,6 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14720
14862
|
reason?: string | undefined;
|
|
14721
14863
|
radioConfig?: {
|
|
14722
14864
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
14723
|
-
spectrum?: {
|
|
14724
|
-
speed?: number | undefined;
|
|
14725
|
-
} | undefined;
|
|
14726
14865
|
network?: {
|
|
14727
14866
|
host: string;
|
|
14728
14867
|
port: number;
|
|
@@ -14745,6 +14884,9 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14745
14884
|
} | undefined;
|
|
14746
14885
|
backendConfig?: Record<string, string> | undefined;
|
|
14747
14886
|
} | undefined;
|
|
14887
|
+
spectrum?: {
|
|
14888
|
+
speed?: number | undefined;
|
|
14889
|
+
} | undefined;
|
|
14748
14890
|
icomWlan?: {
|
|
14749
14891
|
ip: string;
|
|
14750
14892
|
port: number;
|
|
@@ -14828,9 +14970,6 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14828
14970
|
reason?: string | undefined;
|
|
14829
14971
|
radioConfig?: {
|
|
14830
14972
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
14831
|
-
spectrum?: {
|
|
14832
|
-
speed?: number | undefined;
|
|
14833
|
-
} | undefined;
|
|
14834
14973
|
network?: {
|
|
14835
14974
|
host: string;
|
|
14836
14975
|
port: number;
|
|
@@ -14853,6 +14992,9 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14853
14992
|
} | undefined;
|
|
14854
14993
|
backendConfig?: Record<string, string> | undefined;
|
|
14855
14994
|
} | undefined;
|
|
14995
|
+
spectrum?: {
|
|
14996
|
+
speed?: number | undefined;
|
|
14997
|
+
} | undefined;
|
|
14856
14998
|
icomWlan?: {
|
|
14857
14999
|
ip: string;
|
|
14858
15000
|
port: number;
|
|
@@ -14937,9 +15079,6 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14937
15079
|
reason?: string | undefined;
|
|
14938
15080
|
radioConfig?: {
|
|
14939
15081
|
type: "none" | "network" | "serial" | "icom-wlan";
|
|
14940
|
-
spectrum?: {
|
|
14941
|
-
speed?: number | undefined;
|
|
14942
|
-
} | undefined;
|
|
14943
15082
|
network?: {
|
|
14944
15083
|
host: string;
|
|
14945
15084
|
port: number;
|
|
@@ -14962,6 +15101,9 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14962
15101
|
} | undefined;
|
|
14963
15102
|
backendConfig?: Record<string, string> | undefined;
|
|
14964
15103
|
} | undefined;
|
|
15104
|
+
spectrum?: {
|
|
15105
|
+
speed?: number | undefined;
|
|
15106
|
+
} | undefined;
|
|
14965
15107
|
icomWlan?: {
|
|
14966
15108
|
ip: string;
|
|
14967
15109
|
port: number;
|
|
@@ -15501,6 +15643,99 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
15501
15643
|
}>, z.ZodObject<{
|
|
15502
15644
|
timestamp: z.ZodString;
|
|
15503
15645
|
id: z.ZodOptional<z.ZodString>;
|
|
15646
|
+
} & {
|
|
15647
|
+
type: z.ZodLiteral<WSMessageType.START_TUNE_TONE>;
|
|
15648
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
15649
|
+
operatorId: z.ZodOptional<z.ZodString>;
|
|
15650
|
+
toneHz: z.ZodOptional<z.ZodNumber>;
|
|
15651
|
+
}, "strip", z.ZodTypeAny, {
|
|
15652
|
+
operatorId?: string | undefined;
|
|
15653
|
+
toneHz?: number | undefined;
|
|
15654
|
+
}, {
|
|
15655
|
+
operatorId?: string | undefined;
|
|
15656
|
+
toneHz?: number | undefined;
|
|
15657
|
+
}>>;
|
|
15658
|
+
}, "strip", z.ZodTypeAny, {
|
|
15659
|
+
type: WSMessageType.START_TUNE_TONE;
|
|
15660
|
+
timestamp: string;
|
|
15661
|
+
id?: string | undefined;
|
|
15662
|
+
data?: {
|
|
15663
|
+
operatorId?: string | undefined;
|
|
15664
|
+
toneHz?: number | undefined;
|
|
15665
|
+
} | undefined;
|
|
15666
|
+
}, {
|
|
15667
|
+
type: WSMessageType.START_TUNE_TONE;
|
|
15668
|
+
timestamp: string;
|
|
15669
|
+
id?: string | undefined;
|
|
15670
|
+
data?: {
|
|
15671
|
+
operatorId?: string | undefined;
|
|
15672
|
+
toneHz?: number | undefined;
|
|
15673
|
+
} | undefined;
|
|
15674
|
+
}>, z.ZodObject<{
|
|
15675
|
+
timestamp: z.ZodString;
|
|
15676
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15677
|
+
} & {
|
|
15678
|
+
type: z.ZodLiteral<WSMessageType.STOP_TUNE_TONE>;
|
|
15679
|
+
data: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
15680
|
+
}, "strip", z.ZodTypeAny, {
|
|
15681
|
+
type: WSMessageType.STOP_TUNE_TONE;
|
|
15682
|
+
timestamp: string;
|
|
15683
|
+
id?: string | undefined;
|
|
15684
|
+
data?: {} | undefined;
|
|
15685
|
+
}, {
|
|
15686
|
+
type: WSMessageType.STOP_TUNE_TONE;
|
|
15687
|
+
timestamp: string;
|
|
15688
|
+
id?: string | undefined;
|
|
15689
|
+
data?: {} | undefined;
|
|
15690
|
+
}>, z.ZodObject<{
|
|
15691
|
+
timestamp: z.ZodString;
|
|
15692
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15693
|
+
} & {
|
|
15694
|
+
type: z.ZodLiteral<WSMessageType.TUNE_TONE_STATUS_CHANGED>;
|
|
15695
|
+
data: z.ZodObject<{
|
|
15696
|
+
active: z.ZodBoolean;
|
|
15697
|
+
toneHz: z.ZodNullable<z.ZodNumber>;
|
|
15698
|
+
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
15699
|
+
maxDurationMs: z.ZodNumber;
|
|
15700
|
+
error: z.ZodOptional<z.ZodString>;
|
|
15701
|
+
}, "strip", z.ZodTypeAny, {
|
|
15702
|
+
active: boolean;
|
|
15703
|
+
toneHz: number | null;
|
|
15704
|
+
startedAt: number | null;
|
|
15705
|
+
maxDurationMs: number;
|
|
15706
|
+
error?: string | undefined;
|
|
15707
|
+
}, {
|
|
15708
|
+
active: boolean;
|
|
15709
|
+
toneHz: number | null;
|
|
15710
|
+
startedAt: number | null;
|
|
15711
|
+
maxDurationMs: number;
|
|
15712
|
+
error?: string | undefined;
|
|
15713
|
+
}>;
|
|
15714
|
+
}, "strip", z.ZodTypeAny, {
|
|
15715
|
+
type: WSMessageType.TUNE_TONE_STATUS_CHANGED;
|
|
15716
|
+
timestamp: string;
|
|
15717
|
+
data: {
|
|
15718
|
+
active: boolean;
|
|
15719
|
+
toneHz: number | null;
|
|
15720
|
+
startedAt: number | null;
|
|
15721
|
+
maxDurationMs: number;
|
|
15722
|
+
error?: string | undefined;
|
|
15723
|
+
};
|
|
15724
|
+
id?: string | undefined;
|
|
15725
|
+
}, {
|
|
15726
|
+
type: WSMessageType.TUNE_TONE_STATUS_CHANGED;
|
|
15727
|
+
timestamp: string;
|
|
15728
|
+
data: {
|
|
15729
|
+
active: boolean;
|
|
15730
|
+
toneHz: number | null;
|
|
15731
|
+
startedAt: number | null;
|
|
15732
|
+
maxDurationMs: number;
|
|
15733
|
+
error?: string | undefined;
|
|
15734
|
+
};
|
|
15735
|
+
id?: string | undefined;
|
|
15736
|
+
}>, z.ZodObject<{
|
|
15737
|
+
timestamp: z.ZodString;
|
|
15738
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15504
15739
|
} & {
|
|
15505
15740
|
type: z.ZodLiteral<WSMessageType.METER_DATA>;
|
|
15506
15741
|
data: z.ZodObject<{
|
|
@@ -15759,14 +15994,14 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
15759
15994
|
params?: Record<string, string> | undefined;
|
|
15760
15995
|
key?: string | undefined;
|
|
15761
15996
|
timeout?: number | null | undefined;
|
|
15762
|
-
color?: "
|
|
15997
|
+
color?: "default" | "success" | "warning" | "danger" | undefined;
|
|
15763
15998
|
}, {
|
|
15764
15999
|
title: string;
|
|
15765
16000
|
text: string;
|
|
15766
16001
|
params?: Record<string, string> | undefined;
|
|
15767
16002
|
key?: string | undefined;
|
|
15768
16003
|
timeout?: number | null | undefined;
|
|
15769
|
-
color?: "
|
|
16004
|
+
color?: "default" | "success" | "warning" | "danger" | undefined;
|
|
15770
16005
|
}>;
|
|
15771
16006
|
}, "strip", z.ZodTypeAny, {
|
|
15772
16007
|
type: WSMessageType.TEXT_MESSAGE;
|
|
@@ -15777,7 +16012,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
15777
16012
|
params?: Record<string, string> | undefined;
|
|
15778
16013
|
key?: string | undefined;
|
|
15779
16014
|
timeout?: number | null | undefined;
|
|
15780
|
-
color?: "
|
|
16015
|
+
color?: "default" | "success" | "warning" | "danger" | undefined;
|
|
15781
16016
|
};
|
|
15782
16017
|
id?: string | undefined;
|
|
15783
16018
|
}, {
|
|
@@ -15789,7 +16024,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
15789
16024
|
params?: Record<string, string> | undefined;
|
|
15790
16025
|
key?: string | undefined;
|
|
15791
16026
|
timeout?: number | null | undefined;
|
|
15792
|
-
color?: "
|
|
16027
|
+
color?: "default" | "success" | "warning" | "danger" | undefined;
|
|
15793
16028
|
};
|
|
15794
16029
|
id?: string | undefined;
|
|
15795
16030
|
}>, z.ZodObject<{
|
|
@@ -16002,10 +16237,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16002
16237
|
value: string;
|
|
16003
16238
|
label: string;
|
|
16004
16239
|
}[] | undefined;
|
|
16240
|
+
default?: unknown;
|
|
16005
16241
|
min?: number | undefined;
|
|
16006
16242
|
max?: number | undefined;
|
|
16007
16243
|
description?: string | undefined;
|
|
16008
|
-
default?: unknown;
|
|
16009
16244
|
itemFields?: {
|
|
16010
16245
|
type: "string" | "number" | "boolean";
|
|
16011
16246
|
label: string;
|
|
@@ -16022,10 +16257,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16022
16257
|
value: string;
|
|
16023
16258
|
label: string;
|
|
16024
16259
|
}[] | undefined;
|
|
16260
|
+
default?: unknown;
|
|
16025
16261
|
min?: number | undefined;
|
|
16026
16262
|
max?: number | undefined;
|
|
16027
16263
|
description?: string | undefined;
|
|
16028
|
-
default?: unknown;
|
|
16029
16264
|
itemFields?: {
|
|
16030
16265
|
label: string;
|
|
16031
16266
|
key: string;
|
|
@@ -16200,10 +16435,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16200
16435
|
value: string;
|
|
16201
16436
|
label: string;
|
|
16202
16437
|
}[] | undefined;
|
|
16438
|
+
default?: unknown;
|
|
16203
16439
|
min?: number | undefined;
|
|
16204
16440
|
max?: number | undefined;
|
|
16205
16441
|
description?: string | undefined;
|
|
16206
|
-
default?: unknown;
|
|
16207
16442
|
itemFields?: {
|
|
16208
16443
|
type: "string" | "number" | "boolean";
|
|
16209
16444
|
label: string;
|
|
@@ -16271,10 +16506,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16271
16506
|
value: string;
|
|
16272
16507
|
label: string;
|
|
16273
16508
|
}[] | undefined;
|
|
16509
|
+
default?: unknown;
|
|
16274
16510
|
min?: number | undefined;
|
|
16275
16511
|
max?: number | undefined;
|
|
16276
16512
|
description?: string | undefined;
|
|
16277
|
-
default?: unknown;
|
|
16278
16513
|
itemFields?: {
|
|
16279
16514
|
label: string;
|
|
16280
16515
|
key: string;
|
|
@@ -16473,10 +16708,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16473
16708
|
value: string;
|
|
16474
16709
|
label: string;
|
|
16475
16710
|
}[] | undefined;
|
|
16711
|
+
default?: unknown;
|
|
16476
16712
|
min?: number | undefined;
|
|
16477
16713
|
max?: number | undefined;
|
|
16478
16714
|
description?: string | undefined;
|
|
16479
|
-
default?: unknown;
|
|
16480
16715
|
itemFields?: {
|
|
16481
16716
|
type: "string" | "number" | "boolean";
|
|
16482
16717
|
label: string;
|
|
@@ -16579,10 +16814,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16579
16814
|
value: string;
|
|
16580
16815
|
label: string;
|
|
16581
16816
|
}[] | undefined;
|
|
16817
|
+
default?: unknown;
|
|
16582
16818
|
min?: number | undefined;
|
|
16583
16819
|
max?: number | undefined;
|
|
16584
16820
|
description?: string | undefined;
|
|
16585
|
-
default?: unknown;
|
|
16586
16821
|
itemFields?: {
|
|
16587
16822
|
label: string;
|
|
16588
16823
|
key: string;
|
|
@@ -16695,10 +16930,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16695
16930
|
value: string;
|
|
16696
16931
|
label: string;
|
|
16697
16932
|
}[] | undefined;
|
|
16933
|
+
default?: unknown;
|
|
16698
16934
|
min?: number | undefined;
|
|
16699
16935
|
max?: number | undefined;
|
|
16700
16936
|
description?: string | undefined;
|
|
16701
|
-
default?: unknown;
|
|
16702
16937
|
itemFields?: {
|
|
16703
16938
|
type: "string" | "number" | "boolean";
|
|
16704
16939
|
label: string;
|
|
@@ -16806,10 +17041,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16806
17041
|
value: string;
|
|
16807
17042
|
label: string;
|
|
16808
17043
|
}[] | undefined;
|
|
17044
|
+
default?: unknown;
|
|
16809
17045
|
min?: number | undefined;
|
|
16810
17046
|
max?: number | undefined;
|
|
16811
17047
|
description?: string | undefined;
|
|
16812
|
-
default?: unknown;
|
|
16813
17048
|
itemFields?: {
|
|
16814
17049
|
label: string;
|
|
16815
17050
|
key: string;
|
|
@@ -16938,10 +17173,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16938
17173
|
value: string;
|
|
16939
17174
|
label: string;
|
|
16940
17175
|
}[] | undefined;
|
|
17176
|
+
default?: unknown;
|
|
16941
17177
|
min?: number | undefined;
|
|
16942
17178
|
max?: number | undefined;
|
|
16943
17179
|
description?: string | undefined;
|
|
16944
|
-
default?: unknown;
|
|
16945
17180
|
itemFields?: {
|
|
16946
17181
|
type: "string" | "number" | "boolean";
|
|
16947
17182
|
label: string;
|
|
@@ -16958,10 +17193,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16958
17193
|
value: string;
|
|
16959
17194
|
label: string;
|
|
16960
17195
|
}[] | undefined;
|
|
17196
|
+
default?: unknown;
|
|
16961
17197
|
min?: number | undefined;
|
|
16962
17198
|
max?: number | undefined;
|
|
16963
17199
|
description?: string | undefined;
|
|
16964
|
-
default?: unknown;
|
|
16965
17200
|
itemFields?: {
|
|
16966
17201
|
label: string;
|
|
16967
17202
|
key: string;
|
|
@@ -17136,10 +17371,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
17136
17371
|
value: string;
|
|
17137
17372
|
label: string;
|
|
17138
17373
|
}[] | undefined;
|
|
17374
|
+
default?: unknown;
|
|
17139
17375
|
min?: number | undefined;
|
|
17140
17376
|
max?: number | undefined;
|
|
17141
17377
|
description?: string | undefined;
|
|
17142
|
-
default?: unknown;
|
|
17143
17378
|
itemFields?: {
|
|
17144
17379
|
type: "string" | "number" | "boolean";
|
|
17145
17380
|
label: string;
|
|
@@ -17207,10 +17442,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
17207
17442
|
value: string;
|
|
17208
17443
|
label: string;
|
|
17209
17444
|
}[] | undefined;
|
|
17445
|
+
default?: unknown;
|
|
17210
17446
|
min?: number | undefined;
|
|
17211
17447
|
max?: number | undefined;
|
|
17212
17448
|
description?: string | undefined;
|
|
17213
|
-
default?: unknown;
|
|
17214
17449
|
itemFields?: {
|
|
17215
17450
|
label: string;
|
|
17216
17451
|
key: string;
|
|
@@ -17287,10 +17522,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
17287
17522
|
value: string;
|
|
17288
17523
|
label: string;
|
|
17289
17524
|
}[] | undefined;
|
|
17525
|
+
default?: unknown;
|
|
17290
17526
|
min?: number | undefined;
|
|
17291
17527
|
max?: number | undefined;
|
|
17292
17528
|
description?: string | undefined;
|
|
17293
|
-
default?: unknown;
|
|
17294
17529
|
itemFields?: {
|
|
17295
17530
|
type: "string" | "number" | "boolean";
|
|
17296
17531
|
label: string;
|
|
@@ -17361,10 +17596,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
17361
17596
|
value: string;
|
|
17362
17597
|
label: string;
|
|
17363
17598
|
}[] | undefined;
|
|
17599
|
+
default?: unknown;
|
|
17364
17600
|
min?: number | undefined;
|
|
17365
17601
|
max?: number | undefined;
|
|
17366
17602
|
description?: string | undefined;
|
|
17367
|
-
default?: unknown;
|
|
17368
17603
|
itemFields?: {
|
|
17369
17604
|
label: string;
|
|
17370
17605
|
key: string;
|
|
@@ -17445,10 +17680,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
17445
17680
|
value: string;
|
|
17446
17681
|
label: string;
|
|
17447
17682
|
}[] | undefined;
|
|
17683
|
+
default?: unknown;
|
|
17448
17684
|
min?: number | undefined;
|
|
17449
17685
|
max?: number | undefined;
|
|
17450
17686
|
description?: string | undefined;
|
|
17451
|
-
default?: unknown;
|
|
17452
17687
|
itemFields?: {
|
|
17453
17688
|
type: "string" | "number" | "boolean";
|
|
17454
17689
|
label: string;
|
|
@@ -17524,10 +17759,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
17524
17759
|
value: string;
|
|
17525
17760
|
label: string;
|
|
17526
17761
|
}[] | undefined;
|
|
17762
|
+
default?: unknown;
|
|
17527
17763
|
min?: number | undefined;
|
|
17528
17764
|
max?: number | undefined;
|
|
17529
17765
|
description?: string | undefined;
|
|
17530
|
-
default?: unknown;
|
|
17531
17766
|
itemFields?: {
|
|
17532
17767
|
label: string;
|
|
17533
17768
|
key: string;
|
|
@@ -17971,6 +18206,7 @@ export interface DigitalRadioEngineEvents {
|
|
|
17971
18206
|
} | number) => void;
|
|
17972
18207
|
frequencyChanged: (data: FrequencyState) => void;
|
|
17973
18208
|
pttStatusChanged: (data: PTTStatus) => void;
|
|
18209
|
+
tuneToneStatusChanged: (data: TuneToneStatus) => void;
|
|
17974
18210
|
meterData: (data: MeterData) => void;
|
|
17975
18211
|
squelchStatusChanged: (data: SquelchStatus) => void;
|
|
17976
18212
|
qsoRecordAdded: (data: {
|