@bedrock-engineer/bro-xml-parser 0.6.0 → 0.7.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.
Files changed (61) hide show
  1. package/README.md +12 -4
  2. package/dist/browser.d.ts +2 -2
  3. package/dist/browser.d.ts.map +1 -1
  4. package/dist/browser.js.map +1 -1
  5. package/dist/colors.d.ts +17 -16
  6. package/dist/colors.d.ts.map +1 -1
  7. package/dist/colors.js +6 -6
  8. package/dist/colors.js.map +1 -1
  9. package/dist/core/producer.d.ts +13 -4
  10. package/dist/core/producer.d.ts.map +1 -1
  11. package/dist/core/producer.js.map +1 -1
  12. package/dist/core/schema-parser.d.ts +14 -0
  13. package/dist/core/schema-parser.d.ts.map +1 -1
  14. package/dist/core/schema-parser.js +44 -11
  15. package/dist/core/schema-parser.js.map +1 -1
  16. package/dist/core/version-detector.d.ts +3 -1
  17. package/dist/core/version-detector.d.ts.map +1 -1
  18. package/dist/core/version-detector.js +93 -93
  19. package/dist/core/version-detector.js.map +1 -1
  20. package/dist/namespaces.d.ts +21 -0
  21. package/dist/namespaces.d.ts.map +1 -1
  22. package/dist/namespaces.js +36 -0
  23. package/dist/namespaces.js.map +1 -1
  24. package/dist/node.d.ts +2 -2
  25. package/dist/node.d.ts.map +1 -1
  26. package/dist/node.js.map +1 -1
  27. package/dist/parser.d.ts +16 -2
  28. package/dist/parser.d.ts.map +1 -1
  29. package/dist/parser.js +44 -44
  30. package/dist/parser.js.map +1 -1
  31. package/dist/producers.d.ts +3 -5
  32. package/dist/producers.d.ts.map +1 -1
  33. package/dist/producers.js +3 -5
  34. package/dist/producers.js.map +1 -1
  35. package/dist/reference-codes/describe.d.ts +4 -0
  36. package/dist/reference-codes/describe.d.ts.map +1 -1
  37. package/dist/reference-codes/describe.js +8 -4
  38. package/dist/reference-codes/describe.js.map +1 -1
  39. package/dist/schemas/bhrg-schema.d.ts +483 -483
  40. package/dist/schemas/bhrg-schema.js +1 -1
  41. package/dist/schemas/bhrg-types.d.ts +18 -18
  42. package/dist/schemas/bhrg-types.d.ts.map +1 -1
  43. package/dist/schemas/bhrgt-analysis.d.ts +53 -53
  44. package/dist/schemas/bhrgt-analysis.js +3 -3
  45. package/dist/schemas/bhrgt-analysis.js.map +1 -1
  46. package/dist/schemas/bore-schema.d.ts +99 -99
  47. package/dist/schemas/bore-schema.js +1 -1
  48. package/dist/schemas/bore-schema.js.map +1 -1
  49. package/dist/schemas/bore-types.d.ts +18 -18
  50. package/dist/schemas/bore-types.d.ts.map +1 -1
  51. package/dist/schemas/common-fields.d.ts +4 -61
  52. package/dist/schemas/common-fields.d.ts.map +1 -1
  53. package/dist/schemas/common-fields.js +5 -47
  54. package/dist/schemas/common-fields.js.map +1 -1
  55. package/dist/schemas/cpt-schema.d.ts +27 -27
  56. package/dist/schemas/gld-schema.d.ts +12 -12
  57. package/dist/schemas/gmw-schema.d.ts +60 -60
  58. package/dist/types/index.d.ts +44 -17
  59. package/dist/types/index.d.ts.map +1 -1
  60. package/dist/types/index.js.map +1 -1
  61. package/package.json +1 -1
@@ -14,32 +14,33 @@ export declare const GMW_PRODUCER: import("../core/producer.js").ObjectProducer<
14
14
  standardizedLocation: {
15
15
  location: import("../browser.js").Location | null;
16
16
  coordinateTransformation: import("../core/producer.js").Coded | null;
17
- };
17
+ } | null;
18
18
  deliveredLocation: {
19
19
  location: import("../browser.js").Location | null;
20
20
  horizontalPositioningMethod: import("../core/producer.js").Coded | null;
21
- };
21
+ } | null;
22
22
  deliveredVerticalPosition: {
23
23
  localVerticalReferencePoint: import("../core/producer.js").Coded | null;
24
24
  offset: number | null;
25
25
  verticalDatum: import("../core/producer.js").Coded | null;
26
26
  groundLevelPosition: number | null;
27
27
  groundLevelPositioningMethod: import("../core/producer.js").Coded | null;
28
- };
28
+ } | null;
29
29
  registrationHistory: {
30
30
  objectRegistrationTime: string | null;
31
31
  registrationStatus: import("../core/producer.js").Coded | null;
32
- registrationCompletionTime: string | null;
33
- latestCorrectionTime: string | null;
34
32
  latestAdditionTime: string | null;
35
- underReviewTime: string | null;
36
- deregistrationTime: string | null;
37
- reregistrationTime: string | null;
33
+ registrationCompletionTime: string | null;
38
34
  corrected: boolean | null;
35
+ latestCorrectionTime: string | null;
39
36
  underReview: boolean | null;
37
+ underReviewTime: string | null;
40
38
  deregistered: boolean | null;
39
+ deregistrationTime: string | null;
41
40
  reregistered: boolean | null;
42
- };
41
+ reregistrationTime: string | null;
42
+ } | null;
43
+ nitgCode: string | null;
43
44
  withPrehistory: boolean | null;
44
45
  constructionStandard: import("../core/producer.js").Coded | null;
45
46
  initialFunction: import("../core/producer.js").Coded | null;
@@ -47,7 +48,6 @@ export declare const GMW_PRODUCER: import("../core/producer.js").ObjectProducer<
47
48
  numberOfMonitoringTubes: number | null;
48
49
  groundLevelStable: string | null;
49
50
  wellStability: import("../core/producer.js").Coded | null;
50
- nitgCode: string | null;
51
51
  wellCode: string | null;
52
52
  owner: string | null;
53
53
  maintenanceResponsibleParty: string | null;
@@ -87,27 +87,27 @@ export declare const GMW_PRODUCER: import("../core/producer.js").ObjectProducer<
87
87
  wellHeadProtector: import("../core/producer.js").Coded | null;
88
88
  groundLevelPosition: number | null;
89
89
  groundLevelPositioningMethod: import("../core/producer.js").Coded | null;
90
- };
90
+ } | null;
91
91
  survey: {
92
92
  geotechnicalCPTSurveyData: {
93
93
  broId: string | null;
94
- };
94
+ } | null;
95
95
  boreholeResearchData: {
96
96
  broId: string | null;
97
- };
97
+ } | null;
98
98
  }[];
99
- };
99
+ } | null;
100
100
  }[];
101
101
  wellConstructionDate: string | null;
102
102
  wellRemovalDate: string | null;
103
- };
103
+ } | null;
104
104
  survey: {
105
105
  boreholeResearch: {
106
106
  broId: string | null;
107
- };
107
+ } | null;
108
108
  geotechnicalCPTSurvey: {
109
109
  broId: string | null;
110
- };
110
+ } | null;
111
111
  }[];
112
112
  monitoringTube: {
113
113
  tubeNumber: number | null;
@@ -126,25 +126,25 @@ export declare const GMW_PRODUCER: import("../core/producer.js").ObjectProducer<
126
126
  tubeMaterial: import("../core/producer.js").Coded | null;
127
127
  glue: import("../core/producer.js").Coded | null;
128
128
  tubePackingMaterial: import("../core/producer.js").Coded | null;
129
- };
129
+ } | null;
130
130
  screen: {
131
131
  screenTopPosition: number | null;
132
132
  screenBottomPosition: number | null;
133
133
  screenLength: number | null;
134
134
  screenProtection: import("../core/producer.js").Coded | null;
135
135
  sockMaterial: import("../core/producer.js").Coded | null;
136
- };
136
+ } | null;
137
137
  plainTubePart: {
138
138
  plainTubePartLength: number | null;
139
- };
139
+ } | null;
140
140
  sedimentSump: {
141
141
  sedimentSumpLength: number | null;
142
- };
142
+ } | null;
143
143
  insertedPart: {
144
144
  insertedPartLength: number | null;
145
145
  insertedPartDiameter: number | null;
146
146
  insertedPartMaterial: import("../core/producer.js").Coded | null;
147
- };
147
+ } | null;
148
148
  geoOhmCable: {
149
149
  cableNumber: number | null;
150
150
  cableInUse: string | null;
@@ -214,16 +214,16 @@ export declare const GMW_PRODUCER: import("../core/producer.js").ObjectProducer<
214
214
  registrationHistory: import("../core/producer.js").ObjectProducer<{
215
215
  objectRegistrationTime: string | null;
216
216
  registrationStatus: import("../core/producer.js").Coded | null;
217
- registrationCompletionTime: string | null;
218
- latestCorrectionTime: string | null;
219
217
  latestAdditionTime: string | null;
220
- underReviewTime: string | null;
221
- deregistrationTime: string | null;
222
- reregistrationTime: string | null;
218
+ registrationCompletionTime: string | null;
223
219
  corrected: boolean | null;
220
+ latestCorrectionTime: string | null;
224
221
  underReview: boolean | null;
222
+ underReviewTime: string | null;
225
223
  deregistered: boolean | null;
224
+ deregistrationTime: string | null;
226
225
  reregistered: boolean | null;
226
+ reregistrationTime: string | null;
227
227
  }, import("../core/producer.js").Presence> & {
228
228
  readonly _fields?: {
229
229
  objectRegistrationTime: import("../core/producer.js").ScalarProducer<string | null, import("../core/producer.js").Presence>;
@@ -275,16 +275,16 @@ export declare const GMW_PRODUCER: import("../core/producer.js").ObjectProducer<
275
275
  wellHeadProtector: import("../core/producer.js").Coded | null;
276
276
  groundLevelPosition: number | null;
277
277
  groundLevelPositioningMethod: import("../core/producer.js").Coded | null;
278
- };
278
+ } | null;
279
279
  survey: {
280
280
  geotechnicalCPTSurveyData: {
281
281
  broId: string | null;
282
- };
282
+ } | null;
283
283
  boreholeResearchData: {
284
284
  broId: string | null;
285
- };
285
+ } | null;
286
286
  }[];
287
- };
287
+ } | null;
288
288
  }[];
289
289
  wellConstructionDate: string | null;
290
290
  wellRemovalDate: string | null;
@@ -326,16 +326,16 @@ export declare const GMW_PRODUCER: import("../core/producer.js").ObjectProducer<
326
326
  wellHeadProtector: import("../core/producer.js").Coded | null;
327
327
  groundLevelPosition: number | null;
328
328
  groundLevelPositioningMethod: import("../core/producer.js").Coded | null;
329
- };
329
+ } | null;
330
330
  survey: {
331
331
  geotechnicalCPTSurveyData: {
332
332
  broId: string | null;
333
- };
333
+ } | null;
334
334
  boreholeResearchData: {
335
335
  broId: string | null;
336
- };
336
+ } | null;
337
337
  }[];
338
- };
338
+ } | null;
339
339
  }[], import("../core/producer.js").Presence> & {
340
340
  readonly _item?: import("../core/producer.js").ObjectProducer<{
341
341
  eventName: import("../core/producer.js").Coded | null;
@@ -371,16 +371,16 @@ export declare const GMW_PRODUCER: import("../core/producer.js").ObjectProducer<
371
371
  wellHeadProtector: import("../core/producer.js").Coded | null;
372
372
  groundLevelPosition: number | null;
373
373
  groundLevelPositioningMethod: import("../core/producer.js").Coded | null;
374
- };
374
+ } | null;
375
375
  survey: {
376
376
  geotechnicalCPTSurveyData: {
377
377
  broId: string | null;
378
- };
378
+ } | null;
379
379
  boreholeResearchData: {
380
380
  broId: string | null;
381
- };
381
+ } | null;
382
382
  }[];
383
- };
383
+ } | null;
384
384
  }, "optional"> & {
385
385
  readonly _fields?: {
386
386
  eventName: import("../core/producer.js").CodeProducer<import("../core/producer.js").Coded | null, import("../core/producer.js").Presence>;
@@ -416,14 +416,14 @@ export declare const GMW_PRODUCER: import("../core/producer.js").ObjectProducer<
416
416
  wellHeadProtector: import("../core/producer.js").Coded | null;
417
417
  groundLevelPosition: number | null;
418
418
  groundLevelPositioningMethod: import("../core/producer.js").Coded | null;
419
- };
419
+ } | null;
420
420
  survey: {
421
421
  geotechnicalCPTSurveyData: {
422
422
  broId: string | null;
423
- };
423
+ } | null;
424
424
  boreholeResearchData: {
425
425
  broId: string | null;
426
- };
426
+ } | null;
427
427
  }[];
428
428
  }, import("../core/producer.js").Presence> & {
429
429
  readonly _fields?: {
@@ -521,18 +521,18 @@ export declare const GMW_PRODUCER: import("../core/producer.js").ObjectProducer<
521
521
  survey: import("../core/producer.js").ArrayProducer<{
522
522
  geotechnicalCPTSurveyData: {
523
523
  broId: string | null;
524
- };
524
+ } | null;
525
525
  boreholeResearchData: {
526
526
  broId: string | null;
527
- };
527
+ } | null;
528
528
  }[], import("../core/producer.js").Presence> & {
529
529
  readonly _item?: import("../core/producer.js").ObjectProducer<{
530
530
  geotechnicalCPTSurveyData: {
531
531
  broId: string | null;
532
- };
532
+ } | null;
533
533
  boreholeResearchData: {
534
534
  broId: string | null;
535
- };
535
+ } | null;
536
536
  }, "optional"> & {
537
537
  readonly _fields?: {
538
538
  geotechnicalCPTSurveyData: import("../core/producer.js").ObjectProducer<{
@@ -576,25 +576,25 @@ export declare const GMW_PRODUCER: import("../core/producer.js").ObjectProducer<
576
576
  tubeMaterial: import("../core/producer.js").Coded | null;
577
577
  glue: import("../core/producer.js").Coded | null;
578
578
  tubePackingMaterial: import("../core/producer.js").Coded | null;
579
- };
579
+ } | null;
580
580
  screen: {
581
581
  screenTopPosition: number | null;
582
582
  screenBottomPosition: number | null;
583
583
  screenLength: number | null;
584
584
  screenProtection: import("../core/producer.js").Coded | null;
585
585
  sockMaterial: import("../core/producer.js").Coded | null;
586
- };
586
+ } | null;
587
587
  plainTubePart: {
588
588
  plainTubePartLength: number | null;
589
- };
589
+ } | null;
590
590
  sedimentSump: {
591
591
  sedimentSumpLength: number | null;
592
- };
592
+ } | null;
593
593
  insertedPart: {
594
594
  insertedPartLength: number | null;
595
595
  insertedPartDiameter: number | null;
596
596
  insertedPartMaterial: import("../core/producer.js").Coded | null;
597
- };
597
+ } | null;
598
598
  geoOhmCable: {
599
599
  cableNumber: number | null;
600
600
  cableInUse: string | null;
@@ -623,25 +623,25 @@ export declare const GMW_PRODUCER: import("../core/producer.js").ObjectProducer<
623
623
  tubeMaterial: import("../core/producer.js").Coded | null;
624
624
  glue: import("../core/producer.js").Coded | null;
625
625
  tubePackingMaterial: import("../core/producer.js").Coded | null;
626
- };
626
+ } | null;
627
627
  screen: {
628
628
  screenTopPosition: number | null;
629
629
  screenBottomPosition: number | null;
630
630
  screenLength: number | null;
631
631
  screenProtection: import("../core/producer.js").Coded | null;
632
632
  sockMaterial: import("../core/producer.js").Coded | null;
633
- };
633
+ } | null;
634
634
  plainTubePart: {
635
635
  plainTubePartLength: number | null;
636
- };
636
+ } | null;
637
637
  sedimentSump: {
638
638
  sedimentSumpLength: number | null;
639
- };
639
+ } | null;
640
640
  insertedPart: {
641
641
  insertedPartLength: number | null;
642
642
  insertedPartDiameter: number | null;
643
643
  insertedPartMaterial: import("../core/producer.js").Coded | null;
644
- };
644
+ } | null;
645
645
  geoOhmCable: {
646
646
  cableNumber: number | null;
647
647
  cableInUse: string | null;
@@ -771,18 +771,18 @@ export declare const GMW_PRODUCER: import("../core/producer.js").ObjectProducer<
771
771
  survey: import("../core/producer.js").ArrayProducer<{
772
772
  boreholeResearch: {
773
773
  broId: string | null;
774
- };
774
+ } | null;
775
775
  geotechnicalCPTSurvey: {
776
776
  broId: string | null;
777
- };
777
+ } | null;
778
778
  }[], import("../core/producer.js").Presence> & {
779
779
  readonly _item?: import("../core/producer.js").ObjectProducer<{
780
780
  boreholeResearch: {
781
781
  broId: string | null;
782
- };
782
+ } | null;
783
783
  geotechnicalCPTSurvey: {
784
784
  broId: string | null;
785
- };
785
+ } | null;
786
786
  }, "optional"> & {
787
787
  readonly _fields?: {
788
788
  boreholeResearch: import("../core/producer.js").ObjectProducer<{
@@ -17,7 +17,7 @@ export type Namespaces = Record<string, string>;
17
17
  * Contains schema version information and any warnings
18
18
  * encountered during parsing.
19
19
  */
20
- export interface ParseMeta {
20
+ export interface ParseMeta<T extends BROFileType = BROFileType> {
21
21
  /**
22
22
  * Schema version detected in the document (e.g., "1.1", "2.0")
23
23
  */
@@ -27,9 +27,11 @@ export interface ParseMeta {
27
27
  */
28
28
  schemaNamespace: string;
29
29
  /**
30
- * Data type detected (CPT, BHR-GT, BHR-G, GMW, GLD)
30
+ * Data type detected. Fixed to its own literal per `*Data` type (e.g.
31
+ * `CPTData` → `"CPT"`). To narrow a {@link BROData}, switch on the top-level
32
+ * `data.dataType` (TypeScript does not narrow on a nested discriminant).
31
33
  */
32
- dataType: "CPT" | "BHR-GT" | "BHR-G" | "GMW" | "GLD";
34
+ dataType: T;
33
35
  /**
34
36
  * Warnings encountered during parsing
35
37
  *
@@ -111,7 +113,8 @@ export interface DissipationMeasurement {
111
113
  * user-set `alias` are the only fields not produced from the XML.
112
114
  */
113
115
  export type CPTData = {
114
- meta: ParseMeta;
116
+ dataType: "CPT";
117
+ meta: ParseMeta<"CPT">;
115
118
  alias?: string;
116
119
  } & Produced<typeof CPT_PRODUCER>;
117
120
  /** One dissipation test (pore-pressure decay). @internal */
@@ -128,9 +131,16 @@ export type RemovedLayer = NonNullable<Produced<typeof CPT_PRODUCER>["additional
128
131
  * user-set `alias` are the only fields not produced from the XML.
129
132
  */
130
133
  export type BHRGTData = {
131
- meta: ParseMeta;
134
+ dataType: "BHR-GT";
135
+ meta: ParseMeta<"BHR-GT">;
132
136
  alias?: string;
133
137
  } & Produced<typeof BORE_PRODUCER>;
138
+ /**
139
+ * The BRO registration history, shared by every registration type. The
140
+ * `brocom:*` history block is identical across schemas, so it is derived from one
141
+ * of them ({@link BORE_PRODUCER}).
142
+ */
143
+ export type RegistrationHistory = NonNullable<Produced<typeof BORE_PRODUCER>["registrationHistory"]>;
134
144
  /**
135
145
  * Complete BHR-G (Geological Borehole) data (metadata + layers).
136
146
  *
@@ -138,25 +148,40 @@ export type BHRGTData = {
138
148
  * user-set `alias` are the only fields not produced from the XML.
139
149
  */
140
150
  export type BHRGData = {
141
- meta: ParseMeta;
151
+ dataType: "BHR-G";
152
+ meta: ParseMeta<"BHR-G">;
142
153
  alias?: string;
143
154
  } & Produced<typeof BHRG_PRODUCER>;
144
155
  /**
145
- * Union type for all BRO data types
156
+ * BRO file type identifier — the single canonical union of registration types.
157
+ * `DataType` (in {@link ../core/version-detector}) is an alias of this.
158
+ */
159
+ export type BROFileType = "CPT" | "BHR-GT" | "BHR-G" | "GMW" | "GLD";
160
+ /**
161
+ * Maps each {@link BROFileType} to its parsed `*Data` type. The single source of
162
+ * truth for the type↔data correspondence: {@link BROData} derives from it, and
163
+ * `BROParser`'s producer map is type-checked against it so a producer can never be
164
+ * filed under the wrong key.
165
+ */
166
+ export interface DataByType {
167
+ CPT: CPTData;
168
+ "BHR-GT": BHRGTData;
169
+ "BHR-G": BHRGData;
170
+ GMW: GMWData;
171
+ GLD: GLDData;
172
+ }
173
+ /**
174
+ * Union type for all BRO data types, derived from {@link DataByType}.
146
175
  *
147
- * Use the `meta.dataType` field to discriminate between types:
176
+ * Discriminated on the top-level `dataType` field:
148
177
  * ```typescript
149
178
  * const data = parser.parse(xmlText);
150
- * if (data.meta.dataType === 'CPT') {
151
- * // data is CPTData
179
+ * if (data.dataType === 'CPT') {
180
+ * // data is narrowed to CPTData
152
181
  * }
153
182
  * ```
154
183
  */
155
- export type BROData = CPTData | BHRGTData | BHRGData | GMWData | GLDData;
156
- /**
157
- * BRO file type identifier
158
- */
159
- export type BROFileType = "CPT" | "BHR-GT" | "BHR-G" | "GMW" | "GLD";
184
+ export type BROData = DataByType[BROFileType];
160
185
  /**
161
186
  * Complete GLD (groundwater level research) data.
162
187
  *
@@ -164,7 +189,8 @@ export type BROFileType = "CPT" | "BHR-GT" | "BHR-G" | "GMW" | "GLD";
164
189
  * user-set `alias` are the only fields not produced from the XML.
165
190
  */
166
191
  export type GLDData = {
167
- meta: ParseMeta;
192
+ dataType: "GLD";
193
+ meta: ParseMeta<"GLD">;
168
194
  alias?: string;
169
195
  } & Produced<typeof GLD_PRODUCER>;
170
196
  /**
@@ -176,7 +202,8 @@ export type GLDData = {
176
202
  * from the XML.
177
203
  */
178
204
  export type GMWData = {
179
- meta: ParseMeta;
205
+ dataType: "GMW";
206
+ meta: ParseMeta<"GMW">;
180
207
  alias?: string;
181
208
  } & Produced<typeof GMW_PRODUCER>;
182
209
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEhD;;;;;GAKG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,QAAQ,EAAE,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,CAAC;IAErD;;;;;;OAMG;IACH,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,OAAO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AC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE;CAM/E"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAwNH;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,KAAK;IACtB,IAAI,CAAS;IACb,OAAO,CAA0B;IAEjD,YAAY,OAAe,EAAE,OAAiD;QAC5E,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;QAC5B,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;CACF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AA4PH;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,KAAK;IACtB,IAAI,CAAS;IACb,OAAO,CAA0B;IAEjD,YAAY,OAAe,EAAE,OAAiD;QAC5E,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;QAC5B,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bedrock-engineer/bro-xml-parser",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Schema-driven parser for Dutch BRO (Basisregistratie Ondergrond) geotechnical and geological XML data",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",