@springfield/ham-radio-api 4.0.0 → 5.0.0
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/CHANGELOG.md +11 -0
- package/dist/branded-types/license-class-id.d.ts +1 -1
- package/dist/branded-types/license-class-id.js.map +1 -1
- package/dist/branded-types/radio-channel-id.d.ts +1 -1
- package/dist/branded-types/radio-channel-id.js.map +1 -1
- package/dist/branded-types/radio-id.d.ts +1 -1
- package/dist/branded-types/radio-id.js.map +1 -1
- package/dist/branded-types/radio-model-id.d.ts +1 -1
- package/dist/branded-types/radio-model-id.js.map +1 -1
- package/dist/branded-types/radio-module-id.d.ts +1 -1
- package/dist/branded-types/radio-module-id.js.map +1 -1
- package/dist/branded-types/spectrum-band-id.d.ts +1 -1
- package/dist/branded-types/spectrum-band-id.js.map +1 -1
- package/dist/branded-types/spectrum-mode-id.d.ts +1 -1
- package/dist/branded-types/spectrum-mode-id.js.map +1 -1
- package/dist/branded-types/spectrum-privlege-id.d.ts +1 -1
- package/dist/branded-types/spectrum-privlege-id.js.map +1 -1
- package/package.json +1 -1
- package/src/branded-types/license-class-id.ts +1 -1
- package/src/branded-types/radio-channel-id.ts +1 -1
- package/src/branded-types/radio-id.ts +1 -1
- package/src/branded-types/radio-model-id.ts +1 -1
- package/src/branded-types/radio-module-id.ts +1 -1
- package/src/branded-types/spectrum-band-id.ts +1 -1
- package/src/branded-types/spectrum-mode-id.ts +1 -1
- package/src/branded-types/spectrum-privlege-id.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## [5.0.0](https://gitlab.com/springfield-ham-radio/app/ham-radio-api/compare/v4.0.0...v5.0.0) (2025-04-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### ⚠ BREAKING CHANGES
|
|
5
|
+
|
|
6
|
+
* id branded types need to be string and not number
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* id branded types need to be string and not number ([3a0b68d](https://gitlab.com/springfield-ham-radio/app/ham-radio-api/commit/3a0b68def4fe84e87ea3dc64a1fa09a8d8143a5c))
|
|
11
|
+
|
|
1
12
|
## [4.0.0](https://gitlab.com/springfield-ham-radio/app/ham-radio-api/compare/v3.0.0...v4.0.0) (2025-04-06)
|
|
2
13
|
|
|
3
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Brand } from 'ts-brand';
|
|
2
|
-
export type LicenseClassId = Brand<
|
|
2
|
+
export type LicenseClassId = Brand<string, 'license-class-id'>;
|
|
3
3
|
export declare const LicenseClassId: import("ts-brand").Brander<LicenseClassId>;
|
|
4
4
|
//# sourceMappingURL=license-class-id.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-class-id.js","sourceRoot":"","sources":["../../src/branded-types/license-class-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,EAAkB,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type LicenseClassId = Brand<
|
|
1
|
+
{"version":3,"file":"license-class-id.js","sourceRoot":"","sources":["../../src/branded-types/license-class-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,EAAkB,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type LicenseClassId = Brand<string, 'license-class-id'>;\nexport const LicenseClassId = make<LicenseClassId>();\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Brand } from 'ts-brand';
|
|
2
|
-
export type RadioChannelId = Brand<
|
|
2
|
+
export type RadioChannelId = Brand<string, 'radio-channel-id'>;
|
|
3
3
|
export declare const RadioChannelId: import("ts-brand").Brander<RadioChannelId>;
|
|
4
4
|
//# sourceMappingURL=radio-channel-id.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-channel-id.js","sourceRoot":"","sources":["../../src/branded-types/radio-channel-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,EAAkB,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type RadioChannelId = Brand<
|
|
1
|
+
{"version":3,"file":"radio-channel-id.js","sourceRoot":"","sources":["../../src/branded-types/radio-channel-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,EAAkB,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type RadioChannelId = Brand<string, 'radio-channel-id'>;\nexport const RadioChannelId = make<RadioChannelId>();\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-id.js","sourceRoot":"","sources":["../../src/branded-types/radio-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,EAAW,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type RadioId = Brand<
|
|
1
|
+
{"version":3,"file":"radio-id.js","sourceRoot":"","sources":["../../src/branded-types/radio-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,EAAW,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type RadioId = Brand<string, 'radio-id'>;\nexport const RadioId = make<RadioId>();\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Brand } from 'ts-brand';
|
|
2
|
-
export type RadioModelId = Brand<
|
|
2
|
+
export type RadioModelId = Brand<string, 'radio-model-id'>;
|
|
3
3
|
export declare const RadioModelId: import("ts-brand").Brander<RadioModelId>;
|
|
4
4
|
//# sourceMappingURL=radio-model-id.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-model-id.js","sourceRoot":"","sources":["../../src/branded-types/radio-model-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,EAAgB,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type RadioModelId = Brand<
|
|
1
|
+
{"version":3,"file":"radio-model-id.js","sourceRoot":"","sources":["../../src/branded-types/radio-model-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,EAAgB,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type RadioModelId = Brand<string, 'radio-model-id'>;\nexport const RadioModelId = make<RadioModelId>();\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Brand } from 'ts-brand';
|
|
2
|
-
export type RadioModuleId = Brand<
|
|
2
|
+
export type RadioModuleId = Brand<string, 'radio-module-id'>;
|
|
3
3
|
export declare const RadioModuleId: import("ts-brand").Brander<RadioModuleId>;
|
|
4
4
|
//# sourceMappingURL=radio-module-id.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-module-id.js","sourceRoot":"","sources":["../../src/branded-types/radio-module-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,EAAiB,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type RadioModuleId = Brand<
|
|
1
|
+
{"version":3,"file":"radio-module-id.js","sourceRoot":"","sources":["../../src/branded-types/radio-module-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,EAAiB,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type RadioModuleId = Brand<string, 'radio-module-id'>;\nexport const RadioModuleId = make<RadioModuleId>();\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Brand } from 'ts-brand';
|
|
2
|
-
export type SpectrumBandId = Brand<
|
|
2
|
+
export type SpectrumBandId = Brand<string, 'spectrum-band-id'>;
|
|
3
3
|
export declare const SpectrumBandId: import("ts-brand").Brander<SpectrumBandId>;
|
|
4
4
|
//# sourceMappingURL=spectrum-band-id.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spectrum-band-id.js","sourceRoot":"","sources":["../../src/branded-types/spectrum-band-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,EAAkB,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type SpectrumBandId = Brand<
|
|
1
|
+
{"version":3,"file":"spectrum-band-id.js","sourceRoot":"","sources":["../../src/branded-types/spectrum-band-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,EAAkB,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type SpectrumBandId = Brand<string, 'spectrum-band-id'>;\nexport const SpectrumBandId = make<SpectrumBandId>();\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Brand } from 'ts-brand';
|
|
2
|
-
export type SpectrumModeId = Brand<
|
|
2
|
+
export type SpectrumModeId = Brand<string, 'spectrum-mode-id'>;
|
|
3
3
|
export declare const SpectrumModeId: import("ts-brand").Brander<SpectrumModeId>;
|
|
4
4
|
//# sourceMappingURL=spectrum-mode-id.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spectrum-mode-id.js","sourceRoot":"","sources":["../../src/branded-types/spectrum-mode-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,EAAkB,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type SpectrumModeId = Brand<
|
|
1
|
+
{"version":3,"file":"spectrum-mode-id.js","sourceRoot":"","sources":["../../src/branded-types/spectrum-mode-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,EAAkB,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type SpectrumModeId = Brand<string, 'spectrum-mode-id'>;\nexport const SpectrumModeId = make<SpectrumModeId>();\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Brand } from 'ts-brand';
|
|
2
|
-
export type SpectrumPrivilegeId = Brand<
|
|
2
|
+
export type SpectrumPrivilegeId = Brand<string, 'spectrum-privilege-id'>;
|
|
3
3
|
export declare const SpectrumPrivilegeId: import("ts-brand").Brander<SpectrumPrivilegeId>;
|
|
4
4
|
//# sourceMappingURL=spectrum-privlege-id.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spectrum-privlege-id.js","sourceRoot":"","sources":["../../src/branded-types/spectrum-privlege-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,EAAuB,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type SpectrumPrivilegeId = Brand<
|
|
1
|
+
{"version":3,"file":"spectrum-privlege-id.js","sourceRoot":"","sources":["../../src/branded-types/spectrum-privlege-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,EAAuB,CAAC","sourcesContent":["import { Brand, make } from 'ts-brand';\n\nexport type SpectrumPrivilegeId = Brand<string, 'spectrum-privilege-id'>;\nexport const SpectrumPrivilegeId = make<SpectrumPrivilegeId>();\n"]}
|
package/package.json
CHANGED