@snaptrude/plugin-core 1.0.0 → 1.0.1-shared-families-20261025.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/index.js CHANGED
@@ -3182,6 +3182,29 @@ var PluginDesignFamilyGetParametersArgs = z46.object({
3182
3182
  /** Also return a picture of this instance (its recipe re-run at its values, with its paint). */
3183
3183
  snapshot: PluginFamilySnapshotOption.optional()
3184
3184
  });
3185
+ var PluginDesignFamilyDuplicateArgs = z46.object({
3186
+ component: ComponentHandle,
3187
+ name: z46.string().trim().min(1)
3188
+ });
3189
+ var PluginFamilyDuplicateResult = z46.object({
3190
+ component: ComponentHandle,
3191
+ projectFamilyId: z46.string().min(1),
3192
+ name: z46.string().min(1)
3193
+ });
3194
+ var PluginDesignFamilySaveToLibraryArgs = z46.object({
3195
+ component: ComponentHandle,
3196
+ name: z46.string().trim().min(1),
3197
+ /** Required: a team id, or null for the personal library. Never inferred from the project. */
3198
+ teamId: z46.string().nullable(),
3199
+ /** Reuse for retries of this save; generate a new UUID only for a new save. */
3200
+ libraryKey: z46.string().uuid()
3201
+ });
3202
+ var PluginFamilySaveToLibraryResult = z46.object({
3203
+ id: z46.string(),
3204
+ guid: z46.string(),
3205
+ version: z46.number().int().positive(),
3206
+ name: z46.string()
3207
+ });
3185
3208
  var PluginDesignFamilySetParametersArgs = z46.object({
3186
3209
  component: ComponentHandle,
3187
3210
  values: z46.record(z46.string(), z46.union([z46.number(), z46.string()])).optional().default({}),
@@ -8893,6 +8916,7 @@ export {
8893
8916
  PluginDesignFamilyApi,
8894
8917
  PluginDesignFamilyCreateArgs,
8895
8918
  PluginDesignFamilyDeleteArgs,
8919
+ PluginDesignFamilyDuplicateArgs,
8896
8920
  PluginDesignFamilyFlexArgs,
8897
8921
  PluginDesignFamilyGetArgs,
8898
8922
  PluginDesignFamilyGetDefinitionArgs,
@@ -8903,6 +8927,7 @@ export {
8903
8927
  PluginDesignFamilyListArgs,
8904
8928
  PluginDesignFamilyPlaceArgs,
8905
8929
  PluginDesignFamilyPrepareArgs,
8930
+ PluginDesignFamilySaveToLibraryArgs,
8906
8931
  PluginDesignFamilySetParametersArgs,
8907
8932
  PluginDesignFurnitureApi,
8908
8933
  PluginDesignFurnitureExistsArgs,
@@ -9046,9 +9071,11 @@ export {
9046
9071
  PluginFamilyContourArgs,
9047
9072
  PluginFamilyDefinition,
9048
9073
  PluginFamilyDefinitionParameter,
9074
+ PluginFamilyDuplicateResult,
9049
9075
  PluginFamilyFloorOptions,
9050
9076
  PluginFamilyPlacement,
9051
9077
  PluginFamilyReferenceSection,
9078
+ PluginFamilySaveToLibraryResult,
9052
9079
  PluginFamilySlabOptions,
9053
9080
  PluginFamilySnapshotCloseUp,
9054
9081
  PluginFamilySnapshotFocus,