@snaptrude/plugin-core 0.0.0-dev-20260827135706 → 0.0.0-dev-20260827194031
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/api-manifest.json +26 -3
- package/dist/api/design/family.d.ts +152 -8
- package/dist/api/design/family.d.ts.map +1 -1
- package/dist/api/design/query/index.d.ts +7 -0
- package/dist/api/design/query/index.d.ts.map +1 -1
- package/dist/index.cjs +23 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +20 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api/design/family.ts +164 -8
- package/src/api/design/query/index.ts +2 -0
package/dist/index.js
CHANGED
|
@@ -2282,7 +2282,8 @@ var PluginEntityType = z42.enum([
|
|
|
2282
2282
|
"referenceLine",
|
|
2283
2283
|
"curtainWall",
|
|
2284
2284
|
"mullion",
|
|
2285
|
-
"panel"
|
|
2285
|
+
"panel",
|
|
2286
|
+
"parametricComponent"
|
|
2286
2287
|
]);
|
|
2287
2288
|
var PluginEntityFilter = z42.object({
|
|
2288
2289
|
types: z42.array(PluginEntityType).optional(),
|
|
@@ -2917,6 +2918,21 @@ var PluginDesignFamilyCreateArgs = z58.object({
|
|
|
2917
2918
|
name: z58.string().optional(),
|
|
2918
2919
|
teamId: z58.string().optional()
|
|
2919
2920
|
});
|
|
2921
|
+
var PluginDesignFamilyPlaceArgs = z58.object({
|
|
2922
|
+
id: z58.string().optional(),
|
|
2923
|
+
version: z58.number().int().positive().optional(),
|
|
2924
|
+
position: Vec3Components.optional(),
|
|
2925
|
+
rotation: z58.number().optional(),
|
|
2926
|
+
values: z58.record(z58.string(), z58.union([z58.number(), z58.string()])).optional(),
|
|
2927
|
+
storey: z58.number().int().optional()
|
|
2928
|
+
});
|
|
2929
|
+
var PluginDesignFamilyGetParametersArgs = z58.object({
|
|
2930
|
+
component: ComponentHandle
|
|
2931
|
+
});
|
|
2932
|
+
var PluginDesignFamilySetParametersArgs = z58.object({
|
|
2933
|
+
component: ComponentHandle,
|
|
2934
|
+
values: z58.record(z58.string(), z58.union([z58.number(), z58.string()]))
|
|
2935
|
+
});
|
|
2920
2936
|
|
|
2921
2937
|
// src/api/design/index.ts
|
|
2922
2938
|
var PluginDesignApi = class {
|
|
@@ -5887,7 +5903,10 @@ export {
|
|
|
5887
5903
|
PluginDesignFamilyApi,
|
|
5888
5904
|
PluginDesignFamilyCreateArgs,
|
|
5889
5905
|
PluginDesignFamilyFlexArgs,
|
|
5906
|
+
PluginDesignFamilyGetParametersArgs,
|
|
5907
|
+
PluginDesignFamilyPlaceArgs,
|
|
5890
5908
|
PluginDesignFamilyPrepareArgs,
|
|
5909
|
+
PluginDesignFamilySetParametersArgs,
|
|
5891
5910
|
PluginDesignFurnitureApi,
|
|
5892
5911
|
PluginDesignFurnitureExistsArgs,
|
|
5893
5912
|
PluginDesignFurnitureGetCatalogItemArgs,
|