@supernova-studio/model 1.78.1 → 1.79.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.d.mts CHANGED
@@ -98936,16 +98936,16 @@ declare const ImportModelCollection: z$1.ZodObject<{
98936
98936
  origin: z$1.ZodObject<{
98937
98937
  id: z$1.ZodString;
98938
98938
  parentId: z$1.ZodOptional<z$1.ZodString>;
98939
- sourceId: z$1.ZodString;
98939
+ sourceIds: z$1.ZodArray<z$1.ZodString, "many">;
98940
98940
  collectionKeyMigrated: z$1.ZodBoolean;
98941
98941
  }, "strip", z$1.ZodTypeAny, {
98942
98942
  id: string;
98943
- sourceId: string;
98943
+ sourceIds: string[];
98944
98944
  collectionKeyMigrated: boolean;
98945
98945
  parentId?: string | undefined;
98946
98946
  }, {
98947
98947
  id: string;
98948
- sourceId: string;
98948
+ sourceIds: string[];
98949
98949
  collectionKeyMigrated: boolean;
98950
98950
  parentId?: string | undefined;
98951
98951
  }>;
@@ -98954,7 +98954,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
98954
98954
  name: string;
98955
98955
  origin: {
98956
98956
  id: string;
98957
- sourceId: string;
98957
+ sourceIds: string[];
98958
98958
  collectionKeyMigrated: boolean;
98959
98959
  parentId?: string | undefined;
98960
98960
  };
@@ -98964,7 +98964,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
98964
98964
  name: string;
98965
98965
  origin: {
98966
98966
  id: string;
98967
- sourceId: string;
98967
+ sourceIds: string[];
98968
98968
  collectionKeyMigrated: boolean;
98969
98969
  parentId?: string | undefined;
98970
98970
  };
@@ -100209,7 +100209,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
100209
100209
  name: string;
100210
100210
  origin: {
100211
100211
  id: string;
100212
- sourceId: string;
100212
+ sourceIds: string[];
100213
100213
  collectionKeyMigrated: boolean;
100214
100214
  parentId?: string | undefined;
100215
100215
  };
@@ -100258,7 +100258,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
100258
100258
  name: string;
100259
100259
  origin: {
100260
100260
  id: string;
100261
- sourceId: string;
100261
+ sourceIds: string[];
100262
100262
  collectionKeyMigrated: boolean;
100263
100263
  parentId?: string | undefined;
100264
100264
  };
@@ -115152,16 +115152,16 @@ declare const CollectionImportModel: z$1.ZodObject<{
115152
115152
  origin: z$1.ZodObject<{
115153
115153
  id: z$1.ZodString;
115154
115154
  parentId: z$1.ZodOptional<z$1.ZodString>;
115155
- sourceId: z$1.ZodString;
115155
+ sourceIds: z$1.ZodArray<z$1.ZodString, "many">;
115156
115156
  collectionKeyMigrated: z$1.ZodBoolean;
115157
115157
  }, "strip", z$1.ZodTypeAny, {
115158
115158
  id: string;
115159
- sourceId: string;
115159
+ sourceIds: string[];
115160
115160
  collectionKeyMigrated: boolean;
115161
115161
  parentId?: string | undefined;
115162
115162
  }, {
115163
115163
  id: string;
115164
- sourceId: string;
115164
+ sourceIds: string[];
115165
115165
  collectionKeyMigrated: boolean;
115166
115166
  parentId?: string | undefined;
115167
115167
  }>;
@@ -115170,7 +115170,7 @@ declare const CollectionImportModel: z$1.ZodObject<{
115170
115170
  name: string;
115171
115171
  origin: {
115172
115172
  id: string;
115173
- sourceId: string;
115173
+ sourceIds: string[];
115174
115174
  collectionKeyMigrated: boolean;
115175
115175
  parentId?: string | undefined;
115176
115176
  };
@@ -115180,7 +115180,7 @@ declare const CollectionImportModel: z$1.ZodObject<{
115180
115180
  name: string;
115181
115181
  origin: {
115182
115182
  id: string;
115183
- sourceId: string;
115183
+ sourceIds: string[];
115184
115184
  collectionKeyMigrated: boolean;
115185
115185
  parentId?: string | undefined;
115186
115186
  };
@@ -142745,16 +142745,16 @@ type CreateBrand = DbCreateInputOmit<Brand>;
142745
142745
  declare const CollectionOrigin: z$1.ZodObject<{
142746
142746
  id: z$1.ZodString;
142747
142747
  parentId: z$1.ZodOptional<z$1.ZodString>;
142748
- sourceId: z$1.ZodString;
142748
+ sourceIds: z$1.ZodArray<z$1.ZodString, "many">;
142749
142749
  collectionKeyMigrated: z$1.ZodBoolean;
142750
142750
  }, "strip", z$1.ZodTypeAny, {
142751
142751
  id: string;
142752
- sourceId: string;
142752
+ sourceIds: string[];
142753
142753
  collectionKeyMigrated: boolean;
142754
142754
  parentId?: string | undefined;
142755
142755
  }, {
142756
142756
  id: string;
142757
- sourceId: string;
142757
+ sourceIds: string[];
142758
142758
  collectionKeyMigrated: boolean;
142759
142759
  parentId?: string | undefined;
142760
142760
  }>;
@@ -142791,16 +142791,16 @@ declare const Collection: z$1.ZodObject<{
142791
142791
  origin: z$1.ZodOptional<z$1.ZodObject<{
142792
142792
  id: z$1.ZodString;
142793
142793
  parentId: z$1.ZodOptional<z$1.ZodString>;
142794
- sourceId: z$1.ZodString;
142794
+ sourceIds: z$1.ZodArray<z$1.ZodString, "many">;
142795
142795
  collectionKeyMigrated: z$1.ZodBoolean;
142796
142796
  }, "strip", z$1.ZodTypeAny, {
142797
142797
  id: string;
142798
- sourceId: string;
142798
+ sourceIds: string[];
142799
142799
  collectionKeyMigrated: boolean;
142800
142800
  parentId?: string | undefined;
142801
142801
  }, {
142802
142802
  id: string;
142803
- sourceId: string;
142803
+ sourceIds: string[];
142804
142804
  collectionKeyMigrated: boolean;
142805
142805
  parentId?: string | undefined;
142806
142806
  }>>;
@@ -142820,7 +142820,7 @@ declare const Collection: z$1.ZodObject<{
142820
142820
  parentPersistentId?: string | undefined;
142821
142821
  origin?: {
142822
142822
  id: string;
142823
- sourceId: string;
142823
+ sourceIds: string[];
142824
142824
  collectionKeyMigrated: boolean;
142825
142825
  parentId?: string | undefined;
142826
142826
  } | undefined;
@@ -142840,7 +142840,7 @@ declare const Collection: z$1.ZodObject<{
142840
142840
  parentPersistentId?: string | undefined;
142841
142841
  origin?: {
142842
142842
  id: string;
142843
- sourceId: string;
142843
+ sourceIds: string[];
142844
142844
  collectionKeyMigrated: boolean;
142845
142845
  parentId?: string | undefined;
142846
142846
  } | undefined;
package/dist/index.d.ts CHANGED
@@ -98936,16 +98936,16 @@ declare const ImportModelCollection: z$1.ZodObject<{
98936
98936
  origin: z$1.ZodObject<{
98937
98937
  id: z$1.ZodString;
98938
98938
  parentId: z$1.ZodOptional<z$1.ZodString>;
98939
- sourceId: z$1.ZodString;
98939
+ sourceIds: z$1.ZodArray<z$1.ZodString, "many">;
98940
98940
  collectionKeyMigrated: z$1.ZodBoolean;
98941
98941
  }, "strip", z$1.ZodTypeAny, {
98942
98942
  id: string;
98943
- sourceId: string;
98943
+ sourceIds: string[];
98944
98944
  collectionKeyMigrated: boolean;
98945
98945
  parentId?: string | undefined;
98946
98946
  }, {
98947
98947
  id: string;
98948
- sourceId: string;
98948
+ sourceIds: string[];
98949
98949
  collectionKeyMigrated: boolean;
98950
98950
  parentId?: string | undefined;
98951
98951
  }>;
@@ -98954,7 +98954,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
98954
98954
  name: string;
98955
98955
  origin: {
98956
98956
  id: string;
98957
- sourceId: string;
98957
+ sourceIds: string[];
98958
98958
  collectionKeyMigrated: boolean;
98959
98959
  parentId?: string | undefined;
98960
98960
  };
@@ -98964,7 +98964,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
98964
98964
  name: string;
98965
98965
  origin: {
98966
98966
  id: string;
98967
- sourceId: string;
98967
+ sourceIds: string[];
98968
98968
  collectionKeyMigrated: boolean;
98969
98969
  parentId?: string | undefined;
98970
98970
  };
@@ -100209,7 +100209,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
100209
100209
  name: string;
100210
100210
  origin: {
100211
100211
  id: string;
100212
- sourceId: string;
100212
+ sourceIds: string[];
100213
100213
  collectionKeyMigrated: boolean;
100214
100214
  parentId?: string | undefined;
100215
100215
  };
@@ -100258,7 +100258,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
100258
100258
  name: string;
100259
100259
  origin: {
100260
100260
  id: string;
100261
- sourceId: string;
100261
+ sourceIds: string[];
100262
100262
  collectionKeyMigrated: boolean;
100263
100263
  parentId?: string | undefined;
100264
100264
  };
@@ -115152,16 +115152,16 @@ declare const CollectionImportModel: z$1.ZodObject<{
115152
115152
  origin: z$1.ZodObject<{
115153
115153
  id: z$1.ZodString;
115154
115154
  parentId: z$1.ZodOptional<z$1.ZodString>;
115155
- sourceId: z$1.ZodString;
115155
+ sourceIds: z$1.ZodArray<z$1.ZodString, "many">;
115156
115156
  collectionKeyMigrated: z$1.ZodBoolean;
115157
115157
  }, "strip", z$1.ZodTypeAny, {
115158
115158
  id: string;
115159
- sourceId: string;
115159
+ sourceIds: string[];
115160
115160
  collectionKeyMigrated: boolean;
115161
115161
  parentId?: string | undefined;
115162
115162
  }, {
115163
115163
  id: string;
115164
- sourceId: string;
115164
+ sourceIds: string[];
115165
115165
  collectionKeyMigrated: boolean;
115166
115166
  parentId?: string | undefined;
115167
115167
  }>;
@@ -115170,7 +115170,7 @@ declare const CollectionImportModel: z$1.ZodObject<{
115170
115170
  name: string;
115171
115171
  origin: {
115172
115172
  id: string;
115173
- sourceId: string;
115173
+ sourceIds: string[];
115174
115174
  collectionKeyMigrated: boolean;
115175
115175
  parentId?: string | undefined;
115176
115176
  };
@@ -115180,7 +115180,7 @@ declare const CollectionImportModel: z$1.ZodObject<{
115180
115180
  name: string;
115181
115181
  origin: {
115182
115182
  id: string;
115183
- sourceId: string;
115183
+ sourceIds: string[];
115184
115184
  collectionKeyMigrated: boolean;
115185
115185
  parentId?: string | undefined;
115186
115186
  };
@@ -142745,16 +142745,16 @@ type CreateBrand = DbCreateInputOmit<Brand>;
142745
142745
  declare const CollectionOrigin: z$1.ZodObject<{
142746
142746
  id: z$1.ZodString;
142747
142747
  parentId: z$1.ZodOptional<z$1.ZodString>;
142748
- sourceId: z$1.ZodString;
142748
+ sourceIds: z$1.ZodArray<z$1.ZodString, "many">;
142749
142749
  collectionKeyMigrated: z$1.ZodBoolean;
142750
142750
  }, "strip", z$1.ZodTypeAny, {
142751
142751
  id: string;
142752
- sourceId: string;
142752
+ sourceIds: string[];
142753
142753
  collectionKeyMigrated: boolean;
142754
142754
  parentId?: string | undefined;
142755
142755
  }, {
142756
142756
  id: string;
142757
- sourceId: string;
142757
+ sourceIds: string[];
142758
142758
  collectionKeyMigrated: boolean;
142759
142759
  parentId?: string | undefined;
142760
142760
  }>;
@@ -142791,16 +142791,16 @@ declare const Collection: z$1.ZodObject<{
142791
142791
  origin: z$1.ZodOptional<z$1.ZodObject<{
142792
142792
  id: z$1.ZodString;
142793
142793
  parentId: z$1.ZodOptional<z$1.ZodString>;
142794
- sourceId: z$1.ZodString;
142794
+ sourceIds: z$1.ZodArray<z$1.ZodString, "many">;
142795
142795
  collectionKeyMigrated: z$1.ZodBoolean;
142796
142796
  }, "strip", z$1.ZodTypeAny, {
142797
142797
  id: string;
142798
- sourceId: string;
142798
+ sourceIds: string[];
142799
142799
  collectionKeyMigrated: boolean;
142800
142800
  parentId?: string | undefined;
142801
142801
  }, {
142802
142802
  id: string;
142803
- sourceId: string;
142803
+ sourceIds: string[];
142804
142804
  collectionKeyMigrated: boolean;
142805
142805
  parentId?: string | undefined;
142806
142806
  }>>;
@@ -142820,7 +142820,7 @@ declare const Collection: z$1.ZodObject<{
142820
142820
  parentPersistentId?: string | undefined;
142821
142821
  origin?: {
142822
142822
  id: string;
142823
- sourceId: string;
142823
+ sourceIds: string[];
142824
142824
  collectionKeyMigrated: boolean;
142825
142825
  parentId?: string | undefined;
142826
142826
  } | undefined;
@@ -142840,7 +142840,7 @@ declare const Collection: z$1.ZodObject<{
142840
142840
  parentPersistentId?: string | undefined;
142841
142841
  origin?: {
142842
142842
  id: string;
142843
- sourceId: string;
142843
+ sourceIds: string[];
142844
142844
  collectionKeyMigrated: boolean;
142845
142845
  parentId?: string | undefined;
142846
142846
  } | undefined;
package/dist/index.js CHANGED
@@ -4103,7 +4103,7 @@ var FigmaImportContextWithDownloadScopes = FigmaImportContextWithSourcesState.ex
4103
4103
  var CollectionOrigin = _zod.z.object({
4104
4104
  id: _zod.z.string(),
4105
4105
  parentId: _zod.z.string().optional(),
4106
- sourceId: _zod.z.string(),
4106
+ sourceIds: _zod.z.string().array(),
4107
4107
  collectionKeyMigrated: _zod.z.boolean()
4108
4108
  });
4109
4109
  var Collection = _zod.z.object({