@snaptrude/plugin-core 1.0.2-plainpoint-20261026.2 → 1.1.0-pbr-20261026.1
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/dist/api/core/camera/index.d.ts +4 -12
- package/dist/api/core/camera/index.d.ts.map +1 -1
- package/dist/api/core/comment/index.d.ts +3 -7
- package/dist/api/core/comment/index.d.ts.map +1 -1
- package/dist/api/core/geom/create/index.d.ts +21 -69
- package/dist/api/core/geom/create/index.d.ts.map +1 -1
- package/dist/api/core/geom/query/circle.d.ts +11 -31
- package/dist/api/core/geom/query/circle.d.ts.map +1 -1
- package/dist/api/core/geom/query/contour.d.ts +7 -19
- package/dist/api/core/geom/query/contour.d.ts.map +1 -1
- package/dist/api/core/geom/query/curve.d.ts +24 -72
- package/dist/api/core/geom/query/curve.d.ts.map +1 -1
- package/dist/api/core/geom/query/profile.d.ts +7 -19
- package/dist/api/core/geom/query/profile.d.ts.map +1 -1
- package/dist/api/core/geom/update/contour.d.ts +12 -36
- package/dist/api/core/geom/update/contour.d.ts.map +1 -1
- package/dist/api/core/geom/update/curve.d.ts +5 -13
- package/dist/api/core/geom/update/curve.d.ts.map +1 -1
- package/dist/api/core/geom/update/profile.d.ts +12 -36
- package/dist/api/core/geom/update/profile.d.ts.map +1 -1
- package/dist/api/core/io/import/index.d.ts +3 -7
- package/dist/api/core/io/import/index.d.ts.map +1 -1
- package/dist/api/core/math/quat.d.ts +2 -2
- package/dist/api/core/math/quat.d.ts.map +1 -1
- package/dist/api/core/math/vec3.d.ts +15 -15
- package/dist/api/core/math/vec3.d.ts.map +1 -1
- package/dist/api/design/boolean/index.d.ts +4 -20
- package/dist/api/design/boolean/index.d.ts.map +1 -1
- package/dist/api/design/create/bulk-items.d.ts +4 -20
- package/dist/api/design/create/bulk-items.d.ts.map +1 -1
- package/dist/api/design/create/index.d.ts +27 -67
- package/dist/api/design/create/index.d.ts.map +1 -1
- package/dist/api/design/delete/index.d.ts +7 -14
- package/dist/api/design/delete/index.d.ts.map +1 -1
- package/dist/api/design/dimensions.d.ts +6 -14
- package/dist/api/design/dimensions.d.ts.map +1 -1
- package/dist/api/design/edit/index.d.ts +3 -7
- package/dist/api/design/edit/index.d.ts.map +1 -1
- package/dist/api/design/erase/index.d.ts +2 -10
- package/dist/api/design/erase/index.d.ts.map +1 -1
- package/dist/api/design/family.d.ts +12 -5
- package/dist/api/design/family.d.ts.map +1 -1
- package/dist/api/design/index.d.ts +5 -0
- package/dist/api/design/index.d.ts.map +1 -1
- package/dist/api/design/lights/index.d.ts +504 -0
- package/dist/api/design/lights/index.d.ts.map +1 -0
- package/dist/api/design/lock.d.ts +0 -3
- package/dist/api/design/lock.d.ts.map +1 -1
- package/dist/api/design/materials/index.d.ts +63 -7
- package/dist/api/design/materials/index.d.ts.map +1 -1
- package/dist/api/design/transform/index.d.ts +8 -28
- package/dist/api/design/transform/index.d.ts.map +1 -1
- package/dist/api/design/windows/index.d.ts +34 -1
- package/dist/api/design/windows/index.d.ts.map +1 -1
- package/dist/api/entity/space.d.ts +6 -30
- package/dist/api/entity/space.d.ts.map +1 -1
- package/dist/api/presentation/drawings.d.ts +1 -1
- package/dist/handles.d.ts +0 -8
- package/dist/handles.d.ts.map +1 -1
- package/dist/index.cjs +2570 -2428
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2553 -2427
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
- package/src/api/core/camera/index.ts +5 -5
- package/src/api/core/comment/index.ts +3 -3
- package/src/api/core/geom/create/index.ts +25 -25
- package/src/api/core/geom/query/circle.ts +11 -11
- package/src/api/core/geom/query/contour.ts +6 -7
- package/src/api/core/geom/query/curve.ts +25 -25
- package/src/api/core/geom/query/profile.ts +6 -7
- package/src/api/core/geom/update/contour.ts +11 -12
- package/src/api/core/geom/update/curve.ts +5 -5
- package/src/api/core/geom/update/profile.ts +11 -12
- package/src/api/core/io/import/index.ts +2 -3
- package/src/api/core/math/quat.ts +2 -2
- package/src/api/core/math/vec3.ts +16 -16
- package/src/api/design/boolean/index.ts +2 -2
- package/src/api/design/create/bulk-items.ts +2 -3
- package/src/api/design/create/index.ts +26 -27
- package/src/api/design/delete/index.ts +7 -14
- package/src/api/design/dimensions.ts +4 -5
- package/src/api/design/edit/index.ts +3 -3
- package/src/api/design/erase/index.ts +2 -2
- package/src/api/design/family.ts +12 -2
- package/src/api/design/index.ts +5 -0
- package/src/api/design/lights/index.ts +406 -0
- package/src/api/design/lock.ts +0 -6
- package/src/api/design/materials/index.ts +58 -7
- package/src/api/design/transform/index.ts +7 -15
- package/src/api/design/windows/index.ts +38 -1
- package/src/api/entity/space.ts +4 -5
- package/src/handles.ts +0 -11
- package/api-manifest.json +0 -10607
- package/test/handles.test.mjs +0 -36
|
@@ -20,6 +20,12 @@ import { ComponentHandle, MaterialHandle } from "../../../handles";
|
|
|
20
20
|
* is durable only while the component's BREP topology (face count/order) is unchanged.
|
|
21
21
|
*
|
|
22
22
|
* `copy` (needs an undo wrapper) lands in a later pass.
|
|
23
|
+
*
|
|
24
|
+
* A material is a reusable finish, not a fixture source. Emissive appearance alone does not
|
|
25
|
+
* create a physical light. Author new fixtures through schema 1.3 family.fixture.emitters:
|
|
26
|
+
* generated side geometry, total lumens, temperature and enabled state belong to the placed
|
|
27
|
+
* fixture, not its shared material. Its visible emission is derived from the same photometry
|
|
28
|
+
* used by direct and DDGI lighting. Repainting a source must not change output or another lamp.
|
|
23
29
|
*/
|
|
24
30
|
export declare abstract class PluginDesignMaterialsApi {
|
|
25
31
|
constructor();
|
|
@@ -45,16 +51,20 @@ export declare abstract class PluginDesignMaterialsApi {
|
|
|
45
51
|
abstract list(): PluginApiReturn<MaterialHandle[]>;
|
|
46
52
|
/**
|
|
47
53
|
* List the preset material library — the catalog the app's material browser
|
|
48
|
-
* shows
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
54
|
+
* shows: the deployment PBR catalogue plus the server library and workspace uploads.
|
|
55
|
+
* Library entries are **not** scene materials and carry no {@linkcode MaterialHandle}.
|
|
56
|
+
* PBR names include an identity-qualified suffix `[catalogId@catalogVersion]`:
|
|
57
|
+
* preserve the EXACT returned name and pass `{ name: preset.name }` to create/apply.
|
|
58
|
+
* The host resolves all authored PBR maps, physical coverage and glass properties;
|
|
59
|
+
* do not strip the suffix, substitute an image-only finish, or override color/alpha.
|
|
60
|
+
* Scalar paints and clear glass can have an empty textureUrl and are still valid.
|
|
61
|
+
* For legacy image entries, feed the returned record to
|
|
52
62
|
* {@linkcode PluginDesignMaterialsApi.create} /
|
|
53
63
|
* {@linkcode PluginDesignMaterialsApi.apply} as a
|
|
54
64
|
* {@linkcode PluginMaterialSpec}: `{ name, textureUrl, materialType: category }`.
|
|
55
65
|
*
|
|
56
|
-
* @returns The library as {@linkcode PluginPresetMaterial}`[]
|
|
57
|
-
* library
|
|
66
|
+
* @returns The library as {@linkcode PluginPresetMaterial}`[]`. Missing/malformed
|
|
67
|
+
* deployment PBR data rejects; the legacy server library may return `[]` on failure.
|
|
58
68
|
*
|
|
59
69
|
* @examplePrompt Show me the preset materials library
|
|
60
70
|
* @examplePrompt What wood finishes are available in the material library?
|
|
@@ -152,6 +162,20 @@ export declare abstract class PluginDesignMaterialsApi {
|
|
|
152
162
|
* ```
|
|
153
163
|
*/
|
|
154
164
|
abstract apply(targets: ComponentHandle[], material: MaterialHandle | PluginMaterialSpec, save?: boolean): PluginApiReturn<PluginMaterialResult>;
|
|
165
|
+
/**
|
|
166
|
+
* Paint only glazing or frame slots, never the whole window/door. This preserves
|
|
167
|
+
* clear panes when painting metal frames. Families change with their linked copies;
|
|
168
|
+
* legacy instanced types change every instance of that type. BREP components are
|
|
169
|
+
* refused (use applyToFaces), as are locked targets or locked linked/type members.
|
|
170
|
+
* Slot roles come from the authored appearance, not a previously applied paint.
|
|
171
|
+
* Always one undo step. Catalogue selectors use the exact listPresets name.
|
|
172
|
+
* @param components Components whose family/type slots to paint
|
|
173
|
+
* @param slot Authored glazing slots or every other (frame/hardware) slot
|
|
174
|
+
* @param material Existing handle or inline spec, e.g. `{ name: preset.name }`
|
|
175
|
+
* @returns Count of targets whose family/type had at least one matching slot
|
|
176
|
+
* @examplePrompt Paint only the window frames with a catalogue metal finish
|
|
177
|
+
*/
|
|
178
|
+
abstract applyToSlot(components: ComponentHandle[], slot: "glazing" | "frame", material: MaterialHandle | PluginMaterialSpec): PluginApiReturn<PluginMaterialResult>;
|
|
155
179
|
/**
|
|
156
180
|
* Reset one or more components back to the default material for their type,
|
|
157
181
|
* removing any applied finish. The inverse of `apply`; undoable when `save`
|
|
@@ -282,9 +306,11 @@ export declare abstract class PluginDesignMaterialsApi {
|
|
|
282
306
|
* @examplePrompt Make a material from this texture image URL
|
|
283
307
|
* @examplePrompt Add a semi-transparent glass material to the project
|
|
284
308
|
* @examplePrompt Define a dark grey concrete finish I can reuse
|
|
309
|
+
* @examplePrompt Make the lampshade a linen that glows when the lamp is on
|
|
285
310
|
*
|
|
286
311
|
* # Example
|
|
287
312
|
* ```ts
|
|
313
|
+
* const linen = await snaptrude.design.materials.create({ name: "Linen Shade", color: "#efe6d4", transmission: 0.3 })
|
|
288
314
|
* const glass = await snaptrude.design.materials.create({ name: "Frosted Glass", color: "#cfe4e8", alpha: 0.4 })
|
|
289
315
|
* const walls = await snaptrude.design.query.listWalls({ storeys: [1] })
|
|
290
316
|
* await snaptrude.design.materials.apply(walls, glass)
|
|
@@ -375,6 +401,7 @@ export declare abstract class PluginDesignMaterialsApi {
|
|
|
375
401
|
* | `alpha` | `number` | Opacity `0..1` |
|
|
376
402
|
* | `materialType` | `string` | Material type tag (optional) |
|
|
377
403
|
* | `textureUrl` | `string` | Diffuse texture URL (optional) |
|
|
404
|
+
* | `transmission` | `number` | Diffuse transmission `0..1` (optional; absent when none) |
|
|
378
405
|
*/
|
|
379
406
|
export declare const PluginMaterialInfo: z.ZodObject<{
|
|
380
407
|
name: z.ZodString;
|
|
@@ -383,6 +410,7 @@ export declare const PluginMaterialInfo: z.ZodObject<{
|
|
|
383
410
|
alpha: z.ZodNumber;
|
|
384
411
|
materialType: z.ZodOptional<z.ZodString>;
|
|
385
412
|
textureUrl: z.ZodOptional<z.ZodString>;
|
|
413
|
+
transmission: z.ZodOptional<z.ZodNumber>;
|
|
386
414
|
}, z.core.$strip>;
|
|
387
415
|
export type PluginMaterialInfo = z.infer<typeof PluginMaterialInfo>;
|
|
388
416
|
/**
|
|
@@ -390,11 +418,18 @@ export type PluginMaterialInfo = z.infer<typeof PluginMaterialInfo>;
|
|
|
390
418
|
*
|
|
391
419
|
* | Property | Type | Description |
|
|
392
420
|
* |---|---|---|
|
|
393
|
-
* | `name` | `string` | Name (optional; generated if omitted) |
|
|
421
|
+
* | `name` | `string` | Name (optional; generated if omitted); an exact identity-qualified listPresets name selects the full authored PBR finish |
|
|
394
422
|
* | `color` | `string` | Diffuse color `#rrggbb` (optional) |
|
|
395
423
|
* | `textureUrl` | `string` | Diffuse texture URL (optional; wins over color) |
|
|
396
424
|
* | `alpha` | `number` | Opacity `0..1` (optional) |
|
|
397
425
|
* | `materialType` | `string` | Material type tag (optional) |
|
|
426
|
+
* | `transmission` | `number` | Diffuse transmission `0..1` (optional): the share of a fixture light the material passes through, scattered |
|
|
427
|
+
*
|
|
428
|
+
* `transmission` is for lampshades and lenses: a fabric or paper shade (linen ~0.3, paper ~0.5)
|
|
429
|
+
* or an opal diffuser (~0.6). A component painted with it glows from the fixture lights
|
|
430
|
+
* (`design.lights`) behind it and passes that share of their light into the room. Fixture
|
|
431
|
+
* lights only: daylight does not pass. Leave it out for opaque finishes. Not combinable with a
|
|
432
|
+
* catalog (listPresets) name.
|
|
398
433
|
*/
|
|
399
434
|
export declare const PluginMaterialSpec: z.ZodObject<{
|
|
400
435
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -402,6 +437,7 @@ export declare const PluginMaterialSpec: z.ZodObject<{
|
|
|
402
437
|
textureUrl: z.ZodOptional<z.ZodString>;
|
|
403
438
|
alpha: z.ZodOptional<z.ZodNumber>;
|
|
404
439
|
materialType: z.ZodOptional<z.ZodString>;
|
|
440
|
+
transmission: z.ZodOptional<z.ZodNumber>;
|
|
405
441
|
}, z.core.$strip>;
|
|
406
442
|
export type PluginMaterialSpec = z.infer<typeof PluginMaterialSpec>;
|
|
407
443
|
/** Result of a material mutation — the count of targets affected. */
|
|
@@ -486,10 +522,28 @@ export declare const PluginDesignMaterialsApplyArgs: z.ZodObject<{
|
|
|
486
522
|
textureUrl: z.ZodOptional<z.ZodString>;
|
|
487
523
|
alpha: z.ZodOptional<z.ZodNumber>;
|
|
488
524
|
materialType: z.ZodOptional<z.ZodString>;
|
|
525
|
+
transmission: z.ZodOptional<z.ZodNumber>;
|
|
489
526
|
}, z.core.$strip>]>;
|
|
490
527
|
save: z.ZodOptional<z.ZodBoolean>;
|
|
491
528
|
}, z.core.$strip>;
|
|
492
529
|
export type PluginDesignMaterialsApplyArgs = z.infer<typeof PluginDesignMaterialsApplyArgs>;
|
|
530
|
+
/** Arguments for the existing host slot-paint contract. */
|
|
531
|
+
export declare const PluginDesignMaterialsApplyToSlotArgs: z.ZodObject<{
|
|
532
|
+
components: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
533
|
+
slot: z.ZodEnum<{
|
|
534
|
+
frame: "frame";
|
|
535
|
+
glazing: "glazing";
|
|
536
|
+
}>;
|
|
537
|
+
material: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<MaterialHandle, string>>, z.ZodObject<{
|
|
538
|
+
name: z.ZodOptional<z.ZodString>;
|
|
539
|
+
color: z.ZodOptional<z.ZodString>;
|
|
540
|
+
textureUrl: z.ZodOptional<z.ZodString>;
|
|
541
|
+
alpha: z.ZodOptional<z.ZodNumber>;
|
|
542
|
+
materialType: z.ZodOptional<z.ZodString>;
|
|
543
|
+
transmission: z.ZodOptional<z.ZodNumber>;
|
|
544
|
+
}, z.core.$strip>]>;
|
|
545
|
+
}, z.core.$strip>;
|
|
546
|
+
export type PluginDesignMaterialsApplyToSlotArgs = z.infer<typeof PluginDesignMaterialsApplyToSlotArgs>;
|
|
493
547
|
/** Arguments for {@linkcode PluginDesignMaterialsApi.reset}. */
|
|
494
548
|
export declare const PluginDesignMaterialsResetArgs: z.ZodObject<{
|
|
495
549
|
components: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
@@ -504,6 +558,7 @@ export declare const PluginDesignMaterialsCreateArgs: z.ZodObject<{
|
|
|
504
558
|
textureUrl: z.ZodOptional<z.ZodString>;
|
|
505
559
|
alpha: z.ZodOptional<z.ZodNumber>;
|
|
506
560
|
materialType: z.ZodOptional<z.ZodString>;
|
|
561
|
+
transmission: z.ZodOptional<z.ZodNumber>;
|
|
507
562
|
}, z.core.$strip>;
|
|
508
563
|
}, z.core.$strip>;
|
|
509
564
|
export type PluginDesignMaterialsCreateArgs = z.infer<typeof PluginDesignMaterialsCreateArgs>;
|
|
@@ -526,6 +581,7 @@ export declare const PluginDesignMaterialsApplyToFacesArgs: z.ZodObject<{
|
|
|
526
581
|
textureUrl: z.ZodOptional<z.ZodString>;
|
|
527
582
|
alpha: z.ZodOptional<z.ZodNumber>;
|
|
528
583
|
materialType: z.ZodOptional<z.ZodString>;
|
|
584
|
+
transmission: z.ZodOptional<z.ZodNumber>;
|
|
529
585
|
}, z.core.$strip>]>;
|
|
530
586
|
save: z.ZodOptional<z.ZodBoolean>;
|
|
531
587
|
}, z.core.$strip>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/materials/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAElE
|
|
1
|
+
{"version":3,"file":"index.d.ts","source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,MAAM,oCAAoC;;;;;;;;;;;;;;iBAI/C,CAAA;AACF,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,oCAAoC,CAC5C,CAAA;AAED,gEAAgE;AAChE,eAAO,MAAM,8BAA8B;;;iBAGzC,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,8BAA8B,CACtC,CAAA;AAED,iEAAiE;AACjE,eAAO,MAAM,+BAA+B;;;;;;;;;iBAE1C,CAAA;AACF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,+BAA+B,CACvC,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;iBAKhD,CAAA;AACF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,qCAAqC,CAC7C,CAAA;AAED,qEAAqE;AACrE,eAAO,MAAM,mCAAmC;;;;iBAI9C,CAAA;AACF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAA;AAED,oEAAoE;AACpE,eAAO,MAAM,kCAAkC;;;iBAG7C,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,kCAAkC,CAC1C,CAAA;AAED,sFAAsF;AACtF,eAAO,MAAM,mCAAmC;;iBACZ,CAAA;AACpC,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PluginApiReturn } from "../../../types";
|
|
3
|
-
import { ComponentHandle,
|
|
3
|
+
import { ComponentHandle, Vec3Handle } from "../../../handles";
|
|
4
4
|
import { PluginDesignChangeResult } from "../lock";
|
|
5
5
|
/**
|
|
6
6
|
* `snaptrude.design.transform` — rigid transforms on scene entities.
|
|
@@ -20,17 +20,9 @@ export declare abstract class PluginDesignTransformApi {
|
|
|
20
20
|
* component's absolute position as the anchor). Undoable.
|
|
21
21
|
*
|
|
22
22
|
* @param components - Entities to move
|
|
23
|
-
* @param displacement - Relative translation as a {@linkcode Vec3Handle}
|
|
24
|
-
* shorter than 1e-6 is a no-op that succeeds (hosts before Oct 2026 throw
|
|
25
|
-
* `OPERATION_FAILED` "No movement occurred" instead, so skip the call when nothing moves).
|
|
23
|
+
* @param displacement - Relative translation as a {@linkcode Vec3Handle}
|
|
26
24
|
* @param options - `is2D`, `trackParentChange`
|
|
27
25
|
* @returns {@linkcode PluginDesignChangeResult}
|
|
28
|
-
* @throws `OPERATION_FAILED` when the engine drops the whole move. A single connected
|
|
29
|
-
* parametric wall moves only across its own line: the vertical part and the part along
|
|
30
|
-
* the line are dropped. Move the whole connected run in one call to lift walls; to slide
|
|
31
|
-
* or lengthen one wall, delete it and create it again on the new line. Graph-bound walls
|
|
32
|
-
* made by Sketch-to-BIM refuse `move` outright (`TOPOLOGY_ERROR` / `ZERO_MOVEMENT`):
|
|
33
|
-
* adjust the room boundary that owns the wall instead.
|
|
34
26
|
*
|
|
35
27
|
* @examplePrompt Move the selected room 5 metres to the right
|
|
36
28
|
* @examplePrompt Shift these walls 3m along the x axis
|
|
@@ -47,7 +39,7 @@ export declare abstract class PluginDesignTransformApi {
|
|
|
47
39
|
* await snaptrude.design.transform.move(["space-id"], vec3.new(10, 0, 0))
|
|
48
40
|
* ```
|
|
49
41
|
*/
|
|
50
|
-
abstract move(components: ComponentHandle[], displacement:
|
|
42
|
+
abstract move(components: ComponentHandle[], displacement: Vec3Handle, options?: {
|
|
51
43
|
is2D?: boolean;
|
|
52
44
|
trackParentChange?: boolean;
|
|
53
45
|
}): PluginApiReturn<PluginDesignChangeResult>;
|
|
@@ -83,8 +75,8 @@ export declare abstract class PluginDesignTransformApi {
|
|
|
83
75
|
* ```
|
|
84
76
|
*/
|
|
85
77
|
abstract rotate(components: ComponentHandle[], angleInDegrees: number, options?: {
|
|
86
|
-
axis?:
|
|
87
|
-
pivot?:
|
|
78
|
+
axis?: Vec3Handle;
|
|
79
|
+
pivot?: Vec3Handle;
|
|
88
80
|
is2D?: boolean;
|
|
89
81
|
}): PluginApiReturn<PluginDesignChangeResult>;
|
|
90
82
|
/**
|
|
@@ -200,11 +192,7 @@ export type PluginAlignEdge = z.infer<typeof PluginAlignEdge>;
|
|
|
200
192
|
*/
|
|
201
193
|
export declare const PluginDesignMoveArgs: z.ZodObject<{
|
|
202
194
|
components: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
203
|
-
displacement: z.
|
|
204
|
-
x: z.ZodNumber;
|
|
205
|
-
y: z.ZodNumber;
|
|
206
|
-
z: z.ZodNumber;
|
|
207
|
-
}, z.core.$strip>]>;
|
|
195
|
+
displacement: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
|
|
208
196
|
is2D: z.ZodOptional<z.ZodBoolean>;
|
|
209
197
|
trackParentChange: z.ZodOptional<z.ZodBoolean>;
|
|
210
198
|
}, z.core.$strip>;
|
|
@@ -215,17 +203,9 @@ export type PluginDesignMoveArgs = z.infer<typeof PluginDesignMoveArgs>;
|
|
|
215
203
|
export declare const PluginDesignRotateArgs: z.ZodObject<{
|
|
216
204
|
components: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
217
205
|
angleInDegrees: z.ZodNumber;
|
|
218
|
-
axis: z.ZodOptional<z.
|
|
219
|
-
x: z.ZodNumber;
|
|
220
|
-
y: z.ZodNumber;
|
|
221
|
-
z: z.ZodNumber;
|
|
222
|
-
}, z.core.$strip>]>>;
|
|
206
|
+
axis: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
223
207
|
is2D: z.ZodOptional<z.ZodBoolean>;
|
|
224
|
-
pivot: z.ZodOptional<z.
|
|
225
|
-
x: z.ZodNumber;
|
|
226
|
-
y: z.ZodNumber;
|
|
227
|
-
z: z.ZodNumber;
|
|
228
|
-
}, z.core.$strip>]>>;
|
|
208
|
+
pivot: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
229
209
|
}, z.core.$strip>;
|
|
230
210
|
export type PluginDesignRotateArgs = z.infer<typeof PluginDesignRotateArgs>;
|
|
231
211
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/transform/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/transform/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAElD;;;;;;;;;;GAUG;AACH,8BAAsB,wBAAwB;;IAG5C;;;;;;;;;;;;;;;;;;;;;;;OAuBG;aACa,IAAI,CAClB,UAAU,EAAE,eAAe,EAAE,EAC7B,YAAY,EAAE,UAAU,EACxB,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,OAAO,CAAC;QAAC,iBAAiB,CAAC,EAAE,OAAO,CAAA;KAAE,GACxD,eAAe,CAAC,wBAAwB,CAAC;IAE5C;;;;;;;;;;;;;;;;;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;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;iBAIhC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB;;;;;;iBAGjC,CAAA;AACF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PluginApiReturn } from "../../../types";
|
|
3
|
-
import { ComponentHandle } from "../../../handles";
|
|
3
|
+
import { ComponentHandle, MaterialHandle } from "../../../handles";
|
|
4
4
|
import { PluginDesignChangeResult } from "../lock";
|
|
5
5
|
import { PluginObjectCatalogGroup, PluginObjectCatalogItem } from "../doors";
|
|
6
|
+
import { PluginMaterialSpec } from "../materials";
|
|
6
7
|
/**
|
|
7
8
|
* `snaptrude.design.windows` — window-specific reads. Creation lives at
|
|
8
9
|
* `design.create.window`; generic reads (`listWindows`/`getHost`/`getProperties`) live
|
|
@@ -20,6 +21,25 @@ import { PluginObjectCatalogGroup, PluginObjectCatalogItem } from "../doors";
|
|
|
20
21
|
*/
|
|
21
22
|
export declare abstract class PluginDesignWindowsApi {
|
|
22
23
|
constructor();
|
|
24
|
+
/**
|
|
25
|
+
* Paint only the window's authored glazing, preserving its frame. Families change
|
|
26
|
+
* with linked copies; legacy catalogue types change every instance of that type.
|
|
27
|
+
* Undoable; refuses locked linked/type members or out-of-proposal targets.
|
|
28
|
+
* @param window Window whose glazing to paint
|
|
29
|
+
* @param material Handle or spec; preserve the exact listPresets name for PBR glass
|
|
30
|
+
* @returns Components affected, including linked/type instances
|
|
31
|
+
* @examplePrompt Use clear glass for this window without changing its frame
|
|
32
|
+
*/
|
|
33
|
+
abstract setGlazing(window: ComponentHandle, material: MaterialHandle | PluginMaterialSpec): PluginApiReturn<PluginDesignChangeResult>;
|
|
34
|
+
/**
|
|
35
|
+
* Paint only non-glazing slots (frames, sashes, hardware), never the clear panes.
|
|
36
|
+
* Scope, locking and undo match setGlazing and design.materials.applyToSlot.
|
|
37
|
+
* @param window Window whose frame to paint
|
|
38
|
+
* @param material Handle or spec, e.g. `{ name: preset.name }` from listPresets
|
|
39
|
+
* @returns Components affected, including linked/type instances
|
|
40
|
+
* @examplePrompt Use brushed metal for this window's frame without changing the glass
|
|
41
|
+
*/
|
|
42
|
+
abstract setFrame(window: ComponentHandle, material: MaterialHandle | PluginMaterialSpec): PluginApiReturn<PluginDesignChangeResult>;
|
|
23
43
|
/**
|
|
24
44
|
* Get the type name of a window — the label that identifies which kind of
|
|
25
45
|
* window the instance is, as shown in its properties.
|
|
@@ -270,6 +290,19 @@ export declare const PluginDesignWindowSetHeightArgs: z.ZodObject<{
|
|
|
270
290
|
height: z.ZodNumber;
|
|
271
291
|
}, z.core.$strip>;
|
|
272
292
|
export type PluginDesignWindowSetHeightArgs = z.infer<typeof PluginDesignWindowSetHeightArgs>;
|
|
293
|
+
/** Arguments for setGlazing / setFrame; both preserve the other authored slot kind. */
|
|
294
|
+
export declare const PluginDesignWindowSetSlotArgs: z.ZodObject<{
|
|
295
|
+
window: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
|
|
296
|
+
material: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<MaterialHandle, string>>, z.ZodObject<{
|
|
297
|
+
name: z.ZodOptional<z.ZodString>;
|
|
298
|
+
color: z.ZodOptional<z.ZodString>;
|
|
299
|
+
textureUrl: z.ZodOptional<z.ZodString>;
|
|
300
|
+
alpha: z.ZodOptional<z.ZodNumber>;
|
|
301
|
+
materialType: z.ZodOptional<z.ZodString>;
|
|
302
|
+
transmission: z.ZodOptional<z.ZodNumber>;
|
|
303
|
+
}, z.core.$strip>]>;
|
|
304
|
+
}, z.core.$strip>;
|
|
305
|
+
export type PluginDesignWindowSetSlotArgs = z.infer<typeof PluginDesignWindowSetSlotArgs>;
|
|
273
306
|
export { PluginObjectCatalogGroup, PluginObjectCatalogItem };
|
|
274
307
|
/**
|
|
275
308
|
* Arguments for {@linkcode PluginDesignWindowsApi.listCatalog}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/windows/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/windows/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAClD,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAEjD;;;;;;;;;;;;;;GAcG;AACH,8BAAsB,sBAAsB;;IAG1C;;;;;;;;OAQG;aACa,UAAU,CACxB,MAAM,EAAE,eAAe,EACvB,QAAQ,EAAE,cAAc,GAAG,kBAAkB,GAC5C,eAAe,CAAC,wBAAwB,CAAC;IAE5C;;;;;;;OAOG;aACa,QAAQ,CACtB,MAAM,EAAE,eAAe,EACvB,QAAQ,EAAE,cAAc,GAAG,kBAAkB,GAC5C,eAAe,CAAC,wBAAwB,CAAC;IAE5C;;;;;;;;;;;;;;;;;;OAkBG;aACa,OAAO,CACrB,MAAM,EAAE,eAAe,GACtB,eAAe,CAAC,MAAM,GAAG,IAAI,CAAC;IAEjC;;;;;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CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B;;;iBAGzC,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,8BAA8B,CACtC,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,+BAA+B;;;iBAG1C,CAAA;AACF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,+BAA+B,CACvC,CAAA;AAED,uFAAuF;AACvF,eAAO,MAAM,6BAA6B;;;;;;;;;;iBAGxC,CAAA;AACF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,6BAA6B,CACrC,CAAA;AAOD,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,CAAA;AAE5D;;;;;;GAMG;AACH,eAAO,MAAM,iCAAiC;;iBAE5C,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC;;iBAE/C,CAAA;AACF,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,oCAAoC,CAC5C,CAAA;AAED,eAAO,MAAM,4BAA4B;;iBAAuC,CAAA;AAChF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,4BAA4B,CACpC,CAAA"}
|
|
@@ -8,11 +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.
|
|
12
|
-
x: z.ZodNumber;
|
|
13
|
-
y: z.ZodNumber;
|
|
14
|
-
z: z.ZodNumber;
|
|
15
|
-
}, z.core.$strip>]>;
|
|
11
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
|
|
16
12
|
dimensions: z.ZodObject<{
|
|
17
13
|
width: z.ZodNumber;
|
|
18
14
|
height: z.ZodNumber;
|
|
@@ -45,11 +41,7 @@ export declare const PluginSpaceCreateFromProfileArgs: z.ZodObject<{
|
|
|
45
41
|
profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>;
|
|
46
42
|
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>>>;
|
|
47
43
|
extrudeHeight: z.ZodNumber;
|
|
48
|
-
position: z.
|
|
49
|
-
x: z.ZodNumber;
|
|
50
|
-
y: z.ZodNumber;
|
|
51
|
-
z: z.ZodNumber;
|
|
52
|
-
}, z.core.$strip>]>;
|
|
44
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
|
|
53
45
|
}, z.core.$strip>;
|
|
54
46
|
export type PluginSpaceCreateFromProfileArgs = z.infer<typeof PluginSpaceCreateFromProfileArgs>;
|
|
55
47
|
/**
|
|
@@ -506,11 +498,7 @@ export type PluginSpaceUpdateResult = z.infer<typeof PluginSpaceUpdateResult>;
|
|
|
506
498
|
*/
|
|
507
499
|
export declare const PluginSpaceBulkCreateItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
508
500
|
kind: z.ZodLiteral<"rectangular">;
|
|
509
|
-
position: z.
|
|
510
|
-
x: z.ZodNumber;
|
|
511
|
-
y: z.ZodNumber;
|
|
512
|
-
z: z.ZodNumber;
|
|
513
|
-
}, z.core.$strip>]>;
|
|
501
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
|
|
514
502
|
dimensions: z.ZodObject<{
|
|
515
503
|
width: z.ZodNumber;
|
|
516
504
|
height: z.ZodNumber;
|
|
@@ -554,11 +542,7 @@ export declare const PluginSpaceBulkCreateItem: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
554
542
|
profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>;
|
|
555
543
|
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>>>;
|
|
556
544
|
extrudeHeight: z.ZodNumber;
|
|
557
|
-
position: z.
|
|
558
|
-
x: z.ZodNumber;
|
|
559
|
-
y: z.ZodNumber;
|
|
560
|
-
z: z.ZodNumber;
|
|
561
|
-
}, z.core.$strip>]>;
|
|
545
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
|
|
562
546
|
room_type: z.ZodOptional<z.ZodString>;
|
|
563
547
|
spaceType: z.ZodOptional<z.ZodEnum<{
|
|
564
548
|
Room: "Room";
|
|
@@ -604,11 +588,7 @@ export type PluginSpaceBulkCreateItem = z.infer<typeof PluginSpaceBulkCreateItem
|
|
|
604
588
|
export declare const PluginSpaceBulkCreateArgs: z.ZodObject<{
|
|
605
589
|
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
606
590
|
kind: z.ZodLiteral<"rectangular">;
|
|
607
|
-
position: z.
|
|
608
|
-
x: z.ZodNumber;
|
|
609
|
-
y: z.ZodNumber;
|
|
610
|
-
z: z.ZodNumber;
|
|
611
|
-
}, z.core.$strip>]>;
|
|
591
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
|
|
612
592
|
dimensions: z.ZodObject<{
|
|
613
593
|
width: z.ZodNumber;
|
|
614
594
|
height: z.ZodNumber;
|
|
@@ -652,11 +632,7 @@ export declare const PluginSpaceBulkCreateArgs: z.ZodObject<{
|
|
|
652
632
|
profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>;
|
|
653
633
|
innerProfiles: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"profile">, string>>>>;
|
|
654
634
|
extrudeHeight: z.ZodNumber;
|
|
655
|
-
position: z.
|
|
656
|
-
x: z.ZodNumber;
|
|
657
|
-
y: z.ZodNumber;
|
|
658
|
-
z: z.ZodNumber;
|
|
659
|
-
}, z.core.$strip>]>;
|
|
635
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
|
|
660
636
|
room_type: z.ZodOptional<z.ZodString>;
|
|
661
637
|
spaceType: z.ZodOptional<z.ZodEnum<{
|
|
662
638
|
Room: "Room";
|
|
@@ -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;AAUxB;;;;;;;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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C/C,OAAO,2BAA2B,CACnC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB;;iBAEpC,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEjF;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B;;iBAEtC,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,2BAA2B,CACnC,CAAA"}
|
|
@@ -2667,9 +2667,9 @@ export type PluginDrawingStyles = z.infer<typeof PluginDrawingStyles>;
|
|
|
2667
2667
|
export declare const PluginDrawingStatus: z.ZodObject<{
|
|
2668
2668
|
drawingId: z.ZodString;
|
|
2669
2669
|
generation: z.ZodEnum<{
|
|
2670
|
-
missing: "missing";
|
|
2671
2670
|
ready: "ready";
|
|
2672
2671
|
updating: "updating";
|
|
2672
|
+
missing: "missing";
|
|
2673
2673
|
}>;
|
|
2674
2674
|
assetSave: z.ZodEnum<{
|
|
2675
2675
|
missing: "missing";
|
package/dist/handles.d.ts
CHANGED
|
@@ -218,14 +218,6 @@ export declare const Vec3Components: z.ZodObject<{
|
|
|
218
218
|
y: z.ZodNumber;
|
|
219
219
|
z: z.ZodNumber;
|
|
220
220
|
}, z.core.$strip>;
|
|
221
|
-
/**
|
|
222
|
-
* A vec3 ARGUMENT: a {@linkcode Vec3Handle} in any inbound form, or a plain finite
|
|
223
|
-
* `{ x, y, z }` point. Geometry reads return plain points, and callers pass them straight
|
|
224
|
-
* back where a vec3 is expected; the host resolves the point as a vector. Returns stay
|
|
225
|
-
* {@linkcode Vec3Handle}. Explicitly typed to keep handles.d.ts inside its size budget.
|
|
226
|
-
*/
|
|
227
|
-
export type Vec3Input = Handle<"vec3"> | Vec3Components;
|
|
228
|
-
export declare const Vec3Input: z.ZodUnion<readonly [typeof Vec3Handle, typeof Vec3Components]>;
|
|
229
221
|
export declare const QuatComponents: z.ZodObject<{
|
|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