@rethinkhealth/hl7v2-ast 0.2.15 → 0.2.16
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/index.d.ts +8 -8
- package/package.json +5 -8
package/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type {
|
|
|
3
3
|
Literal as UnistLiteral,
|
|
4
4
|
Node as UnistNode,
|
|
5
5
|
Parent as UnistParent,
|
|
6
|
-
} from
|
|
6
|
+
} from "unist";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* HL7v2 Delimiters type
|
|
@@ -158,7 +158,7 @@ export interface Root extends Parent {
|
|
|
158
158
|
/**
|
|
159
159
|
* Node type of HL7v2 root.
|
|
160
160
|
*/
|
|
161
|
-
type:
|
|
161
|
+
type: "root";
|
|
162
162
|
/**
|
|
163
163
|
* Data associated with the mdast root.
|
|
164
164
|
*/
|
|
@@ -179,7 +179,7 @@ export interface Segment extends Parent {
|
|
|
179
179
|
/**
|
|
180
180
|
* Node type of HL7v2 segment.
|
|
181
181
|
*/
|
|
182
|
-
type:
|
|
182
|
+
type: "segment";
|
|
183
183
|
/**
|
|
184
184
|
* Children of block quote.
|
|
185
185
|
*/
|
|
@@ -208,7 +208,7 @@ export interface Group extends Parent {
|
|
|
208
208
|
/**
|
|
209
209
|
* Node type of HL7v2 segment.
|
|
210
210
|
*/
|
|
211
|
-
type:
|
|
211
|
+
type: "group";
|
|
212
212
|
/**
|
|
213
213
|
* Children of block quote.
|
|
214
214
|
*/
|
|
@@ -231,7 +231,7 @@ export interface Field extends Parent {
|
|
|
231
231
|
/**
|
|
232
232
|
* Node type of HL7v2 field.
|
|
233
233
|
*/
|
|
234
|
-
type:
|
|
234
|
+
type: "field";
|
|
235
235
|
/**
|
|
236
236
|
* Children of field.
|
|
237
237
|
*/
|
|
@@ -254,7 +254,7 @@ export interface FieldRepetition extends Parent {
|
|
|
254
254
|
/**
|
|
255
255
|
* Node type of HL7v2 field repetition.
|
|
256
256
|
*/
|
|
257
|
-
type:
|
|
257
|
+
type: "field-repetition";
|
|
258
258
|
/**
|
|
259
259
|
* Children of field repetition.
|
|
260
260
|
*/
|
|
@@ -277,7 +277,7 @@ export interface Component extends Parent {
|
|
|
277
277
|
/**
|
|
278
278
|
* Node type of HL7v2 component.
|
|
279
279
|
*/
|
|
280
|
-
type:
|
|
280
|
+
type: "component";
|
|
281
281
|
/**
|
|
282
282
|
* Children of component.
|
|
283
283
|
*/
|
|
@@ -300,7 +300,7 @@ export interface Subcomponent extends Literal {
|
|
|
300
300
|
/**
|
|
301
301
|
* Node type of HL7v2 subcomponent.
|
|
302
302
|
*/
|
|
303
|
-
type:
|
|
303
|
+
type: "subcomponent";
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
306
|
* Data associated with the mdast block quote.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rethinkhealth/hl7v2-ast",
|
|
3
3
|
"description": "HL7v2 is a specification for representing HL7v2 messages as an abstract syntax tree. It implements the unist spec.",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.16",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Melek Somai",
|
|
@@ -11,17 +11,14 @@
|
|
|
11
11
|
"files": [
|
|
12
12
|
"index.d.ts"
|
|
13
13
|
],
|
|
14
|
-
"dependencies": {
|
|
15
|
-
"@types/unist": "3.0.3"
|
|
16
|
-
},
|
|
17
14
|
"devDependencies": {
|
|
18
|
-
"
|
|
19
|
-
"unist
|
|
20
|
-
"@types/node": "24.3.0",
|
|
21
|
-
"@types/unist": "^3.0.2",
|
|
15
|
+
"@types/node": "24.5.2",
|
|
16
|
+
"@types/unist": "^3.0.3",
|
|
22
17
|
"@vitest/coverage-v8": "^3.2.4",
|
|
23
18
|
"tsup": "8.5.0",
|
|
19
|
+
"typescript": "^5.8.3",
|
|
24
20
|
"unified": "^11.0.5",
|
|
21
|
+
"unist-builder": "^4.0.0",
|
|
25
22
|
"vitest": "^3.2.4",
|
|
26
23
|
"@rethinkhealth/tsconfig": "0.0.1"
|
|
27
24
|
},
|