@supernova-studio/model 1.77.4 → 1.78.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
@@ -76664,6 +76664,7 @@ type UpdateTheme = OmitStrict<DbUpdate<Theme>, "brandPersistentId" | "designSyst
76664
76664
  type ThemeDiff = {
76665
76665
  toCreate: CreateTheme[];
76666
76666
  toUpdate: UpdateTheme[];
76667
+ toDelete: Theme[];
76667
76668
  };
76668
76669
 
76669
76670
  declare const DesignTokenOriginPart: z$1.ZodObject<{
@@ -94821,6 +94822,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
94821
94822
  referencePersistentId?: string | undefined;
94822
94823
  referenceResolutionFailed?: boolean | undefined;
94823
94824
  }>;
94825
+ collectionId: z$1.ZodOptional<z$1.ZodString>;
94824
94826
  }, "strip", z$1.ZodTypeAny, {
94825
94827
  origin: {
94826
94828
  id: string;
@@ -94835,6 +94837,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
94835
94837
  referencePersistentId?: string | undefined;
94836
94838
  referenceResolutionFailed?: boolean | undefined;
94837
94839
  };
94840
+ collectionId?: string | undefined;
94838
94841
  }, {
94839
94842
  origin: {
94840
94843
  id: string;
@@ -94849,6 +94852,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
94849
94852
  referencePersistentId?: string | undefined;
94850
94853
  referenceResolutionFailed?: boolean | undefined;
94851
94854
  };
94855
+ collectionId?: string | undefined;
94852
94856
  }>>, "many">;
94853
94857
  }, "strip", z$1.ZodTypeAny, {
94854
94858
  overrides: ((({
@@ -95223,6 +95227,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
95223
95227
  referencePersistentId?: string | undefined;
95224
95228
  referenceResolutionFailed?: boolean | undefined;
95225
95229
  };
95230
+ collectionId?: string | undefined;
95226
95231
  })[];
95227
95232
  themePersistentId: string;
95228
95233
  }, {
@@ -95598,6 +95603,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
95598
95603
  referencePersistentId?: string | undefined;
95599
95604
  referenceResolutionFailed?: boolean | undefined;
95600
95605
  };
95606
+ collectionId?: string | undefined;
95601
95607
  })[];
95602
95608
  themePersistentId: string;
95603
95609
  }>, "many">>;
@@ -97926,6 +97932,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
97926
97932
  referencePersistentId?: string | undefined;
97927
97933
  referenceResolutionFailed?: boolean | undefined;
97928
97934
  }>;
97935
+ collectionId: z$1.ZodOptional<z$1.ZodString>;
97929
97936
  }, "strip", z$1.ZodTypeAny, {
97930
97937
  origin: {
97931
97938
  id: string;
@@ -97940,6 +97947,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
97940
97947
  referencePersistentId?: string | undefined;
97941
97948
  referenceResolutionFailed?: boolean | undefined;
97942
97949
  };
97950
+ collectionId?: string | undefined;
97943
97951
  }, {
97944
97952
  origin: {
97945
97953
  id: string;
@@ -97954,6 +97962,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
97954
97962
  referencePersistentId?: string | undefined;
97955
97963
  referenceResolutionFailed?: boolean | undefined;
97956
97964
  };
97965
+ collectionId?: string | undefined;
97957
97966
  }>>, "many">;
97958
97967
  sortOrder: z$1.ZodNumber;
97959
97968
  collectionIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
@@ -98337,6 +98346,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
98337
98346
  referencePersistentId?: string | undefined;
98338
98347
  referenceResolutionFailed?: boolean | undefined;
98339
98348
  };
98349
+ collectionId?: string | undefined;
98340
98350
  })[];
98341
98351
  originSource: {
98342
98352
  sourceId: string;
@@ -98728,6 +98738,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
98728
98738
  referencePersistentId?: string | undefined;
98729
98739
  referenceResolutionFailed?: boolean | undefined;
98730
98740
  };
98741
+ collectionId?: string | undefined;
98731
98742
  })[];
98732
98743
  originSource: {
98733
98744
  sourceId: string;
@@ -99340,6 +99351,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
99340
99351
  referencePersistentId?: string | undefined;
99341
99352
  referenceResolutionFailed?: boolean | undefined;
99342
99353
  };
99354
+ collectionId?: string | undefined;
99343
99355
  })[];
99344
99356
  originSource: {
99345
99357
  sourceId: string;
@@ -100188,6 +100200,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
100188
100200
  referencePersistentId?: string | undefined;
100189
100201
  referenceResolutionFailed?: boolean | undefined;
100190
100202
  };
100203
+ collectionId?: string | undefined;
100191
100204
  })[];
100192
100205
  themePersistentId: string;
100193
100206
  }[];
@@ -100672,6 +100685,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
100672
100685
  referencePersistentId?: string | undefined;
100673
100686
  referenceResolutionFailed?: boolean | undefined;
100674
100687
  };
100688
+ collectionId?: string | undefined;
100675
100689
  })[];
100676
100690
  originSource: {
100677
100691
  sourceId: string;
@@ -101515,6 +101529,7 @@ declare const ImportModelCollection: z$1.ZodObject<{
101515
101529
  referencePersistentId?: string | undefined;
101516
101530
  referenceResolutionFailed?: boolean | undefined;
101517
101531
  };
101532
+ collectionId?: string | undefined;
101518
101533
  })[];
101519
101534
  themePersistentId: string;
101520
101535
  }[] | undefined;
@@ -106866,6 +106881,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
106866
106881
  referencePersistentId?: string | undefined;
106867
106882
  referenceResolutionFailed?: boolean | undefined;
106868
106883
  }>;
106884
+ collectionId: z$1.ZodOptional<z$1.ZodString>;
106869
106885
  }, "strip", z$1.ZodTypeAny, {
106870
106886
  originId: string;
106871
106887
  originMetadata: {
@@ -106878,6 +106894,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
106878
106894
  referencePersistentId?: string | undefined;
106879
106895
  referenceResolutionFailed?: boolean | undefined;
106880
106896
  };
106897
+ collectionId?: string | undefined;
106881
106898
  }, {
106882
106899
  originId: string;
106883
106900
  originMetadata: {
@@ -106890,6 +106907,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
106890
106907
  referencePersistentId?: string | undefined;
106891
106908
  referenceResolutionFailed?: boolean | undefined;
106892
106909
  };
106910
+ collectionId?: string | undefined;
106893
106911
  }>>, "many">;
106894
106912
  }, "strip", z$1.ZodTypeAny, {
106895
106913
  overrides: ((({
@@ -107262,6 +107280,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
107262
107280
  referencePersistentId?: string | undefined;
107263
107281
  referenceResolutionFailed?: boolean | undefined;
107264
107282
  };
107283
+ collectionId?: string | undefined;
107265
107284
  })[];
107266
107285
  themePersistentId: string;
107267
107286
  }, {
@@ -107635,6 +107654,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
107635
107654
  referencePersistentId?: string | undefined;
107636
107655
  referenceResolutionFailed?: boolean | undefined;
107637
107656
  };
107657
+ collectionId?: string | undefined;
107638
107658
  })[];
107639
107659
  themePersistentId: string;
107640
107660
  }>, "many">>;
@@ -109936,6 +109956,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
109936
109956
  referencePersistentId?: string | undefined;
109937
109957
  referenceResolutionFailed?: boolean | undefined;
109938
109958
  }>;
109959
+ collectionId: z$1.ZodOptional<z$1.ZodString>;
109939
109960
  }, "strip", z$1.ZodTypeAny, {
109940
109961
  originId: string;
109941
109962
  originMetadata: {
@@ -109948,6 +109969,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
109948
109969
  referencePersistentId?: string | undefined;
109949
109970
  referenceResolutionFailed?: boolean | undefined;
109950
109971
  };
109972
+ collectionId?: string | undefined;
109951
109973
  }, {
109952
109974
  originId: string;
109953
109975
  originMetadata: {
@@ -109960,6 +109982,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
109960
109982
  referencePersistentId?: string | undefined;
109961
109983
  referenceResolutionFailed?: boolean | undefined;
109962
109984
  };
109985
+ collectionId?: string | undefined;
109963
109986
  }>>, "many">;
109964
109987
  collectionIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
109965
109988
  }, "strip", z$1.ZodTypeAny, {
@@ -110338,6 +110361,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
110338
110361
  referencePersistentId?: string | undefined;
110339
110362
  referenceResolutionFailed?: boolean | undefined;
110340
110363
  };
110364
+ collectionId?: string | undefined;
110341
110365
  })[];
110342
110366
  originObjects: {
110343
110367
  id: string;
@@ -110722,6 +110746,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
110722
110746
  referencePersistentId?: string | undefined;
110723
110747
  referenceResolutionFailed?: boolean | undefined;
110724
110748
  };
110749
+ collectionId?: string | undefined;
110725
110750
  })[];
110726
110751
  originObjects: {
110727
110752
  id: string;
@@ -111386,6 +111411,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
111386
111411
  referencePersistentId?: string | undefined;
111387
111412
  referenceResolutionFailed?: boolean | undefined;
111388
111413
  };
111414
+ collectionId?: string | undefined;
111389
111415
  })[];
111390
111416
  originObjects: {
111391
111417
  id: string;
@@ -112216,6 +112242,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
112216
112242
  referencePersistentId?: string | undefined;
112217
112243
  referenceResolutionFailed?: boolean | undefined;
112218
112244
  };
112245
+ collectionId?: string | undefined;
112219
112246
  })[];
112220
112247
  themePersistentId: string;
112221
112248
  }[];
@@ -112719,6 +112746,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
112719
112746
  referencePersistentId?: string | undefined;
112720
112747
  referenceResolutionFailed?: boolean | undefined;
112721
112748
  };
112749
+ collectionId?: string | undefined;
112722
112750
  })[];
112723
112751
  originObjects: {
112724
112752
  id: string;
@@ -113549,6 +113577,7 @@ declare const ImportModelInputCollection: z$1.ZodObject<{
113549
113577
  referencePersistentId?: string | undefined;
113550
113578
  referenceResolutionFailed?: boolean | undefined;
113551
113579
  };
113580
+ collectionId?: string | undefined;
113552
113581
  })[];
113553
113582
  themePersistentId: string;
113554
113583
  }[] | undefined;
@@ -119704,6 +119733,7 @@ declare const ThemeOverrideImportModel: z$1.ZodIntersection<z$1.ZodIntersection<
119704
119733
  referencePersistentId?: string | undefined;
119705
119734
  referenceResolutionFailed?: boolean | undefined;
119706
119735
  }>;
119736
+ collectionId: z$1.ZodOptional<z$1.ZodString>;
119707
119737
  }, "strip", z$1.ZodTypeAny, {
119708
119738
  origin: {
119709
119739
  id: string;
@@ -119718,6 +119748,7 @@ declare const ThemeOverrideImportModel: z$1.ZodIntersection<z$1.ZodIntersection<
119718
119748
  referencePersistentId?: string | undefined;
119719
119749
  referenceResolutionFailed?: boolean | undefined;
119720
119750
  };
119751
+ collectionId?: string | undefined;
119721
119752
  }, {
119722
119753
  origin: {
119723
119754
  id: string;
@@ -119732,6 +119763,7 @@ declare const ThemeOverrideImportModel: z$1.ZodIntersection<z$1.ZodIntersection<
119732
119763
  referencePersistentId?: string | undefined;
119733
119764
  referenceResolutionFailed?: boolean | undefined;
119734
119765
  };
119766
+ collectionId?: string | undefined;
119735
119767
  }>>;
119736
119768
  type ThemeOverrideImportModel = z$1.infer<typeof ThemeOverrideImportModel>;
119737
119769
  type ThemeOverrideImportModelOfType<T extends DesignTokenType> = Extract<ThemeOverrideImportModel, {
@@ -122009,6 +122041,7 @@ declare const ThemeOverrideImportModelInput: z$1.ZodIntersection<z$1.ZodIntersec
122009
122041
  referencePersistentId?: string | undefined;
122010
122042
  referenceResolutionFailed?: boolean | undefined;
122011
122043
  }>;
122044
+ collectionId: z$1.ZodOptional<z$1.ZodString>;
122012
122045
  }, "strip", z$1.ZodTypeAny, {
122013
122046
  originId: string;
122014
122047
  originMetadata: {
@@ -122021,6 +122054,7 @@ declare const ThemeOverrideImportModelInput: z$1.ZodIntersection<z$1.ZodIntersec
122021
122054
  referencePersistentId?: string | undefined;
122022
122055
  referenceResolutionFailed?: boolean | undefined;
122023
122056
  };
122057
+ collectionId?: string | undefined;
122024
122058
  }, {
122025
122059
  originId: string;
122026
122060
  originMetadata: {
@@ -122033,6 +122067,7 @@ declare const ThemeOverrideImportModelInput: z$1.ZodIntersection<z$1.ZodIntersec
122033
122067
  referencePersistentId?: string | undefined;
122034
122068
  referenceResolutionFailed?: boolean | undefined;
122035
122069
  };
122070
+ collectionId?: string | undefined;
122036
122071
  }>>;
122037
122072
  type ThemeOverrideImportModelInput = z$1.infer<typeof ThemeOverrideImportModelInput>;
122038
122073
  type ThemeOverrideImportModelInputOfType<T extends DesignTokenType> = Extract<ThemeOverrideImportModelInput, {
@@ -124363,6 +124398,7 @@ declare const ThemeImportModel: z$1.ZodObject<{
124363
124398
  referencePersistentId?: string | undefined;
124364
124399
  referenceResolutionFailed?: boolean | undefined;
124365
124400
  }>;
124401
+ collectionId: z$1.ZodOptional<z$1.ZodString>;
124366
124402
  }, "strip", z$1.ZodTypeAny, {
124367
124403
  origin: {
124368
124404
  id: string;
@@ -124377,6 +124413,7 @@ declare const ThemeImportModel: z$1.ZodObject<{
124377
124413
  referencePersistentId?: string | undefined;
124378
124414
  referenceResolutionFailed?: boolean | undefined;
124379
124415
  };
124416
+ collectionId?: string | undefined;
124380
124417
  }, {
124381
124418
  origin: {
124382
124419
  id: string;
@@ -124391,6 +124428,7 @@ declare const ThemeImportModel: z$1.ZodObject<{
124391
124428
  referencePersistentId?: string | undefined;
124392
124429
  referenceResolutionFailed?: boolean | undefined;
124393
124430
  };
124431
+ collectionId?: string | undefined;
124394
124432
  }>>, "many">;
124395
124433
  sortOrder: z$1.ZodNumber;
124396
124434
  collectionIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
@@ -124774,6 +124812,7 @@ declare const ThemeImportModel: z$1.ZodObject<{
124774
124812
  referencePersistentId?: string | undefined;
124775
124813
  referenceResolutionFailed?: boolean | undefined;
124776
124814
  };
124815
+ collectionId?: string | undefined;
124777
124816
  })[];
124778
124817
  originSource: {
124779
124818
  sourceId: string;
@@ -125165,6 +125204,7 @@ declare const ThemeImportModel: z$1.ZodObject<{
125165
125204
  referencePersistentId?: string | undefined;
125166
125205
  referenceResolutionFailed?: boolean | undefined;
125167
125206
  };
125207
+ collectionId?: string | undefined;
125168
125208
  })[];
125169
125209
  originSource: {
125170
125210
  sourceId: string;
@@ -127476,6 +127516,7 @@ declare const ThemeImportModelInput: z$1.ZodObject<{
127476
127516
  referencePersistentId?: string | undefined;
127477
127517
  referenceResolutionFailed?: boolean | undefined;
127478
127518
  }>;
127519
+ collectionId: z$1.ZodOptional<z$1.ZodString>;
127479
127520
  }, "strip", z$1.ZodTypeAny, {
127480
127521
  originId: string;
127481
127522
  originMetadata: {
@@ -127488,6 +127529,7 @@ declare const ThemeImportModelInput: z$1.ZodObject<{
127488
127529
  referencePersistentId?: string | undefined;
127489
127530
  referenceResolutionFailed?: boolean | undefined;
127490
127531
  };
127532
+ collectionId?: string | undefined;
127491
127533
  }, {
127492
127534
  originId: string;
127493
127535
  originMetadata: {
@@ -127500,6 +127542,7 @@ declare const ThemeImportModelInput: z$1.ZodObject<{
127500
127542
  referencePersistentId?: string | undefined;
127501
127543
  referenceResolutionFailed?: boolean | undefined;
127502
127544
  };
127545
+ collectionId?: string | undefined;
127503
127546
  }>>, "many">;
127504
127547
  collectionIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
127505
127548
  }, "strip", z$1.ZodTypeAny, {
@@ -127878,6 +127921,7 @@ declare const ThemeImportModelInput: z$1.ZodObject<{
127878
127921
  referencePersistentId?: string | undefined;
127879
127922
  referenceResolutionFailed?: boolean | undefined;
127880
127923
  };
127924
+ collectionId?: string | undefined;
127881
127925
  })[];
127882
127926
  originObjects: {
127883
127927
  id: string;
@@ -128262,6 +128306,7 @@ declare const ThemeImportModelInput: z$1.ZodObject<{
128262
128306
  referencePersistentId?: string | undefined;
128263
128307
  referenceResolutionFailed?: boolean | undefined;
128264
128308
  };
128309
+ collectionId?: string | undefined;
128265
128310
  })[];
128266
128311
  originObjects: {
128267
128312
  id: string;
@@ -130555,6 +130600,7 @@ declare const ThemeUpdateImportModel: z$1.ZodObject<{
130555
130600
  referencePersistentId?: string | undefined;
130556
130601
  referenceResolutionFailed?: boolean | undefined;
130557
130602
  }>;
130603
+ collectionId: z$1.ZodOptional<z$1.ZodString>;
130558
130604
  }, "strip", z$1.ZodTypeAny, {
130559
130605
  origin: {
130560
130606
  id: string;
@@ -130569,6 +130615,7 @@ declare const ThemeUpdateImportModel: z$1.ZodObject<{
130569
130615
  referencePersistentId?: string | undefined;
130570
130616
  referenceResolutionFailed?: boolean | undefined;
130571
130617
  };
130618
+ collectionId?: string | undefined;
130572
130619
  }, {
130573
130620
  origin: {
130574
130621
  id: string;
@@ -130583,6 +130630,7 @@ declare const ThemeUpdateImportModel: z$1.ZodObject<{
130583
130630
  referencePersistentId?: string | undefined;
130584
130631
  referenceResolutionFailed?: boolean | undefined;
130585
130632
  };
130633
+ collectionId?: string | undefined;
130586
130634
  }>>, "many">;
130587
130635
  }, "strip", z$1.ZodTypeAny, {
130588
130636
  overrides: ((({
@@ -130957,6 +131005,7 @@ declare const ThemeUpdateImportModel: z$1.ZodObject<{
130957
131005
  referencePersistentId?: string | undefined;
130958
131006
  referenceResolutionFailed?: boolean | undefined;
130959
131007
  };
131008
+ collectionId?: string | undefined;
130960
131009
  })[];
130961
131010
  themePersistentId: string;
130962
131011
  }, {
@@ -131332,6 +131381,7 @@ declare const ThemeUpdateImportModel: z$1.ZodObject<{
131332
131381
  referencePersistentId?: string | undefined;
131333
131382
  referenceResolutionFailed?: boolean | undefined;
131334
131383
  };
131384
+ collectionId?: string | undefined;
131335
131385
  })[];
131336
131386
  themePersistentId: string;
131337
131387
  }>;
@@ -133610,6 +133660,7 @@ declare const ThemeUpdateImportModelInput: z$1.ZodObject<{
133610
133660
  referencePersistentId?: string | undefined;
133611
133661
  referenceResolutionFailed?: boolean | undefined;
133612
133662
  }>;
133663
+ collectionId: z$1.ZodOptional<z$1.ZodString>;
133613
133664
  }, "strip", z$1.ZodTypeAny, {
133614
133665
  originId: string;
133615
133666
  originMetadata: {
@@ -133622,6 +133673,7 @@ declare const ThemeUpdateImportModelInput: z$1.ZodObject<{
133622
133673
  referencePersistentId?: string | undefined;
133623
133674
  referenceResolutionFailed?: boolean | undefined;
133624
133675
  };
133676
+ collectionId?: string | undefined;
133625
133677
  }, {
133626
133678
  originId: string;
133627
133679
  originMetadata: {
@@ -133634,6 +133686,7 @@ declare const ThemeUpdateImportModelInput: z$1.ZodObject<{
133634
133686
  referencePersistentId?: string | undefined;
133635
133687
  referenceResolutionFailed?: boolean | undefined;
133636
133688
  };
133689
+ collectionId?: string | undefined;
133637
133690
  }>>, "many">;
133638
133691
  }, "strip", z$1.ZodTypeAny, {
133639
133692
  overrides: ((({
@@ -134006,6 +134059,7 @@ declare const ThemeUpdateImportModelInput: z$1.ZodObject<{
134006
134059
  referencePersistentId?: string | undefined;
134007
134060
  referenceResolutionFailed?: boolean | undefined;
134008
134061
  };
134062
+ collectionId?: string | undefined;
134009
134063
  })[];
134010
134064
  themePersistentId: string;
134011
134065
  }, {
@@ -134379,6 +134433,7 @@ declare const ThemeUpdateImportModelInput: z$1.ZodObject<{
134379
134433
  referencePersistentId?: string | undefined;
134380
134434
  referenceResolutionFailed?: boolean | undefined;
134381
134435
  };
134436
+ collectionId?: string | undefined;
134382
134437
  })[];
134383
134438
  themePersistentId: string;
134384
134439
  }>;