@snaptrude/plugin-core 0.2.8 → 0.2.9
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 +9 -0
- package/dist/api/entity/space.d.ts +103 -1
- package/dist/api/entity/space.d.ts.map +1 -1
- package/dist/index.cjs +12 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api/entity/space.ts +31 -1
package/dist/index.js
CHANGED
|
@@ -1188,6 +1188,7 @@ var PluginSpaceGetProperty = z11.enum([
|
|
|
1188
1188
|
"height",
|
|
1189
1189
|
"massType",
|
|
1190
1190
|
"spaceType",
|
|
1191
|
+
"areaClass",
|
|
1191
1192
|
"storey",
|
|
1192
1193
|
"departmentId",
|
|
1193
1194
|
"departmentName",
|
|
@@ -1200,6 +1201,8 @@ var PluginSpaceGetProperty = z11.enum([
|
|
|
1200
1201
|
// Derived from brep
|
|
1201
1202
|
"planPoints",
|
|
1202
1203
|
"profile",
|
|
1204
|
+
"innerProfiles",
|
|
1205
|
+
"innerPlanPoints",
|
|
1203
1206
|
// Derived from adjacency manager
|
|
1204
1207
|
"adjacency"
|
|
1205
1208
|
]);
|
|
@@ -1219,6 +1222,7 @@ var PluginSpaceType = z11.enum([
|
|
|
1219
1222
|
"Envelope",
|
|
1220
1223
|
"Parking"
|
|
1221
1224
|
]);
|
|
1225
|
+
var PluginAreaClass = z11.enum(["NET", "GROSS", "EXCLUDED"]);
|
|
1222
1226
|
var PluginSpaceGetResult = z11.object({
|
|
1223
1227
|
// Basic
|
|
1224
1228
|
id: z11.string(),
|
|
@@ -1232,6 +1236,7 @@ var PluginSpaceGetResult = z11.object({
|
|
|
1232
1236
|
height: z11.number(),
|
|
1233
1237
|
massType: z11.string().nullable(),
|
|
1234
1238
|
spaceType: PluginSpaceType.nullable(),
|
|
1239
|
+
areaClass: PluginAreaClass,
|
|
1235
1240
|
storey: z11.number().nullable(),
|
|
1236
1241
|
departmentId: z11.string().nullable(),
|
|
1237
1242
|
departmentName: z11.string(),
|
|
@@ -1244,6 +1249,8 @@ var PluginSpaceGetResult = z11.object({
|
|
|
1244
1249
|
// Derived from brep
|
|
1245
1250
|
planPoints: z11.array(PVec3),
|
|
1246
1251
|
profile: PProfile,
|
|
1252
|
+
innerProfiles: z11.array(PProfile),
|
|
1253
|
+
innerPlanPoints: z11.array(z11.array(PVec3)),
|
|
1247
1254
|
// Derived from adjacency manager
|
|
1248
1255
|
adjacency: z11.array(z11.object({
|
|
1249
1256
|
spaceId: z11.string(),
|
|
@@ -1286,6 +1293,7 @@ var PluginSpaceUpdateArgs = z11.object({
|
|
|
1286
1293
|
room_type: z11.string().optional(),
|
|
1287
1294
|
massType: PluginMassType.optional(),
|
|
1288
1295
|
spaceType: PluginSpaceType.optional(),
|
|
1296
|
+
areaClass: PluginAreaClass.optional(),
|
|
1289
1297
|
departmentId: PluginDepartmentId.optional()
|
|
1290
1298
|
})
|
|
1291
1299
|
});
|
|
@@ -1294,6 +1302,7 @@ var PluginSpaceUpdateResult = z11.object({
|
|
|
1294
1302
|
room_type: z11.string().optional(),
|
|
1295
1303
|
massType: z11.string().optional(),
|
|
1296
1304
|
spaceType: z11.string().optional(),
|
|
1305
|
+
areaClass: PluginAreaClass.optional(),
|
|
1297
1306
|
departmentId: z11.string().nullable().optional()
|
|
1298
1307
|
});
|
|
1299
1308
|
var PluginSpaceBulkCreateItem = z11.discriminatedUnion("kind", [
|
|
@@ -1336,6 +1345,7 @@ var PluginSpaceBulkUpdateItem = z11.object({
|
|
|
1336
1345
|
room_type: z11.string().optional(),
|
|
1337
1346
|
massType: PluginMassType.optional(),
|
|
1338
1347
|
spaceType: PluginSpaceType.optional(),
|
|
1348
|
+
areaClass: PluginAreaClass.optional(),
|
|
1339
1349
|
departmentId: PluginDepartmentId.optional()
|
|
1340
1350
|
}).optional()
|
|
1341
1351
|
});
|
|
@@ -1584,6 +1594,7 @@ export {
|
|
|
1584
1594
|
PluginAIInspirationWorkflowVideoConfig,
|
|
1585
1595
|
PluginApi,
|
|
1586
1596
|
PluginArcApi,
|
|
1597
|
+
PluginAreaClass,
|
|
1587
1598
|
PluginBuildableEnvelopeApi,
|
|
1588
1599
|
PluginBuildableEnvelopeCreateArgs,
|
|
1589
1600
|
PluginBuildableEnvelopeCreateResult,
|