@springfield/ham-radio-api 16.3.3 → 16.3.4

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.
Files changed (79) hide show
  1. package/README.md +14 -2
  2. package/dist/branded-types/frequency.d.ts +2 -2
  3. package/dist/branded-types/frequency.js +1 -1
  4. package/dist/branded-types/license-class-id.d.ts +2 -2
  5. package/dist/branded-types/license-class-id.js +1 -1
  6. package/dist/branded-types/radio-channel-id.d.ts +2 -2
  7. package/dist/branded-types/radio-channel-id.js +1 -1
  8. package/dist/branded-types/radio-model-id.d.ts +2 -2
  9. package/dist/branded-types/radio-model-id.js +1 -1
  10. package/dist/branded-types/radio-module-id.d.ts +2 -2
  11. package/dist/branded-types/radio-module-id.js +1 -1
  12. package/dist/branded-types/spectrum-band-id.d.ts +2 -2
  13. package/dist/branded-types/spectrum-band-id.js +1 -1
  14. package/dist/branded-types/spectrum-mode-id.d.ts +2 -2
  15. package/dist/branded-types/spectrum-mode-id.js +1 -1
  16. package/dist/branded-types/spectrum-privilege-id.d.ts +2 -2
  17. package/dist/branded-types/spectrum-privilege-id.js +1 -1
  18. package/dist/branded-types/wavelength.d.ts +2 -2
  19. package/dist/branded-types/wavelength.js +1 -1
  20. package/dist/index.d.ts +38 -38
  21. package/dist/index.js +38 -38
  22. package/dist/license/class.d.ts +1 -1
  23. package/dist/radio/channel.d.ts +3 -3
  24. package/dist/radio/codec-factory.d.ts +3 -3
  25. package/dist/radio/codec.d.ts +2 -2
  26. package/dist/radio/connection.d.ts +1 -1
  27. package/dist/radio/driver-provider.d.ts +3 -3
  28. package/dist/radio/driver.d.ts +2 -2
  29. package/dist/radio/id.d.ts +1 -1
  30. package/dist/radio/memory-config.d.ts +2 -2
  31. package/dist/radio/memory.d.ts +1 -1
  32. package/dist/radio/module.d.ts +2 -2
  33. package/dist/radio/program.d.ts +2 -2
  34. package/dist/radio/programmed-channel.d.ts +2 -2
  35. package/dist/radio/protocol.d.ts +5 -5
  36. package/dist/radio/radio.d.ts +5 -5
  37. package/dist/radio/schema.d.ts +1 -1
  38. package/dist/radio/serial-config.d.ts +1 -1
  39. package/dist/radio/shared-components.d.ts +1 -1
  40. package/dist/radio/tone.d.ts +2 -2
  41. package/dist/spectrum/band.d.ts +5 -5
  42. package/dist/spectrum/channel.d.ts +1 -1
  43. package/dist/spectrum/mode.d.ts +1 -1
  44. package/dist/spectrum/privilege.d.ts +5 -5
  45. package/package.json +38 -29
  46. package/src/branded-types/frequency.ts +2 -2
  47. package/src/branded-types/license-class-id.ts +2 -2
  48. package/src/branded-types/radio-channel-id.ts +2 -2
  49. package/src/branded-types/radio-model-id.ts +2 -2
  50. package/src/branded-types/radio-module-id.ts +2 -2
  51. package/src/branded-types/spectrum-band-id.ts +2 -2
  52. package/src/branded-types/spectrum-mode-id.ts +2 -2
  53. package/src/branded-types/spectrum-privilege-id.ts +2 -2
  54. package/src/branded-types/wavelength.ts +2 -2
  55. package/src/index.ts +38 -38
  56. package/src/license/class.ts +1 -1
  57. package/src/radio/channel.ts +3 -3
  58. package/src/radio/codec-factory.ts +3 -3
  59. package/src/radio/codec.ts +2 -2
  60. package/src/radio/connection.ts +1 -1
  61. package/src/radio/driver-provider.ts +3 -3
  62. package/src/radio/driver.ts +2 -2
  63. package/src/radio/id.ts +1 -1
  64. package/src/radio/memory-config.ts +2 -2
  65. package/src/radio/memory.ts +1 -1
  66. package/src/radio/module.ts +2 -2
  67. package/src/radio/program.ts +2 -2
  68. package/src/radio/programmed-channel.ts +2 -2
  69. package/src/radio/protocol.ts +5 -5
  70. package/src/radio/radio.ts +5 -5
  71. package/src/radio/schema.ts +1 -1
  72. package/src/radio/serial-config.ts +1 -1
  73. package/src/radio/shared-components.ts +1 -1
  74. package/src/radio/tone.ts +2 -2
  75. package/src/spectrum/band.ts +5 -5
  76. package/src/spectrum/channel.ts +1 -1
  77. package/src/spectrum/mode.ts +1 -1
  78. package/src/spectrum/privilege.ts +5 -5
  79. package/CHANGELOG.md +0 -279
@@ -1,8 +1,8 @@
1
- import type { Frequency } from '../branded-types/frequency.js';
2
- import type { LicenseClassId } from '../branded-types/license-class-id.js';
3
- import type { SpectrumBandId } from '../branded-types/spectrum-band-id.js';
4
- import type { SpectrumModeId } from '../branded-types/spectrum-mode-id.js';
5
- import type { SpectrumPrivilegeId } from '../branded-types/spectrum-privilege-id.js';
1
+ import type { Frequency } from "../branded-types/frequency.js";
2
+ import type { LicenseClassId } from "../branded-types/license-class-id.js";
3
+ import type { SpectrumBandId } from "../branded-types/spectrum-band-id.js";
4
+ import type { SpectrumModeId } from "../branded-types/spectrum-mode-id.js";
5
+ import type { SpectrumPrivilegeId } from "../branded-types/spectrum-privilege-id.js";
6
6
  export interface SpectrumPrivilege {
7
7
  id: SpectrumPrivilegeId;
8
8
  licenseClassId: LicenseClassId;
package/package.json CHANGED
@@ -1,23 +1,50 @@
1
1
  {
2
2
  "name": "@springfield/ham-radio-api",
3
- "version": "16.3.3",
3
+ "version": "16.3.4",
4
4
  "author": "Bryan Hunt",
5
- "packageManager": "yarn@4.12.0",
6
- "main": "dist/index.js",
7
- "type": "module",
8
- "types": "dist/index.d.ts",
9
5
  "files": [
10
- "src/",
11
- "dist/"
6
+ "dist/",
7
+ "src/"
12
8
  ],
9
+ "type": "module",
10
+ "main": "dist/index.js",
11
+ "types": "dist/index.d.ts",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/springfield-ham-radio/ham-radio-api.git"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
13
19
  "scripts": {
14
20
  "build": "tsc",
15
21
  "commitlint": "commitlint --edit",
22
+ "format": "oxfmt",
16
23
  "lint": "oxlint",
17
24
  "lint:fix": "oxlint --fix --fix-suggestions",
18
25
  "release": "semantic-release",
19
26
  "prepare": "husky"
20
27
  },
28
+ "dependencies": {
29
+ "loglayer": "^8.5.0",
30
+ "ts-brand": "^0.2.0"
31
+ },
32
+ "devDependencies": {
33
+ "@commitlint/cli": "21.2.2",
34
+ "@commitlint/config-conventional": "21.2.2",
35
+ "@semantic-release/changelog": "7.0.0",
36
+ "@semantic-release/git": "11.0.1",
37
+ "@semantic-release/github": "12.0.2",
38
+ "@semantic-release/npm": "13.1.5",
39
+ "husky": "9.1.7",
40
+ "oxfmt": "^0.64.0",
41
+ "oxlint": "1.79.0",
42
+ "semantic-release": "25.0.9",
43
+ "typescript": "7.0.2"
44
+ },
45
+ "resolutions": {
46
+ "conventional-changelog-conventionalcommits": "9.3.1"
47
+ },
21
48
  "release": {
22
49
  "branches": [
23
50
  "main",
@@ -40,28 +67,10 @@
40
67
  }
41
68
  ],
42
69
  "@semantic-release/changelog",
43
- "semantic-release-yarn",
44
- "@semantic-release/gitlab",
70
+ "@semantic-release/npm",
71
+ "@semantic-release/github",
45
72
  "@semantic-release/git"
46
73
  ]
47
74
  },
48
- "publishConfig": {
49
- "access": "public"
50
- },
51
- "devDependencies": {
52
- "@commitlint/cli": "20.2.0",
53
- "@commitlint/config-conventional": "20.2.0",
54
- "@semantic-release/changelog": "6.0.3",
55
- "@semantic-release/git": "10.0.1",
56
- "@semantic-release/gitlab": "13.2.9",
57
- "husky": "9.1.7",
58
- "oxlint": "1.33.0",
59
- "semantic-release": "25.0.2",
60
- "semantic-release-yarn": "3.0.2",
61
- "typescript": "5.9.3"
62
- },
63
- "dependencies": {
64
- "loglayer": "^8.2.0",
65
- "ts-brand": "^0.2.0"
66
- }
67
- }
75
+ "packageManager": "yarn@4.18.0"
76
+ }
@@ -1,4 +1,4 @@
1
- import { type Brand, make } from 'ts-brand';
1
+ import { type Brand, make } from "ts-brand";
2
2
 
3
- export type Frequency = Brand<number, 'frequency'>;
3
+ export type Frequency = Brand<number, "frequency">;
4
4
  export const Frequency = make<Frequency>();
@@ -1,4 +1,4 @@
1
- import { type Brand, make } from 'ts-brand';
1
+ import { type Brand, make } from "ts-brand";
2
2
 
3
- export type LicenseClassId = Brand<string, 'license-class-id'>;
3
+ export type LicenseClassId = Brand<string, "license-class-id">;
4
4
  export const LicenseClassId = make<LicenseClassId>();
@@ -1,4 +1,4 @@
1
- import { type Brand, make } from 'ts-brand';
1
+ import { type Brand, make } from "ts-brand";
2
2
 
3
- export type RadioChannelId = Brand<string, 'radio-channel-id'>;
3
+ export type RadioChannelId = Brand<string, "radio-channel-id">;
4
4
  export const RadioChannelId = make<RadioChannelId>();
@@ -1,4 +1,4 @@
1
- import { type Brand, make } from 'ts-brand';
1
+ import { type Brand, make } from "ts-brand";
2
2
 
3
- export type RadioModelId = Brand<string, 'radio-model-id'>;
3
+ export type RadioModelId = Brand<string, "radio-model-id">;
4
4
  export const RadioModelId = make<RadioModelId>();
@@ -1,4 +1,4 @@
1
- import { type Brand, make } from 'ts-brand';
1
+ import { type Brand, make } from "ts-brand";
2
2
 
3
- export type RadioModuleId = Brand<string, 'radio-module-id'>;
3
+ export type RadioModuleId = Brand<string, "radio-module-id">;
4
4
  export const RadioModuleId = make<RadioModuleId>();
@@ -1,4 +1,4 @@
1
- import { type Brand, make } from 'ts-brand';
1
+ import { type Brand, make } from "ts-brand";
2
2
 
3
- export type SpectrumBandId = Brand<string, 'spectrum-band-id'>;
3
+ export type SpectrumBandId = Brand<string, "spectrum-band-id">;
4
4
  export const SpectrumBandId = make<SpectrumBandId>();
@@ -1,4 +1,4 @@
1
- import { type Brand, make } from 'ts-brand';
1
+ import { type Brand, make } from "ts-brand";
2
2
 
3
- export type SpectrumModeId = Brand<string, 'spectrum-mode-id'>;
3
+ export type SpectrumModeId = Brand<string, "spectrum-mode-id">;
4
4
  export const SpectrumModeId = make<SpectrumModeId>();
@@ -1,4 +1,4 @@
1
- import { type Brand, make } from 'ts-brand';
1
+ import { type Brand, make } from "ts-brand";
2
2
 
3
- export type SpectrumPrivilegeId = Brand<string, 'spectrum-privilege-id'>;
3
+ export type SpectrumPrivilegeId = Brand<string, "spectrum-privilege-id">;
4
4
  export const SpectrumPrivilegeId = make<SpectrumPrivilegeId>();
@@ -1,4 +1,4 @@
1
- import { type Brand, make } from 'ts-brand';
1
+ import { type Brand, make } from "ts-brand";
2
2
 
3
- export type Wavelength = Brand<number, 'wavelength'>;
3
+ export type Wavelength = Brand<number, "wavelength">;
4
4
  export const Wavelength = make<Wavelength>();
package/src/index.ts CHANGED
@@ -1,41 +1,41 @@
1
- export * from './branded-types/frequency.js';
2
- export * from './branded-types/license-class-id.js';
3
- export * from './branded-types/radio-channel-id.js';
4
- export * from './branded-types/radio-model-id.js';
5
- export * from './branded-types/radio-module-id.js';
6
- export * from './branded-types/spectrum-band-id.js';
7
- export * from './branded-types/spectrum-mode-id.js';
8
- export * from './branded-types/spectrum-privilege-id.js';
9
- export * from './branded-types/wavelength.js';
1
+ export * from "./branded-types/frequency.js";
2
+ export * from "./branded-types/license-class-id.js";
3
+ export * from "./branded-types/radio-channel-id.js";
4
+ export * from "./branded-types/radio-model-id.js";
5
+ export * from "./branded-types/radio-module-id.js";
6
+ export * from "./branded-types/spectrum-band-id.js";
7
+ export * from "./branded-types/spectrum-mode-id.js";
8
+ export * from "./branded-types/spectrum-privilege-id.js";
9
+ export * from "./branded-types/wavelength.js";
10
10
 
11
- export * from './license/class.js';
11
+ export * from "./license/class.js";
12
12
 
13
- export * from './radio/channel.js';
14
- export * from './radio/codec.js';
15
- export * from './radio/codec-factory.js';
16
- export * from './radio/connection.js';
17
- export * from './radio/ctcss.js';
18
- export * from './radio/dcs.js';
19
- export * from './radio/driver.js';
20
- export * from './radio/driver-provider.js';
21
- export * from './radio/id.js';
22
- export * from './radio/memory-config.js';
23
- export * from './radio/memory-segment.js';
24
- export * from './radio/memory.js';
25
- export * from './radio/module.js';
26
- export * from './radio/program.js';
27
- export * from './radio/programmed-channel.js';
28
- export * from './radio/progress-indicator.js';
29
- export * from './radio/protocol.js';
30
- export * from './radio/radio.js';
31
- export * from './radio/schema.js';
32
- export * from './radio/serial-config.js';
33
- export * from './radio/shared-components.js';
34
- export * from './radio/settings.js';
35
- export * from './radio/tone.js';
36
- export * from './radio/validation.js';
13
+ export * from "./radio/channel.js";
14
+ export * from "./radio/codec.js";
15
+ export * from "./radio/codec-factory.js";
16
+ export * from "./radio/connection.js";
17
+ export * from "./radio/ctcss.js";
18
+ export * from "./radio/dcs.js";
19
+ export * from "./radio/driver.js";
20
+ export * from "./radio/driver-provider.js";
21
+ export * from "./radio/id.js";
22
+ export * from "./radio/memory-config.js";
23
+ export * from "./radio/memory-segment.js";
24
+ export * from "./radio/memory.js";
25
+ export * from "./radio/module.js";
26
+ export * from "./radio/program.js";
27
+ export * from "./radio/programmed-channel.js";
28
+ export * from "./radio/progress-indicator.js";
29
+ export * from "./radio/protocol.js";
30
+ export * from "./radio/radio.js";
31
+ export * from "./radio/schema.js";
32
+ export * from "./radio/serial-config.js";
33
+ export * from "./radio/shared-components.js";
34
+ export * from "./radio/settings.js";
35
+ export * from "./radio/tone.js";
36
+ export * from "./radio/validation.js";
37
37
 
38
- export * from './spectrum/band.js';
39
- export * from './spectrum/channel.js';
40
- export * from './spectrum/mode.js';
41
- export * from './spectrum/privilege.js';
38
+ export * from "./spectrum/band.js";
39
+ export * from "./spectrum/channel.js";
40
+ export * from "./spectrum/mode.js";
41
+ export * from "./spectrum/privilege.js";
@@ -1,4 +1,4 @@
1
- import type { LicenseClassId } from '../branded-types/license-class-id.js';
1
+ import type { LicenseClassId } from "../branded-types/license-class-id.js";
2
2
 
3
3
  export interface LicenseClass {
4
4
  id: LicenseClassId;
@@ -1,6 +1,6 @@
1
- import type { Frequency } from '../branded-types/frequency.js';
2
- import type { RadioChannelId } from '../branded-types/radio-channel-id.js';
3
- import type { RadioTone } from './tone.js';
1
+ import type { Frequency } from "../branded-types/frequency.js";
2
+ import type { RadioChannelId } from "../branded-types/radio-channel-id.js";
3
+ import type { RadioTone } from "./tone.js";
4
4
 
5
5
  export interface RadioChannel {
6
6
  id?: RadioChannelId;
@@ -1,7 +1,7 @@
1
1
  // oxlint-disable consistent-indexed-object-style
2
- import type { ILogLayer } from 'loglayer';
3
- import type { RadioCodec } from './codec.js';
4
- import type { RadioModelId } from '../branded-types/radio-model-id.js';
2
+ import type { ILogLayer } from "loglayer";
3
+ import type { RadioCodec } from "./codec.js";
4
+ import type { RadioModelId } from "../branded-types/radio-model-id.js";
5
5
 
6
6
  /**
7
7
  * Factory interface for creating radio codecs
@@ -1,5 +1,5 @@
1
- import type { RadioMemory } from './memory.js';
2
- import type { RadioProgram } from './program.js';
1
+ import type { RadioMemory } from "./memory.js";
2
+ import type { RadioProgram } from "./program.js";
3
3
 
4
4
  export interface RadioCodec {
5
5
  decode(memory: RadioMemory): RadioProgram;
@@ -1,4 +1,4 @@
1
- import type { RadioId } from './id.js';
1
+ import type { RadioId } from "./id.js";
2
2
 
3
3
  export interface RadioConnection {
4
4
  serialPortPath: string;
@@ -1,6 +1,6 @@
1
- import type { RadioDriver } from './driver.js';
2
- import type { RadioModelId } from '../branded-types/radio-model-id.js';
3
- import type { RadioModuleId } from '../branded-types/radio-module-id.js';
1
+ import type { RadioDriver } from "./driver.js";
2
+ import type { RadioModelId } from "../branded-types/radio-model-id.js";
3
+ import type { RadioModuleId } from "../branded-types/radio-module-id.js";
4
4
 
5
5
  export interface RadioDriverProvider {
6
6
  getId(): RadioModuleId;
@@ -1,5 +1,5 @@
1
- import type { RadioMemory } from './memory.js';
2
- import type { RadioProgressIndicator } from './progress-indicator.js';
1
+ import type { RadioMemory } from "./memory.js";
2
+ import type { RadioProgressIndicator } from "./progress-indicator.js";
3
3
 
4
4
  export interface RadioDriver {
5
5
  readRadio(serialPortPath: string, progressIndicator: RadioProgressIndicator): Promise<RadioMemory>;
package/src/radio/id.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { RadioModelId } from '../branded-types/radio-model-id.js';
1
+ import type { RadioModelId } from "../branded-types/radio-model-id.js";
2
2
 
3
3
  /**
4
4
  * A unique identifier for a radio.
@@ -1,9 +1,9 @@
1
- import type { RadioMemorySegment } from './memory-segment.js';
1
+ import type { RadioMemorySegment } from "./memory-segment.js";
2
2
 
3
3
  export interface RadioMemoryConfig {
4
4
  chunkSize: number;
5
5
  addressSize: number;
6
- addressEndianness: 'big' | 'little';
6
+ addressEndianness: "big" | "little";
7
7
  segments: {
8
8
  [segmentName: string]: RadioMemorySegment;
9
9
  };
@@ -1,4 +1,4 @@
1
- import type { RadioModelId } from '../branded-types/radio-model-id.js';
1
+ import type { RadioModelId } from "../branded-types/radio-model-id.js";
2
2
 
3
3
  export interface RadioMemory {
4
4
  radioModel: RadioModelId;
@@ -1,5 +1,5 @@
1
- import type { Radio } from './radio.js';
2
- import type { RadioModuleId } from '../branded-types/radio-module-id.js';
1
+ import type { Radio } from "./radio.js";
2
+ import type { RadioModuleId } from "../branded-types/radio-module-id.js";
3
3
 
4
4
  export interface RadioModule {
5
5
  getId(): RadioModuleId;
@@ -1,5 +1,5 @@
1
- import type { RadioProgrammedChannel } from './programmed-channel.js';
2
- import type { RadioSettings } from './settings.js';
1
+ import type { RadioProgrammedChannel } from "./programmed-channel.js";
2
+ import type { RadioSettings } from "./settings.js";
3
3
 
4
4
  export interface RadioProgram {
5
5
  settings: RadioSettings;
@@ -1,5 +1,5 @@
1
- import type { RadioChannel } from './channel.js';
2
- import type { RadioSettings } from './settings.js';
1
+ import type { RadioChannel } from "./channel.js";
2
+ import type { RadioSettings } from "./settings.js";
3
3
 
4
4
  export interface RadioProgrammedChannel {
5
5
  channelNumber: number;
@@ -1,22 +1,22 @@
1
1
  export interface RadioExactReceivePattern {
2
- type: 'exact';
2
+ type: "exact";
3
3
  value: number;
4
4
  length: number;
5
5
  }
6
6
 
7
7
  export interface RadioVariableReceivePattern {
8
- type: 'variable';
8
+ type: "variable";
9
9
  length: number;
10
10
  }
11
11
 
12
12
  export interface RadioPatternReceivePattern {
13
- type: 'pattern';
13
+ type: "pattern";
14
14
  pattern: (string | number | { field: string; size: number })[];
15
15
  dataLength?: number | string; // Optional - actual length determined by segment configuration
16
16
  }
17
17
 
18
18
  export interface RadioAnyReceivePattern {
19
- type: 'any';
19
+ type: "any";
20
20
  length: number;
21
21
  }
22
22
 
@@ -40,7 +40,7 @@ export interface RadioSendStep {
40
40
 
41
41
  export interface RadioReceiveStep {
42
42
  receive: {
43
- type: 'exact' | 'variable' | 'pattern' | 'any';
43
+ type: "exact" | "variable" | "pattern" | "any";
44
44
  value?: number;
45
45
  length: number;
46
46
  pattern?: (string | number | { field: string; size: number })[];
@@ -1,8 +1,8 @@
1
- import type { RadioId } from './id.js';
2
- import type { RadioMemoryConfig } from './memory-config.js';
3
- import type { RadioProtocolStep } from './protocol.js';
4
- import type { RadioSchema } from './schema.js';
5
- import type { RadioSerialConfig } from './serial-config.js';
1
+ import type { RadioId } from "./id.js";
2
+ import type { RadioMemoryConfig } from "./memory-config.js";
3
+ import type { RadioProtocolStep } from "./protocol.js";
4
+ import type { RadioSchema } from "./schema.js";
5
+ import type { RadioSerialConfig } from "./serial-config.js";
6
6
 
7
7
  export interface Radio {
8
8
  id: RadioId;
@@ -1,4 +1,4 @@
1
- import type { RadioModelId } from '../branded-types/radio-model-id.js';
1
+ import type { RadioModelId } from "../branded-types/radio-model-id.js";
2
2
 
3
3
  export interface RadioSchema {
4
4
  model: RadioModelId;
@@ -2,5 +2,5 @@ export interface RadioSerialConfig {
2
2
  baudRate: number;
3
3
  dataBits?: 8 | 5 | 6 | 7;
4
4
  stopBits?: 1 | 1.5 | 2;
5
- parity?: 'none' | 'even' | 'odd';
5
+ parity?: "none" | "even" | "odd";
6
6
  }
@@ -1,5 +1,5 @@
1
1
  // oxlint-disable consistent-indexed-object-style
2
- import type { RadioCodec } from './codec.js';
2
+ import type { RadioCodec } from "./codec.js";
3
3
 
4
4
  /**
5
5
  * Interface for managing shared components across radio models
package/src/radio/tone.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { CTCSS } from './ctcss.js';
2
- import type { DCS } from './dcs.js';
1
+ import type { CTCSS } from "./ctcss.js";
2
+ import type { DCS } from "./dcs.js";
3
3
 
4
4
  export enum RadioToneType {
5
5
  CTCSS = 0,
@@ -1,8 +1,8 @@
1
- import type { Frequency } from '../branded-types/frequency.js';
2
- import type { LicenseClassId } from '../branded-types/license-class-id.js';
3
- import type { SpectrumBandId } from '../branded-types/spectrum-band-id.js';
4
- import type { SpectrumChannel } from './channel.js';
5
- import type { Wavelength } from '../branded-types/wavelength.js';
1
+ import type { Frequency } from "../branded-types/frequency.js";
2
+ import type { LicenseClassId } from "../branded-types/license-class-id.js";
3
+ import type { SpectrumBandId } from "../branded-types/spectrum-band-id.js";
4
+ import type { SpectrumChannel } from "./channel.js";
5
+ import type { Wavelength } from "../branded-types/wavelength.js";
6
6
 
7
7
  export interface SpectrumBand {
8
8
  id: SpectrumBandId;
@@ -1,4 +1,4 @@
1
- import type { Frequency } from '../branded-types/frequency.js';
1
+ import type { Frequency } from "../branded-types/frequency.js";
2
2
 
3
3
  export interface SpectrumChannel {
4
4
  name: string;
@@ -1,4 +1,4 @@
1
- import type { SpectrumModeId } from '../branded-types/spectrum-mode-id.js';
1
+ import type { SpectrumModeId } from "../branded-types/spectrum-mode-id.js";
2
2
 
3
3
  export interface SpectrumMode {
4
4
  id: SpectrumModeId;
@@ -1,8 +1,8 @@
1
- import type { Frequency } from '../branded-types/frequency.js';
2
- import type { LicenseClassId } from '../branded-types/license-class-id.js';
3
- import type { SpectrumBandId } from '../branded-types/spectrum-band-id.js';
4
- import type { SpectrumModeId } from '../branded-types/spectrum-mode-id.js';
5
- import type { SpectrumPrivilegeId } from '../branded-types/spectrum-privilege-id.js';
1
+ import type { Frequency } from "../branded-types/frequency.js";
2
+ import type { LicenseClassId } from "../branded-types/license-class-id.js";
3
+ import type { SpectrumBandId } from "../branded-types/spectrum-band-id.js";
4
+ import type { SpectrumModeId } from "../branded-types/spectrum-mode-id.js";
5
+ import type { SpectrumPrivilegeId } from "../branded-types/spectrum-privilege-id.js";
6
6
 
7
7
  export interface SpectrumPrivilege {
8
8
  id: SpectrumPrivilegeId;