@supernova-studio/model 1.67.0 → 1.68.0

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.mjs CHANGED
@@ -2033,6 +2033,7 @@ var ShallowDesignElement = z46.object({
2033
2033
  type: DesignElementType,
2034
2034
  brandPersistentId: z46.string().optional(),
2035
2035
  collectionPersistentId: z46.string().optional(),
2036
+ collectionPersistentIds: z46.string().array(),
2036
2037
  parentPersistentId: z46.string().optional(),
2037
2038
  shortPersistentId: z46.string().optional(),
2038
2039
  childType: DesignElementType.optional(),
@@ -3755,7 +3756,8 @@ var ThemeElementData = z93.object({
3755
3756
  var ThemeOriginPart = z93.object({});
3756
3757
  var ThemeOriginObject = z93.object({
3757
3758
  id: z93.string(),
3758
- name: z93.string()
3759
+ name: z93.string(),
3760
+ parentModeId: z93.string().optional()
3759
3761
  });
3760
3762
  var ThemeOriginSource = z93.object({
3761
3763
  sourceId: z93.string(),
@@ -3767,7 +3769,8 @@ var ThemeOrigin = z93.object({
3767
3769
  var Theme = DesignElementGroupableBase.extend(DesignElementBrandedPart.shape).extend({
3768
3770
  origin: ThemeOrigin.optional(),
3769
3771
  overrides: z93.array(ThemeOverride),
3770
- codeName: z93.string()
3772
+ codeName: z93.string(),
3773
+ collectionPersistentIds: z93.string().array()
3771
3774
  });
3772
3775
 
3773
3776
  // src/dsm/elements/utils.ts
@@ -4098,6 +4101,7 @@ import { z as z100 } from "zod";
4098
4101
  import { z as z99 } from "zod";
4099
4102
  var CollectionOrigin = z99.object({
4100
4103
  id: z99.string(),
4104
+ parentId: z99.string().optional(),
4101
4105
  sourceId: z99.string()
4102
4106
  });
4103
4107
  var Collection = z99.object({
@@ -4129,11 +4133,14 @@ var Collection = z99.object({
4129
4133
  // src/dsm/import/collection.ts
4130
4134
  var CollectionImportModelInput = z100.object({
4131
4135
  id: z100.string(),
4132
- name: z100.string()
4136
+ name: z100.string(),
4137
+ parentId: z100.string().optional(),
4138
+ parentPersistentId: z100.string().optional()
4133
4139
  });
4134
4140
  var CollectionImportModel = z100.object({
4135
4141
  id: z100.string(),
4136
4142
  name: z100.string(),
4143
+ parentPersistentId: z100.string().optional(),
4137
4144
  origin: CollectionOrigin
4138
4145
  });
4139
4146
 
@@ -4281,12 +4288,16 @@ var ThemeImportModel = z106.object({
4281
4288
  brandPersistentId: z106.string(),
4282
4289
  originSource: ThemeOriginSource,
4283
4290
  overrides: z106.array(ThemeOverrideImportModel),
4284
- sortOrder: z106.number()
4291
+ sortOrder: z106.number(),
4292
+ collectionIds: z106.array(z106.string()).optional(),
4293
+ parentPersistentId: z106.string().optional()
4285
4294
  });
4286
4295
  var ThemeImportModelInput = z106.object({
4287
4296
  meta: ObjectMeta,
4288
4297
  originObjects: z106.array(ThemeOriginObject),
4289
- overrides: z106.array(ThemeOverrideImportModelInput)
4298
+ overrides: z106.array(ThemeOverrideImportModelInput),
4299
+ collectionIds: z106.array(z106.string()).optional(),
4300
+ parentPersistentId: z106.string().optional()
4290
4301
  });
4291
4302
  var ThemeUpdateImportModel = z106.object({
4292
4303
  themePersistentId: z106.string(),