@snaptrude/plugin-core 0.9.7 → 0.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +4 -0
- package/CHANGELOG.md +11 -0
- package/api-manifest.json +222 -4
- package/dist/api/core/tags.d.ts +81 -0
- package/dist/api/core/tags.d.ts.map +1 -1
- package/dist/api/design/create/bulk-items.d.ts +14 -6
- package/dist/api/design/create/bulk-items.d.ts.map +1 -1
- package/dist/api/design/create/index.d.ts +41 -18
- package/dist/api/design/create/index.d.ts.map +1 -1
- package/dist/api/design/create/opening-fields.d.ts +10 -2
- package/dist/api/design/create/opening-fields.d.ts.map +1 -1
- package/dist/api/design/doors/index.d.ts +20 -13
- package/dist/api/design/doors/index.d.ts.map +1 -1
- package/dist/api/program/departments.d.ts +58 -2
- package/dist/api/program/departments.d.ts.map +1 -1
- package/dist/api/program/index.d.ts +16 -6
- package/dist/api/program/index.d.ts.map +1 -1
- package/dist/api/program/labels.d.ts +355 -0
- package/dist/api/program/labels.d.ts.map +1 -0
- package/dist/api/program/metadata.d.ts +328 -0
- package/dist/api/program/metadata.d.ts.map +1 -0
- package/dist/api/program/spreadsheet.d.ts +263 -0
- package/dist/api/program/spreadsheet.d.ts.map +1 -1
- package/dist/index.cjs +1084 -833
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1039 -833
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
- package/src/api/core/tags.ts +76 -0
- package/src/api/design/create/bulk-items.ts +10 -6
- package/src/api/design/create/index.ts +43 -24
- package/src/api/design/create/opening-fields.ts +10 -2
- package/src/api/design/doors/index.ts +20 -13
- package/src/api/program/departments.ts +54 -2
- package/src/api/program/index.ts +16 -6
- package/src/api/program/labels.ts +332 -0
- package/src/api/program/metadata.ts +364 -0
- package/src/api/program/spreadsheet.ts +282 -0
- package/api-manifest.full.json +0 -8442
package/AGENTS.md
CHANGED
|
@@ -180,6 +180,10 @@ These are in-browser integration tests that exercise the plugin API end-to-end.
|
|
|
180
180
|
| `entity/referenceLine.ts` | `tests/referenceLines.ts` |
|
|
181
181
|
| `entity/department.ts` | `tests/departments.ts` |
|
|
182
182
|
| `entity/buildableEnvelope.ts` | `tests/buildableEnvelope.ts` |
|
|
183
|
+
| `program/metadata.ts` | `tests/programMetadata.ts` |
|
|
184
|
+
| `program/labels.ts` | `tests/programLabels.ts` |
|
|
185
|
+
| `program/spreadsheet.ts` (custom sheets) | `tests/spreadsheetCustomSheets.ts` |
|
|
186
|
+
| `core/tags.ts` (`listForComponents`) | `tests/tagsBulk.ts` |
|
|
183
187
|
| `tools/selection.ts` | `tests/selection.ts` |
|
|
184
188
|
| `tools/transform.ts` | `tests/transform.ts` |
|
|
185
189
|
| `tools/copy.ts` | `tests/copy.ts` |
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @snaptrude/plugin-core
|
|
2
2
|
|
|
3
|
+
## 0.9.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Program-mode additions requested by the healthcare programming pilot (all additive; no signature changes):
|
|
8
|
+
- `program.metadata` — the Program Data sheet's custom columns and per-space values: `listHeaders`, `createHeader` (reuse-by-name), `get`, `list`, `update`, `updateMany`. Writes are undoable and work with the Program tab closed.
|
|
9
|
+
- `program.labels` — the program rows (space types) with targets: `list`, `get`, `create` (optionally `createSpaces`), `setTargetArea`, `setTargetCount`. Covers "target area of non-departments": a space inherits its label's target; departments keep `program.departments.setTargetArea`.
|
|
10
|
+
- `program.spreadsheet` — custom program sheets with a group-by hierarchy: `createCustomSheet`, `updateCustomSheet`, `getCustomSheet`, `listCustomSheets`, `listCustomSheetProperties`.
|
|
11
|
+
- `core.tags.listForComponents(componentIds?)` — every space's tags + colors in one round-trip.
|
|
12
|
+
- `program.departments` — `targetCount` on the department record and `setTargetCount(departmentId, targetCount)`, the count twin of `setTargetArea` (the engine stores both on the department, like on labels).
|
|
13
|
+
|
|
3
14
|
## 0.9.7
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/api-manifest.json
CHANGED
|
@@ -4038,6 +4038,19 @@
|
|
|
4038
4038
|
"argsType": "ComponentHandle",
|
|
4039
4039
|
"resultType": "PluginCoreTagsGetTagsForComponentResult"
|
|
4040
4040
|
},
|
|
4041
|
+
{
|
|
4042
|
+
"path": "core.tags.listForComponents",
|
|
4043
|
+
"namespace": "core.tags",
|
|
4044
|
+
"summary": "List the tags carried by many components in one call.",
|
|
4045
|
+
"examplePrompts": [
|
|
4046
|
+
"Get the tags of every space with their colors",
|
|
4047
|
+
"List the tags on all rooms so I can color them by Occupancy",
|
|
4048
|
+
"Which tag does each selected space carry?\n\n# Example\n```ts\nconst { components } = await snaptrude.core.tags.listForComponents()\nfor (const c of components) {\nconst occupancy = c.tags.find((t) => t.categoryName === \"Occupancy\")\nif (occupancy) paint(c.componentId, occupancy.color)\n}\n```"
|
|
4049
|
+
],
|
|
4050
|
+
"argsType": "ComponentHandle[]",
|
|
4051
|
+
"resultType": "PluginCoreTagsListForComponentsResult",
|
|
4052
|
+
"performance": "One round-trip for any number of components — use this instead of a `listForComponent` loop."
|
|
4053
|
+
},
|
|
4041
4054
|
{
|
|
4042
4055
|
"path": "core.tags.unassign",
|
|
4043
4056
|
"namespace": "core.tags",
|
|
@@ -4299,7 +4312,8 @@
|
|
|
4299
4312
|
"Put a door from the catalog at this point on the wall",
|
|
4300
4313
|
"Insert the entrance door into this wall",
|
|
4301
4314
|
"Add a door to the wall and call it Entry-01",
|
|
4302
|
-
"Add a door that opens into the living room
|
|
4315
|
+
"Add a door that opens into the living room",
|
|
4316
|
+
"Put a door here hinged on the north jamb\n\n# Example\n```ts\nconst [wall] = await snaptrude.design.query.listWalls({ isSelected: true })\nconst [entry] = await snaptrude.design.doors.listCatalog()\nconst door = await snaptrude.design.create.door(\nentry.id,\nwall,\nawait snaptrude.core.math.vec3.new(3, 0, 5),\n{ label: \"Entry-01\" },\n)\n// …facing a specific side of the wall (pass a point inside that room):\nconst intoKitchen = await snaptrude.design.create.door(\nentry.id,\nwall,\nawait snaptrude.core.math.vec3.new(3, 0, 5),\nundefined,\nawait snaptrude.core.math.vec3.new(3, 0, 9),\n)\n// …and hinged on the jamb nearest a point (here the +x end of the opening):\nconst hingedRight = await snaptrude.design.create.door(\nentry.id,\nwall,\nawait snaptrude.core.math.vec3.new(3, 0, 5),\n{ hinge: await snaptrude.core.math.vec3.new(3.5, 0, 5) },\nawait snaptrude.core.math.vec3.new(3, 0, 9),\n)\n```"
|
|
4303
4317
|
],
|
|
4304
4318
|
"argsType": "string",
|
|
4305
4319
|
"resultType": "ComponentHandle",
|
|
@@ -4752,7 +4766,7 @@
|
|
|
4752
4766
|
{
|
|
4753
4767
|
"path": "design.doors.getSwingDirection",
|
|
4754
4768
|
"namespace": "design.doors",
|
|
4755
|
-
"summary": "Get a door's swing (hinge) handedness
|
|
4769
|
+
"summary": "Get a door's swing (hinge) handedness. Stand on the side the door swings open to, facing the door: `'left'` when the hinged jamb is on your left, `'right'` when it is on your right. Derived from the placed mesh's orientation (the same reflection `mirror` and the `hinge` placement option apply), not a persisted field.",
|
|
4756
4770
|
"examplePrompts": [
|
|
4757
4771
|
"Which way does this door swing?",
|
|
4758
4772
|
"Is the selected door left-handed or right-handed?",
|
|
@@ -4817,13 +4831,13 @@
|
|
|
4817
4831
|
{
|
|
4818
4832
|
"path": "design.doors.mirror",
|
|
4819
4833
|
"namespace": "design.doors",
|
|
4820
|
-
"summary": "Mirror a door
|
|
4834
|
+
"summary": "Mirror a door about its own axes. `'x'` (default) flips the swing side — the door opens to the other side of the wall; `'z'` swaps the hinged jamb (left-hand ↔ right-hand, same swing side); `'y'` turns it upside down. Undoable as a single command.",
|
|
4821
4835
|
"examplePrompts": [
|
|
4822
4836
|
"Flip this door's swing",
|
|
4823
4837
|
"Mirror the selected door",
|
|
4824
4838
|
"Make this door open the other way",
|
|
4825
4839
|
"Reverse the hinge side of the entrance door",
|
|
4826
|
-
"Change the door to swing from the other side\n\n# Example\n```ts\n// Flip the selected door's swing — axis defaults to \"x\"
|
|
4840
|
+
"Change the door to swing from the other side\n\n# Example\n```ts\n// Flip the selected door's swing side — axis defaults to \"x\"\nconst [door] = await snaptrude.design.query.listDoors({ isSelected: true })\nconst { affected } = await snaptrude.design.doors.mirror(door)\n// …or swap the hinged jamb instead (keeps the swing side)\nawait snaptrude.design.doors.mirror(door, \"z\")\n```"
|
|
4827
4841
|
],
|
|
4828
4842
|
"argsType": "ComponentHandle",
|
|
4829
4843
|
"resultType": "PluginDesignChangeResult"
|
|
@@ -7661,6 +7675,18 @@
|
|
|
7661
7675
|
"argsType": "string",
|
|
7662
7676
|
"resultType": "PluginProgramDepartmentsSetTargetAreaResult"
|
|
7663
7677
|
},
|
|
7678
|
+
{
|
|
7679
|
+
"path": "program.departments.setTargetCount",
|
|
7680
|
+
"namespace": "program.departments",
|
|
7681
|
+
"summary": "Set a department's target unit count.",
|
|
7682
|
+
"examplePrompts": [
|
|
7683
|
+
"Set the Bedrooms department unit count to 12",
|
|
7684
|
+
"The program needs 4 clinic blocks — update the department count",
|
|
7685
|
+
"Update the target count for department dep_123\n\n# Example\n```ts\nawait snaptrude.program.departments.setTargetCount(\"dep_123\", 12)\n```"
|
|
7686
|
+
],
|
|
7687
|
+
"argsType": "string",
|
|
7688
|
+
"resultType": "PluginProgramDepartmentsSetTargetCountResult"
|
|
7689
|
+
},
|
|
7664
7690
|
{
|
|
7665
7691
|
"path": "program.departments.unassign",
|
|
7666
7692
|
"namespace": "program.departments",
|
|
@@ -7687,6 +7713,65 @@
|
|
|
7687
7713
|
"argsType": "string",
|
|
7688
7714
|
"resultType": "PluginProgramDepartmentsUpdateResult"
|
|
7689
7715
|
},
|
|
7716
|
+
{
|
|
7717
|
+
"path": "program.labels.create",
|
|
7718
|
+
"namespace": "program.labels",
|
|
7719
|
+
"summary": "Create labels (program rows), optionally creating their spaces too.",
|
|
7720
|
+
"examplePrompts": [
|
|
7721
|
+
"Add program rows for 4 exam rooms of 120 sqft each",
|
|
7722
|
+
"Create the labels from this interpreted program",
|
|
7723
|
+
"Add an Office label with a 2000 sqft target to the Admin department",
|
|
7724
|
+
"Create program rows and their spaces on the canvas\n\n# Example\n```ts\nconst { labelIds } = await snaptrude.program.labels.create(\n[{ name: \"Exam Room\", targetArea: 480, targetCount: 4, departmentName: \"Clinic\" }],\n{ units: \"ft2\" },\n)\n```"
|
|
7725
|
+
],
|
|
7726
|
+
"argsType": "PluginProgramLabelCreateItem[]",
|
|
7727
|
+
"resultType": "PluginProgramLabelsCreateResult"
|
|
7728
|
+
},
|
|
7729
|
+
{
|
|
7730
|
+
"path": "program.labels.get",
|
|
7731
|
+
"namespace": "program.labels",
|
|
7732
|
+
"summary": "Get a single label by id.",
|
|
7733
|
+
"examplePrompts": [
|
|
7734
|
+
"Get the label with id lbl_12",
|
|
7735
|
+
"What is the target area of this program row?\n\n# Example\n```ts\nconst label = await snaptrude.program.labels.get(\"lbl_12\")\nif (label) console.log(label.name, label.targetArea, label.units)\n```"
|
|
7736
|
+
],
|
|
7737
|
+
"argsType": "string",
|
|
7738
|
+
"resultType": "PluginProgramLabelsGetResult"
|
|
7739
|
+
},
|
|
7740
|
+
{
|
|
7741
|
+
"path": "program.labels.list",
|
|
7742
|
+
"namespace": "program.labels",
|
|
7743
|
+
"summary": "List the labels (program rows) of the active program.",
|
|
7744
|
+
"examplePrompts": [
|
|
7745
|
+
"List all the program rows with their target areas",
|
|
7746
|
+
"What space labels are in the program and how many of each?",
|
|
7747
|
+
"Show every label with its department and target\n\n# Example\n```ts\nconst { units, labels } = await snaptrude.program.labels.list()\nfor (const l of labels) console.log(l.name, l.targetArea, units, l.targetCount)\n```"
|
|
7748
|
+
],
|
|
7749
|
+
"argsType": null,
|
|
7750
|
+
"resultType": "PluginProgramLabelsListResult"
|
|
7751
|
+
},
|
|
7752
|
+
{
|
|
7753
|
+
"path": "program.labels.setTargetArea",
|
|
7754
|
+
"namespace": "program.labels",
|
|
7755
|
+
"summary": "Set a label's total target area.",
|
|
7756
|
+
"examplePrompts": [
|
|
7757
|
+
"Set the Exam Room target area to 480 sqft",
|
|
7758
|
+
"Give the Corridor program row a 150 sqm target",
|
|
7759
|
+
"Update the area target for label lbl_12\n\n# Example\n```ts\nawait snaptrude.program.labels.setTargetArea(\"lbl_12\", 480, \"ft2\")\n```"
|
|
7760
|
+
],
|
|
7761
|
+
"argsType": "string",
|
|
7762
|
+
"resultType": "PluginProgramLabelsSetTargetAreaResult"
|
|
7763
|
+
},
|
|
7764
|
+
{
|
|
7765
|
+
"path": "program.labels.setTargetCount",
|
|
7766
|
+
"namespace": "program.labels",
|
|
7767
|
+
"summary": "Set a label's target unit count (how many of this space the program calls for).",
|
|
7768
|
+
"examplePrompts": [
|
|
7769
|
+
"Set the Exam Room count to 6",
|
|
7770
|
+
"The program needs 12 patient rooms — update the count\n\n# Example\n```ts\nawait snaptrude.program.labels.setTargetCount(\"lbl_12\", 6)\n```"
|
|
7771
|
+
],
|
|
7772
|
+
"argsType": "string",
|
|
7773
|
+
"resultType": "PluginProgramLabelsSetTargetCountResult"
|
|
7774
|
+
},
|
|
7690
7775
|
{
|
|
7691
7776
|
"path": "program.layout.applySolution",
|
|
7692
7777
|
"namespace": "program.layout",
|
|
@@ -7760,6 +7845,81 @@
|
|
|
7760
7845
|
"argsType": null,
|
|
7761
7846
|
"resultType": "PluginProgramLayoutStackResult"
|
|
7762
7847
|
},
|
|
7848
|
+
{
|
|
7849
|
+
"path": "program.metadata.createHeader",
|
|
7850
|
+
"namespace": "program.metadata",
|
|
7851
|
+
"summary": "Create a metadata header (a custom column on the Program Data sheet).",
|
|
7852
|
+
"examplePrompts": [
|
|
7853
|
+
"Add a custom column called Occupancy to the program sheet",
|
|
7854
|
+
"Create a metadata header named Department Code",
|
|
7855
|
+
"Make a new program-mode column for Finish Level\n\n# Example\n```ts\nconst header = await snaptrude.program.metadata.createHeader(\"Occupancy\", {\ndescription: \"People per room\",\n})\n```"
|
|
7856
|
+
],
|
|
7857
|
+
"argsType": "string",
|
|
7858
|
+
"resultType": "PluginProgramMetadataCreateHeaderResult"
|
|
7859
|
+
},
|
|
7860
|
+
{
|
|
7861
|
+
"path": "program.metadata.get",
|
|
7862
|
+
"namespace": "program.metadata",
|
|
7863
|
+
"summary": "Get one space's metadata values, keyed by header id.",
|
|
7864
|
+
"examplePrompts": [
|
|
7865
|
+
"Get the metadata on this space",
|
|
7866
|
+
"Read the custom column values for space sp_12",
|
|
7867
|
+
"What is this room's Occupancy metadata?\n\n# Example\n```ts\nconst record = await snaptrude.program.metadata.get(\"sp_12\")\nif (record) console.log(record.values)\n```"
|
|
7868
|
+
],
|
|
7869
|
+
"argsType": "ComponentHandle",
|
|
7870
|
+
"resultType": "PluginProgramMetadataGetResult"
|
|
7871
|
+
},
|
|
7872
|
+
{
|
|
7873
|
+
"path": "program.metadata.list",
|
|
7874
|
+
"namespace": "program.metadata",
|
|
7875
|
+
"summary": "List metadata values for many spaces at once.",
|
|
7876
|
+
"examplePrompts": [
|
|
7877
|
+
"List the metadata of every space",
|
|
7878
|
+
"Read the custom column values for all rooms",
|
|
7879
|
+
"Get the metadata for these three spaces in one call\n\n# Example\n```ts\nconst { records } = await snaptrude.program.metadata.list()\nconst byId = Object.fromEntries(records.map((r) => [r.spaceId, r.values]))\n```"
|
|
7880
|
+
],
|
|
7881
|
+
"argsType": "ComponentHandle[]",
|
|
7882
|
+
"resultType": "PluginProgramMetadataListResult",
|
|
7883
|
+
"performance": "One round-trip for any number of spaces — use this instead of a `get` loop."
|
|
7884
|
+
},
|
|
7885
|
+
{
|
|
7886
|
+
"path": "program.metadata.listHeaders",
|
|
7887
|
+
"namespace": "program.metadata",
|
|
7888
|
+
"summary": "List the metadata headers (custom columns) of the Program Data sheet.",
|
|
7889
|
+
"examplePrompts": [
|
|
7890
|
+
"List the custom metadata columns in program mode",
|
|
7891
|
+
"What metadata headers does the program sheet have?",
|
|
7892
|
+
"Show every custom column with its id\n\n# Example\n```ts\nconst { headers } = await snaptrude.program.metadata.listHeaders()\nfor (const h of headers) console.log(h.headerId, h.name)\n```"
|
|
7893
|
+
],
|
|
7894
|
+
"argsType": null,
|
|
7895
|
+
"resultType": "PluginProgramMetadataListHeadersResult"
|
|
7896
|
+
},
|
|
7897
|
+
{
|
|
7898
|
+
"path": "program.metadata.update",
|
|
7899
|
+
"namespace": "program.metadata",
|
|
7900
|
+
"summary": "Update a space's metadata values (sparse).",
|
|
7901
|
+
"examplePrompts": [
|
|
7902
|
+
"Set the Occupancy metadata of this space to 4",
|
|
7903
|
+
"Store a department code on the selected rooms",
|
|
7904
|
+
"Write custom column values onto space sp_12",
|
|
7905
|
+
"Clear the Finish Level metadata on this space\n\n# Example\n```ts\nconst header = await snaptrude.program.metadata.createHeader(\"Occupancy\")\nawait snaptrude.program.metadata.update(\"sp_12\", { [header.headerId]: 4 })\n```"
|
|
7906
|
+
],
|
|
7907
|
+
"argsType": "ComponentHandle",
|
|
7908
|
+
"resultType": "PluginProgramMetadataUpdateResult"
|
|
7909
|
+
},
|
|
7910
|
+
{
|
|
7911
|
+
"path": "program.metadata.updateMany",
|
|
7912
|
+
"namespace": "program.metadata",
|
|
7913
|
+
"summary": "Update metadata values on many spaces in one undoable step.",
|
|
7914
|
+
"examplePrompts": [
|
|
7915
|
+
"Fill the Occupancy column for all bedrooms",
|
|
7916
|
+
"Write metadata onto every selected space at once",
|
|
7917
|
+
"Bulk-update custom column values\n\n# Example\n```ts\nawait snaptrude.program.metadata.updateMany([\n{ spaceId: \"sp_12\", values: { [headerId]: 4 } },\n{ spaceId: \"sp_13\", values: { [headerId]: 2 } },\n])\n```"
|
|
7918
|
+
],
|
|
7919
|
+
"argsType": "PluginProgramMetadataUpdateItem[]",
|
|
7920
|
+
"resultType": "PluginProgramMetadataUpdateManyResult",
|
|
7921
|
+
"performance": "One round-trip and one undo step for up to 1000 spaces — use this instead of an `update` loop."
|
|
7922
|
+
},
|
|
7763
7923
|
{
|
|
7764
7924
|
"path": "program.metrics.get",
|
|
7765
7925
|
"namespace": "program.metrics",
|
|
@@ -7998,6 +8158,19 @@
|
|
|
7998
8158
|
"argsType": "{\n name?: string\n }",
|
|
7999
8159
|
"resultType": "PluginProgramSpreadsheetBindingsRefreshResult"
|
|
8000
8160
|
},
|
|
8161
|
+
{
|
|
8162
|
+
"path": "program.spreadsheet.createCustomSheet",
|
|
8163
|
+
"namespace": "program.spreadsheet",
|
|
8164
|
+
"summary": "Create a **custom program sheet** — a live view of the program grouped by a configurable hierarchy (the Program tab's \"Custom\" sheet with *Organize → Group by*).",
|
|
8165
|
+
"examplePrompts": [
|
|
8166
|
+
"Create a custom sheet grouped by department then sub-department",
|
|
8167
|
+
"Make a program view grouped by storey and label",
|
|
8168
|
+
"Build a grouped program sheet for the healthcare hierarchy",
|
|
8169
|
+
"Add a custom sheet with a department → room type group-by\n\n# Example\n```ts\nconst { headers } = await snaptrude.program.metadata.listHeaders()\nconst subDept = headers.find((h) => h.name === \"Sub-department\")\nawait snaptrude.program.spreadsheet.createCustomSheet(\"Clinical Program\", {\ngroupBy: [\"departmentName\", subDept.headerId, \"label\"],\nproperties: [\"label\", \"count\", \"areas\", \"netAreaAchieved\"],\n})\n```"
|
|
8170
|
+
],
|
|
8171
|
+
"argsType": "string",
|
|
8172
|
+
"resultType": "PluginProgramSpreadsheetCustomSheetResult"
|
|
8173
|
+
},
|
|
8001
8174
|
{
|
|
8002
8175
|
"path": "program.spreadsheet.createSheet",
|
|
8003
8176
|
"namespace": "program.spreadsheet",
|
|
@@ -8063,6 +8236,17 @@
|
|
|
8063
8236
|
"argsType": "{\n limit?: number\n }",
|
|
8064
8237
|
"resultType": "PluginProgramSpreadsheetGetAuditLogResult"
|
|
8065
8238
|
},
|
|
8239
|
+
{
|
|
8240
|
+
"path": "program.spreadsheet.getCustomSheet",
|
|
8241
|
+
"namespace": "program.spreadsheet",
|
|
8242
|
+
"summary": "Get a custom program sheet's configuration.",
|
|
8243
|
+
"examplePrompts": [
|
|
8244
|
+
"How is the Clinical Program sheet grouped?",
|
|
8245
|
+
"Get the group-by configuration of this custom sheet\n\n# Example\n```ts\nconst cfg = await snaptrude.program.spreadsheet.getCustomSheet(\"Clinical Program\")\nif (cfg) console.log(cfg.groupBy, cfg.properties)\n```"
|
|
8246
|
+
],
|
|
8247
|
+
"argsType": "string",
|
|
8248
|
+
"resultType": "PluginProgramSpreadsheetGetCustomSheetResult"
|
|
8249
|
+
},
|
|
8066
8250
|
{
|
|
8067
8251
|
"path": "program.spreadsheet.getMaterialTakeoff",
|
|
8068
8252
|
"namespace": "program.spreadsheet",
|
|
@@ -8129,6 +8313,28 @@
|
|
|
8129
8313
|
"argsType": "string",
|
|
8130
8314
|
"resultType": "PluginProgramSpreadsheetHighlightCellsResult"
|
|
8131
8315
|
},
|
|
8316
|
+
{
|
|
8317
|
+
"path": "program.spreadsheet.listCustomSheetProperties",
|
|
8318
|
+
"namespace": "program.spreadsheet",
|
|
8319
|
+
"summary": "List the property ids a custom program sheet can show as columns or group by.",
|
|
8320
|
+
"examplePrompts": [
|
|
8321
|
+
"What can I group a custom program sheet by?",
|
|
8322
|
+
"List the columns available for a custom sheet\n\n# Example\n```ts\nconst { properties } = await snaptrude.program.spreadsheet.listCustomSheetProperties()\nconst groupable = properties.filter((p) => p.groupable).map((p) => p.id)\n```"
|
|
8323
|
+
],
|
|
8324
|
+
"argsType": null,
|
|
8325
|
+
"resultType": "PluginProgramSpreadsheetListCustomSheetPropertiesResult"
|
|
8326
|
+
},
|
|
8327
|
+
{
|
|
8328
|
+
"path": "program.spreadsheet.listCustomSheets",
|
|
8329
|
+
"namespace": "program.spreadsheet",
|
|
8330
|
+
"summary": "List the custom program sheets in the workbook with their configurations.",
|
|
8331
|
+
"examplePrompts": [
|
|
8332
|
+
"List the custom program sheets",
|
|
8333
|
+
"Which sheets are grouped program views?\n\n# Example\n```ts\nconst { sheets } = await snaptrude.program.spreadsheet.listCustomSheets()\n```"
|
|
8334
|
+
],
|
|
8335
|
+
"argsType": null,
|
|
8336
|
+
"resultType": "PluginProgramSpreadsheetListCustomSheetsResult"
|
|
8337
|
+
},
|
|
8132
8338
|
{
|
|
8133
8339
|
"path": "program.spreadsheet.listSheets",
|
|
8134
8340
|
"namespace": "program.spreadsheet",
|
|
@@ -8305,6 +8511,18 @@
|
|
|
8305
8511
|
"argsType": "PluginSpreadsheetTransactionOp[]",
|
|
8306
8512
|
"resultType": "PluginProgramSpreadsheetTransactionResult"
|
|
8307
8513
|
},
|
|
8514
|
+
{
|
|
8515
|
+
"path": "program.spreadsheet.updateCustomSheet",
|
|
8516
|
+
"namespace": "program.spreadsheet",
|
|
8517
|
+
"summary": "Update a custom program sheet's group-by hierarchy, columns, or group colors.",
|
|
8518
|
+
"examplePrompts": [
|
|
8519
|
+
"Change the custom sheet to group by storey first",
|
|
8520
|
+
"Add the Occupancy column to my grouped program sheet",
|
|
8521
|
+
"Regroup the Clinical Program sheet by department only\n\n# Example\n```ts\nawait snaptrude.program.spreadsheet.updateCustomSheet(\"Clinical Program\", {\ngroupBy: [\"storey\", \"departmentName\"],\n})\n```"
|
|
8522
|
+
],
|
|
8523
|
+
"argsType": "string",
|
|
8524
|
+
"resultType": "PluginProgramSpreadsheetCustomSheetResult"
|
|
8525
|
+
},
|
|
8308
8526
|
{
|
|
8309
8527
|
"path": "workspace.closePresentMode",
|
|
8310
8528
|
"namespace": "workspace",
|
package/dist/api/core/tags.d.ts
CHANGED
|
@@ -145,6 +145,37 @@ export declare abstract class PluginCoreTagsApi {
|
|
|
145
145
|
* ```
|
|
146
146
|
*/
|
|
147
147
|
abstract listForComponent(componentId: ComponentHandle): PluginApiReturn<PluginCoreTagsGetTagsForComponentResult>;
|
|
148
|
+
/**
|
|
149
|
+
* List the tags carried by many components in one call.
|
|
150
|
+
*
|
|
151
|
+
* The plural of {@linkcode PluginCoreTagsApi.listForComponent}: pass
|
|
152
|
+
* `componentIds` to read specific components (unknown ids are skipped), or
|
|
153
|
+
* omit it to read **every** taggable component (Mass/Floor space) in the
|
|
154
|
+
* project. Each entry carries the component id and its tags — one per tagged
|
|
155
|
+
* category, with the tag's `color` — so a plugin can color every space by a
|
|
156
|
+
* chosen category's tag in a single round-trip.
|
|
157
|
+
*
|
|
158
|
+
* @param componentIds - Optional `Component.id`s to read; omit for all spaces.
|
|
159
|
+
* @returns A {@linkcode PluginCoreTagsListForComponentsResult} with a
|
|
160
|
+
* `components` array, one entry per component (in input order when
|
|
161
|
+
* `componentIds` is given).
|
|
162
|
+
*
|
|
163
|
+
* @performance One round-trip for any number of components — use this instead of a `listForComponent` loop.
|
|
164
|
+
*
|
|
165
|
+
* @examplePrompt Get the tags of every space with their colors
|
|
166
|
+
* @examplePrompt List the tags on all rooms so I can color them by Occupancy
|
|
167
|
+
* @examplePrompt Which tag does each selected space carry?
|
|
168
|
+
*
|
|
169
|
+
* # Example
|
|
170
|
+
* ```ts
|
|
171
|
+
* const { components } = await snaptrude.core.tags.listForComponents()
|
|
172
|
+
* for (const c of components) {
|
|
173
|
+
* const occupancy = c.tags.find((t) => t.categoryName === "Occupancy")
|
|
174
|
+
* if (occupancy) paint(c.componentId, occupancy.color)
|
|
175
|
+
* }
|
|
176
|
+
* ```
|
|
177
|
+
*/
|
|
178
|
+
abstract listForComponents(componentIds?: ComponentHandle[]): PluginApiReturn<PluginCoreTagsListForComponentsResult>;
|
|
148
179
|
/**
|
|
149
180
|
* List the components carrying a given tag or category.
|
|
150
181
|
*
|
|
@@ -546,6 +577,56 @@ export declare const PluginCoreTagsGetTagsForComponentResult: z.ZodObject<{
|
|
|
546
577
|
}, z.core.$strip>>;
|
|
547
578
|
}, z.core.$strip>;
|
|
548
579
|
export type PluginCoreTagsGetTagsForComponentResult = z.infer<typeof PluginCoreTagsGetTagsForComponentResult>;
|
|
580
|
+
/**
|
|
581
|
+
* Arguments for {@linkcode PluginCoreTagsApi.listForComponents}.
|
|
582
|
+
*
|
|
583
|
+
* | Property | Type | Description |
|
|
584
|
+
* |---|---|---|
|
|
585
|
+
* | `componentIds` | `ComponentHandle[]?` | Components to read; omit for every taggable component |
|
|
586
|
+
*/
|
|
587
|
+
export declare const PluginCoreTagsListForComponentsArgs: z.ZodObject<{
|
|
588
|
+
componentIds: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>>;
|
|
589
|
+
}, z.core.$strip>;
|
|
590
|
+
export type PluginCoreTagsListForComponentsArgs = z.infer<typeof PluginCoreTagsListForComponentsArgs>;
|
|
591
|
+
/**
|
|
592
|
+
* One component's tags, for {@linkcode PluginCoreTagsApi.listForComponents}.
|
|
593
|
+
*
|
|
594
|
+
* | Property | Type | Description |
|
|
595
|
+
* |---|---|---|
|
|
596
|
+
* | `componentId` | `ComponentHandle` | The component's id |
|
|
597
|
+
* | `tags` | {@linkcode PluginCoreComponentTag}`[]` | Its tags, one per tagged category (empty when none) |
|
|
598
|
+
*/
|
|
599
|
+
export declare const PluginCoreComponentTags: z.ZodObject<{
|
|
600
|
+
componentId: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
|
|
601
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
602
|
+
categoryId: z.ZodString;
|
|
603
|
+
categoryName: z.ZodString;
|
|
604
|
+
tagId: z.ZodString;
|
|
605
|
+
tagName: z.ZodString;
|
|
606
|
+
color: z.ZodString;
|
|
607
|
+
}, z.core.$strip>>;
|
|
608
|
+
}, z.core.$strip>;
|
|
609
|
+
export type PluginCoreComponentTags = z.infer<typeof PluginCoreComponentTags>;
|
|
610
|
+
/**
|
|
611
|
+
* Result of {@linkcode PluginCoreTagsApi.listForComponents}.
|
|
612
|
+
*
|
|
613
|
+
* | Property | Type | Description |
|
|
614
|
+
* |---|---|---|
|
|
615
|
+
* | `components` | {@linkcode PluginCoreComponentTags}`[]` | One entry per component |
|
|
616
|
+
*/
|
|
617
|
+
export declare const PluginCoreTagsListForComponentsResult: z.ZodObject<{
|
|
618
|
+
components: z.ZodArray<z.ZodObject<{
|
|
619
|
+
componentId: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
|
|
620
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
621
|
+
categoryId: z.ZodString;
|
|
622
|
+
categoryName: z.ZodString;
|
|
623
|
+
tagId: z.ZodString;
|
|
624
|
+
tagName: z.ZodString;
|
|
625
|
+
color: z.ZodString;
|
|
626
|
+
}, z.core.$strip>>;
|
|
627
|
+
}, z.core.$strip>>;
|
|
628
|
+
}, z.core.$strip>;
|
|
629
|
+
export type PluginCoreTagsListForComponentsResult = z.infer<typeof PluginCoreTagsListForComponentsResult>;
|
|
549
630
|
/**
|
|
550
631
|
* Arguments for {@linkcode PluginCoreTagsApi.listComponents}. Provide exactly one
|
|
551
632
|
* of `tagId`, `categoryId`. `untagged` is valid only with `categoryId`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../../src/api/core/tags.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,8BAAsB,iBAAiB;;IAGrC;;;;;;;;;;;;;;;;OAgBG;aACa,cAAc,IAAI,eAAe,CAAC,kCAAkC,CAAC;IAErF;;;;;;;;;;;;;;;;OAgBG;aACa,WAAW,CACzB,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,CAAC;IAEnD;;;;;;;;;;;;;;;;OAgBG;aACa,IAAI,CAClB,UAAU,CAAC,EAAE,MAAM,GAClB,eAAe,CAAC,wBAAwB,CAAC;IAE5C;;;;;;;;;;;;;;;;OAgBG;aACa,GAAG,CACjB,KAAK,EAAE,MAAM,GACZ,eAAe,CAAC,uBAAuB,CAAC;IAE3C;;;;;;;;;;;;;;;;;;;;;OA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D,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB;;iBAEnC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE/E;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B;;iBAErC,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB;;;;iBAInC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE/E;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;iBAKrC,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B;;;iBAGrC,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AAED,+EAA+E;AAC/E,eAAO,MAAM,4BAA4B;;;;;;;;;;iBAA0B,CAAA;AACnE,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,4BAA4B,CACpC,CAAA"}
|
|
@@ -61,15 +61,17 @@ export type PluginCreateFloorItems = z.infer<typeof PluginCreateFloorItems>;
|
|
|
61
61
|
* One door to place via {@linkcode PluginDesignCreateApi.doors} — the same
|
|
62
62
|
* fields as a `"door"` {@linkcode PluginDesignCreateOpeningOptions}, so the
|
|
63
63
|
* size overrides singular {@linkcode PluginDesignCreateApi.door} lacks are
|
|
64
|
-
* available per item. `facing`
|
|
65
|
-
*
|
|
64
|
+
* available per item. `facing` and `hinge` are WORLD POINTS, not directions:
|
|
65
|
+
* `facing` on the side of the wall the door swings open to, `hinge` near the
|
|
66
|
+
* jamb it is hinged on. Rejects unknown fields.
|
|
66
67
|
*
|
|
67
68
|
* | Property | Type | Description |
|
|
68
69
|
* |---|---|---|
|
|
69
70
|
* | `catalogId` | `string` | Library id: team `_id` or general `fullName` |
|
|
70
71
|
* | `hostWall` | {@linkcode ComponentHandle} | The wall to host the door |
|
|
71
72
|
* | `position` | {@linkcode Vec3Handle} | World point projected onto the wall |
|
|
72
|
-
* | `facing` | {@linkcode Vec3Handle}? | World point on the side the door
|
|
73
|
+
* | `facing` | {@linkcode Vec3Handle}? | World point on the side the door swings open to (default engine-chosen) |
|
|
74
|
+
* | `hinge` | {@linkcode Vec3Handle}? | World point near the jamb the door is hinged on (default the catalog item's authored side) |
|
|
73
75
|
* | `label` | `string`? | Instance name (optional) |
|
|
74
76
|
* | `width` | `number`? | Width override (Snaptrude units, > 0; default the catalog item's) |
|
|
75
77
|
* | `height` | `number`? | Height override (Snaptrude units, > 0; default the catalog item's) |
|
|
@@ -79,6 +81,7 @@ export declare const PluginCreateDoorItem: z.ZodObject<{
|
|
|
79
81
|
hostWall: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../..").ComponentHandle, string>>;
|
|
80
82
|
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
|
|
81
83
|
facing: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
84
|
+
hinge: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
82
85
|
label: z.ZodOptional<z.ZodString>;
|
|
83
86
|
width: z.ZodOptional<z.ZodNumber>;
|
|
84
87
|
height: z.ZodOptional<z.ZodNumber>;
|
|
@@ -90,6 +93,7 @@ export declare const PluginCreateDoorItems: z.ZodArray<z.ZodObject<{
|
|
|
90
93
|
hostWall: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../..").ComponentHandle, string>>;
|
|
91
94
|
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
|
|
92
95
|
facing: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
96
|
+
hinge: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
93
97
|
label: z.ZodOptional<z.ZodString>;
|
|
94
98
|
width: z.ZodOptional<z.ZodNumber>;
|
|
95
99
|
height: z.ZodOptional<z.ZodNumber>;
|
|
@@ -99,8 +103,9 @@ export type PluginCreateDoorItems = z.infer<typeof PluginCreateDoorItems>;
|
|
|
99
103
|
* One window to place via {@linkcode PluginDesignCreateApi.windows} — the same
|
|
100
104
|
* fields as a `"window"` {@linkcode PluginDesignCreateOpeningOptions}.
|
|
101
105
|
* `sillHeight` is a nonnegative Snaptrude-unit distance from the host wall's
|
|
102
|
-
* base to the BOTTOM of the window, not to its center. `facing`
|
|
103
|
-
*
|
|
106
|
+
* base to the BOTTOM of the window, not to its center. `facing` and `hinge`
|
|
107
|
+
* are WORLD POINTS, not directions: `facing` on the side of the wall the
|
|
108
|
+
* window opens to, `hinge` near the jamb it is hinged on. Rejects unknown
|
|
104
109
|
* fields.
|
|
105
110
|
*
|
|
106
111
|
* | Property | Type | Description |
|
|
@@ -108,7 +113,8 @@ export type PluginCreateDoorItems = z.infer<typeof PluginCreateDoorItems>;
|
|
|
108
113
|
* | `catalogId` | `string` | Library id: team `_id` or general `fullName` |
|
|
109
114
|
* | `hostWall` | {@linkcode ComponentHandle} | The wall to host the window |
|
|
110
115
|
* | `position` | {@linkcode Vec3Handle} | World point projected onto the wall |
|
|
111
|
-
* | `facing` | {@linkcode Vec3Handle}? | World point on the side the window
|
|
116
|
+
* | `facing` | {@linkcode Vec3Handle}? | World point on the side the window opens to (default engine-chosen) |
|
|
117
|
+
* | `hinge` | {@linkcode Vec3Handle}? | World point near the jamb the window is hinged on (default the catalog item's authored side) |
|
|
112
118
|
* | `label` | `string`? | Instance name (optional) |
|
|
113
119
|
* | `width` | `number`? | Width override (Snaptrude units, > 0; default the catalog item's) |
|
|
114
120
|
* | `height` | `number`? | Height override (Snaptrude units, > 0; default the catalog item's) |
|
|
@@ -120,6 +126,7 @@ export declare const PluginCreateWindowItem: z.ZodObject<{
|
|
|
120
126
|
hostWall: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../..").ComponentHandle, string>>;
|
|
121
127
|
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
|
|
122
128
|
facing: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
129
|
+
hinge: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
123
130
|
label: z.ZodOptional<z.ZodString>;
|
|
124
131
|
width: z.ZodOptional<z.ZodNumber>;
|
|
125
132
|
height: z.ZodOptional<z.ZodNumber>;
|
|
@@ -132,6 +139,7 @@ export declare const PluginCreateWindowItems: z.ZodArray<z.ZodObject<{
|
|
|
132
139
|
hostWall: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../..").ComponentHandle, string>>;
|
|
133
140
|
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>;
|
|
134
141
|
facing: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
142
|
+
hinge: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../../..").Handle<"vec3">, string>>>;
|
|
135
143
|
label: z.ZodOptional<z.ZodString>;
|
|
136
144
|
width: z.ZodOptional<z.ZodNumber>;
|
|
137
145
|
height: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-items.d.ts","sourceRoot":"","sources":["../../../../src/api/design/create/bulk-items.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAIxB;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,OAAO,CAAA;AAM7C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB;;;;;;iBAMlC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,gFAAgF;AAChF,eAAO,MAAM,wBAAwB;;;;;;kBAGJ,CAAA;AACjC,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAM/E;;;;;;;;;GASG;AACH,eAAO,MAAM,qBAAqB;;;;iBAIhC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE,8EAA8E;AAC9E,eAAO,MAAM,sBAAsB;;;;kBAGF,CAAA;AACjC,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAM3E
|
|
1
|
+
{"version":3,"file":"bulk-items.d.ts","sourceRoot":"","sources":["../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