@springfield/ham-radio-utils 4.17.0 → 4.19.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.
@@ -30,6 +30,20 @@
30
30
  }
31
31
  },
32
32
  "definitions": {
33
+ "stringChoice": {
34
+ "type": "object",
35
+ "additionalProperties": false,
36
+ "required": ["label", "value"],
37
+ "properties": {
38
+ "label": { "type": "string", "minLength": 1 },
39
+ "value": { "type": "string" }
40
+ }
41
+ },
42
+ "stringChoices": {
43
+ "type": "array",
44
+ "minItems": 1,
45
+ "items": { "$ref": "#/definitions/stringChoice" }
46
+ },
33
47
  "seek": {
34
48
  "oneOf": [
35
49
  { "type": "integer", "minimum": 0 },
@@ -99,6 +113,8 @@
99
113
  "properties": {
100
114
  "group": { "type": "string" },
101
115
  "subgroup": { "type": "string", "minLength": 1 },
116
+ "section": { "type": "string", "minLength": 1 },
117
+ "sectionOrder": { "type": "integer", "minimum": 0 },
102
118
  "label": { "type": "string" },
103
119
  "widget": {
104
120
  "type": "string",
@@ -158,7 +174,8 @@
158
174
  "properties": {
159
175
  "kind": { "const": "ascii" },
160
176
  "length": { "type": "integer", "minimum": 1 },
161
- "pad": { "type": "integer", "minimum": 0, "maximum": 255 }
177
+ "pad": { "type": "integer", "minimum": 0, "maximum": 255 },
178
+ "choices": { "$ref": "#/definitions/stringChoices" }
162
179
  },
163
180
  "additionalProperties": false
164
181
  },
@@ -178,7 +195,8 @@
178
195
  "properties": {
179
196
  "kind": { "const": "dtmf" },
180
197
  "length": { "type": "integer", "minimum": 1 },
181
- "charset": { "type": "string" }
198
+ "charset": { "type": "string" },
199
+ "choices": { "$ref": "#/definitions/stringChoices" }
182
200
  },
183
201
  "additionalProperties": false
184
202
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@springfield/ham-radio-utils",
3
- "version": "4.17.0",
3
+ "version": "4.19.0",
4
4
  "author": "Bryan Hunt",
5
5
  "license": "MIT",
6
6
  "readme": "README.md",
@@ -34,7 +34,7 @@
34
34
  "test:unit": "vitest run test/unit"
35
35
  },
36
36
  "dependencies": {
37
- "@springfield/ham-radio-api": "^18.0.2",
37
+ "@springfield/ham-radio-api": "^18.3.0",
38
38
  "ajv": "^8.20.0",
39
39
  "ajv-formats": "^3.0.1",
40
40
  "fishery": "^2.4.0",
@@ -42,8 +42,8 @@
42
42
  "sprintf-js": "^1.1.3"
43
43
  },
44
44
  "devDependencies": {
45
- "@commitlint/cli": "21.2.3",
46
- "@commitlint/config-conventional": "21.2.3",
45
+ "@commitlint/cli": "21.2.4",
46
+ "@commitlint/config-conventional": "21.2.4",
47
47
  "@semantic-release/changelog": "7.0.0",
48
48
  "@semantic-release/git": "11.0.1",
49
49
  "@semantic-release/github": "12.0.10",
@@ -51,11 +51,11 @@
51
51
  "@types/node": "26.6.5",
52
52
  "@types/sprintf-js": "1.1.4",
53
53
  "husky": "9.1.7",
54
- "oxfmt": "^0.73.0",
55
- "oxlint": "1.88.0",
54
+ "oxfmt": "^0.74.0",
55
+ "oxlint": "1.89.0",
56
56
  "semantic-release": "25.0.9",
57
57
  "typescript": "7.0.2",
58
- "vite": "^8.3.4",
58
+ "vite": "^8.3.5",
59
59
  "vitest": "^5.0.5"
60
60
  },
61
61
  "resolutions": {
@@ -30,6 +30,20 @@
30
30
  }
31
31
  },
32
32
  "definitions": {
33
+ "stringChoice": {
34
+ "type": "object",
35
+ "additionalProperties": false,
36
+ "required": ["label", "value"],
37
+ "properties": {
38
+ "label": { "type": "string", "minLength": 1 },
39
+ "value": { "type": "string" }
40
+ }
41
+ },
42
+ "stringChoices": {
43
+ "type": "array",
44
+ "minItems": 1,
45
+ "items": { "$ref": "#/definitions/stringChoice" }
46
+ },
33
47
  "seek": {
34
48
  "oneOf": [
35
49
  { "type": "integer", "minimum": 0 },
@@ -99,6 +113,8 @@
99
113
  "properties": {
100
114
  "group": { "type": "string" },
101
115
  "subgroup": { "type": "string", "minLength": 1 },
116
+ "section": { "type": "string", "minLength": 1 },
117
+ "sectionOrder": { "type": "integer", "minimum": 0 },
102
118
  "label": { "type": "string" },
103
119
  "widget": {
104
120
  "type": "string",
@@ -158,7 +174,8 @@
158
174
  "properties": {
159
175
  "kind": { "const": "ascii" },
160
176
  "length": { "type": "integer", "minimum": 1 },
161
- "pad": { "type": "integer", "minimum": 0, "maximum": 255 }
177
+ "pad": { "type": "integer", "minimum": 0, "maximum": 255 },
178
+ "choices": { "$ref": "#/definitions/stringChoices" }
162
179
  },
163
180
  "additionalProperties": false
164
181
  },
@@ -178,7 +195,8 @@
178
195
  "properties": {
179
196
  "kind": { "const": "dtmf" },
180
197
  "length": { "type": "integer", "minimum": 1 },
181
- "charset": { "type": "string" }
198
+ "charset": { "type": "string" },
199
+ "choices": { "$ref": "#/definitions/stringChoices" }
182
200
  },
183
201
  "additionalProperties": false
184
202
  },