@ifc-lite/codegen 1.14.3 → 1.15.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 +6 -0
- package/dist/express-parser.d.ts.map +1 -1
- package/dist/express-parser.js +16 -8
- package/dist/express-parser.js.map +1 -1
- package/dist/typescript-generator.d.ts.map +1 -1
- package/dist/typescript-generator.js +14 -4
- package/dist/typescript-generator.js.map +1 -1
- package/generated/ifc4/entities.ts +426 -4
- package/generated/ifc4/enums.ts +0 -4
- package/generated/ifc4/index.ts +4 -2
- package/generated/ifc4/schema-registry.ts +12397 -9937
- package/generated/ifc4/selects.ts +128 -4
- package/generated/ifc4/serializers.ts +322 -0
- package/generated/ifc4/test-compile.ts +41 -29
- package/generated/ifc4/type-ids.ts +1682 -0
- package/generated/ifc4/types.ts +12 -2715
- package/generated/ifc4x3/entities.ts +468 -0
- package/generated/ifc4x3/schema-registry.ts +14078 -11220
- package/generated/ifc4x3/selects.ts +122 -0
- package/generated/ifc4x3/serializers.ts +1 -1
- package/generated/ifc4x3/types.ts +12 -3308
- package/package.json +1 -1
- package/src/express-parser.ts +17 -8
- package/src/typescript-generator.ts +14 -4
- package/test/express-parser.test.ts +2 -2
|
@@ -5,6 +5,128 @@
|
|
|
5
5
|
* DO NOT EDIT - This file is auto-generated
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
import type {
|
|
9
|
+
IfcActorRole,
|
|
10
|
+
IfcAddress,
|
|
11
|
+
IfcAppliedValue,
|
|
12
|
+
IfcApproval,
|
|
13
|
+
IfcAxis2Placement2D,
|
|
14
|
+
IfcAxis2Placement3D,
|
|
15
|
+
IfcBooleanResult,
|
|
16
|
+
IfcBoundedCurve,
|
|
17
|
+
IfcCartesianPoint,
|
|
18
|
+
IfcClassification,
|
|
19
|
+
IfcClassificationReference,
|
|
20
|
+
IfcClosedShell,
|
|
21
|
+
IfcColourRgb,
|
|
22
|
+
IfcColourSpecification,
|
|
23
|
+
IfcCompositeCurveOnSurface,
|
|
24
|
+
IfcConstraint,
|
|
25
|
+
IfcContextDependentUnit,
|
|
26
|
+
IfcConversionBasedUnit,
|
|
27
|
+
IfcCoordinateReferenceSystem,
|
|
28
|
+
IfcCsgPrimitive3D,
|
|
29
|
+
IfcCurve,
|
|
30
|
+
IfcCurveStyleFont,
|
|
31
|
+
IfcCurveStyleFontAndScaling,
|
|
32
|
+
IfcDerivedUnit,
|
|
33
|
+
IfcDirection,
|
|
34
|
+
IfcDocumentInformation,
|
|
35
|
+
IfcDocumentReference,
|
|
36
|
+
IfcEdgeCurve,
|
|
37
|
+
IfcElement,
|
|
38
|
+
IfcExternalInformation,
|
|
39
|
+
IfcExternalReference,
|
|
40
|
+
IfcExternalSpatialElement,
|
|
41
|
+
IfcExternallyDefinedHatchStyle,
|
|
42
|
+
IfcExternallyDefinedSurfaceStyle,
|
|
43
|
+
IfcExternallyDefinedTextFont,
|
|
44
|
+
IfcFaceBasedSurfaceModel,
|
|
45
|
+
IfcFaceSurface,
|
|
46
|
+
IfcFillAreaStyleHatching,
|
|
47
|
+
IfcFillAreaStyleTiles,
|
|
48
|
+
IfcGeometricRepresentationContext,
|
|
49
|
+
IfcGroup,
|
|
50
|
+
IfcHalfSpaceSolid,
|
|
51
|
+
IfcLibraryInformation,
|
|
52
|
+
IfcLibraryReference,
|
|
53
|
+
IfcLightIntensityDistribution,
|
|
54
|
+
IfcMaterialDefinition,
|
|
55
|
+
IfcMaterialList,
|
|
56
|
+
IfcMaterialUsageDefinition,
|
|
57
|
+
IfcMeasureWithUnit,
|
|
58
|
+
IfcMonetaryUnit,
|
|
59
|
+
IfcNamedUnit,
|
|
60
|
+
IfcObjectDefinition,
|
|
61
|
+
IfcOpenShell,
|
|
62
|
+
IfcOrganization,
|
|
63
|
+
IfcPcurve,
|
|
64
|
+
IfcPerson,
|
|
65
|
+
IfcPersonAndOrganization,
|
|
66
|
+
IfcPhysicalQuantity,
|
|
67
|
+
IfcPoint,
|
|
68
|
+
IfcPreDefinedColour,
|
|
69
|
+
IfcPreDefinedCurveFont,
|
|
70
|
+
IfcPreDefinedTextFont,
|
|
71
|
+
IfcProcess,
|
|
72
|
+
IfcProduct,
|
|
73
|
+
IfcProductDefinitionShape,
|
|
74
|
+
IfcProfileDef,
|
|
75
|
+
IfcPropertyAbstraction,
|
|
76
|
+
IfcPropertyDefinition,
|
|
77
|
+
IfcPropertySetDefinition,
|
|
78
|
+
IfcReference,
|
|
79
|
+
IfcRepresentation,
|
|
80
|
+
IfcRepresentationItem,
|
|
81
|
+
IfcRepresentationMap,
|
|
82
|
+
IfcResource,
|
|
83
|
+
IfcShapeAspect,
|
|
84
|
+
IfcSolidModel,
|
|
85
|
+
IfcSpace,
|
|
86
|
+
IfcSpatialElement,
|
|
87
|
+
IfcStructuralItem,
|
|
88
|
+
IfcSurface,
|
|
89
|
+
IfcSurfaceCurve,
|
|
90
|
+
IfcSurfaceStyleLighting,
|
|
91
|
+
IfcSurfaceStyleRefraction,
|
|
92
|
+
IfcSurfaceStyleShading,
|
|
93
|
+
IfcSurfaceStyleWithTextures,
|
|
94
|
+
IfcTable,
|
|
95
|
+
IfcTessellatedFaceSet,
|
|
96
|
+
IfcTimeSeries,
|
|
97
|
+
IfcTypeProcess,
|
|
98
|
+
IfcTypeProduct,
|
|
99
|
+
IfcTypeResource,
|
|
100
|
+
IfcVector,
|
|
101
|
+
IfcVertexPoint,
|
|
102
|
+
IfcVirtualGridIntersection,
|
|
103
|
+
} from './entities.js';
|
|
104
|
+
|
|
105
|
+
import type {
|
|
106
|
+
IfcArcIndex,
|
|
107
|
+
IfcBinary,
|
|
108
|
+
IfcBoolean,
|
|
109
|
+
IfcComplexNumber,
|
|
110
|
+
IfcDate,
|
|
111
|
+
IfcDateTime,
|
|
112
|
+
IfcDuration,
|
|
113
|
+
IfcIdentifier,
|
|
114
|
+
IfcInteger,
|
|
115
|
+
IfcLabel,
|
|
116
|
+
IfcLineIndex,
|
|
117
|
+
IfcLogical,
|
|
118
|
+
IfcParameterValue,
|
|
119
|
+
IfcPositiveInteger,
|
|
120
|
+
IfcPropertySetDefinitionSet,
|
|
121
|
+
IfcReal,
|
|
122
|
+
IfcSpecularExponent,
|
|
123
|
+
IfcSpecularRoughness,
|
|
124
|
+
IfcText,
|
|
125
|
+
IfcTime,
|
|
126
|
+
IfcTimeStamp,
|
|
127
|
+
IfcURIReference,
|
|
128
|
+
} from './types.js';
|
|
129
|
+
|
|
8
130
|
/** IfcActorSelect */
|
|
9
131
|
export type IfcActorSelect = IfcOrganization | IfcPerson | IfcPersonAndOrganization;
|
|
10
132
|
|
|
@@ -177,7 +177,7 @@ export function generateHeader(options: {
|
|
|
177
177
|
author?: string;
|
|
178
178
|
organization?: string;
|
|
179
179
|
application?: string;
|
|
180
|
-
schema: 'IFC2X3' | 'IFC4' | 'IFC4X3';
|
|
180
|
+
schema: 'IFC2X3' | 'IFC4' | 'IFC4X3' | 'IFC5';
|
|
181
181
|
filename?: string;
|
|
182
182
|
}): string {
|
|
183
183
|
const now = new Date().toISOString().replace(/[-:]/g, '').split('.')[0];
|