@snaptrude/plugin-core 0.7.1 → 0.9.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 +29 -0
- package/api-manifest.full.json +7703 -0
- package/api-manifest.json +2946 -259
- package/dist/api/analysis/daylight.d.ts +603 -0
- package/dist/api/analysis/daylight.d.ts.map +1 -0
- package/dist/api/analysis/heatmaps.d.ts +438 -14
- package/dist/api/analysis/heatmaps.d.ts.map +1 -1
- package/dist/api/analysis/index.d.ts +15 -0
- package/dist/api/analysis/index.d.ts.map +1 -1
- package/dist/api/analysis/solar.d.ts +249 -0
- package/dist/api/analysis/solar.d.ts.map +1 -0
- package/dist/api/analysis/weather.d.ts +193 -0
- package/dist/api/analysis/weather.d.ts.map +1 -0
- package/dist/api/core/camera/index.d.ts +245 -0
- package/dist/api/core/camera/index.d.ts.map +1 -0
- package/dist/api/core/comment/index.d.ts +105 -2
- package/dist/api/core/comment/index.d.ts.map +1 -1
- package/dist/api/core/geom/create/index.d.ts +331 -14
- package/dist/api/core/geom/create/index.d.ts.map +1 -1
- package/dist/api/core/geom/delete/index.d.ts +8 -2
- package/dist/api/core/geom/delete/index.d.ts.map +1 -1
- package/dist/api/core/geom/query/arc.d.ts +5 -5
- package/dist/api/core/geom/query/brep.d.ts +18 -18
- package/dist/api/core/geom/query/circle.d.ts +18 -18
- package/dist/api/core/geom/query/contour.d.ts +20 -20
- package/dist/api/core/geom/query/curve.d.ts +49 -49
- package/dist/api/core/geom/query/edge.d.ts +5 -5
- package/dist/api/core/geom/query/face.d.ts +16 -16
- package/dist/api/core/geom/query/halfedge.d.ts +8 -8
- package/dist/api/core/geom/query/profile.d.ts +19 -19
- package/dist/api/core/geom/query/vertex.d.ts +8 -8
- package/dist/api/core/geom/update/contour.d.ts +14 -14
- package/dist/api/core/geom/update/curve.d.ts +7 -7
- package/dist/api/core/geom/update/profile.d.ts +16 -16
- package/dist/api/core/handles/index.d.ts +210 -0
- package/dist/api/core/handles/index.d.ts.map +1 -0
- package/dist/api/core/index.d.ts +24 -0
- package/dist/api/core/index.d.ts.map +1 -1
- package/dist/api/core/io/export/index.d.ts +134 -0
- package/dist/api/core/io/export/index.d.ts.map +1 -0
- package/dist/api/core/io/import/index.d.ts +62 -1
- package/dist/api/core/io/import/index.d.ts.map +1 -1
- package/dist/api/core/io/index.d.ts +5 -0
- package/dist/api/core/io/index.d.ts.map +1 -1
- package/dist/api/core/layers.d.ts +7 -7
- package/dist/api/core/mode/index.d.ts +99 -0
- package/dist/api/core/mode/index.d.ts.map +1 -0
- package/dist/api/core/proposals/index.d.ts +65 -9
- package/dist/api/core/proposals/index.d.ts.map +1 -1
- package/dist/api/core/storeys/index.d.ts +251 -0
- package/dist/api/core/storeys/index.d.ts.map +1 -0
- package/dist/api/core/tags.d.ts +24 -0
- package/dist/api/core/tags.d.ts.map +1 -1
- package/dist/api/core/user.d.ts +44 -0
- package/dist/api/core/user.d.ts.map +1 -0
- package/dist/api/core/zoom/index.d.ts +4 -0
- package/dist/api/core/zoom/index.d.ts.map +1 -1
- package/dist/api/design/boolean/index.d.ts +4 -4
- package/dist/api/design/create/index.d.ts +253 -47
- package/dist/api/design/create/index.d.ts.map +1 -1
- package/dist/api/design/delete/index.d.ts +3 -0
- package/dist/api/design/delete/index.d.ts.map +1 -1
- package/dist/api/design/doors/index.d.ts +36 -0
- package/dist/api/design/doors/index.d.ts.map +1 -1
- package/dist/api/design/edit/index.d.ts +1 -1
- package/dist/api/design/erase/index.d.ts +2 -2
- package/dist/api/design/furniture/index.d.ts +114 -3
- package/dist/api/design/furniture/index.d.ts.map +1 -1
- package/dist/api/design/index.d.ts +10 -0
- package/dist/api/design/index.d.ts.map +1 -1
- package/dist/api/design/materials/index.d.ts +111 -14
- package/dist/api/design/materials/index.d.ts.map +1 -1
- package/dist/api/design/query/geometry/index.d.ts +112 -0
- package/dist/api/design/query/geometry/index.d.ts.map +1 -1
- package/dist/api/design/query/index.d.ts +35 -1
- package/dist/api/design/query/index.d.ts.map +1 -1
- package/dist/api/design/query/referenceLines.d.ts +45 -0
- package/dist/api/design/query/referenceLines.d.ts.map +1 -0
- package/dist/api/design/query/spaces.d.ts +178 -5
- package/dist/api/design/query/spaces.d.ts.map +1 -1
- package/dist/api/design/transform/index.d.ts +95 -14
- package/dist/api/design/transform/index.d.ts.map +1 -1
- package/dist/api/design/types/index.d.ts +181 -0
- package/dist/api/design/types/index.d.ts.map +1 -0
- package/dist/api/design/update/index.d.ts +385 -2
- package/dist/api/design/update/index.d.ts.map +1 -1
- package/dist/api/design/visibility.d.ts +98 -0
- package/dist/api/design/visibility.d.ts.map +1 -0
- package/dist/api/entity/buildableEnvelope.d.ts +4 -0
- package/dist/api/entity/buildableEnvelope.d.ts.map +1 -1
- package/dist/api/entity/referenceLine.d.ts +10 -2
- package/dist/api/entity/referenceLine.d.ts.map +1 -1
- package/dist/api/entity/space.d.ts +19 -19
- package/dist/api/entity/story.d.ts +148 -15
- package/dist/api/entity/story.d.ts.map +1 -1
- package/dist/api/index.d.ts +5 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/presentation/annotate.d.ts +448 -0
- package/dist/api/presentation/annotate.d.ts.map +1 -0
- package/dist/api/presentation/diagrams.d.ts +49 -8
- package/dist/api/presentation/diagrams.d.ts.map +1 -1
- package/dist/api/presentation/export.d.ts +108 -0
- package/dist/api/presentation/export.d.ts.map +1 -0
- package/dist/api/presentation/import.d.ts +6 -0
- package/dist/api/presentation/import.d.ts.map +1 -1
- package/dist/api/presentation/index.d.ts +47 -0
- package/dist/api/presentation/index.d.ts.map +1 -1
- package/dist/api/presentation/placedViews.d.ts +370 -0
- package/dist/api/presentation/placedViews.d.ts.map +1 -0
- package/dist/api/presentation/shapes.d.ts +481 -0
- package/dist/api/presentation/shapes.d.ts.map +1 -0
- package/dist/api/presentation/sheets.d.ts +410 -13
- package/dist/api/presentation/sheets.d.ts.map +1 -1
- package/dist/api/presentation/views.d.ts +165 -10
- package/dist/api/presentation/views.d.ts.map +1 -1
- package/dist/api/program/areas.d.ts +63 -3
- package/dist/api/program/areas.d.ts.map +1 -1
- package/dist/api/program/cores.d.ts +3 -99
- package/dist/api/program/cores.d.ts.map +1 -1
- package/dist/api/program/index.d.ts +2 -2
- package/dist/api/program/index.d.ts.map +1 -1
- package/dist/api/program/layout.d.ts +172 -12
- package/dist/api/program/layout.d.ts.map +1 -1
- package/dist/api/program/site.d.ts +105 -8
- package/dist/api/program/site.d.ts.map +1 -1
- package/dist/api/program/spreadsheet.d.ts +365 -41
- package/dist/api/program/spreadsheet.d.ts.map +1 -1
- package/dist/api/workspace/index.d.ts +460 -0
- package/dist/api/workspace/index.d.ts.map +1 -0
- package/dist/handles.d.ts +64 -25
- package/dist/handles.d.ts.map +1 -1
- package/dist/index.cjs +3210 -1671
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3008 -1666
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/scripts/generate-manifest.mjs +45 -0
- package/src/api/analysis/daylight.ts +470 -0
- package/src/api/analysis/heatmaps.ts +444 -17
- package/src/api/analysis/index.ts +15 -0
- package/src/api/analysis/solar.ts +237 -0
- package/src/api/analysis/weather.ts +179 -0
- package/src/api/core/camera/index.ts +251 -0
- package/src/api/core/comment/index.ts +120 -2
- package/src/api/core/geom/create/index.ts +344 -1
- package/src/api/core/geom/delete/index.ts +6 -0
- package/src/api/core/handles/index.ts +233 -0
- package/src/api/core/index.ts +24 -0
- package/src/api/core/io/export/index.ts +126 -0
- package/src/api/core/io/import/index.ts +64 -0
- package/src/api/core/io/index.ts +5 -0
- package/src/api/core/mode/index.ts +96 -0
- package/src/api/core/proposals/index.ts +71 -11
- package/src/api/core/storeys/index.ts +279 -0
- package/src/api/core/tags.ts +27 -0
- package/src/api/core/user.ts +46 -0
- package/src/api/core/zoom/index.ts +4 -0
- package/src/api/design/create/index.ts +303 -36
- package/src/api/design/delete/index.ts +3 -0
- package/src/api/design/doors/index.ts +40 -0
- package/src/api/design/furniture/index.ts +127 -3
- package/src/api/design/index.ts +10 -0
- package/src/api/design/materials/index.ts +157 -30
- package/src/api/design/query/geometry/index.ts +125 -3
- package/src/api/design/query/index.ts +37 -7
- package/src/api/design/query/referenceLines.ts +52 -0
- package/src/api/design/query/spaces.ts +143 -0
- package/src/api/design/transform/index.ts +101 -12
- package/src/api/design/types/index.ts +156 -0
- package/src/api/design/update/index.ts +467 -6
- package/src/api/design/visibility.ts +109 -0
- package/src/api/entity/buildableEnvelope.ts +4 -0
- package/src/api/entity/referenceLine.ts +8 -0
- package/src/api/entity/story.ts +161 -15
- package/src/api/index.ts +5 -0
- package/src/api/presentation/annotate.ts +360 -0
- package/src/api/presentation/diagrams.ts +53 -8
- package/src/api/presentation/export.ts +108 -0
- package/src/api/presentation/import.ts +6 -0
- package/src/api/presentation/index.ts +55 -0
- package/src/api/presentation/placedViews.ts +363 -0
- package/src/api/presentation/shapes.ts +274 -0
- package/src/api/presentation/sheets.ts +346 -13
- package/src/api/presentation/views.ts +164 -12
- package/src/api/program/areas.ts +57 -6
- package/src/api/program/cores.ts +3 -91
- package/src/api/program/index.ts +2 -2
- package/src/api/program/layout.ts +182 -12
- package/src/api/program/site.ts +106 -8
- package/src/api/program/spreadsheet.ts +376 -35
- package/src/api/workspace/index.ts +516 -0
- package/src/handles.ts +77 -13
- package/tsconfig.json +7 -2
|
@@ -8,7 +8,7 @@ import * as z from "zod";
|
|
|
8
8
|
* | `dimensions` | `{ width, height, depth }` | Box dimensions in Babylon units |
|
|
9
9
|
*/
|
|
10
10
|
export declare const PluginSpaceCreateRectangularArgs: z.ZodObject<{
|
|
11
|
-
position: z.ZodPipe<z.
|
|
11
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
|
|
12
12
|
dimensions: z.ZodObject<{
|
|
13
13
|
width: z.ZodNumber;
|
|
14
14
|
height: z.ZodNumber;
|
|
@@ -38,10 +38,10 @@ export type PluginSpaceCreateRectangularResult = z.infer<typeof PluginSpaceCreat
|
|
|
38
38
|
* | `position` | {@linkcode Vec3Handle} | Offset position in Babylon units |
|
|
39
39
|
*/
|
|
40
40
|
export declare const PluginSpaceCreateFromProfileArgs: z.ZodObject<{
|
|
41
|
-
profile: z.ZodPipe<z.
|
|
42
|
-
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodPipe<z.
|
|
41
|
+
profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>;
|
|
42
|
+
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>>>;
|
|
43
43
|
extrudeHeight: z.ZodNumber;
|
|
44
|
-
position: z.ZodPipe<z.
|
|
44
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
|
|
45
45
|
}, z.core.$strip>;
|
|
46
46
|
export type PluginSpaceCreateFromProfileArgs = z.infer<typeof PluginSpaceCreateFromProfileArgs>;
|
|
47
47
|
/**
|
|
@@ -66,7 +66,7 @@ export type PluginSpaceCreateFromProfileResult = z.infer<typeof PluginSpaceCreat
|
|
|
66
66
|
*/
|
|
67
67
|
export declare const PluginSpaceUpdateGeometryFromProfileArgs: z.ZodObject<{
|
|
68
68
|
spaceId: z.ZodString;
|
|
69
|
-
profile: z.ZodPipe<z.
|
|
69
|
+
profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>;
|
|
70
70
|
extrudeHeight: z.ZodNumber;
|
|
71
71
|
}, z.core.$strip>;
|
|
72
72
|
export type PluginSpaceUpdateGeometryFromProfileArgs = z.infer<typeof PluginSpaceUpdateGeometryFromProfileArgs>;
|
|
@@ -130,8 +130,8 @@ export type PluginSpaceUpdateGeometryFromProfileResult = z.infer<typeof PluginSp
|
|
|
130
130
|
export declare const PluginSpaceGetProperty: z.ZodEnum<{
|
|
131
131
|
profile: "profile";
|
|
132
132
|
type: "type";
|
|
133
|
-
position: "position";
|
|
134
133
|
id: "id";
|
|
134
|
+
position: "position";
|
|
135
135
|
name: "name";
|
|
136
136
|
storey: "storey";
|
|
137
137
|
height: "height";
|
|
@@ -166,8 +166,8 @@ export declare const PluginSpaceGetArgs: z.ZodObject<{
|
|
|
166
166
|
properties: z.ZodArray<z.ZodEnum<{
|
|
167
167
|
profile: "profile";
|
|
168
168
|
type: "type";
|
|
169
|
-
position: "position";
|
|
170
169
|
id: "id";
|
|
170
|
+
position: "position";
|
|
171
171
|
name: "name";
|
|
172
172
|
storey: "storey";
|
|
173
173
|
height: "height";
|
|
@@ -300,8 +300,8 @@ export declare const PluginSpaceGetResult: z.ZodObject<{
|
|
|
300
300
|
y: z.ZodNumber;
|
|
301
301
|
z: z.ZodNumber;
|
|
302
302
|
}, z.core.$strip>>>;
|
|
303
|
-
profile: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.
|
|
304
|
-
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.
|
|
303
|
+
profile: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"arc">, string>>]>>>;
|
|
304
|
+
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"arc">, string>>]>>>>;
|
|
305
305
|
innerPlanPoints: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
306
306
|
x: z.ZodNumber;
|
|
307
307
|
y: z.ZodNumber;
|
|
@@ -498,7 +498,7 @@ export type PluginSpaceUpdateResult = z.infer<typeof PluginSpaceUpdateResult>;
|
|
|
498
498
|
*/
|
|
499
499
|
export declare const PluginSpaceBulkCreateItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
500
500
|
kind: z.ZodLiteral<"rectangular">;
|
|
501
|
-
position: z.ZodPipe<z.
|
|
501
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
|
|
502
502
|
dimensions: z.ZodObject<{
|
|
503
503
|
width: z.ZodNumber;
|
|
504
504
|
height: z.ZodNumber;
|
|
@@ -539,10 +539,10 @@ export declare const PluginSpaceBulkCreateItem: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
539
539
|
}>, z.ZodUUID]>>;
|
|
540
540
|
}, z.core.$strip>, z.ZodObject<{
|
|
541
541
|
kind: z.ZodLiteral<"profile">;
|
|
542
|
-
profile: z.ZodPipe<z.
|
|
543
|
-
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodPipe<z.
|
|
542
|
+
profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>;
|
|
543
|
+
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>>>;
|
|
544
544
|
extrudeHeight: z.ZodNumber;
|
|
545
|
-
position: z.ZodPipe<z.
|
|
545
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
|
|
546
546
|
room_type: z.ZodOptional<z.ZodString>;
|
|
547
547
|
spaceType: z.ZodOptional<z.ZodEnum<{
|
|
548
548
|
Room: "Room";
|
|
@@ -588,7 +588,7 @@ export type PluginSpaceBulkCreateItem = z.infer<typeof PluginSpaceBulkCreateItem
|
|
|
588
588
|
export declare const PluginSpaceBulkCreateArgs: z.ZodObject<{
|
|
589
589
|
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
590
590
|
kind: z.ZodLiteral<"rectangular">;
|
|
591
|
-
position: z.ZodPipe<z.
|
|
591
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
|
|
592
592
|
dimensions: z.ZodObject<{
|
|
593
593
|
width: z.ZodNumber;
|
|
594
594
|
height: z.ZodNumber;
|
|
@@ -629,10 +629,10 @@ export declare const PluginSpaceBulkCreateArgs: z.ZodObject<{
|
|
|
629
629
|
}>, z.ZodUUID]>>;
|
|
630
630
|
}, z.core.$strip>, z.ZodObject<{
|
|
631
631
|
kind: z.ZodLiteral<"profile">;
|
|
632
|
-
profile: z.ZodPipe<z.
|
|
633
|
-
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodPipe<z.
|
|
632
|
+
profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>;
|
|
633
|
+
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>>>;
|
|
634
634
|
extrudeHeight: z.ZodNumber;
|
|
635
|
-
position: z.ZodPipe<z.
|
|
635
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
|
|
636
636
|
room_type: z.ZodOptional<z.ZodString>;
|
|
637
637
|
spaceType: z.ZodOptional<z.ZodEnum<{
|
|
638
638
|
Room: "Room";
|
|
@@ -697,7 +697,7 @@ export type PluginSpaceBulkCreateResult = z.infer<typeof PluginSpaceBulkCreateRe
|
|
|
697
697
|
*/
|
|
698
698
|
export declare const PluginSpaceBulkUpdateItem: z.ZodObject<{
|
|
699
699
|
spaceId: z.ZodString;
|
|
700
|
-
profile: z.ZodOptional<z.ZodPipe<z.
|
|
700
|
+
profile: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>>;
|
|
701
701
|
extrudeHeight: z.ZodOptional<z.ZodNumber>;
|
|
702
702
|
properties: z.ZodOptional<z.ZodObject<{
|
|
703
703
|
room_type: z.ZodOptional<z.ZodString>;
|
|
@@ -751,7 +751,7 @@ export type PluginSpaceBulkUpdateItem = z.infer<typeof PluginSpaceBulkUpdateItem
|
|
|
751
751
|
export declare const PluginSpaceBulkUpdateArgs: z.ZodObject<{
|
|
752
752
|
items: z.ZodArray<z.ZodObject<{
|
|
753
753
|
spaceId: z.ZodString;
|
|
754
|
-
profile: z.ZodOptional<z.ZodPipe<z.
|
|
754
|
+
profile: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>>;
|
|
755
755
|
extrudeHeight: z.ZodOptional<z.ZodNumber>;
|
|
756
756
|
properties: z.ZodOptional<z.ZodObject<{
|
|
757
757
|
room_type: z.ZodOptional<z.ZodString>;
|
|
@@ -39,6 +39,8 @@ export declare abstract class PluginStoryApi {
|
|
|
39
39
|
* const info = await snaptrude.entity.story.get(1, ["height", "name", "spacesCount"])
|
|
40
40
|
* console.log(info.name, info.height, info.spacesCount)
|
|
41
41
|
* ```
|
|
42
|
+
*
|
|
43
|
+
* @deprecated Use `core.storeys.get`
|
|
42
44
|
*/
|
|
43
45
|
abstract get(storyValue: number, properties: PluginStoryGetProperty[]): PluginApiReturn<PluginStoryGetResult>;
|
|
44
46
|
/**
|
|
@@ -62,6 +64,8 @@ export declare abstract class PluginStoryApi {
|
|
|
62
64
|
* console.log(`Story ${s.value}: ${s.name} (id: ${s.id})`)
|
|
63
65
|
* }
|
|
64
66
|
* ```
|
|
67
|
+
*
|
|
68
|
+
* @deprecated Use `core.storeys.list`
|
|
65
69
|
*/
|
|
66
70
|
abstract getAll(): PluginApiReturn<PluginStoryGetAllResult>;
|
|
67
71
|
/**
|
|
@@ -88,24 +92,37 @@ export declare abstract class PluginStoryApi {
|
|
|
88
92
|
* // Create a new third floor with custom height
|
|
89
93
|
* const { storyId } = await snaptrude.entity.story.create(3, 4.5)
|
|
90
94
|
* ```
|
|
95
|
+
*
|
|
96
|
+
* @deprecated Use `core.storeys.create`
|
|
91
97
|
*/
|
|
92
98
|
abstract create(storyValue: number, height?: number): PluginApiReturn<PluginStoryCreateResult>;
|
|
93
99
|
/**
|
|
94
|
-
* Update a story's floor-to-floor height
|
|
100
|
+
* Update a story's floor-to-floor `height` and/or `name`.
|
|
95
101
|
*
|
|
96
|
-
*
|
|
97
|
-
* walls, columns, and masses on the story are **stretched** to the new
|
|
98
|
-
* every story **above shifts up/down** by the delta so the stack stays
|
|
102
|
+
* **Height** is the same operation as editing the height in the Stories panel:
|
|
103
|
+
* the walls, columns, and masses on the story are **stretched** to the new
|
|
104
|
+
* height, every story **above shifts up/down** by the delta so the stack stays
|
|
99
105
|
* contiguous, and coupled elements (staircases, parametric curtain walls,
|
|
100
|
-
* furniture offsets) are re-fitted. The whole cascade is committed as
|
|
101
|
-
* undo step**. Height-locked elements are left untouched.
|
|
106
|
+
* furniture offsets) are re-fitted. The whole height cascade is committed as
|
|
107
|
+
* **one undo step**. Height-locked elements are left untouched.
|
|
108
|
+
*
|
|
109
|
+
* **Name** is the same as renaming the story in the Stories panel: it is
|
|
110
|
+
* persisted immediately (saved to the project) but, mirroring the panel, is
|
|
111
|
+
* **not** part of the height undo step.
|
|
112
|
+
*
|
|
113
|
+
* At least one of `height` or `options.name` must be supplied. Omitting the
|
|
114
|
+
* `height` argument (e.g. for a rename-only update) leaves the height
|
|
115
|
+
* untouched.
|
|
102
116
|
*
|
|
103
117
|
* @param storyValue - Integer storey number
|
|
104
118
|
* identifying the story to update
|
|
105
119
|
* @param height - New floor-to-floor height in
|
|
106
|
-
* Babylon units
|
|
107
|
-
* @
|
|
120
|
+
* Babylon units. Omit to leave the height unchanged.
|
|
121
|
+
* @param options - `name` (new display name for the story)
|
|
122
|
+
* @returns A {@linkcode PluginStoryUpdateResult} with the story's
|
|
123
|
+
* `storyValue`, `height`, and `name` after the update
|
|
108
124
|
* @throws `PRECONDITION_FAILED` if no story has the given value;
|
|
125
|
+
* `VALIDATION` if neither `height` nor `options.name` is supplied;
|
|
109
126
|
* `STORY_HEIGHT_REJECTED` if the engine rejects the height (e.g. out of
|
|
110
127
|
* range — the change silently reverts host-side and is surfaced as this
|
|
111
128
|
* error); `STORY_UPDATE_FAILED` if the story cannot be re-read after the
|
|
@@ -113,17 +130,74 @@ export declare abstract class PluginStoryApi {
|
|
|
113
130
|
*
|
|
114
131
|
* @examplePrompt Change the ground floor height to 3.5 metres
|
|
115
132
|
* @examplePrompt Make the second storey taller
|
|
133
|
+
* @examplePrompt Rename the ground floor to "Lobby"
|
|
116
134
|
* @examplePrompt Set the floor-to-floor height of level 1
|
|
117
|
-
* @examplePrompt
|
|
135
|
+
* @examplePrompt Rename storey 2 and make it taller in one go
|
|
118
136
|
*
|
|
119
137
|
* # Example
|
|
120
138
|
* ```ts
|
|
121
139
|
* // Set ground floor height to 5 Babylon units — walls stretch and the
|
|
122
140
|
* // floors above move up to match, all in a single undo step.
|
|
123
141
|
* const result = await snaptrude.entity.story.update(1, 5)
|
|
142
|
+
* // Rename only, leaving the height untouched.
|
|
143
|
+
* await snaptrude.entity.story.update(1, undefined, { name: "Lobby" })
|
|
124
144
|
* ```
|
|
145
|
+
*
|
|
146
|
+
* @deprecated Use `core.storeys.update`
|
|
147
|
+
*/
|
|
148
|
+
abstract update(storyValue: number, height?: number, options?: {
|
|
149
|
+
name?: string;
|
|
150
|
+
}): PluginApiReturn<PluginStoryUpdateResult>;
|
|
151
|
+
/**
|
|
152
|
+
* Make a story the active story — the same as clicking it in the storey/layer
|
|
153
|
+
* panel. Subsequent draws and creates target this story, and in 2D the
|
|
154
|
+
* viewport switches to it. This is a view/navigation change: it is **not**
|
|
155
|
+
* undoable and commits nothing to the model.
|
|
156
|
+
*
|
|
157
|
+
* @param storyValue - Integer storey number to activate
|
|
158
|
+
* @returns A {@linkcode PluginStorySetActiveResult} echoing the now-active `storyValue`
|
|
159
|
+
* @throws `PRECONDITION_FAILED` if no story has the given value
|
|
160
|
+
*
|
|
161
|
+
* @examplePrompt Switch to the second floor
|
|
162
|
+
* @examplePrompt Make the ground storey active
|
|
163
|
+
* @examplePrompt Go to the basement level
|
|
164
|
+
* @examplePrompt Set level 3 as the current storey
|
|
165
|
+
*
|
|
166
|
+
* # Example
|
|
167
|
+
* ```ts
|
|
168
|
+
* // Activate story 2, then draw a wall — it lands on story 2.
|
|
169
|
+
* await snaptrude.entity.story.setActive(2)
|
|
170
|
+
* ```
|
|
171
|
+
*
|
|
172
|
+
* @deprecated Use `core.storeys.setActive`
|
|
125
173
|
*/
|
|
126
|
-
abstract
|
|
174
|
+
abstract setActive(storyValue: number): PluginApiReturn<PluginStorySetActiveResult>;
|
|
175
|
+
/**
|
|
176
|
+
* Delete a story and everything on it — the same as removing it from the
|
|
177
|
+
* storey panel. Every element placed on the story (walls, floors, masses, …)
|
|
178
|
+
* is deleted with it, the remaining stories are re-stacked, and the active
|
|
179
|
+
* story falls back to an adjacent one. Committed as a single undo step.
|
|
180
|
+
*
|
|
181
|
+
* @param storyValue - Integer storey number to delete
|
|
182
|
+
* @returns A {@linkcode PluginStoryDeleteResult} with the deleted `storyValue`
|
|
183
|
+
* and the `newActiveStory` the editor fell back to
|
|
184
|
+
* @throws `PRECONDITION_FAILED` if no story has the given value; or if plugin
|
|
185
|
+
* writes are disabled
|
|
186
|
+
*
|
|
187
|
+
* @examplePrompt Delete the top floor
|
|
188
|
+
* @examplePrompt Remove the basement level
|
|
189
|
+
* @examplePrompt Get rid of storey 3
|
|
190
|
+
* @examplePrompt Delete the second floor and everything on it
|
|
191
|
+
*
|
|
192
|
+
* # Example
|
|
193
|
+
* ```ts
|
|
194
|
+
* const { newActiveStory } = await snaptrude.entity.story.delete(3)
|
|
195
|
+
* console.log(`Deleted story 3; now on story ${newActiveStory}`)
|
|
196
|
+
* ```
|
|
197
|
+
*
|
|
198
|
+
* @deprecated Use `core.storeys.delete`
|
|
199
|
+
*/
|
|
200
|
+
abstract delete(storyValue: number): PluginApiReturn<PluginStoryDeleteResult>;
|
|
127
201
|
/**
|
|
128
202
|
* Duplicate a story into the adjacent level, up or down.
|
|
129
203
|
*
|
|
@@ -158,6 +232,12 @@ export declare abstract class PluginStoryApi {
|
|
|
158
232
|
* @examplePrompt Repeat this level upwards with its own independent geometry
|
|
159
233
|
* @examplePrompt Duplicate just the selected walls onto the next floor up
|
|
160
234
|
*
|
|
235
|
+
* @performance For storeys that share a layout, duplicate the storey instead of recreating
|
|
236
|
+
* its contents floor by floor — this copies every eligible element in one call, and the
|
|
237
|
+
* default instanced copies keep the floors linked. To stack many identical floors, either
|
|
238
|
+
* call this per level or capture the storey's component ids and
|
|
239
|
+
* `design.create.copy(ids, oneFloorRise, { count })` to lay them all down in a single call.
|
|
240
|
+
*
|
|
161
241
|
* # Example
|
|
162
242
|
* ```ts
|
|
163
243
|
* // Duplicate the whole active story one level up (instanced copies).
|
|
@@ -166,6 +246,8 @@ export declare abstract class PluginStoryApi {
|
|
|
166
246
|
* console.log(`Copied ${created.length} elements onto story ${targetStories}`)
|
|
167
247
|
* if (skipped) console.log(`${skipped} elements were skipped`)
|
|
168
248
|
* ```
|
|
249
|
+
*
|
|
250
|
+
* @deprecated Use `core.storeys.copy`
|
|
169
251
|
*/
|
|
170
252
|
abstract duplicate(direction: "up" | "down", options?: {
|
|
171
253
|
components?: ComponentHandle[];
|
|
@@ -278,31 +360,82 @@ export declare const PluginStoryCreateResult: z.ZodObject<{
|
|
|
278
360
|
}, z.core.$strip>;
|
|
279
361
|
export type PluginStoryCreateResult = z.infer<typeof PluginStoryCreateResult>;
|
|
280
362
|
/**
|
|
281
|
-
* Arguments for {@linkcode PluginStoryApi.update}.
|
|
363
|
+
* Arguments for {@linkcode PluginStoryApi.update}. At least one of `height` or
|
|
364
|
+
* `name` must be supplied.
|
|
282
365
|
*
|
|
283
366
|
* | Property | Type | Description |
|
|
284
367
|
* |---|---|---|
|
|
285
368
|
* | `storyValue` | `number` (int) | Storey number of the story to update |
|
|
286
|
-
* | `height` | `number
|
|
369
|
+
* | `height` | `number?` | New height in Babylon units (omit to leave unchanged) |
|
|
370
|
+
* | `name` | `string?` | New display name for the story (omit to leave unchanged) |
|
|
287
371
|
*/
|
|
288
372
|
export declare const PluginStoryUpdateArgs: z.ZodObject<{
|
|
289
373
|
storyValue: z.ZodNumber;
|
|
290
|
-
height: z.ZodNumber
|
|
374
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
375
|
+
name: z.ZodOptional<z.ZodString>;
|
|
291
376
|
}, z.core.$strip>;
|
|
292
377
|
export type PluginStoryUpdateArgs = z.infer<typeof PluginStoryUpdateArgs>;
|
|
293
378
|
/**
|
|
294
|
-
* Result of {@linkcode PluginStoryApi.update}.
|
|
379
|
+
* Result of {@linkcode PluginStoryApi.update} — the story's state after the update.
|
|
295
380
|
*
|
|
296
381
|
* | Property | Type | Description |
|
|
297
382
|
* |---|---|---|
|
|
298
383
|
* | `storyValue` | `number` | The storey number of the updated story |
|
|
299
|
-
* | `height` | `number` | The
|
|
384
|
+
* | `height` | `number` | The height after the update |
|
|
385
|
+
* | `name` | `string` | The name after the update |
|
|
300
386
|
*/
|
|
301
387
|
export declare const PluginStoryUpdateResult: z.ZodObject<{
|
|
302
388
|
storyValue: z.ZodNumber;
|
|
303
389
|
height: z.ZodNumber;
|
|
390
|
+
name: z.ZodString;
|
|
304
391
|
}, z.core.$strip>;
|
|
305
392
|
export type PluginStoryUpdateResult = z.infer<typeof PluginStoryUpdateResult>;
|
|
393
|
+
/**
|
|
394
|
+
* Arguments for {@linkcode PluginStoryApi.setActive}.
|
|
395
|
+
*
|
|
396
|
+
* | Property | Type | Description |
|
|
397
|
+
* |---|---|---|
|
|
398
|
+
* | `storyValue` | `number` (int) | Storey number to activate |
|
|
399
|
+
*/
|
|
400
|
+
export declare const PluginStorySetActiveArgs: z.ZodObject<{
|
|
401
|
+
storyValue: z.ZodNumber;
|
|
402
|
+
}, z.core.$strip>;
|
|
403
|
+
export type PluginStorySetActiveArgs = z.infer<typeof PluginStorySetActiveArgs>;
|
|
404
|
+
/**
|
|
405
|
+
* Result of {@linkcode PluginStoryApi.setActive}.
|
|
406
|
+
*
|
|
407
|
+
* | Property | Type | Description |
|
|
408
|
+
* |---|---|---|
|
|
409
|
+
* | `storyValue` | `number` | The storey number that is now active |
|
|
410
|
+
*/
|
|
411
|
+
export declare const PluginStorySetActiveResult: z.ZodObject<{
|
|
412
|
+
storyValue: z.ZodNumber;
|
|
413
|
+
}, z.core.$strip>;
|
|
414
|
+
export type PluginStorySetActiveResult = z.infer<typeof PluginStorySetActiveResult>;
|
|
415
|
+
/**
|
|
416
|
+
* Arguments for {@linkcode PluginStoryApi.delete}.
|
|
417
|
+
*
|
|
418
|
+
* | Property | Type | Description |
|
|
419
|
+
* |---|---|---|
|
|
420
|
+
* | `storyValue` | `number` (int) | Storey number to delete |
|
|
421
|
+
*/
|
|
422
|
+
export declare const PluginStoryDeleteArgs: z.ZodObject<{
|
|
423
|
+
storyValue: z.ZodNumber;
|
|
424
|
+
}, z.core.$strip>;
|
|
425
|
+
export type PluginStoryDeleteArgs = z.infer<typeof PluginStoryDeleteArgs>;
|
|
426
|
+
/**
|
|
427
|
+
* Result of {@linkcode PluginStoryApi.delete}.
|
|
428
|
+
*
|
|
429
|
+
* | Property | Type | Description |
|
|
430
|
+
* |---|---|---|
|
|
431
|
+
* | `storyValue` | `number` | The storey number that was deleted |
|
|
432
|
+
* | `newActiveStory` | `number` | The storey the editor fell back to as active |
|
|
433
|
+
*/
|
|
434
|
+
export declare const PluginStoryDeleteResult: z.ZodObject<{
|
|
435
|
+
storyValue: z.ZodNumber;
|
|
436
|
+
newActiveStory: z.ZodNumber;
|
|
437
|
+
}, z.core.$strip>;
|
|
438
|
+
export type PluginStoryDeleteResult = z.infer<typeof PluginStoryDeleteResult>;
|
|
306
439
|
/**
|
|
307
440
|
* Arguments for {@linkcode PluginStoryApi.duplicate} (options flattened).
|
|
308
441
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"story.d.ts","sourceRoot":"","sources":["../../../src/api/entity/story.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C;;;;;;;;;;;GAWG;AACH,8BAAsB,cAAc;;IAGlC
|
|
1
|
+
{"version":3,"file":"story.d.ts","sourceRoot":"","sources":["../../../src/api/entity/story.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C;;;;;;;;;;;GAWG;AACH,8BAAsB,cAAc;;IAGlC;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;aACa,GAAG,CACjB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,sBAAsB,EAAE,GACnC,eAAe,CAAC,oBAAoB,CAAC;IAExC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;aACa,MAAM,IAAI,eAAe,CAAC,uBAAuB,CAAC;IAElE;;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qB,CAAC,CAAA;AAEzE;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB;;;iBAGlC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB;;;;;;;iBAInC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE/E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,0BAA0B;;;;;;iBAMrC,CAAA;AAEF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA"}
|
package/dist/api/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { PluginEntityApi } from "./entity";
|
|
|
4
4
|
import { PluginProgramApi } from "./program";
|
|
5
5
|
import { PluginPresentationApi } from "./presentation";
|
|
6
6
|
import { PluginAnalysisApi } from "./analysis";
|
|
7
|
+
import { PluginWorkspaceApi } from "./workspace";
|
|
7
8
|
/**
|
|
8
9
|
* Root API surface for Snaptrude plugins.
|
|
9
10
|
*
|
|
@@ -15,6 +16,7 @@ import { PluginAnalysisApi } from "./analysis";
|
|
|
15
16
|
* - {@linkcode PluginApi.program} — Program-mode planning reads (departments, metrics)
|
|
16
17
|
* - {@linkcode PluginApi.presentation} — Presentation preparation (views, AI Inspiration)
|
|
17
18
|
* - {@linkcode PluginApi.analysis} — Sustainability analysis (sunpath, shadows, sunlight/illuminance heatmaps)
|
|
19
|
+
* - {@linkcode PluginApi.workspace} — Dashboard surface: projects and teams
|
|
18
20
|
*/
|
|
19
21
|
export declare abstract class PluginApi {
|
|
20
22
|
/** Core math, geometry, history, and units primitives. See {@linkcode PluginCoreApi}. */
|
|
@@ -29,6 +31,8 @@ export declare abstract class PluginApi {
|
|
|
29
31
|
abstract presentation: PluginPresentationApi;
|
|
30
32
|
/** Sustainability analysis — sun & daylight studies. See {@linkcode PluginAnalysisApi}. */
|
|
31
33
|
abstract analysis: PluginAnalysisApi;
|
|
34
|
+
/** Dashboard surface — projects and teams. See {@linkcode PluginWorkspaceApi}. */
|
|
35
|
+
abstract workspace: PluginWorkspaceApi;
|
|
32
36
|
constructor();
|
|
33
37
|
}
|
|
34
38
|
export * from "./core";
|
|
@@ -37,4 +41,5 @@ export * from "./entity";
|
|
|
37
41
|
export * from "./program";
|
|
38
42
|
export * from "./presentation";
|
|
39
43
|
export * from "./analysis";
|
|
44
|
+
export * from "./workspace";
|
|
40
45
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/api/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAA;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAA;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,EAAE,kBAAkB,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