@snaptrude/plugin-core 0.0.0-dev-20260908074328 → 0.0.0-surfaces-20260921090636
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 +0 -23
- package/api-manifest.json +151 -12
- package/dist/api/core/geom/create/index.d.ts +918 -93
- package/dist/api/core/geom/create/index.d.ts.map +1 -1
- package/dist/api/core/geom/query/brep.d.ts +50 -0
- package/dist/api/core/geom/query/brep.d.ts.map +1 -1
- package/dist/api/core/geom/query/curve.d.ts +58 -35
- package/dist/api/core/geom/query/curve.d.ts.map +1 -1
- package/dist/api/core/geom/query/edge.d.ts +2 -2
- package/dist/api/core/geom/query/face.d.ts +105 -0
- package/dist/api/core/geom/query/face.d.ts.map +1 -1
- package/dist/api/core/geom/update/curve.d.ts +5 -5
- package/dist/api/core/geom/update/profile.d.ts +1 -1
- package/dist/api/design/create/index.d.ts +6 -29
- package/dist/api/design/create/index.d.ts.map +1 -1
- package/dist/api/design/delete/index.d.ts +2 -20
- package/dist/api/design/delete/index.d.ts.map +1 -1
- package/dist/api/design/query/geometry/index.d.ts +27 -1
- package/dist/api/design/query/geometry/index.d.ts.map +1 -1
- package/dist/api/design/query/index.d.ts +47 -2
- package/dist/api/design/query/index.d.ts.map +1 -1
- package/dist/api/design/query/spaces.d.ts +5 -66
- package/dist/api/design/query/spaces.d.ts.map +1 -1
- package/dist/api/design/update/index.d.ts +87 -0
- package/dist/api/design/update/index.d.ts.map +1 -1
- package/dist/api/entity/referenceLine.d.ts +2 -2
- package/dist/api/entity/referenceLine.d.ts.map +1 -1
- package/dist/api/entity/space.d.ts +5 -7
- package/dist/api/entity/space.d.ts.map +1 -1
- package/dist/api/entity/story.d.ts +4 -4
- package/dist/api/presentation/placedViews.d.ts +1 -35
- package/dist/api/presentation/placedViews.d.ts.map +1 -1
- package/dist/api/presentation/sheets.d.ts +2 -20
- package/dist/api/presentation/sheets.d.ts.map +1 -1
- package/dist/api/program/site.d.ts +4 -4
- package/dist/api/program/spreadsheet.d.ts +4 -4
- package/dist/errors/codes.d.ts +3 -8
- package/dist/errors/codes.d.ts.map +1 -1
- package/dist/handles.d.ts +12 -3
- package/dist/handles.d.ts.map +1 -1
- package/dist/index.cjs +3188 -2769
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3141 -2764
- package/dist/index.js.map +1 -1
- package/dist/massParameters.d.ts +280 -0
- package/dist/massParameters.d.ts.map +1 -0
- package/dist/massParameters.ops.d.ts +135 -0
- package/dist/massParameters.ops.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/api/core/geom/create/index.ts +1011 -94
- package/src/api/core/geom/query/brep.ts +51 -0
- package/src/api/core/geom/query/curve.ts +25 -2
- package/src/api/core/geom/query/edge.ts +2 -2
- package/src/api/core/geom/query/face.ts +109 -4
- package/src/api/design/create/index.ts +8 -34
- package/src/api/design/delete/index.ts +1 -20
- package/src/api/design/query/geometry/index.ts +29 -0
- package/src/api/design/query/index.ts +50 -2
- package/src/api/design/query/spaces.ts +0 -68
- package/src/api/design/update/index.ts +94 -0
- package/src/api/entity/space.ts +0 -2
- package/src/api/presentation/placedViews.ts +1 -29
- package/src/api/presentation/sheets.ts +3 -19
- package/src/errors/codes.ts +2 -30
- package/src/handles.ts +15 -3
- package/src/index.ts +2 -0
- package/src/massParameters.ops.ts +243 -0
- package/src/massParameters.ts +418 -0
- package/test/errors.test.mjs +0 -4
- package/test/massParameters.test.mjs +936 -0
- package/snaptrude-plugin-core-0.11.0.tgz +0 -0
|
@@ -112,38 +112,6 @@ export declare abstract class PluginDesignQuerySpacesApi {
|
|
|
112
112
|
* ```
|
|
113
113
|
*/
|
|
114
114
|
abstract getEnclosure(space: ComponentHandle): PluginApiReturn<PluginSpaceEnclosure | null>;
|
|
115
|
-
/**
|
|
116
|
-
* List the space's **engine-generated BIM components** — the walls, floors
|
|
117
|
-
* and slabs the parametric engine derived from this space, grouped by kind.
|
|
118
|
-
*
|
|
119
|
-
* Unlike {@linkcode getEnclosure} (a geometric best-effort match), this read
|
|
120
|
-
* reports the engine's own derivation records, so every returned handle is a
|
|
121
|
-
* component the engine created *for this space*.
|
|
122
|
-
*
|
|
123
|
-
* The derived set is NOT stable across writes: a merge/split/rebuild of the
|
|
124
|
-
* space graph retires members and creates successors — re-query after any
|
|
125
|
-
* write that touches the space. This is the churn-recovery anchor: when a
|
|
126
|
-
* cached derived handle goes stale, call this again to pick up the current
|
|
127
|
-
* set.
|
|
128
|
-
*
|
|
129
|
-
* @param space - The space (room mass) to read
|
|
130
|
-
* @returns the generated component handles, grouped by kind
|
|
131
|
-
* ({@linkcode PluginSpaceGeneratedBim}); a group is `[]` when the engine
|
|
132
|
-
* derived nothing of that kind
|
|
133
|
-
* @throws If the space does not exist or the component is not a space/mass
|
|
134
|
-
*
|
|
135
|
-
* @examplePrompt Which walls did this room generate?
|
|
136
|
-
* @examplePrompt List the BIM components derived from the selected space
|
|
137
|
-
* @examplePrompt Get the floors and slabs that belong to this room
|
|
138
|
-
*
|
|
139
|
-
* # Example
|
|
140
|
-
* ```ts
|
|
141
|
-
* const [space] = await snaptrude.design.query.listSpaces()
|
|
142
|
-
* const bim = await snaptrude.design.query.spaces.listGeneratedBim(space)
|
|
143
|
-
* console.log(`${bim.walls.length} walls, ${bim.floors.length} floors`)
|
|
144
|
-
* ```
|
|
145
|
-
*/
|
|
146
|
-
abstract listGeneratedBim(space: ComponentHandle): PluginApiReturn<PluginSpaceGeneratedBim>;
|
|
147
115
|
}
|
|
148
116
|
/**
|
|
149
117
|
* Arguments for {@linkcode PluginDesignQuerySpacesApi.getFootprint}.
|
|
@@ -167,9 +135,9 @@ export declare const PluginDesignQuerySpacesGetProperty: z.ZodEnum<{
|
|
|
167
135
|
type: "type";
|
|
168
136
|
id: "id";
|
|
169
137
|
position: "position";
|
|
138
|
+
height: "height";
|
|
170
139
|
name: "name";
|
|
171
140
|
storey: "storey";
|
|
172
|
-
height: "height";
|
|
173
141
|
depth: "depth";
|
|
174
142
|
innerProfiles: "innerProfiles";
|
|
175
143
|
room_type: "room_type";
|
|
@@ -203,9 +171,9 @@ export declare const PluginDesignQuerySpacesGetArgs: z.ZodObject<{
|
|
|
203
171
|
type: "type";
|
|
204
172
|
id: "id";
|
|
205
173
|
position: "position";
|
|
174
|
+
height: "height";
|
|
206
175
|
name: "name";
|
|
207
176
|
storey: "storey";
|
|
208
|
-
height: "height";
|
|
209
177
|
depth: "depth";
|
|
210
178
|
innerProfiles: "innerProfiles";
|
|
211
179
|
room_type: "room_type";
|
|
@@ -231,7 +199,7 @@ export type PluginDesignQuerySpacesGetArgs = z.infer<typeof PluginDesignQuerySpa
|
|
|
231
199
|
* requested properties are present.
|
|
232
200
|
*/
|
|
233
201
|
export declare const PluginDesignQuerySpacesGetResult: z.ZodObject<{
|
|
234
|
-
profile: z.ZodOptional<z.ZodArray<z.
|
|
202
|
+
profile: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").CurveHandle, unknown, z.core.$ZodTypeInternals<import("../../..").CurveHandle, unknown>>>>;
|
|
235
203
|
type: z.ZodOptional<z.ZodString>;
|
|
236
204
|
id: z.ZodOptional<z.ZodString>;
|
|
237
205
|
position: z.ZodOptional<z.ZodObject<{
|
|
@@ -239,11 +207,11 @@ export declare const PluginDesignQuerySpacesGetResult: z.ZodObject<{
|
|
|
239
207
|
y: z.ZodNumber;
|
|
240
208
|
z: z.ZodNumber;
|
|
241
209
|
}, z.core.$strip>>;
|
|
210
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
242
211
|
name: z.ZodOptional<z.ZodString>;
|
|
243
212
|
storey: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
244
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
245
213
|
depth: z.ZodOptional<z.ZodNumber>;
|
|
246
|
-
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.
|
|
214
|
+
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodType<import("../../..").CurveHandle, unknown, z.core.$ZodTypeInternals<import("../../..").CurveHandle, unknown>>>>>;
|
|
247
215
|
room_type: z.ZodOptional<z.ZodString>;
|
|
248
216
|
area: z.ZodOptional<z.ZodNumber>;
|
|
249
217
|
breadth: z.ZodOptional<z.ZodNumber>;
|
|
@@ -423,33 +391,4 @@ export declare const PluginSpaceEnclosure: z.ZodObject<{
|
|
|
423
391
|
}, z.core.$strip>>;
|
|
424
392
|
}, z.core.$strip>;
|
|
425
393
|
export type PluginSpaceEnclosure = z.infer<typeof PluginSpaceEnclosure>;
|
|
426
|
-
/**
|
|
427
|
-
* Arguments for {@linkcode PluginDesignQuerySpacesApi.listGeneratedBim}.
|
|
428
|
-
*
|
|
429
|
-
* | Property | Type | Description |
|
|
430
|
-
* |---|---|---|
|
|
431
|
-
* | `space` | {@linkcode ComponentHandle} | The space (room mass) to read |
|
|
432
|
-
*/
|
|
433
|
-
export declare const PluginDesignQuerySpacesListGeneratedBimArgs: z.ZodObject<{
|
|
434
|
-
space: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
|
|
435
|
-
}, z.core.$strip>;
|
|
436
|
-
export type PluginDesignQuerySpacesListGeneratedBimArgs = z.infer<typeof PluginDesignQuerySpacesListGeneratedBimArgs>;
|
|
437
|
-
/**
|
|
438
|
-
* Result of {@linkcode PluginDesignQuerySpacesApi.listGeneratedBim} — the
|
|
439
|
-
* space's engine-generated BIM component handles, grouped by kind. The set
|
|
440
|
-
* changes whenever a write merges/splits/rebuilds the space graph — re-query
|
|
441
|
-
* after writes rather than caching it.
|
|
442
|
-
*
|
|
443
|
-
* | Property | Type | Description |
|
|
444
|
-
* |---|---|---|
|
|
445
|
-
* | `walls` | {@linkcode ComponentHandle}`[]` | Walls the engine derived from the space |
|
|
446
|
-
* | `floors` | {@linkcode ComponentHandle}`[]` | Floors the engine derived from the space |
|
|
447
|
-
* | `slabs` | {@linkcode ComponentHandle}`[]` | Slabs the engine derived from the space |
|
|
448
|
-
*/
|
|
449
|
-
export declare const PluginSpaceGeneratedBim: z.ZodObject<{
|
|
450
|
-
walls: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
451
|
-
floors: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
452
|
-
slabs: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
453
|
-
}, z.core.$strip>;
|
|
454
|
-
export type PluginSpaceGeneratedBim = z.infer<typeof PluginSpaceGeneratedBim>;
|
|
455
394
|
//# sourceMappingURL=spaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spaces.d.ts","sourceRoot":"","sources":["../../../../src/api/design/query/spaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAGjE;;;;;;;;;;;GAWG;AACH,8BAAsB,0BAA0B;;IAG9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;aACa,GAAG,CACjB,KAAK,EAAE,eAAe,EACtB,UAAU,EAAE,8BAA8B,CAAC,YAAY,CAAC,GACvD,eAAe,CAAC,gCAAgC,CAAC;IAEpD;;;;;;;;;;;;;;;;;;;OAmBG;aACa,YAAY,CAC1B,KAAK,EAAE,eAAe,GACrB,eAAe,CAAC,aAAa,GAAG,IAAI,CAAC;IAExC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4CG;aACa,YAAY,CAC1B,KAAK,EAAE,eAAe,GACrB,eAAe,CAAC,oBAAoB,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"spaces.d.ts","sourceRoot":"","sources":["../../../../src/api/design/query/spaces.ts"],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";
|
|
4
4
|
import { PluginSpaceUpdateResult } from "../../entity/space";
|
|
5
5
|
import { PluginDesignChangeResult } from "../lock";
|
|
6
|
+
import { MassParametersPatch, type MassParametersRecord } from "../../../massParameters";
|
|
6
7
|
import { PluginBuildableEnvelopePolygonVertex, PluginBuildableEnvelopeSetbackTier, PluginBuildableEnvelopeVerticalCap, PluginBuildableEnvelopeUpdateResult } from "../../entity/buildableEnvelope";
|
|
7
8
|
/**
|
|
8
9
|
* Sparse property updates for a space. Only provided fields change.
|
|
@@ -194,6 +195,19 @@ export declare const PluginDesignUpdateStaircaseArgs: z.ZodObject<{
|
|
|
194
195
|
}, z.core.$strip>;
|
|
195
196
|
}, z.core.$strip>;
|
|
196
197
|
export type PluginDesignUpdateStaircaseArgs = z.infer<typeof PluginDesignUpdateStaircaseArgs>;
|
|
198
|
+
/**
|
|
199
|
+
* Arguments for {@linkcode PluginDesignUpdateApi.parameters}.
|
|
200
|
+
*
|
|
201
|
+
* | Property | Type | Description |
|
|
202
|
+
* |---|---|---|
|
|
203
|
+
* | `component` | {@linkcode ComponentHandle} | The parametric mass to edit |
|
|
204
|
+
* | `patch` | {@linkcode MassParametersPatch} | Partial `values` (+ optional `operations`), or the full edited record |
|
|
205
|
+
*/
|
|
206
|
+
export declare const PluginDesignUpdateParametersArgs: z.ZodObject<{
|
|
207
|
+
component: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
|
|
208
|
+
patch: z.ZodType<MassParametersPatch, MassParametersPatch, z.core.$ZodTypeInternals<MassParametersPatch, MassParametersPatch>>;
|
|
209
|
+
}, z.core.$strip>;
|
|
210
|
+
export type PluginDesignUpdateParametersArgs = z.infer<typeof PluginDesignUpdateParametersArgs>;
|
|
197
211
|
/**
|
|
198
212
|
* Sparse edits for a wall (all optional; at least one required). Only the
|
|
199
213
|
* fields you provide change. Dimensions are in **engine units** (the same
|
|
@@ -433,6 +447,79 @@ export declare abstract class PluginDesignUpdateApi {
|
|
|
433
447
|
* ```
|
|
434
448
|
*/
|
|
435
449
|
abstract staircase(staircases: ComponentHandle[], params: PluginStaircaseParamUpdates): PluginApiReturn<PluginDesignChangeResult>;
|
|
450
|
+
/**
|
|
451
|
+
* Edit a parametric mass by patching its creation recipe and rebuilding the
|
|
452
|
+
* solid in place — the mass keeps its id, storey, materials, position and
|
|
453
|
+
* linked copies; only the geometry changes. Read the current record with
|
|
454
|
+
* `design.query.getParameters` first.
|
|
455
|
+
*
|
|
456
|
+
* `patch` is a partial of `record.values` — or the whole record you read
|
|
457
|
+
* back, edited. A key you leave out is unchanged (that includes
|
|
458
|
+
* `operations`). Scalars and points MERGE by key (`{ radius: 8 }` changes
|
|
459
|
+
* only the radius); arrays (`contour`, `sections`, `path`, `profile`,
|
|
460
|
+
* `operations`) REPLACE WHOLE when present — send the complete new list;
|
|
461
|
+
* `{ operations: [] }` drops every operation. A patch that changes nothing
|
|
462
|
+
* returns the current record and records no edit (no undo step). `kind` and
|
|
463
|
+
* `version` are immutable: to change the kind, build a new mass. Keys are the
|
|
464
|
+
* record's `values` keys for its `kind` (sphere: `centre`, `radius`;
|
|
465
|
+
* cylinder: `base`, `axis`, `radius`, `height`; torus: `centre`, `axis`,
|
|
466
|
+
* `majorRadius`, `minorRadius`; …) plus `operations`. To change a fillet
|
|
467
|
+
* radius, edit `operations[i].radius` in the record you read and send
|
|
468
|
+
* `{ operations }` back. Points and axes are WORLD coordinates in internal
|
|
469
|
+
* units, exactly as `getParameters` reports them.
|
|
470
|
+
*
|
|
471
|
+
* Rebuilds in memory first, then swaps onto the SAME component; every linked
|
|
472
|
+
* copy regenerates together. One undo step; saves and syncs to collaborators
|
|
473
|
+
* like any geometry edit. Kernel kinds (revolution, sweep, loft, primitives,
|
|
474
|
+
* any `operations`) run on OpenCascade — expect a short pause.
|
|
475
|
+
*
|
|
476
|
+
* @param component - a mass whose `getParameters` is non-null
|
|
477
|
+
* @param patch - partial `values` (+ optional `operations`), or the full edited record
|
|
478
|
+
* @returns the complete post-edit record, world coordinates (what
|
|
479
|
+
* `getParameters` now returns)
|
|
480
|
+
* @throws PRECONDITION_FAILED when the mass carries no live recipe — built
|
|
481
|
+
* from a boolean, split, `brepFromFaces`/`brepFromMesh` or drawn; edited
|
|
482
|
+
* free-form since (push/pull, move face, boolean); or scaled with the
|
|
483
|
+
* transform tool. `getParameters` returns `null` for exactly these.
|
|
484
|
+
* Do not retry — rebuild it with a recipe constructor and say so.
|
|
485
|
+
* Also PRECONDITION_FAILED when the mass is **locked** (the message says
|
|
486
|
+
* so). Locking is invisible to `getParameters` — a locked parametric mass
|
|
487
|
+
* still reads back a full record — so this is the one PRECONDITION_FAILED
|
|
488
|
+
* the read cannot predict. Unlock the mass and call again; never rebuild
|
|
489
|
+
* it, the recipe is intact.
|
|
490
|
+
* Also PRECONDITION_FAILED when an `operations` entry's edge/face selectors
|
|
491
|
+
* no longer resolve on the rebuilt base (the message names the operation
|
|
492
|
+
* and edge): re-select the edges on the new shape and re-apply that
|
|
493
|
+
* operation.
|
|
494
|
+
* @throws VALIDATION for a key the kind does not have (the message lists the
|
|
495
|
+
* kind's keys), `kind` or `version` in a partial patch, or a value outside
|
|
496
|
+
* the constructor's own rules (torus tube ≥ ring, revolution angle ∉
|
|
497
|
+
* (0, 360], a profile crossing its axis, a spline with fewer than
|
|
498
|
+
* degree + 1 poles).
|
|
499
|
+
* @throws OPERATION_FAILED when the kernel cannot build the edited recipe;
|
|
500
|
+
* the model is left unchanged.
|
|
501
|
+
*
|
|
502
|
+
* @examplePrompt Make the dome's radius 8 metres
|
|
503
|
+
* @examplePrompt Raise the podium to 5 m
|
|
504
|
+
* @examplePrompt Widen the vase — move its profile points 20 cm outward
|
|
505
|
+
* @examplePrompt Change the fillet on the rounded column to 300 mm
|
|
506
|
+
*
|
|
507
|
+
* # Example
|
|
508
|
+
* ```ts
|
|
509
|
+
* // { kind: "sphere", values: { centre, radius: 19.685 }, … }
|
|
510
|
+
* const before = await snaptrude.design.query.getParameters(dome)
|
|
511
|
+
* const after = await snaptrude.design.update.parameters(dome, { radius: 31.496 }) // 8 m in internal units
|
|
512
|
+
*
|
|
513
|
+
* // Fillet radius on a recorded result: read → edit → send the array back
|
|
514
|
+
* const rec = await snaptrude.design.query.getParameters(column)
|
|
515
|
+
* const operations = rec?.operations ?? []
|
|
516
|
+
* if (operations[0]?.op === "fillet") {
|
|
517
|
+
* operations[0].radius = 1.181
|
|
518
|
+
* await snaptrude.design.update.parameters(column, { operations })
|
|
519
|
+
* }
|
|
520
|
+
* ```
|
|
521
|
+
*/
|
|
522
|
+
abstract parameters(component: ComponentHandle, patch: MassParametersPatch): PluginApiReturn<MassParametersRecord>;
|
|
436
523
|
/**
|
|
437
524
|
* Edit a **wall** — its thickness and/or height (the same command the
|
|
438
525
|
* properties panel's Thickness/Height fields drive) and/or its **wall type**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/update/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAiB,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAKL,uBAAuB,EACxB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAClD,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,kCAAkC,EAClC,mCAAmC,EACpC,MAAM,gCAAgC,CAAA;AAEvC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMrC,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AAED,+DAA+D;AAC/D,eAAO,MAAM,yBAAyB;;;iBAGpC,CAAA;AACF,MAAM,MAAM,yBAAyB,GAA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,GACb,eAAe,CAAC,wBAAwB,CAAC;IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;aACa,iBAAiB,CAC/B,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,oCAAoC,EAAE,EACnD,UAAU,EAAE,IAAI,GAAG,GAAG,EACtB,QAAQ,EAAE,kCAAkC,EAAE,EAC9C,WAAW,EAAE,kCAAkC,EAC/C,YAAY,EAAE,MAAM,EACpB,QAAQ,CAAC,EAAE,MAAM,EACjB,iBAAiB,CAAC,EAAE,MAAM,GACzB,eAAe,CAAC,mCAAmC,CAAC;CACxD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PluginApiReturn } from "../../types";
|
|
3
|
-
import { ProfileHandle } from "../../handles";
|
|
3
|
+
import { ProfileHandle, CurveHandle } from "../../handles";
|
|
4
4
|
/**
|
|
5
5
|
* Reference line management — create, query, and delete reference lines.
|
|
6
6
|
*
|
|
@@ -180,7 +180,7 @@ export type PluginReferenceLineGetArgs = z.infer<typeof PluginReferenceLineGetAr
|
|
|
180
180
|
* {@linkcode PluginReferenceLineGetArgs.properties} will be present.
|
|
181
181
|
*/
|
|
182
182
|
export declare const PluginReferenceLineGetResult: z.ZodObject<{
|
|
183
|
-
curve: z.ZodOptional<z.
|
|
183
|
+
curve: z.ZodOptional<z.ZodType<CurveHandle, unknown, z.core.$ZodTypeInternals<CurveHandle, unknown>>>;
|
|
184
184
|
}, z.core.$strip>;
|
|
185
185
|
export type PluginReferenceLineGetResult = z.infer<typeof PluginReferenceLineGetResult>;
|
|
186
186
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"referenceLine.d.ts","sourceRoot":"","sources":["../../../src/api/entity/referenceLine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,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AA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEnF;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B;;iBAI7B,CAAA;AAEZ,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAEvF;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B;;iBAE1C,CAAA;AAEF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA;AAE7F;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B;;iBAExC,CAAA;AAEF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEzF,8FAA8F;AAC9F,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
+
import { CurveHandle } from "../../handles";
|
|
2
3
|
/**
|
|
3
4
|
* Arguments for `createRectangular`.
|
|
4
5
|
*
|
|
@@ -132,9 +133,9 @@ export declare const PluginSpaceGetProperty: z.ZodEnum<{
|
|
|
132
133
|
type: "type";
|
|
133
134
|
id: "id";
|
|
134
135
|
position: "position";
|
|
136
|
+
height: "height";
|
|
135
137
|
name: "name";
|
|
136
138
|
storey: "storey";
|
|
137
|
-
height: "height";
|
|
138
139
|
depth: "depth";
|
|
139
140
|
innerProfiles: "innerProfiles";
|
|
140
141
|
room_type: "room_type";
|
|
@@ -168,9 +169,9 @@ export declare const PluginSpaceGetArgs: z.ZodObject<{
|
|
|
168
169
|
type: "type";
|
|
169
170
|
id: "id";
|
|
170
171
|
position: "position";
|
|
172
|
+
height: "height";
|
|
171
173
|
name: "name";
|
|
172
174
|
storey: "storey";
|
|
173
|
-
height: "height";
|
|
174
175
|
depth: "depth";
|
|
175
176
|
innerProfiles: "innerProfiles";
|
|
176
177
|
room_type: "room_type";
|
|
@@ -300,8 +301,8 @@ export declare const PluginSpaceGetResult: z.ZodObject<{
|
|
|
300
301
|
y: z.ZodNumber;
|
|
301
302
|
z: z.ZodNumber;
|
|
302
303
|
}, z.core.$strip>>>;
|
|
303
|
-
profile: z.ZodOptional<z.ZodArray<z.
|
|
304
|
-
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.
|
|
304
|
+
profile: z.ZodOptional<z.ZodArray<z.ZodType<CurveHandle, unknown, z.core.$ZodTypeInternals<CurveHandle, unknown>>>>;
|
|
305
|
+
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodType<CurveHandle, unknown, z.core.$ZodTypeInternals<CurveHandle, unknown>>>>>;
|
|
305
306
|
innerPlanPoints: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
306
307
|
x: z.ZodNumber;
|
|
307
308
|
y: z.ZodNumber;
|
|
@@ -469,7 +470,6 @@ export type PluginSpaceUpdateArgs = z.infer<typeof PluginSpaceUpdateArgs>;
|
|
|
469
470
|
* | `massType` | `string?` | Updated mass type (if changed) |
|
|
470
471
|
* | `spaceType` | `string?` | Updated space type (if changed) |
|
|
471
472
|
* | `departmentId` | `string \| null?` | Updated department ID (if changed) |
|
|
472
|
-
* | `rebuilt` | `boolean?` | `true` when a geometry update rebuilt the space's derived BIM — hosted children were re-created and the previous derived handles are retired (re-query them) |
|
|
473
473
|
*/
|
|
474
474
|
export declare const PluginSpaceUpdateResult: z.ZodObject<{
|
|
475
475
|
spaceId: z.ZodString;
|
|
@@ -482,7 +482,6 @@ export declare const PluginSpaceUpdateResult: z.ZodObject<{
|
|
|
482
482
|
EXCLUDED: "EXCLUDED";
|
|
483
483
|
}>>;
|
|
484
484
|
departmentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
485
|
-
rebuilt: z.ZodOptional<z.ZodBoolean>;
|
|
486
485
|
}, z.core.$strip>;
|
|
487
486
|
export type PluginSpaceUpdateResult = z.infer<typeof PluginSpaceUpdateResult>;
|
|
488
487
|
/**
|
|
@@ -820,7 +819,6 @@ export declare const PluginSpaceBulkUpdateResult: z.ZodObject<{
|
|
|
820
819
|
EXCLUDED: "EXCLUDED";
|
|
821
820
|
}>>;
|
|
822
821
|
departmentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
823
|
-
rebuilt: z.ZodOptional<z.ZodBoolean>;
|
|
824
822
|
}, z.core.$strip>>;
|
|
825
823
|
}, z.core.$strip>;
|
|
826
824
|
export type PluginSpaceBulkUpdateResult = z.infer<typeof PluginSpaceBulkUpdateResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"space.d.ts","sourceRoot":"","sources":["../../../src/api/entity/space.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"space.d.ts","sourceRoot":"","sources":["../../../src/api/entity/space.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAKL,WAAW,EACZ,MAAM,eAAe,CAAA;AAGtB;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC;;;;;;;iBAO3C,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,gCAAgC,CACxC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC;;iBAE7C,CAAA;AAEF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,kCAAkC,CAC1C,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,gCAAgC;;;;;iBAK3C,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,gCAAgC,CACxC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC;;iBAE7C,CAAA;AAEF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,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class PluginStoryApi {
|
|
|
271
271
|
export declare const PluginStoryGetProperty: z.ZodEnum<{
|
|
272
272
|
value: "value";
|
|
273
273
|
id: "id";
|
|
274
|
+
base: "base";
|
|
275
|
+
height: "height";
|
|
274
276
|
name: "name";
|
|
275
277
|
hidden: "hidden";
|
|
276
|
-
height: "height";
|
|
277
|
-
base: "base";
|
|
278
278
|
spacesCount: "spacesCount";
|
|
279
279
|
totalArea: "totalArea";
|
|
280
280
|
}>;
|
|
@@ -292,10 +292,10 @@ export declare const PluginStoryGetArgs: z.ZodObject<{
|
|
|
292
292
|
properties: z.ZodArray<z.ZodEnum<{
|
|
293
293
|
value: "value";
|
|
294
294
|
id: "id";
|
|
295
|
+
base: "base";
|
|
296
|
+
height: "height";
|
|
295
297
|
name: "name";
|
|
296
298
|
hidden: "hidden";
|
|
297
|
-
height: "height";
|
|
298
|
-
base: "base";
|
|
299
299
|
spacesCount: "spacesCount";
|
|
300
300
|
totalArea: "totalArea";
|
|
301
301
|
}>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PluginApiReturn } from "../../types";
|
|
3
|
-
import { PluginSheetPosition
|
|
3
|
+
import { PluginSheetPosition } from "./sheets";
|
|
4
4
|
/**
|
|
5
5
|
* Placed views — the view shapes already laid out on the Present canvas.
|
|
6
6
|
*
|
|
@@ -532,19 +532,6 @@ export declare abstract class PluginPresentationPlacedViewsApi {
|
|
|
532
532
|
* @examplePrompt Show the neighboring proposals again in the placed view
|
|
533
533
|
*/
|
|
534
534
|
abstract setMask(shapeId: string, enabled: boolean): PluginApiReturn<void>;
|
|
535
|
-
/**
|
|
536
|
-
* Set the level of detail a placed view renders at — `"design"` (the
|
|
537
|
-
* Design-mode massing representation) or `"bim"` (the detailed BIM
|
|
538
|
-
* representation). Views only. Undoable. Requires Present mode to be open.
|
|
539
|
-
*
|
|
540
|
-
* @param shapeId - The placed view shape.
|
|
541
|
-
* @param lod - Target level of detail.
|
|
542
|
-
* @throws If Present mode is not open or `shapeId` is not a placed view.
|
|
543
|
-
*
|
|
544
|
-
* @examplePrompt Switch this placed view to the BIM level of detail
|
|
545
|
-
* @examplePrompt Show the massing version of the placed plan
|
|
546
|
-
*/
|
|
547
|
-
abstract setLod(shapeId: string, lod: PluginViewLod): PluginApiReturn<void>;
|
|
548
535
|
}
|
|
549
536
|
/**
|
|
550
537
|
* A crop window on a placed view, as fractions (0–1) of the **uncropped**
|
|
@@ -582,8 +569,6 @@ export type PluginPlacedViewCrop = z.infer<typeof PluginPlacedViewCrop>;
|
|
|
582
569
|
* | `rotation` | `number` | Rotation in radians, `[0, 2π)` (nonzero only for 3D views — 2D views cannot rotate; set with `setRotation`) |
|
|
583
570
|
* | `crop` | {@linkcode PluginPlacedViewCrop}` \| null` | Crop window (`null` when uncropped) |
|
|
584
571
|
* | `isUnlinked` | `boolean` | Whether the source proposal was removed (an unlinked view no longer refreshes) |
|
|
585
|
-
* | `lod` | {@linkcode PluginViewLod}? | Level of detail the view renders at (`"design"` massing / `"bim"` detail); absent on views that predate LOD variants (set with `setLod`) |
|
|
586
|
-
* | `inactiveBuildingMask` | `boolean`? | Whether inactive proposal buildings are masked (the `setMask` toggle); absent when never set (masked by default) |
|
|
587
572
|
*/
|
|
588
573
|
export declare const PluginPlacedView: z.ZodObject<{
|
|
589
574
|
shapeId: z.ZodString;
|
|
@@ -612,11 +597,6 @@ export declare const PluginPlacedView: z.ZodObject<{
|
|
|
612
597
|
}, z.core.$strip>;
|
|
613
598
|
}, z.core.$strip>>;
|
|
614
599
|
isUnlinked: z.ZodBoolean;
|
|
615
|
-
lod: z.ZodOptional<z.ZodEnum<{
|
|
616
|
-
design: "design";
|
|
617
|
-
bim: "bim";
|
|
618
|
-
}>>;
|
|
619
|
-
inactiveBuildingMask: z.ZodOptional<z.ZodBoolean>;
|
|
620
600
|
}, z.core.$strip>;
|
|
621
601
|
export type PluginPlacedView = z.infer<typeof PluginPlacedView>;
|
|
622
602
|
/** Arguments for {@linkcode PluginPresentationPlacedViewsApi.list}. */
|
|
@@ -653,11 +633,6 @@ export declare const PluginPresentationPlacedViewsListResult: z.ZodObject<{
|
|
|
653
633
|
}, z.core.$strip>;
|
|
654
634
|
}, z.core.$strip>>;
|
|
655
635
|
isUnlinked: z.ZodBoolean;
|
|
656
|
-
lod: z.ZodOptional<z.ZodEnum<{
|
|
657
|
-
design: "design";
|
|
658
|
-
bim: "bim";
|
|
659
|
-
}>>;
|
|
660
|
-
inactiveBuildingMask: z.ZodOptional<z.ZodBoolean>;
|
|
661
636
|
}, z.core.$strip>>;
|
|
662
637
|
}, z.core.$strip>;
|
|
663
638
|
export type PluginPresentationPlacedViewsListResult = z.infer<typeof PluginPresentationPlacedViewsListResult>;
|
|
@@ -1161,13 +1136,4 @@ export declare const PluginPlacedViewsSetMaskArgs: z.ZodObject<{
|
|
|
1161
1136
|
enabled: z.ZodBoolean;
|
|
1162
1137
|
}, z.core.$strip>;
|
|
1163
1138
|
export type PluginPlacedViewsSetMaskArgs = z.infer<typeof PluginPlacedViewsSetMaskArgs>;
|
|
1164
|
-
/** Arguments for {@link PluginPresentationPlacedViewsApi.setLod}. */
|
|
1165
|
-
export declare const PluginPlacedViewsSetLodArgs: z.ZodObject<{
|
|
1166
|
-
shapeId: z.ZodString;
|
|
1167
|
-
lod: z.ZodEnum<{
|
|
1168
|
-
design: "design";
|
|
1169
|
-
bim: "bim";
|
|
1170
|
-
}>;
|
|
1171
|
-
}, z.core.$strip>;
|
|
1172
|
-
export type PluginPlacedViewsSetLodArgs = z.infer<typeof PluginPlacedViewsSetLodArgs>;
|
|
1173
1139
|
//# sourceMappingURL=placedViews.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placedViews.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/placedViews.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;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AC,OAAO,iCAAiC,CAAC,CAAA;AAEjG,yEAAyE;AACzE,eAAO,MAAM,+BAA+B;;;iBAG1C,CAAA;AACF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA;AAE7F,sEAAsE;AACtE,eAAO,MAAM,4BAA4B;;;iBAGvC,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA"}
|
|
@@ -156,10 +156,9 @@ export declare abstract class PluginPresentationSheetsApi {
|
|
|
156
156
|
* @param sheetId - The id of the sheet to place onto.
|
|
157
157
|
* @param viewId - The id of the saved view to place.
|
|
158
158
|
* @param options - Optional `position` ({@linkcode PluginSheetPosition}) —
|
|
159
|
-
* where to place it (sheet centre when omitted) — `scale` — a standard
|
|
159
|
+
* where to place it (sheet centre when omitted) — and `scale` — a standard
|
|
160
160
|
* scale value for the project's unit system (2D/site-plan views only;
|
|
161
|
-
* auto-fit when omitted)
|
|
162
|
-
* of the placed view (default: the product's Design default).
|
|
161
|
+
* auto-fit when omitted).
|
|
163
162
|
* @returns A {@linkcode PluginPresentationSheetsPlaceResult} with the created
|
|
164
163
|
* `shapeId`.
|
|
165
164
|
* @throws If Present mode is not open, the sheet/view id is invalid, `scale`
|
|
@@ -182,7 +181,6 @@ export declare abstract class PluginPresentationSheetsApi {
|
|
|
182
181
|
abstract place(sheetId: string, viewId: string, options?: {
|
|
183
182
|
position?: PluginSheetPosition;
|
|
184
183
|
scale?: number;
|
|
185
|
-
lod?: PluginViewLod;
|
|
186
184
|
}): PluginApiReturn<PluginPresentationSheetsPlaceResult>;
|
|
187
185
|
/**
|
|
188
186
|
* Rename a layout sheet.
|
|
@@ -389,17 +387,6 @@ export declare const PluginSheetPosition: z.ZodObject<{
|
|
|
389
387
|
y: z.ZodNumber;
|
|
390
388
|
}, z.core.$strip>;
|
|
391
389
|
export type PluginSheetPosition = z.infer<typeof PluginSheetPosition>;
|
|
392
|
-
/**
|
|
393
|
-
* The level of detail a placed view renders at: `"design"` (the Design-mode
|
|
394
|
-
* massing representation) or `"bim"` (the detailed BIM representation).
|
|
395
|
-
* Shared by `sheets.place` and `placedViews.*` (defined here because
|
|
396
|
-
* `placedViews` already imports from this module).
|
|
397
|
-
*/
|
|
398
|
-
export declare const PluginViewLod: z.ZodEnum<{
|
|
399
|
-
design: "design";
|
|
400
|
-
bim: "bim";
|
|
401
|
-
}>;
|
|
402
|
-
export type PluginViewLod = z.infer<typeof PluginViewLod>;
|
|
403
390
|
/** Result of {@linkcode PluginPresentationSheetsApi.list}. */
|
|
404
391
|
export declare const PluginPresentationSheetsListResult: z.ZodObject<{
|
|
405
392
|
sheets: z.ZodArray<z.ZodObject<{
|
|
@@ -534,7 +521,6 @@ export type PluginPresentationSheetsSetMarginArgs = z.infer<typeof PluginPresent
|
|
|
534
521
|
* | `viewId` | `string` | The saved view to place |
|
|
535
522
|
* | `position` | {@linkcode PluginSheetPosition}` \| undefined` | Where to place it (sheet centre when omitted) |
|
|
536
523
|
* | `scale` | `number \| undefined` | Standard scale value for the project's unit system (2D/site-plan views only; auto-fit to the closest standard scale when omitted) |
|
|
537
|
-
* | `lod` | {@linkcode PluginViewLod}` \| undefined` | LOD of the placed view (default: the product's Design default) |
|
|
538
524
|
*/
|
|
539
525
|
export declare const PluginPresentationSheetsPlaceArgs: z.ZodObject<{
|
|
540
526
|
sheetId: z.ZodString;
|
|
@@ -544,10 +530,6 @@ export declare const PluginPresentationSheetsPlaceArgs: z.ZodObject<{
|
|
|
544
530
|
y: z.ZodNumber;
|
|
545
531
|
}, z.core.$strip>>;
|
|
546
532
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
547
|
-
lod: z.ZodOptional<z.ZodEnum<{
|
|
548
|
-
design: "design";
|
|
549
|
-
bim: "bim";
|
|
550
|
-
}>>;
|
|
551
533
|
}, z.core.$strip>;
|
|
552
534
|
export type PluginPresentationSheetsPlaceArgs = z.infer<typeof PluginPresentationSheetsPlaceArgs>;
|
|
553
535
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheets.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/sheets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C;;;;;;;;;;;;;;GAcG;AACH,8BAAsB,2BAA2B;;IAG/C;;;;;;;;;;;;;;;OAeG;aACa,IAAI,IAAI,eAAe,CAAC,kCAAkC,CAAC;IAE3E;;;;;;;;;;;;;;OAcG;aACa,GAAG,CACjB,OAAO,EAAE,MAAM,GACd,eAAe,CAAC,iCAAiC,CAAC;IAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;aACa,MAAM,CACpB,IAAI,CAAC,EAAE,MAAM,EACb,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,eAAe,CAAC;QAAC,WAAW,CAAC,EAAE,sBAAsB,CAAA;KAAE,GACzE,eAAe,CAAC,uBAAuB,CAAC;IAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;aACa,OAAO,CACrB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,eAAe,EACrB,WAAW,CAAC,EAAE,sBAAsB,GACnC,eAAe,CAAC,uBAAuB,CAAC;IAE3C;;;;;;;;;;;;;;;;;;;;;;OAsBG;aACa,SAAS,CACvB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,iBAAiB,GACxB,eAAe,CAAC,uBAAuB,CAAC;IAE3C
|
|
1
|
+
{"version":3,"file":"sheets.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/sheets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C;;;;;;;;;;;;;;GAcG;AACH,8BAAsB,2BAA2B;;IAG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AAoE;AACpE,eAAO,MAAM,kCAAkC;;iBAE7C,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,kCAAkC,CAC1C,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC;;iBAE/C,CAAA;AACF,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,oCAAoC,CAC5C,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,mCAAmC;;;iBAG9C,CAAA;AACF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAA;AAED,uEAAuE;AACvE,eAAO,MAAM,qCAAqC;;iBAEhD,CAAA;AACF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,qCAAqC,CAC7C,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,4CAA4C;;iBAEvD,CAAA;AACF,MAAM,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAChE,OAAO,4CAA4C,CACpD,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,8CAA8C;;iBAEzD,CAAA;AACF,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAClE,OAAO,8CAA8C,CACtD,CAAA"}
|
|
@@ -703,8 +703,8 @@ export type PluginProgramSiteWeatherResult = z.infer<typeof PluginProgramSiteWea
|
|
|
703
703
|
* never appears — the backend synonym resolves to `front`.
|
|
704
704
|
*/
|
|
705
705
|
export declare const PluginProgramSiteEdgeRole: z.ZodEnum<{
|
|
706
|
-
front: "front";
|
|
707
706
|
side: "side";
|
|
707
|
+
front: "front";
|
|
708
708
|
rear: "rear";
|
|
709
709
|
}>;
|
|
710
710
|
export type PluginProgramSiteEdgeRole = z.infer<typeof PluginProgramSiteEdgeRole>;
|
|
@@ -733,8 +733,8 @@ export declare const PluginProgramSiteEdge: z.ZodObject<{
|
|
|
733
733
|
}, z.core.$strip>;
|
|
734
734
|
lengthMeters: z.ZodNumber;
|
|
735
735
|
role: z.ZodEnum<{
|
|
736
|
-
front: "front";
|
|
737
736
|
side: "side";
|
|
737
|
+
front: "front";
|
|
738
738
|
rear: "rear";
|
|
739
739
|
}>;
|
|
740
740
|
roleSource: z.ZodEnum<{
|
|
@@ -772,8 +772,8 @@ export declare const PluginProgramSiteEdgesEntry: z.ZodObject<{
|
|
|
772
772
|
}, z.core.$strip>;
|
|
773
773
|
lengthMeters: z.ZodNumber;
|
|
774
774
|
role: z.ZodEnum<{
|
|
775
|
-
front: "front";
|
|
776
775
|
side: "side";
|
|
776
|
+
front: "front";
|
|
777
777
|
rear: "rear";
|
|
778
778
|
}>;
|
|
779
779
|
roleSource: z.ZodEnum<{
|
|
@@ -807,8 +807,8 @@ export declare const PluginProgramSiteListEdgesResult: z.ZodObject<{
|
|
|
807
807
|
}, z.core.$strip>;
|
|
808
808
|
lengthMeters: z.ZodNumber;
|
|
809
809
|
role: z.ZodEnum<{
|
|
810
|
-
front: "front";
|
|
811
810
|
side: "side";
|
|
811
|
+
front: "front";
|
|
812
812
|
rear: "rear";
|
|
813
813
|
}>;
|
|
814
814
|
roleSource: z.ZodEnum<{
|