@supernova-studio/client 1.67.1 → 1.69.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
@@ -3379,7 +3379,8 @@ var ThemeElementData = z93.object({
3379
3379
  var ThemeOriginPart = z93.object({});
3380
3380
  var ThemeOriginObject = z93.object({
3381
3381
  id: z93.string(),
3382
- name: z93.string()
3382
+ name: z93.string(),
3383
+ parentModeId: z93.string().optional()
3383
3384
  });
3384
3385
  var ThemeOriginSource = z93.object({
3385
3386
  sourceId: z93.string(),
@@ -3688,6 +3689,7 @@ var FigmaImportContextWithDownloadScopes = FigmaImportContextWithSourcesState.ex
3688
3689
  });
3689
3690
  var CollectionOrigin = z99.object({
3690
3691
  id: z99.string(),
3692
+ parentId: z99.string().optional(),
3691
3693
  sourceId: z99.string()
3692
3694
  });
3693
3695
  var Collection = z99.object({
@@ -3717,11 +3719,14 @@ var Collection = z99.object({
3717
3719
  });
3718
3720
  var CollectionImportModelInput = z100.object({
3719
3721
  id: z100.string(),
3720
- name: z100.string()
3722
+ name: z100.string(),
3723
+ parentId: z100.string().optional(),
3724
+ parentPersistentId: z100.string().optional()
3721
3725
  });
3722
3726
  var CollectionImportModel = z100.object({
3723
3727
  id: z100.string(),
3724
3728
  name: z100.string(),
3729
+ parentPersistentId: z100.string().optional(),
3725
3730
  origin: CollectionOrigin
3726
3731
  });
3727
3732
  var ImportModelBase = z101.object({
@@ -3830,12 +3835,16 @@ var ThemeImportModel = z106.object({
3830
3835
  brandPersistentId: z106.string(),
3831
3836
  originSource: ThemeOriginSource,
3832
3837
  overrides: z106.array(ThemeOverrideImportModel),
3833
- sortOrder: z106.number()
3838
+ sortOrder: z106.number(),
3839
+ collectionIds: z106.array(z106.string()).optional(),
3840
+ parentPersistentId: z106.string().optional()
3834
3841
  });
3835
3842
  var ThemeImportModelInput = z106.object({
3836
3843
  meta: ObjectMeta,
3837
3844
  originObjects: z106.array(ThemeOriginObject),
3838
- overrides: z106.array(ThemeOverrideImportModelInput)
3845
+ overrides: z106.array(ThemeOverrideImportModelInput),
3846
+ collectionIds: z106.array(z106.string()).optional(),
3847
+ parentPersistentId: z106.string().optional()
3839
3848
  });
3840
3849
  var ThemeUpdateImportModel = z106.object({
3841
3850
  themePersistentId: z106.string(),
@@ -7055,9 +7064,11 @@ var VariablesMapping = z235.object({
7055
7064
  supernovaBrand: z235.string().min(1),
7056
7065
  supernovaTheme: z235.string().min(1).nullable().optional()
7057
7066
  });
7067
+ var VariableCollectionsSchema = z235.record(z235.string(), Collection2);
7068
+ var VariablesSchema = z235.record(z235.string(), Variable);
7058
7069
  var FormattedCollections = z235.object({
7059
- variableCollections: z235.record(z235.string(), Collection2),
7060
- variables: z235.record(z235.string(), Variable),
7070
+ variableCollections: VariableCollectionsSchema,
7071
+ variables: VariablesSchema,
7061
7072
  variablesOrder: z235.string().array().optional(),
7062
7073
  mappings: z235.array(VariablesMapping).optional()
7063
7074
  });
@@ -20901,9 +20912,11 @@ export {
20901
20912
  UsersEndpoint,
20902
20913
  Variable,
20903
20914
  VariableAlias,
20915
+ VariableCollectionsSchema,
20904
20916
  VariableMode,
20905
20917
  VariableValue,
20906
20918
  VariablesMapping,
20919
+ VariablesSchema,
20907
20920
  VersionRoomBaseYDoc,
20908
20921
  VersionSQSPayload,
20909
20922
  VersionStatsEndpoint,