@springfield/ham-radio-api 0.17.0 → 1.0.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.
Files changed (64) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +3 -18
  3. package/dist/brand.js.map +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/license/class.js.map +1 -1
  6. package/dist/radio/channel.js.map +1 -1
  7. package/dist/radio/connection.js.map +1 -1
  8. package/dist/radio/driver.js.map +1 -1
  9. package/dist/radio/memory.js.map +1 -1
  10. package/dist/radio/model.js.map +1 -1
  11. package/dist/radio/module.js.map +1 -1
  12. package/dist/radio/program.js.map +1 -1
  13. package/dist/radio/programmed-channel.js.map +1 -1
  14. package/dist/radio/progress-indicator.js.map +1 -1
  15. package/dist/radio/radio.js.map +1 -1
  16. package/dist/radio/schema.js.map +1 -1
  17. package/dist/radio/settings.js.map +1 -1
  18. package/dist/radio/tone.js +1 -1
  19. package/dist/radio/tone.js.map +1 -1
  20. package/dist/spectrum/band.js.map +1 -1
  21. package/dist/spectrum/channel.js.map +1 -1
  22. package/dist/spectrum/mode.js.map +1 -1
  23. package/dist/spectrum/privilege.js.map +1 -1
  24. package/package.json +45 -4
  25. package/dist/radio/channel-reference.d.ts +0 -4
  26. package/dist/radio/channel-reference.d.ts.map +0 -1
  27. package/dist/radio/channel-reference.js +0 -3
  28. package/dist/radio/channel-reference.js.map +0 -1
  29. package/dist/radio/manufacturer.d.ts +0 -5
  30. package/dist/radio/manufacturer.d.ts.map +0 -1
  31. package/dist/radio/manufacturer.js +0 -3
  32. package/dist/radio/manufacturer.js.map +0 -1
  33. package/dist/radio/radio-channel-reference.d.ts +0 -4
  34. package/dist/radio/radio-channel-reference.d.ts.map +0 -1
  35. package/dist/radio/radio-channel-reference.js +0 -3
  36. package/dist/radio/radio-channel-reference.js.map +0 -1
  37. package/dist/radio/radio-channel.d.ts +0 -8
  38. package/dist/radio/radio-channel.d.ts.map +0 -1
  39. package/dist/radio/radio-channel.js +0 -3
  40. package/dist/radio/radio-channel.js.map +0 -1
  41. package/dist/radio/radio-driver.d.ts +0 -7
  42. package/dist/radio/radio-driver.d.ts.map +0 -1
  43. package/dist/radio/radio-driver.js +0 -3
  44. package/dist/radio/radio-driver.js.map +0 -1
  45. package/dist/radio/radio-program.d.ts +0 -6
  46. package/dist/radio/radio-program.d.ts.map +0 -1
  47. package/dist/radio/radio-program.js +0 -3
  48. package/dist/radio/radio-program.js.map +0 -1
  49. package/dist/radio/radio-programmed-channel.d.ts +0 -8
  50. package/dist/radio/radio-programmed-channel.d.ts.map +0 -1
  51. package/dist/radio/radio-programmed-channel.js +0 -3
  52. package/dist/radio/radio-programmed-channel.js.map +0 -1
  53. package/dist/radio/radio-progress-indicator.d.ts +0 -5
  54. package/dist/radio/radio-progress-indicator.d.ts.map +0 -1
  55. package/dist/radio/radio-progress-indicator.js +0 -3
  56. package/dist/radio/radio-progress-indicator.js.map +0 -1
  57. package/dist/radio/setting-specification.d.ts +0 -24
  58. package/dist/radio/setting-specification.d.ts.map +0 -1
  59. package/dist/radio/setting-specification.js +0 -3
  60. package/dist/radio/setting-specification.js.map +0 -1
  61. package/dist/radio/setting.d.ts +0 -5
  62. package/dist/radio/setting.d.ts.map +0 -1
  63. package/dist/radio/setting.js +0 -3
  64. package/dist/radio/setting.js.map +0 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ ## [1.0.1](https://gitlab.com/springfield-ham-radio/app/ham-radio-api/compare/v1.0.0...v1.0.1) (2024-11-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * force build ([bc601c0](https://gitlab.com/springfield-ham-radio/app/ham-radio-api/commit/bc601c0470e05fe912cdd712ab7325726fd1fc4d))
7
+
8
+ ## 1.0.0 (2024-11-24)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add semantic-release and force build ([8343a38](https://gitlab.com/springfield-ham-radio/app/ham-radio-api/commit/8343a387c63a7b87c1e303f47edb0112feb7fcee))
package/README.md CHANGED
@@ -1,25 +1,10 @@
1
1
  # ham-radio-api
2
2
 
3
+ `corepack enable`
4
+ `yarn install`
5
+ `yarn prepare`
3
6
 
4
7
 
5
- ## Getting started
6
-
7
- To make it easy for you to get started with GitLab, here's a list of recommended next steps.
8
-
9
- Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
10
-
11
- ## Add your files
12
-
13
- - [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
14
- - [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
15
-
16
- ```
17
- cd existing_repo
18
- git remote add origin https://gitlab.com/springfield-ham-radio/ham-radio-api.git
19
- git branch -M main
20
- git push -uf origin main
21
- ```
22
-
23
8
  ## Integrate with your tools
24
9
 
25
10
  - [ ] [Set up project integrations](https://gitlab.com/springfield-ham-radio/ham-radio-api/-/settings/integrations)
package/dist/brand.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"brand.js","sourceRoot":"","sources":["../src/brand.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"brand.js","sourceRoot":"","sources":["../src/brand.ts"],"names":[],"mappings":"","sourcesContent":["declare const brand: unique symbol;\n\nexport type Brand<T, TBrand extends string> = T & { [brand]: TBrand };\n"]}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AAEnC,qDAAmC;AACnC,wDAAsC;AACtC,oDAAkC;AAClC,oDAAkC;AAClC,mDAAiC;AACjC,oDAAkC;AAClC,qDAAmC;AACnC,gEAA8C;AAC9C,gEAA8C;AAC9C,oDAAkC;AAClC,sDAAoC;AACpC,mDAAiC;AACjC,kDAAgC;AAEhC,qDAAmC;AACnC,wDAAsC;AACtC,qDAAmC;AACnC,0DAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AAEnC,qDAAmC;AACnC,wDAAsC;AACtC,oDAAkC;AAClC,oDAAkC;AAClC,mDAAiC;AACjC,oDAAkC;AAClC,qDAAmC;AACnC,gEAA8C;AAC9C,gEAA8C;AAC9C,oDAAkC;AAClC,sDAAoC;AACpC,mDAAiC;AACjC,kDAAgC;AAEhC,qDAAmC;AACnC,wDAAsC;AACtC,qDAAmC;AACnC,0DAAuC","sourcesContent":["export * from './license/class.js';\n\nexport * from './radio/channel.js';\nexport * from './radio/connection.js';\nexport * from './radio/driver.js';\nexport * from './radio/memory.js';\nexport * from './radio/model.js';\nexport * from './radio/module.js';\nexport * from './radio/program.js';\nexport * from './radio/programmed-channel.js';\nexport * from './radio/progress-indicator.js';\nexport * from './radio/schema.js';\nexport * from './radio/settings.js';\nexport * from './radio/radio.js';\nexport * from './radio/tone.js';\n\nexport * from './spectrum/band.js';\nexport * from './spectrum/channel.js';\nexport * from './spectrum/mode.js';\nexport * from './spectrum/privilege.js'\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"class.js","sourceRoot":"","sources":["../../src/license/class.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"class.js","sourceRoot":"","sources":["../../src/license/class.ts"],"names":[],"mappings":"","sourcesContent":["export interface LicenseClass {\n id?: string;\n name: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"channel.js","sourceRoot":"","sources":["../../src/radio/channel.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"channel.js","sourceRoot":"","sources":["../../src/radio/channel.ts"],"names":[],"mappings":"","sourcesContent":["import { RadioTone } from './tone.js';\n\nexport interface RadioChannel {\n id?: string;\n name?: string;\n transmitFrequency: number;\n receiveFrequency: number;\n transmitTone: RadioTone;\n receiveTone: RadioTone;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"connection.js","sourceRoot":"","sources":["../../src/radio/connection.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"connection.js","sourceRoot":"","sources":["../../src/radio/connection.ts"],"names":[],"mappings":"","sourcesContent":["export interface RadioConnection {\n serialPortPath: string;\n modelId: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"driver.js","sourceRoot":"","sources":["../../src/radio/driver.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"driver.js","sourceRoot":"","sources":["../../src/radio/driver.ts"],"names":[],"mappings":"","sourcesContent":["import { RadioMemory } from './memory.js';\nimport { RadioProgram } from './program.js';\nimport { RadioProgressIndicator } from './progress-indicator.js';\n\nexport interface RadioDriver {\n readRadio(serialPortPath: string, progressIndicator: RadioProgressIndicator): Promise<RadioMemory | undefined>;\n writeRadio(serialPortPath: string, memory: RadioMemory, progressIndicator: RadioProgressIndicator): Promise<void>;\n\n decodeMemory(memory: RadioMemory): RadioProgram;\n encodeProgram(program: RadioProgram, memory: RadioMemory): RadioMemory;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"memory.js","sourceRoot":"","sources":["../../src/radio/memory.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"memory.js","sourceRoot":"","sources":["../../src/radio/memory.ts"],"names":[],"mappings":"","sourcesContent":["export interface RadioMemory {\n radioModelId: string;\n contents: any;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/radio/model.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/radio/model.ts"],"names":[],"mappings":"","sourcesContent":["export interface RadioModel {\n id: string;\n moduleId: string;\n name: string;\n manufacturer: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/radio/module.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/radio/module.ts"],"names":[],"mappings":"","sourcesContent":["import { RadioDriver } from './driver';\nimport { RadioModel } from './model';\nimport { RadioSchema } from './schema';\n\nexport interface RadioModule {\n getId(): string;\n getModels(): RadioModel[];\n getSchema(modelId: string): Promise<RadioSchema>;\n getDriver(modelId: string): RadioDriver;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"program.js","sourceRoot":"","sources":["../../src/radio/program.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"program.js","sourceRoot":"","sources":["../../src/radio/program.ts"],"names":[],"mappings":"","sourcesContent":["import { RadioProgrammedChannel } from './programmed-channel.js';\nimport { RadioSettings } from './settings.js';\n\nexport interface RadioProgram {\n radioId?: string;\n settings: RadioSettings;\n channels: RadioProgrammedChannel[];\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"programmed-channel.js","sourceRoot":"","sources":["../../src/radio/programmed-channel.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"programmed-channel.js","sourceRoot":"","sources":["../../src/radio/programmed-channel.ts"],"names":[],"mappings":"","sourcesContent":["import { RadioChannel } from './channel.js';\nimport { RadioSettings } from './settings.js';\n\nexport interface RadioProgrammedChannel {\n channelNumber: number;\n radioChannel: RadioChannel | string;\n settings?: RadioSettings;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"progress-indicator.js","sourceRoot":"","sources":["../../src/radio/progress-indicator.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"progress-indicator.js","sourceRoot":"","sources":["../../src/radio/progress-indicator.ts"],"names":[],"mappings":"","sourcesContent":["export interface RadioProgressIndicator {\n setValue(value: number): void;\n isCanceled: boolean;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"radio.js","sourceRoot":"","sources":["../../src/radio/radio.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"radio.js","sourceRoot":"","sources":["../../src/radio/radio.ts"],"names":[],"mappings":"","sourcesContent":["export interface Radio {\n id: string;\n name: string;\n modelId: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/radio/schema.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/radio/schema.ts"],"names":[],"mappings":"","sourcesContent":["export interface RadioSchema {\n modelId: string;\n settingsSchema: any;\n channelSchema: any;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/radio/settings.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/radio/settings.ts"],"names":[],"mappings":"","sourcesContent":["export interface RadioSettings {\n [setting: string]: string | number | boolean;\n}\n"]}
@@ -5,5 +5,5 @@ var RadioToneType;
5
5
  (function (RadioToneType) {
6
6
  RadioToneType[RadioToneType["CTCSS"] = 0] = "CTCSS";
7
7
  RadioToneType[RadioToneType["DCS"] = 1] = "DCS";
8
- })(RadioToneType = exports.RadioToneType || (exports.RadioToneType = {}));
8
+ })(RadioToneType || (exports.RadioToneType = RadioToneType = {}));
9
9
  //# sourceMappingURL=tone.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tone.js","sourceRoot":"","sources":["../../src/radio/tone.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,mDAAK,CAAA;IACL,+CAAG,CAAA;AACL,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
1
+ {"version":3,"file":"tone.js","sourceRoot":"","sources":["../../src/radio/tone.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,mDAAK,CAAA;IACL,+CAAG,CAAA;AACL,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB","sourcesContent":["export enum RadioToneType {\n CTCSS,\n DCS,\n}\n\nexport interface RadioTone {\n tone: number;\n type: RadioToneType;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"band.js","sourceRoot":"","sources":["../../src/spectrum/band.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"band.js","sourceRoot":"","sources":["../../src/spectrum/band.ts"],"names":[],"mappings":"","sourcesContent":["import { SpectrumChannel } from './channel';\n\nexport interface SpectrumBand {\n id?: string;\n name: string;\n wavelength: number;\n lowerFrequency: number;\n upperFrequency: number;\n frequencyDisplayBaseMultiplier: number;\n frequencyDisplayNumberDecimals: number;\n privilegeIds: string[];\n channels?: SpectrumChannel[];\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"channel.js","sourceRoot":"","sources":["../../src/spectrum/channel.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"channel.js","sourceRoot":"","sources":["../../src/spectrum/channel.ts"],"names":[],"mappings":"","sourcesContent":["export interface SpectrumChannel {\n name: string;\n frequency: number;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"mode.js","sourceRoot":"","sources":["../../src/spectrum/mode.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"mode.js","sourceRoot":"","sources":["../../src/spectrum/mode.ts"],"names":[],"mappings":"","sourcesContent":["export interface SpectrumMode {\n id?: string;\n name: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"privilege.js","sourceRoot":"","sources":["../../src/spectrum/privilege.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"privilege.js","sourceRoot":"","sources":["../../src/spectrum/privilege.ts"],"names":[],"mappings":"","sourcesContent":["export interface SpectrumPrivilege {\n id?: string;\n licenseClassId: string;\n modeId: string;\n bandId: string;\n lowerFrequency: string;\n upperFrequency: string;\n}\n"]}
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@springfield/ham-radio-api",
3
- "version": "0.17.0",
3
+ "version": "1.0.1",
4
4
  "author": "Bryan Hunt",
5
+ "packageManager": "yarn@4.5.2",
5
6
  "main": "dist/index.js",
6
7
  "types": "dist/index.d.ts",
7
8
  "files": [
@@ -9,10 +10,50 @@
9
10
  "dist/"
10
11
  ],
11
12
  "scripts": {
12
- "build": "tsc"
13
+ "build": "tsc",
14
+ "commitlint": "commitlint --edit",
15
+ "release": "semantic-release",
16
+ "prepare": "husky"
17
+ },
18
+ "release": {
19
+ "branches": [
20
+ "main",
21
+ {
22
+ "name": "beta",
23
+ "prerelease": true
24
+ }
25
+ ],
26
+ "plugins": [
27
+ [
28
+ "@semantic-release/commit-analyzer",
29
+ {
30
+ "preset": "conventionalcommits"
31
+ }
32
+ ],
33
+ [
34
+ "@semantic-release/release-notes-generator",
35
+ {
36
+ "preset": "conventionalcommits"
37
+ }
38
+ ],
39
+ "@semantic-release/changelog",
40
+ "semantic-release-yarn",
41
+ "@semantic-release/gitlab",
42
+ "@semantic-release/git"
43
+ ]
44
+ },
45
+ "publishConfig": {
46
+ "access": "public"
13
47
  },
14
- "packageManager": "yarn@3.5.0",
15
48
  "devDependencies": {
16
- "typescript": "5.0.2"
49
+ "@commitlint/cli": "^19.6.0",
50
+ "@commitlint/config-conventional": "^19.6.0",
51
+ "@semantic-release/changelog": "^6.0.3",
52
+ "@semantic-release/git": "^10.0.1",
53
+ "@semantic-release/gitlab": "^13.2.1",
54
+ "husky": "^9.1.7",
55
+ "semantic-release": "23.1.1",
56
+ "semantic-release-yarn": "^3.0.2",
57
+ "typescript": "5.7.2"
17
58
  }
18
59
  }
@@ -1,4 +0,0 @@
1
- export interface RadioChannelReference {
2
- id: string;
3
- }
4
- //# sourceMappingURL=channel-reference.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"channel-reference.d.ts","sourceRoot":"","sources":["../../src/radio/channel-reference.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=channel-reference.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"channel-reference.js","sourceRoot":"","sources":["../../src/radio/channel-reference.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export interface RadioManufacturer {
2
- moduleId: string;
3
- name: string;
4
- }
5
- //# sourceMappingURL=manufacturer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"manufacturer.d.ts","sourceRoot":"","sources":["../../src/radio/manufacturer.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=manufacturer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"manufacturer.js","sourceRoot":"","sources":["../../src/radio/manufacturer.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export interface RadioChannelReference {
2
- id: string;
3
- }
4
- //# sourceMappingURL=radio-channel-reference.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-channel-reference.d.ts","sourceRoot":"","sources":["../../src/radio/radio-channel-reference.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=radio-channel-reference.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-channel-reference.js","sourceRoot":"","sources":["../../src/radio/radio-channel-reference.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- export interface RadioChannel {
2
- channelName: string | undefined;
3
- transmitFrequency: number;
4
- receiveFrequency: number;
5
- transmitTone: number | undefined;
6
- receiveTone: number | undefined;
7
- }
8
- //# sourceMappingURL=radio-channel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-channel.d.ts","sourceRoot":"","sources":["../../src/radio/radio-channel.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAE5B,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=radio-channel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-channel.js","sourceRoot":"","sources":["../../src/radio/radio-channel.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { RadioProgram } from './radio-program.js';
2
- import { RadioProgressIndicator } from './radio-progress-indicator.js';
3
- export interface RadioDriver<Settings> {
4
- importFromRadio(path: string, progressIndicator: RadioProgressIndicator): Promise<RadioProgram<Settings>>;
5
- programRadio(path: string, program: RadioProgram<Settings>, progressIndicator: RadioProgressIndicator): Promise<void>;
6
- }
7
- //# sourceMappingURL=radio-driver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-driver.d.ts","sourceRoot":"","sources":["../../src/radio/radio-driver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,MAAM,WAAW,WAAW,CAAC,QAAQ;IACnC,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,iBAAiB,EAAE,sBAAsB,GAAG,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC1G,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,CAAC,QAAQ,CAAC,EAAE,iBAAiB,EAAE,sBAAsB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACvH"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=radio-driver.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-driver.js","sourceRoot":"","sources":["../../src/radio/radio-driver.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- import { RadioProgrammedChannel } from './radio-programmed-channel.js';
2
- export interface RadioProgram<Settings> {
3
- settings: Settings;
4
- channels: RadioProgrammedChannel[];
5
- }
6
- //# sourceMappingURL=radio-program.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-program.d.ts","sourceRoot":"","sources":["../../src/radio/radio-program.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,MAAM,WAAW,YAAY,CAAC,QAAQ;IACpC,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,sBAAsB,EAAE,CAAC;CACpC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=radio-program.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-program.js","sourceRoot":"","sources":["../../src/radio/radio-program.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- import { RadioChannelReference } from './radio-channel-reference.js';
2
- import { RadioChannel } from './radio-channel.js';
3
- export interface RadioProgrammedChannel {
4
- channelNumber: number;
5
- transmitPower: number;
6
- radioChannel: RadioChannel | RadioChannelReference;
7
- }
8
- //# sourceMappingURL=radio-programmed-channel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-programmed-channel.d.ts","sourceRoot":"","sources":["../../src/radio/radio-programmed-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,MAAM,WAAW,sBAAsB;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,YAAY,GAAG,qBAAqB,CAAC;CACpD"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=radio-programmed-channel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-programmed-channel.js","sourceRoot":"","sources":["../../src/radio/radio-programmed-channel.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export interface RadioProgressIndicator {
2
- setValue(value: number): void;
3
- isCanceled: boolean;
4
- }
5
- //# sourceMappingURL=radio-progress-indicator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-progress-indicator.d.ts","sourceRoot":"","sources":["../../src/radio/radio-progress-indicator.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;CACrB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=radio-progress-indicator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-progress-indicator.js","sourceRoot":"","sources":["../../src/radio/radio-progress-indicator.ts"],"names":[],"mappings":""}
@@ -1,24 +0,0 @@
1
- export interface RadioSettingUi {
2
- type: string;
3
- }
4
- export interface ToggleRadioSettingType {
5
- type: "toggle";
6
- }
7
- export interface NumberRadioSettingType {
8
- type: "number";
9
- min: number;
10
- max: number;
11
- }
12
- export interface SelectRadioSettingType {
13
- type: "select";
14
- options: string[];
15
- }
16
- export interface RadioSettingSpecification {
17
- id: string;
18
- radioTypeId: string;
19
- name: string;
20
- description: string;
21
- memoryAddress: number;
22
- ui: RadioSettingUi;
23
- }
24
- //# sourceMappingURL=setting-specification.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setting-specification.d.ts","sourceRoot":"","sources":["../../src/radio/setting-specification.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,QAAQ,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,EAAE,EAAE,cAAc,CAAC;CACpB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=setting-specification.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setting-specification.js","sourceRoot":"","sources":["../../src/radio/setting-specification.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export interface RadioSetting<T> {
2
- specificationId: string;
3
- value: T;
4
- }
5
- //# sourceMappingURL=setting.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setting.d.ts","sourceRoot":"","sources":["../../src/radio/setting.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY,CAAC,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,CAAC,CAAC;CACV"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=setting.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setting.js","sourceRoot":"","sources":["../../src/radio/setting.ts"],"names":[],"mappings":""}