@digicatapult/dtdl-parser 1.1.72 → 1.1.73

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "mainAssemblyName": "DTDLParserJSInterop.dll",
3
3
  "resources": {
4
- "hash": "sha256-DvRz+VjRpPgnsFqtLHfDEqgnkaPNxE8oC7CiDcM60+k=",
4
+ "hash": "sha256-+Bv3O1FrxZ5ns6z/chsJV7m95ZfGl984yCVrZfQY+1U=",
5
5
  "jsModuleNative": {
6
6
  "dotnet.native.js": "sha256-tdOfNJCJzyFx+g15zWXw7q+JtUpnNrTkgVKxPWCs8J8="
7
7
  },
@@ -9,11 +9,11 @@
9
9
  "dotnet.runtime.js": "sha256-3FQ/XEf1pRsQQWd2Exmra8Vcj2xJ1gqzTFxi9rolro4="
10
10
  },
11
11
  "wasmNative": {
12
- "dotnet.native.wasm": "sha256-wTrN1+qa1Th+uZSsCWe2kxKSl2jvnSuBhAm/fu/xTFM="
12
+ "dotnet.native.wasm": "sha256-6cN84LiWULmu/dFD5hQPrBQtzuLWGLexxonjKLxPOSY="
13
13
  },
14
14
  "assembly": {
15
15
  "DTDLParser.wasm": "sha256-YHvY/HrXZf6gcdOROAxOblv2TPYyQw0mHbBS4GozN8k=",
16
- "DTDLParserJSInterop.wasm": "sha256-YO4T/nE3D4VdxEbskjhK0+2vlQfVoH8BSNztVSs+XdE=",
16
+ "DTDLParserJSInterop.wasm": "sha256-Qzzjfe9dlDCC449rmeQzD34lTFvURvPzRkLi6Fw8Kq0=",
17
17
  "System.Collections.wasm": "sha256-vhLyoVAn/9CtI+0vT7txka75KgWfon3vdO0mG/DweWk=",
18
18
  "System.Console.wasm": "sha256-FmwKHAXiCuqcidc1mIz5j5yRstEZqkNmRk2WMWhfSUs=",
19
19
  "System.Linq.wasm": "sha256-HAZcXw3uu35odVow+QeKDSLSrgMd60zdmotu1F6vtdc=",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digicatapult/dtdl-parser",
3
- "version": "1.1.72",
3
+ "version": "1.1.73",
4
4
  "description": "JS tool to parse DTDL defined Ontologies",
5
5
  "main": "build/index.js",
6
6
  "type": "module",
@@ -62,7 +62,7 @@
62
62
  "eslint-plugin-prettier": "^5.5.6",
63
63
  "globals": "^17.7.0",
64
64
  "mocha": "^11.7.6",
65
- "prettier": "^3.8.5",
65
+ "prettier": "^3.9.1",
66
66
  "prettier-plugin-organize-imports": "^4.3.0",
67
67
  "rimraf": "^6.1.3",
68
68
  "typescript": "^6.0.3"
package/types/DtdlOm.d.ts CHANGED
@@ -140,13 +140,7 @@ export interface EntityInfo {
140
140
  }
141
141
 
142
142
  export type EntityType =
143
- | EntityInfo
144
- | CommandTypeType
145
- | InterfaceType
146
- | LatentTypeType
147
- | NamedEntityType
148
- | SchemaType
149
- | UnitType
143
+ EntityInfo | CommandTypeType | InterfaceType | LatentTypeType | NamedEntityType | SchemaType | UnitType
150
144
 
151
145
  export interface EnumInfo extends ComplexSchemaInfo {
152
146
  EntityKind: 'Enum'
@@ -249,13 +243,7 @@ export interface NamedEntityInfo extends EntityInfo {
249
243
  }
250
244
 
251
245
  export type NamedEntityType =
252
- | NamedEntityInfo
253
- | ContentType
254
- | EnumValueType
255
- | MapKeyType
256
- | NamedLatentTypeType
257
- | SchemaFieldType
258
- | UnitAttributeType
246
+ NamedEntityInfo | ContentType | EnumValueType | MapKeyType | NamedLatentTypeType | SchemaFieldType | UnitAttributeType
259
247
 
260
248
  export interface NamedLatentTypeInfo extends NamedEntityInfo {
261
249
  EntityKind: 'NamedLatentType'
@@ -281,11 +269,7 @@ export interface PrimitiveSchemaInfo extends SchemaInfo {
281
269
  }
282
270
 
283
271
  export type PrimitiveSchemaType =
284
- | PrimitiveSchemaInfo
285
- | BooleanType
286
- | NumericSchemaType
287
- | StringType
288
- | TemporalSchemaType
272
+ PrimitiveSchemaInfo | BooleanType | NumericSchemaType | StringType | TemporalSchemaType
289
273
 
290
274
  export interface PropertyInfo extends ContentInfo {
291
275
  EntityKind: 'Property'