@supernova-studio/model 1.69.7 → 1.71.2

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
@@ -86072,7 +86072,6 @@ declare const componentInstanceObjectSchema: z$1.ZodObject<{
86072
86072
  }>;
86073
86073
  } & {
86074
86074
  type: z$1.ZodLiteral<"COMPONENT_INSTANCE">;
86075
- supernovaId: z$1.ZodString;
86076
86075
  componentSetName: z$1.ZodString;
86077
86076
  componentSetDescription: z$1.ZodString;
86078
86077
  componentName: z$1.ZodString;
@@ -86194,7 +86193,6 @@ declare const componentInstanceObjectSchema: z$1.ZodObject<{
86194
86193
  componentSetName: string;
86195
86194
  props: Record<string, string | boolean>;
86196
86195
  parentId: string | null;
86197
- supernovaId: string;
86198
86196
  componentSetDescription: string;
86199
86197
  componentDescription: string;
86200
86198
  }, {
@@ -86313,7 +86311,6 @@ declare const componentInstanceObjectSchema: z$1.ZodObject<{
86313
86311
  componentSetName: string;
86314
86312
  props: Record<string, string | boolean>;
86315
86313
  parentId: string | null;
86316
- supernovaId: string;
86317
86314
  componentSetDescription: string;
86318
86315
  componentDescription: string;
86319
86316
  }>;
@@ -95447,6 +95444,8 @@ declare const ImportModelCollection: z$1.ZodObject<{
95447
95444
  themePersistentId: string;
95448
95445
  }>, "many">>;
95449
95446
  themes: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
95447
+ id: z$1.ZodString;
95448
+ parentId: z$1.ZodOptional<z$1.ZodString>;
95450
95449
  meta: z$1.ZodObject<{
95451
95450
  name: z$1.ZodString;
95452
95451
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -97800,8 +97799,8 @@ declare const ImportModelCollection: z$1.ZodObject<{
97800
97799
  }>>, "many">;
97801
97800
  sortOrder: z$1.ZodNumber;
97802
97801
  collectionIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
97803
- parentPersistentId: z$1.ZodOptional<z$1.ZodString>;
97804
97802
  }, "strip", z$1.ZodTypeAny, {
97803
+ id: string;
97805
97804
  brandPersistentId: string;
97806
97805
  sortOrder: number;
97807
97806
  meta: {
@@ -98189,9 +98188,10 @@ declare const ImportModelCollection: z$1.ZodObject<{
98189
98188
  parentModeId?: string | undefined;
98190
98189
  }[];
98191
98190
  };
98192
- parentPersistentId?: string | undefined;
98191
+ parentId?: string | undefined;
98193
98192
  collectionIds?: string[] | undefined;
98194
98193
  }, {
98194
+ id: string;
98195
98195
  brandPersistentId: string;
98196
98196
  sortOrder: number;
98197
98197
  meta: {
@@ -98579,7 +98579,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
98579
98579
  parentModeId?: string | undefined;
98580
98580
  }[];
98581
98581
  };
98582
- parentPersistentId?: string | undefined;
98582
+ parentId?: string | undefined;
98583
98583
  collectionIds?: string[] | undefined;
98584
98584
  }>, "many">>;
98585
98585
  figmaFileStructures: z$1.ZodArray<z$1.ZodObject<{
@@ -98762,8 +98762,10 @@ declare const ImportModelCollection: z$1.ZodObject<{
98762
98762
  }>, "many">;
98763
98763
  collections: z$1.ZodArray<z$1.ZodObject<{
98764
98764
  id: z$1.ZodString;
98765
+ legacyId: z$1.ZodString;
98766
+ parentId: z$1.ZodOptional<z$1.ZodString>;
98767
+ parentLegacyId: z$1.ZodOptional<z$1.ZodString>;
98765
98768
  name: z$1.ZodString;
98766
- parentPersistentId: z$1.ZodOptional<z$1.ZodString>;
98767
98769
  origin: z$1.ZodObject<{
98768
98770
  id: z$1.ZodString;
98769
98771
  parentId: z$1.ZodOptional<z$1.ZodString>;
@@ -98777,6 +98779,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
98777
98779
  sourceId: string;
98778
98780
  parentId?: string | undefined;
98779
98781
  }>;
98782
+ parentPersistentId: z$1.ZodOptional<z$1.ZodString>;
98780
98783
  }, "strip", z$1.ZodTypeAny, {
98781
98784
  id: string;
98782
98785
  name: string;
@@ -98785,7 +98788,10 @@ declare const ImportModelCollection: z$1.ZodObject<{
98785
98788
  sourceId: string;
98786
98789
  parentId?: string | undefined;
98787
98790
  };
98791
+ legacyId: string;
98788
98792
  parentPersistentId?: string | undefined;
98793
+ parentId?: string | undefined;
98794
+ parentLegacyId?: string | undefined;
98789
98795
  }, {
98790
98796
  id: string;
98791
98797
  name: string;
@@ -98794,10 +98800,14 @@ declare const ImportModelCollection: z$1.ZodObject<{
98794
98800
  sourceId: string;
98795
98801
  parentId?: string | undefined;
98796
98802
  };
98803
+ legacyId: string;
98797
98804
  parentPersistentId?: string | undefined;
98805
+ parentId?: string | undefined;
98806
+ parentLegacyId?: string | undefined;
98798
98807
  }>, "many">;
98799
98808
  }, "strip", z$1.ZodTypeAny, {
98800
98809
  themes: {
98810
+ id: string;
98801
98811
  brandPersistentId: string;
98802
98812
  sortOrder: number;
98803
98813
  meta: {
@@ -99185,7 +99195,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
99185
99195
  parentModeId?: string | undefined;
99186
99196
  }[];
99187
99197
  };
99188
- parentPersistentId?: string | undefined;
99198
+ parentId?: string | undefined;
99189
99199
  collectionIds?: string[] | undefined;
99190
99200
  }[];
99191
99201
  components: {
@@ -100035,7 +100045,10 @@ declare const ImportModelCollection: z$1.ZodObject<{
100035
100045
  sourceId: string;
100036
100046
  parentId?: string | undefined;
100037
100047
  };
100048
+ legacyId: string;
100038
100049
  parentPersistentId?: string | undefined;
100050
+ parentId?: string | undefined;
100051
+ parentLegacyId?: string | undefined;
100039
100052
  }[];
100040
100053
  figmaFileStructures: {
100041
100054
  data: {
@@ -100083,7 +100096,10 @@ declare const ImportModelCollection: z$1.ZodObject<{
100083
100096
  sourceId: string;
100084
100097
  parentId?: string | undefined;
100085
100098
  };
100099
+ legacyId: string;
100086
100100
  parentPersistentId?: string | undefined;
100101
+ parentId?: string | undefined;
100102
+ parentLegacyId?: string | undefined;
100087
100103
  }[];
100088
100104
  figmaFileStructures: {
100089
100105
  data: {
@@ -100127,6 +100143,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
100127
100143
  };
100128
100144
  }[];
100129
100145
  themes?: {
100146
+ id: string;
100130
100147
  brandPersistentId: string;
100131
100148
  sortOrder: number;
100132
100149
  meta: {
@@ -100514,7 +100531,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
100514
100531
  parentModeId?: string | undefined;
100515
100532
  }[];
100516
100533
  };
100517
- parentPersistentId?: string | undefined;
100534
+ parentId?: string | undefined;
100518
100535
  collectionIds?: string[] | undefined;
100519
100536
  }[] | undefined;
100520
100537
  components?: {
@@ -107472,6 +107489,8 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
107472
107489
  themePersistentId: string;
107473
107490
  }>, "many">>;
107474
107491
  themes: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
107492
+ id: z$1.ZodString;
107493
+ parentId: z$1.ZodOptional<z$1.ZodString>;
107475
107494
  meta: z$1.ZodObject<{
107476
107495
  name: z$1.ZodString;
107477
107496
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -109793,8 +109812,8 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
109793
109812
  };
109794
109813
  }>>, "many">;
109795
109814
  collectionIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
109796
- parentPersistentId: z$1.ZodOptional<z$1.ZodString>;
109797
109815
  }, "strip", z$1.ZodTypeAny, {
109816
+ id: string;
109798
109817
  meta: {
109799
109818
  name: string;
109800
109819
  description?: string | undefined;
@@ -110175,9 +110194,10 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
110175
110194
  name: string;
110176
110195
  parentModeId?: string | undefined;
110177
110196
  }[];
110178
- parentPersistentId?: string | undefined;
110197
+ parentId?: string | undefined;
110179
110198
  collectionIds?: string[] | undefined;
110180
110199
  }, {
110200
+ id: string;
110181
110201
  meta: {
110182
110202
  name: string;
110183
110203
  description?: string | undefined;
@@ -110558,7 +110578,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
110558
110578
  name: string;
110559
110579
  parentModeId?: string | undefined;
110560
110580
  }[];
110561
- parentPersistentId?: string | undefined;
110581
+ parentId?: string | undefined;
110562
110582
  collectionIds?: string[] | undefined;
110563
110583
  }>, "many">>;
110564
110584
  figmaFileStructure: z$1.ZodOptional<z$1.ZodObject<Omit<{
@@ -110743,19 +110763,25 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
110743
110763
  }>>;
110744
110764
  collections: z$1.ZodArray<z$1.ZodObject<{
110745
110765
  id: z$1.ZodString;
110766
+ legacyId: z$1.ZodString;
110746
110767
  name: z$1.ZodString;
110747
110768
  parentId: z$1.ZodOptional<z$1.ZodString>;
110769
+ parentLegacyId: z$1.ZodOptional<z$1.ZodString>;
110748
110770
  parentPersistentId: z$1.ZodOptional<z$1.ZodString>;
110749
110771
  }, "strip", z$1.ZodTypeAny, {
110750
110772
  id: string;
110751
110773
  name: string;
110774
+ legacyId: string;
110752
110775
  parentPersistentId?: string | undefined;
110753
110776
  parentId?: string | undefined;
110777
+ parentLegacyId?: string | undefined;
110754
110778
  }, {
110755
110779
  id: string;
110756
110780
  name: string;
110781
+ legacyId: string;
110757
110782
  parentPersistentId?: string | undefined;
110758
110783
  parentId?: string | undefined;
110784
+ parentLegacyId?: string | undefined;
110759
110785
  }>, "many">;
110760
110786
  }, "strip", z$1.ZodTypeAny, {
110761
110787
  assets: {
@@ -110841,6 +110867,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
110841
110867
  thumbnailUrl?: string | undefined;
110842
110868
  };
110843
110869
  themes: {
110870
+ id: string;
110844
110871
  meta: {
110845
110872
  name: string;
110846
110873
  description?: string | undefined;
@@ -111221,7 +111248,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
111221
111248
  name: string;
111222
111249
  parentModeId?: string | undefined;
111223
111250
  }[];
111224
- parentPersistentId?: string | undefined;
111251
+ parentId?: string | undefined;
111225
111252
  collectionIds?: string[] | undefined;
111226
111253
  }[];
111227
111254
  components: {
@@ -112051,8 +112078,10 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
112051
112078
  collections: {
112052
112079
  id: string;
112053
112080
  name: string;
112081
+ legacyId: string;
112054
112082
  parentPersistentId?: string | undefined;
112055
112083
  parentId?: string | undefined;
112084
+ parentLegacyId?: string | undefined;
112056
112085
  }[];
112057
112086
  figmaFileStructure?: {
112058
112087
  data: {
@@ -112092,8 +112121,10 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
112092
112121
  collections: {
112093
112122
  id: string;
112094
112123
  name: string;
112124
+ legacyId: string;
112095
112125
  parentPersistentId?: string | undefined;
112096
112126
  parentId?: string | undefined;
112127
+ parentLegacyId?: string | undefined;
112097
112128
  }[];
112098
112129
  assets?: {
112099
112130
  id: string;
@@ -112173,6 +112204,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
112173
112204
  parentComponentId?: string | undefined;
112174
112205
  }[] | undefined;
112175
112206
  themes?: {
112207
+ id: string;
112176
112208
  meta: {
112177
112209
  name: string;
112178
112210
  description?: string | undefined;
@@ -112553,7 +112585,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
112553
112585
  name: string;
112554
112586
  parentModeId?: string | undefined;
112555
112587
  }[];
112556
- parentPersistentId?: string | undefined;
112588
+ parentId?: string | undefined;
112557
112589
  collectionIds?: string[] | undefined;
112558
112590
  }[] | undefined;
112559
112591
  components?: {
@@ -114929,25 +114961,33 @@ type ImportModelInputBase = z$1.infer<typeof ImportModelInputBase>;
114929
114961
 
114930
114962
  declare const CollectionImportModelInput: z$1.ZodObject<{
114931
114963
  id: z$1.ZodString;
114964
+ legacyId: z$1.ZodString;
114932
114965
  name: z$1.ZodString;
114933
114966
  parentId: z$1.ZodOptional<z$1.ZodString>;
114967
+ parentLegacyId: z$1.ZodOptional<z$1.ZodString>;
114934
114968
  parentPersistentId: z$1.ZodOptional<z$1.ZodString>;
114935
114969
  }, "strip", z$1.ZodTypeAny, {
114936
114970
  id: string;
114937
114971
  name: string;
114972
+ legacyId: string;
114938
114973
  parentPersistentId?: string | undefined;
114939
114974
  parentId?: string | undefined;
114975
+ parentLegacyId?: string | undefined;
114940
114976
  }, {
114941
114977
  id: string;
114942
114978
  name: string;
114979
+ legacyId: string;
114943
114980
  parentPersistentId?: string | undefined;
114944
114981
  parentId?: string | undefined;
114982
+ parentLegacyId?: string | undefined;
114945
114983
  }>;
114946
114984
  type CollectionImportModelInput = z$1.infer<typeof CollectionImportModelInput>;
114947
114985
  declare const CollectionImportModel: z$1.ZodObject<{
114948
114986
  id: z$1.ZodString;
114987
+ legacyId: z$1.ZodString;
114988
+ parentId: z$1.ZodOptional<z$1.ZodString>;
114989
+ parentLegacyId: z$1.ZodOptional<z$1.ZodString>;
114949
114990
  name: z$1.ZodString;
114950
- parentPersistentId: z$1.ZodOptional<z$1.ZodString>;
114951
114991
  origin: z$1.ZodObject<{
114952
114992
  id: z$1.ZodString;
114953
114993
  parentId: z$1.ZodOptional<z$1.ZodString>;
@@ -114961,6 +115001,7 @@ declare const CollectionImportModel: z$1.ZodObject<{
114961
115001
  sourceId: string;
114962
115002
  parentId?: string | undefined;
114963
115003
  }>;
115004
+ parentPersistentId: z$1.ZodOptional<z$1.ZodString>;
114964
115005
  }, "strip", z$1.ZodTypeAny, {
114965
115006
  id: string;
114966
115007
  name: string;
@@ -114969,7 +115010,10 @@ declare const CollectionImportModel: z$1.ZodObject<{
114969
115010
  sourceId: string;
114970
115011
  parentId?: string | undefined;
114971
115012
  };
115013
+ legacyId: string;
114972
115014
  parentPersistentId?: string | undefined;
115015
+ parentId?: string | undefined;
115016
+ parentLegacyId?: string | undefined;
114973
115017
  }, {
114974
115018
  id: string;
114975
115019
  name: string;
@@ -114978,7 +115022,10 @@ declare const CollectionImportModel: z$1.ZodObject<{
114978
115022
  sourceId: string;
114979
115023
  parentId?: string | undefined;
114980
115024
  };
115025
+ legacyId: string;
114981
115026
  parentPersistentId?: string | undefined;
115027
+ parentId?: string | undefined;
115028
+ parentLegacyId?: string | undefined;
114982
115029
  }>;
114983
115030
  type CollectionImportModel = z$1.infer<typeof CollectionImportModel>;
114984
115031
 
@@ -121862,6 +121909,8 @@ type ThemeOverrideImportModelInputOfType<T extends DesignTokenType> = Extract<Th
121862
121909
  type: T;
121863
121910
  }>;
121864
121911
  declare const ThemeImportModel: z$1.ZodObject<{
121912
+ id: z$1.ZodString;
121913
+ parentId: z$1.ZodOptional<z$1.ZodString>;
121865
121914
  meta: z$1.ZodObject<{
121866
121915
  name: z$1.ZodString;
121867
121916
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -124215,8 +124264,8 @@ declare const ThemeImportModel: z$1.ZodObject<{
124215
124264
  }>>, "many">;
124216
124265
  sortOrder: z$1.ZodNumber;
124217
124266
  collectionIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
124218
- parentPersistentId: z$1.ZodOptional<z$1.ZodString>;
124219
124267
  }, "strip", z$1.ZodTypeAny, {
124268
+ id: string;
124220
124269
  brandPersistentId: string;
124221
124270
  sortOrder: number;
124222
124271
  meta: {
@@ -124604,9 +124653,10 @@ declare const ThemeImportModel: z$1.ZodObject<{
124604
124653
  parentModeId?: string | undefined;
124605
124654
  }[];
124606
124655
  };
124607
- parentPersistentId?: string | undefined;
124656
+ parentId?: string | undefined;
124608
124657
  collectionIds?: string[] | undefined;
124609
124658
  }, {
124659
+ id: string;
124610
124660
  brandPersistentId: string;
124611
124661
  sortOrder: number;
124612
124662
  meta: {
@@ -124994,11 +125044,13 @@ declare const ThemeImportModel: z$1.ZodObject<{
124994
125044
  parentModeId?: string | undefined;
124995
125045
  }[];
124996
125046
  };
124997
- parentPersistentId?: string | undefined;
125047
+ parentId?: string | undefined;
124998
125048
  collectionIds?: string[] | undefined;
124999
125049
  }>;
125000
125050
  type ThemeImportModel = z$1.infer<typeof ThemeImportModel>;
125001
125051
  declare const ThemeImportModelInput: z$1.ZodObject<{
125052
+ id: z$1.ZodString;
125053
+ parentId: z$1.ZodOptional<z$1.ZodString>;
125002
125054
  meta: z$1.ZodObject<{
125003
125055
  name: z$1.ZodString;
125004
125056
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -127320,8 +127372,8 @@ declare const ThemeImportModelInput: z$1.ZodObject<{
127320
127372
  };
127321
127373
  }>>, "many">;
127322
127374
  collectionIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
127323
- parentPersistentId: z$1.ZodOptional<z$1.ZodString>;
127324
127375
  }, "strip", z$1.ZodTypeAny, {
127376
+ id: string;
127325
127377
  meta: {
127326
127378
  name: string;
127327
127379
  description?: string | undefined;
@@ -127702,9 +127754,10 @@ declare const ThemeImportModelInput: z$1.ZodObject<{
127702
127754
  name: string;
127703
127755
  parentModeId?: string | undefined;
127704
127756
  }[];
127705
- parentPersistentId?: string | undefined;
127757
+ parentId?: string | undefined;
127706
127758
  collectionIds?: string[] | undefined;
127707
127759
  }, {
127760
+ id: string;
127708
127761
  meta: {
127709
127762
  name: string;
127710
127763
  description?: string | undefined;
@@ -128085,7 +128138,7 @@ declare const ThemeImportModelInput: z$1.ZodObject<{
128085
128138
  name: string;
128086
128139
  parentModeId?: string | undefined;
128087
128140
  }[];
128088
- parentPersistentId?: string | undefined;
128141
+ parentId?: string | undefined;
128089
128142
  collectionIds?: string[] | undefined;
128090
128143
  }>;
128091
128144
  type ThemeImportModelInput = z$1.infer<typeof ThemeImportModelInput>;
@@ -159446,6 +159499,7 @@ declare const ForgeProjectInvitation: z$1.ZodObject<{
159446
159499
  forgeProjectId: z$1.ZodString;
159447
159500
  workspaceInvitationId: z$1.ZodString;
159448
159501
  role: z$1.ZodEnum<["Viewer", "Builder", "Admin"]>;
159502
+ effectiveRole: z$1.ZodEnum<["Viewer", "Builder", "Admin"]>;
159449
159503
  createdAt: z$1.ZodDate;
159450
159504
  updatedAt: z$1.ZodDate;
159451
159505
  createdById: z$1.ZodString;
@@ -159456,6 +159510,7 @@ declare const ForgeProjectInvitation: z$1.ZodObject<{
159456
159510
  role: "Builder" | "Admin" | "Viewer";
159457
159511
  forgeProjectId: string;
159458
159512
  workspaceInvitationId: string;
159513
+ effectiveRole: "Builder" | "Admin" | "Viewer";
159459
159514
  createdById: string;
159460
159515
  }, {
159461
159516
  email: string;
@@ -159464,6 +159519,7 @@ declare const ForgeProjectInvitation: z$1.ZodObject<{
159464
159519
  role: "Builder" | "Admin" | "Viewer";
159465
159520
  forgeProjectId: string;
159466
159521
  workspaceInvitationId: string;
159522
+ effectiveRole: "Builder" | "Admin" | "Viewer";
159467
159523
  createdById: string;
159468
159524
  }>;
159469
159525
  type ForgeProjectInvitation = z$1.infer<typeof ForgeProjectInvitation>;