@snaptrude/plugin-core 0.9.14 → 0.9.16-networks-20261008.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/CHANGELOG.md +28 -0
- package/dist/api/analysis/daylight.d.ts +5 -5
- package/dist/api/analysis/solar.d.ts +2 -2
- package/dist/api/core/camera/index.d.ts +418 -0
- package/dist/api/core/camera/index.d.ts.map +1 -1
- package/dist/api/core/index.d.ts +4 -4
- package/dist/api/core/index.d.ts.map +1 -1
- package/dist/api/core/layers.d.ts +377 -255
- package/dist/api/core/layers.d.ts.map +1 -1
- package/dist/api/core/proposals/index.d.ts +4 -3
- package/dist/api/core/proposals/index.d.ts.map +1 -1
- package/dist/api/core/storeys/index.d.ts +12 -0
- package/dist/api/core/storeys/index.d.ts.map +1 -1
- package/dist/api/core/storeys/layers.d.ts +408 -0
- package/dist/api/core/storeys/layers.d.ts.map +1 -0
- package/dist/api/core/tags.d.ts +3 -3
- package/dist/api/design/bim.d.ts +209 -0
- package/dist/api/design/bim.d.ts.map +1 -0
- package/dist/api/design/catalog.d.ts +242 -0
- package/dist/api/design/catalog.d.ts.map +1 -0
- package/dist/api/design/create/bulk-items.d.ts +55 -3
- package/dist/api/design/create/bulk-items.d.ts.map +1 -1
- package/dist/api/design/create/index.d.ts +77 -22
- package/dist/api/design/create/index.d.ts.map +1 -1
- package/dist/api/design/family.d.ts +576 -12
- package/dist/api/design/family.d.ts.map +1 -1
- package/dist/api/design/index.d.ts +16 -0
- package/dist/api/design/index.d.ts.map +1 -1
- package/dist/api/design/networks.d.ts +1703 -0
- package/dist/api/design/networks.d.ts.map +1 -0
- package/dist/api/design/query/index.d.ts +30 -30
- package/dist/api/design/selection/index.d.ts +12 -12
- package/dist/api/design/types/index.d.ts +40 -24
- package/dist/api/design/types/index.d.ts.map +1 -1
- package/dist/api/design/update/index.d.ts +113 -3
- package/dist/api/design/update/index.d.ts.map +1 -1
- package/dist/api/presentation/aiInspiration.d.ts +23 -23
- package/dist/api/presentation/camera.d.ts +265 -0
- package/dist/api/presentation/camera.d.ts.map +1 -0
- package/dist/api/presentation/index.d.ts +14 -0
- package/dist/api/presentation/index.d.ts.map +1 -1
- package/dist/api/presentation/placedViews.d.ts +1 -1
- package/dist/api/presentation/views.d.ts +3 -1
- package/dist/api/presentation/views.d.ts.map +1 -1
- package/dist/api/presentation/walkthroughs.d.ts +1350 -0
- package/dist/api/presentation/walkthroughs.d.ts.map +1 -0
- package/dist/index.cjs +3886 -2598
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3744 -2595
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/generate-manifest.mjs +5 -0
- package/scripts/generate-manifest.test.mjs +14 -3
- package/src/api/core/camera/index.ts +400 -1
- package/src/api/core/index.ts +4 -4
- package/src/api/core/layers.ts +380 -173
- package/src/api/core/proposals/index.ts +4 -3
- package/src/api/core/storeys/index.ts +14 -0
- package/src/api/core/storeys/layers.ts +339 -0
- package/src/api/design/bim.ts +121 -0
- package/src/api/design/catalog.ts +128 -0
- package/src/api/design/create/bulk-items.ts +74 -2
- package/src/api/design/create/index.ts +92 -36
- package/src/api/design/family.ts +448 -17
- package/src/api/design/index.ts +34 -4
- package/src/api/design/networks.ts +607 -0
- package/src/api/design/types/index.ts +31 -24
- package/src/api/design/update/index.ts +121 -4
- package/src/api/presentation/camera.ts +289 -0
- package/src/api/presentation/index.ts +14 -0
- package/src/api/presentation/views.ts +3 -1
- package/src/api/presentation/walkthroughs.ts +1201 -0
- package/api-manifest.json +0 -9117
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PluginApiReturn } from "../../../types";
|
|
3
|
-
import { BrepHandle, ComponentHandle, ContourHandle, CurveHandle, ProfileHandle, Vec3Handle } from "../../../handles";
|
|
3
|
+
import { BrepHandle, ComponentHandle, ContourHandle, LineHandle, CurveHandle, ProfileHandle, Vec3Handle } from "../../../handles";
|
|
4
4
|
import { PluginGridStyleOptions } from "./grids";
|
|
5
5
|
import { PluginSpaceType, PluginMassType, PluginDepartmentId } from "../../entity/space";
|
|
6
6
|
import { PluginBuildableEnvelopePolygonVertex, PluginBuildableEnvelopeSetbackTier, PluginBuildableEnvelopeVerticalCap, PluginBuildableEnvelopeCreateResult } from "../../entity/buildableEnvelope";
|
|
7
7
|
import type { PluginCreateDoorItem, PluginCreateFloorItem, PluginCreateFurnitureItem, PluginCreateWallRunItem, PluginCreateWindowItem } from "./bulk-items";
|
|
8
|
+
import { PluginWallTopProfile } from "./bulk-items";
|
|
9
|
+
import { PluginWallType } from "../types";
|
|
10
|
+
import { PluginFamilyPlacement, PluginFamilyFloorOptions, PluginFamilySlabOptions, PluginFamilyCeilingOptions, PluginFamilyValues } from "../catalog";
|
|
8
11
|
/**
|
|
9
12
|
* `design.create.*` — author new scene-committed BIM entities.
|
|
10
13
|
*
|
|
@@ -18,6 +21,12 @@ import type { PluginCreateDoorItem, PluginCreateFloorItem, PluginCreateFurniture
|
|
|
18
21
|
* Footprint objects take a {@linkcode ContourHandle} (outer profile + holes);
|
|
19
22
|
* build one with `snaptrude.core.geom.create.contourFromProfile(s)`.
|
|
20
23
|
*
|
|
24
|
+
* Family overloads take `{ type, values? }` from `design.catalog`. The family supplies
|
|
25
|
+
* construction; the contour or axis supplies instance geometry. Geometry uses SU,
|
|
26
|
+
* while family length overrides use mm and angles use degrees. Omitted parameters
|
|
27
|
+
* retain family defaults; shared/type, formula and geometry-bound overrides are refused.
|
|
28
|
+
* Placement never publishes a definition. Unsupported references or geometry fail before mutation.
|
|
29
|
+
*
|
|
21
30
|
* `door`/`window` place a catalog item into a host wall (the world point is
|
|
22
31
|
* projected onto the wall face to locate the opening; the wall is re-cut in one
|
|
23
32
|
* undo entry) and throw if the point projects outside the wall. `smartLayout` is
|
|
@@ -171,15 +180,25 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
171
180
|
* const slab = await snaptrude.design.create.slab(contour, 0.15, "down", "Plinth")
|
|
172
181
|
* ```
|
|
173
182
|
*/
|
|
174
|
-
abstract slab(
|
|
183
|
+
abstract slab(...args: [
|
|
184
|
+
contour: ContourHandle,
|
|
185
|
+
thickness: number,
|
|
186
|
+
direction?: "up" | "down",
|
|
187
|
+
slabType?: PluginSlabType
|
|
188
|
+
] | [contour: ContourHandle, options: PluginFamilySlabOptions]): PluginApiReturn<ComponentHandle>;
|
|
175
189
|
/**
|
|
176
190
|
* Create a **floor** by extruding a footprint contour by `thickness`
|
|
177
191
|
* (extruded upward).
|
|
178
192
|
*
|
|
193
|
+
* The native family overload takes `{ type, values?, position? }`. Contour
|
|
194
|
+
* geometry uses SU; family values use mm. The family supplies layer thickness.
|
|
195
|
+
* PG2 can split or merge the footprint, so both overloads return an array.
|
|
196
|
+
* A merge into an existing floor can return no newly created handles.
|
|
197
|
+
*
|
|
179
198
|
* @param contour - Footprint (outer + holes)
|
|
180
199
|
* @param thickness - Floor thickness (> 0)
|
|
181
200
|
* @param position - Offset from origin
|
|
182
|
-
* @returns
|
|
201
|
+
* @returns Newly created {@linkcode ComponentHandle}s; an empty array after a merge
|
|
183
202
|
* @throws if the contour is invalid or the thickness is not positive
|
|
184
203
|
*
|
|
185
204
|
* @examplePrompt Create a floor from this room outline
|
|
@@ -194,11 +213,11 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
194
213
|
* const floor = await snaptrude.design.create.floor(contour, 0.1)
|
|
195
214
|
* ```
|
|
196
215
|
*
|
|
197
|
-
* @performance For
|
|
198
|
-
* host round-trip and
|
|
199
|
-
*
|
|
216
|
+
* @performance For dimensional floors, `design.create.floors(items[])` uses one
|
|
217
|
+
* host round-trip and one undo entry. That bulk method does not accept native
|
|
218
|
+
* family options; use this method for a family-backed floor.
|
|
200
219
|
*/
|
|
201
|
-
abstract floor(contour: ContourHandle, thickness: number, position?: Vec3Handle): PluginApiReturn<ComponentHandle>;
|
|
220
|
+
abstract floor(...args: [contour: ContourHandle, thickness: number, position?: Vec3Handle] | [contour: ContourHandle, options: PluginFamilyFloorOptions]): PluginApiReturn<ComponentHandle[]>;
|
|
202
221
|
/**
|
|
203
222
|
* Create **many floors** in one undoable operation (bulk plural of
|
|
204
223
|
* {@linkcode floor}). Each item extrudes its own footprint contour (outer
|
|
@@ -257,7 +276,7 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
257
276
|
* const roof = await snaptrude.design.create.roof(contour, 0.2)
|
|
258
277
|
* ```
|
|
259
278
|
*/
|
|
260
|
-
abstract roof(contour: ContourHandle, thickness: number): PluginApiReturn<ComponentHandle>;
|
|
279
|
+
abstract roof(contour: ContourHandle, thickness: number | PluginFamilyPlacement): PluginApiReturn<ComponentHandle>;
|
|
261
280
|
/**
|
|
262
281
|
* Create a **ceiling** by extruding a footprint contour by `thickness`, lifted
|
|
263
282
|
* `heightFromFloor` above the floor.
|
|
@@ -280,7 +299,7 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
280
299
|
* const ceiling = await snaptrude.design.create.ceiling(contour, 0.05, 2.8)
|
|
281
300
|
* ```
|
|
282
301
|
*/
|
|
283
|
-
abstract ceiling(contour: ContourHandle, thickness: number, heightFromFloor?: number): PluginApiReturn<ComponentHandle>;
|
|
302
|
+
abstract ceiling(...args: [contour: ContourHandle, thickness: number, heightFromFloor?: number] | [contour: ContourHandle, options: PluginFamilyCeilingOptions]): PluginApiReturn<ComponentHandle>;
|
|
284
303
|
/**
|
|
285
304
|
* Create a **column** by extruding a cross-section contour upward by `height`
|
|
286
305
|
* from a base `position`. The column is built to EXACTLY `height` — unlike
|
|
@@ -308,7 +327,12 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
308
327
|
* const column = await snaptrude.design.create.column(base, crossSection, 3)
|
|
309
328
|
* ```
|
|
310
329
|
*/
|
|
311
|
-
abstract column(
|
|
330
|
+
abstract column(...args: [
|
|
331
|
+
position: Vec3Handle,
|
|
332
|
+
crossSection: ContourHandle,
|
|
333
|
+
height: number,
|
|
334
|
+
directionUp?: Vec3Handle
|
|
335
|
+
] | [axis: LineHandle, options: PluginFamilyPlacement]): PluginApiReturn<ComponentHandle>;
|
|
312
336
|
/**
|
|
313
337
|
* Create a **beam** by extruding a cross-section contour along `direction` by
|
|
314
338
|
* `length`. Matches the Snaptrude beam tool's semantics: the beam body hangs
|
|
@@ -349,7 +373,7 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
349
373
|
* const beam = await snaptrude.design.create.beam(section, 6, alongX)
|
|
350
374
|
* ```
|
|
351
375
|
*/
|
|
352
|
-
abstract beam(section: ContourHandle, length: number, direction?: Vec3Handle): PluginApiReturn<ComponentHandle>;
|
|
376
|
+
abstract beam(...args: [section: ContourHandle, length: number, direction?: Vec3Handle] | [axis: LineHandle, options: PluginFamilyPlacement]): PluginApiReturn<ComponentHandle>;
|
|
353
377
|
/**
|
|
354
378
|
* Create a connected run of **walls** from a profile — one wall per curve in
|
|
355
379
|
* the profile's chain, with mitred corners at shared endpoints.
|
|
@@ -358,21 +382,27 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
358
382
|
* @param height - Wall height (default engine default)
|
|
359
383
|
* @param thickness - Wall thickness (default: the `wallType`'s total layer
|
|
360
384
|
* thickness when `wallType` is given, else the engine default)
|
|
361
|
-
* @param wallType -
|
|
362
|
-
*
|
|
363
|
-
*
|
|
364
|
-
*
|
|
365
|
-
*
|
|
366
|
-
* generic wall.
|
|
385
|
+
* @param wallType - Legacy label/`wall:` id, or the exact `nativeFamily`
|
|
386
|
+
* `{ id, version }` pin from `design.types.list("wall")`. Native pins are
|
|
387
|
+
* authorized on every use; selecting a family in Draw is not registration.
|
|
388
|
+
* Native pins support straight horizontal centerlines and flat tops only.
|
|
389
|
+
* Omit thickness for native pins; a conflicting explicit thickness rejects.
|
|
390
|
+
* Default: the engine's generic wall.
|
|
367
391
|
* @param storey - Target storey (integer: `1` ground, `2` first floor, `-1`
|
|
368
392
|
* basement — same convention as `design.create.space`). The walls are
|
|
369
393
|
* assigned to it and lifted to its base elevation, all inside the same
|
|
370
394
|
* single undo entry. The storey must already exist
|
|
371
395
|
* (`core.storeys.create` first). Default: geometry-derived — a profile
|
|
372
396
|
* drawn at y = 0 lands on storey 1; the ACTIVE storey is NOT consulted.
|
|
397
|
+
* @param topProfiles - Optional top edge per curve of `profile` (same order):
|
|
398
|
+
* a {@linkcode PluginWallTopProfile} makes that wall raked / gabled; `null`
|
|
399
|
+
* or a missing entry keeps it flat at `height`. Straight curves only. Such
|
|
400
|
+
* walls are non-parametric (see {@linkcode PluginWallTopProfile}).
|
|
373
401
|
* @returns a {@linkcode ComponentHandle}`[]` (one per wall), in profile order
|
|
374
402
|
* @throws if the profile is empty, `wallType` names no wall type in the
|
|
375
|
-
* project, `storey` does not exist,
|
|
403
|
+
* project, `storey` does not exist, `topProfiles` has more entries than the
|
|
404
|
+
* profile has curves or names an arc curve, a top profile drops to the wall
|
|
405
|
+
* base at a mitred corner, or wall creation fails
|
|
376
406
|
*
|
|
377
407
|
* @examplePrompt Draw walls along this centerline
|
|
378
408
|
* @examplePrompt Create 3m high, 200mm thick walls from these points
|
|
@@ -381,6 +411,9 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
381
411
|
* @examplePrompt Add walls with mitred corners along the path
|
|
382
412
|
* @examplePrompt Draw brick walls with plaster along this outline
|
|
383
413
|
* @examplePrompt Build the perimeter in exposed concrete walls
|
|
414
|
+
* @examplePrompt Create a raked wall that slopes from 3m to 5m
|
|
415
|
+
* @examplePrompt Build a gable end wall with the ridge in the middle
|
|
416
|
+
* @examplePrompt Draw a wall with a sloped top edge
|
|
384
417
|
*
|
|
385
418
|
* # Example
|
|
386
419
|
* ```ts
|
|
@@ -396,20 +429,29 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
396
429
|
* const brickWalls = await snaptrude.design.create.walls(
|
|
397
430
|
* centerlines, 3, undefined, brick.label,
|
|
398
431
|
* )
|
|
432
|
+
* // …a raked wall (3m at the start, 5m at the end) on a single centerline:
|
|
433
|
+
* const run = await snaptrude.core.geom.create.profileFromCurves([
|
|
434
|
+
* await snaptrude.core.geom.create.line(await v.new(0, 0, 10), await v.new(8, 0, 10)),
|
|
435
|
+
* ])
|
|
436
|
+
* const [raked] = await snaptrude.design.create.walls(run, undefined, 0.2, undefined, undefined, [
|
|
437
|
+
* [{ along: 0, height: 3 }, { along: 1, height: 5 }],
|
|
438
|
+
* ])
|
|
399
439
|
* ```
|
|
400
440
|
*
|
|
401
441
|
* @performance For MORE THAN ONE run, call `design.create.wallRuns(items[])` — one
|
|
402
442
|
* host round-trip and ONE undo entry for every run in the batch. Looping this
|
|
403
443
|
* single-run creator is N round-trips and N undo entries.
|
|
404
444
|
*/
|
|
405
|
-
abstract walls(profile: ProfileHandle, height?: number, thickness?: number, wallType?:
|
|
445
|
+
abstract walls(profile: ProfileHandle, height?: number, thickness?: number, wallType?: PluginWallType, storey?: number, topProfiles?: (PluginWallTopProfile | null)[], values?: PluginFamilyValues): PluginApiReturn<ComponentHandle[]>;
|
|
406
446
|
/**
|
|
407
447
|
* Create **many wall runs** in one undoable operation (bulk plural of
|
|
408
448
|
* {@linkcode walls}). Each item is one full run — a wall per curve in that
|
|
409
449
|
* item's profile chain, mitred at shared endpoints. Junctions resolve within a
|
|
410
450
|
* run, not between runs. Each item carries its own
|
|
411
451
|
* dimensions, `wallType` and `storey`, so a single call can build a whole
|
|
412
|
-
* floor plate or several storeys at once.
|
|
452
|
+
* floor plate or several storeys at once. Per-curve `topProfiles` make raked
|
|
453
|
+
* or gabled walls (see {@linkcode PluginWallTopProfile}). Validate-all-or-throw;
|
|
454
|
+
* one command.
|
|
413
455
|
*
|
|
414
456
|
* @param items - One {@linkcode PluginCreateWallRunItem} per run to create
|
|
415
457
|
* (≥1, ≤1000)
|
|
@@ -429,6 +471,7 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
429
471
|
* @examplePrompt Bulk create wall runs from these centerlines
|
|
430
472
|
* @examplePrompt Create the walls for both storeys in a single undo step
|
|
431
473
|
* @examplePrompt Turn these polylines into 200mm brick walls together
|
|
474
|
+
* @examplePrompt Import these raked walls with their top profiles in one go
|
|
432
475
|
*
|
|
433
476
|
* @performance Bulk creator — the whole batch is ONE host round-trip and ONE undo
|
|
434
477
|
* entry. Always prefer this over calling `design.create.walls` in a loop: build the
|
|
@@ -449,6 +492,9 @@ export declare abstract class PluginDesignCreateApi {
|
|
|
449
492
|
* const [groundWalls, upperWalls] = await snaptrude.design.create.wallRuns([
|
|
450
493
|
* { profile: ground, height: 3, thickness: 0.2 },
|
|
451
494
|
* { profile: upper, height: 3, storey: 2 },
|
|
495
|
+
* // one gable wall: 3m at both ends, 5m ridge in the middle
|
|
496
|
+
* { profile: upper, thickness: 0.2, storey: 3,
|
|
497
|
+
* topProfiles: [[{ along: 0, height: 3 }, { along: 0.5, height: 5 }, { along: 1, height: 3 }]] },
|
|
452
498
|
* ])
|
|
453
499
|
* console.log(groundWalls.length, "walls on the ground floor")
|
|
454
500
|
* ```
|
|
@@ -1442,15 +1488,24 @@ export type PluginDesignCreateBeamArgs = z.infer<typeof PluginDesignCreateBeamAr
|
|
|
1442
1488
|
* | `profile` | {@linkcode ProfileHandle} | Ordered curve chain (wall centerlines) |
|
|
1443
1489
|
* | `height` | `number`? | Wall height (default engine default) |
|
|
1444
1490
|
* | `thickness` | `number`? | Wall thickness (default: `wallType`'s total layer thickness when given, else engine default) |
|
|
1445
|
-
* | `wallType` |
|
|
1491
|
+
* | `wallType` | {@linkcode PluginWallType}? | Legacy name/id or exact native `{ id, version }` pin from `design.types.list("wall")` (default generic) |
|
|
1446
1492
|
* | `storey` | `number`? | Target storey (integer, must exist) — walls assigned + lifted to its base in the same undo entry (default: geometry-derived) |
|
|
1493
|
+
* | `topProfiles` | ({@linkcode PluginWallTopProfile} \| `null`)[]? | Top edge per curve (same order); `null`/missing = flat at `height`. Straight curves only |
|
|
1447
1494
|
*/
|
|
1448
1495
|
export declare const PluginDesignCreateWallsArgs: z.ZodObject<{
|
|
1449
1496
|
profile: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"profile">, string>>;
|
|
1450
1497
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1451
1498
|
thickness: z.ZodOptional<z.ZodNumber>;
|
|
1452
|
-
wallType: z.ZodOptional<z.ZodString
|
|
1499
|
+
wallType: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1500
|
+
id: z.ZodString;
|
|
1501
|
+
version: z.ZodNumber;
|
|
1502
|
+
}, z.core.$strip>]>>;
|
|
1453
1503
|
storey: z.ZodOptional<z.ZodNumber>;
|
|
1504
|
+
topProfiles: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1505
|
+
along: z.ZodNumber;
|
|
1506
|
+
height: z.ZodNumber;
|
|
1507
|
+
}, z.core.$strip>>>>>;
|
|
1508
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>>>;
|
|
1454
1509
|
}, z.core.$strip>;
|
|
1455
1510
|
export type PluginDesignCreateWallsArgs = z.infer<typeof PluginDesignCreateWallsArgs>;
|
|
1456
1511
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/create/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EACL,UAAU,EACV,eAAe,EACf,aAAa,EACb,WAAW,EACX,aAAa,EACb,UAAU,EACX,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAChD,OAAO,EACL,eAAe,EACf,cAAc,EACd,kBAAkB,EACnB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,kCAAkC,EAClC,mCAAmC,EACpC,MAAM,gCAAgC,CAAA;AAEvC,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/design/create/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EACL,UAAU,EACV,eAAe,EACf,aAAa,EACb,UAAU,EACV,WAAW,EACX,aAAa,EACb,UAAU,EACX,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAChD,OAAO,EACL,eAAe,EACf,cAAc,EACd,kBAAkB,EACnB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,kCAAkC,EAClC,mCAAmC,EACpC,MAAM,gCAAgC,CAAA;AAEvC,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AACzC,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,0BAA0B,EAC1B,kBAAkB,EACnB,MAAM,YAAY,CAAA;AAEnB;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,8BAAsB,qBAAqB;;IAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkDG;aACa,KAAK,CACnB,OAAO,EAAE,aAAa,EACtB,MAAM,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,EACd,QAAQ,CAAC,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