@supernova-studio/model 0.54.10 → 0.54.12

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
@@ -81118,6 +81118,7 @@ declare const ImportModelCollection: z.ZodObject<{
81118
81118
  }, {
81119
81119
  collection: z.ZodOptional<z.ZodString>;
81120
81120
  codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
81121
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
81121
81122
  }>, {
81122
81123
  origin: z.ZodObject<z.objectUtil.extendShape<{
81123
81124
  id: z.ZodString;
@@ -81176,6 +81177,7 @@ declare const ImportModelCollection: z.ZodObject<{
81176
81177
  };
81177
81178
  collection?: string | undefined;
81178
81179
  codeSyntax?: Record<string, string> | undefined;
81180
+ scopes?: string[] | undefined;
81179
81181
  }, {
81180
81182
  id: string;
81181
81183
  origin: {
@@ -81198,6 +81200,7 @@ declare const ImportModelCollection: z.ZodObject<{
81198
81200
  };
81199
81201
  collection?: string | undefined;
81200
81202
  codeSyntax?: Record<string, string> | undefined;
81203
+ scopes?: string[] | undefined;
81201
81204
  }>>, "many">>;
81202
81205
  components: z.ZodDefault<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
81203
81206
  id: z.ZodString;
@@ -88928,6 +88931,7 @@ declare const ImportModelCollection: z.ZodObject<{
88928
88931
  };
88929
88932
  collection?: string | undefined;
88930
88933
  codeSyntax?: Record<string, string> | undefined;
88934
+ scopes?: string[] | undefined;
88931
88935
  })[];
88932
88936
  themeUpdates: {
88933
88937
  overrides: ((({
@@ -90275,6 +90279,7 @@ declare const ImportModelCollection: z.ZodObject<{
90275
90279
  };
90276
90280
  collection?: string | undefined;
90277
90281
  codeSyntax?: Record<string, string> | undefined;
90282
+ scopes?: string[] | undefined;
90278
90283
  })[] | undefined;
90279
90284
  themeUpdates?: {
90280
90285
  overrides: ((({
@@ -92918,6 +92923,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
92918
92923
  }>, {
92919
92924
  collection: z.ZodOptional<z.ZodString>;
92920
92925
  codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
92926
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
92921
92927
  }>, {
92922
92928
  originMetadata: z.ZodObject<{
92923
92929
  referenceOriginId: z.ZodOptional<z.ZodString>;
@@ -92962,6 +92968,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
92962
92968
  };
92963
92969
  collection?: string | undefined;
92964
92970
  codeSyntax?: Record<string, string> | undefined;
92971
+ scopes?: string[] | undefined;
92965
92972
  }, {
92966
92973
  id: string;
92967
92974
  meta: {
@@ -92980,6 +92987,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
92980
92987
  };
92981
92988
  collection?: string | undefined;
92982
92989
  codeSyntax?: Record<string, string> | undefined;
92990
+ scopes?: string[] | undefined;
92983
92991
  }>>, "many">>;
92984
92992
  components: z.ZodDefault<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
92985
92993
  id: z.ZodString;
@@ -100972,6 +100980,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
100972
100980
  };
100973
100981
  collection?: string | undefined;
100974
100982
  codeSyntax?: Record<string, string> | undefined;
100983
+ scopes?: string[] | undefined;
100975
100984
  })[];
100976
100985
  themeUpdates: {
100977
100986
  overrides: ((({
@@ -102279,6 +102288,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
102279
102288
  };
102280
102289
  collection?: string | undefined;
102281
102290
  codeSyntax?: Record<string, string> | undefined;
102291
+ scopes?: string[] | undefined;
102282
102292
  })[] | undefined;
102283
102293
  themeUpdates?: {
102284
102294
  overrides: ((({
@@ -123310,6 +123320,7 @@ declare const DesignTokenImportModelBase: z.ZodObject<z.objectUtil.extendShape<z
123310
123320
  }, {
123311
123321
  collection: z.ZodOptional<z.ZodString>;
123312
123322
  codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
123323
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
123313
123324
  }>, {
123314
123325
  origin: z.ZodObject<z.objectUtil.extendShape<{
123315
123326
  id: z.ZodString;
@@ -123368,6 +123379,7 @@ declare const DesignTokenImportModelBase: z.ZodObject<z.objectUtil.extendShape<z
123368
123379
  };
123369
123380
  collection?: string | undefined;
123370
123381
  codeSyntax?: Record<string, string> | undefined;
123382
+ scopes?: string[] | undefined;
123371
123383
  }, {
123372
123384
  id: string;
123373
123385
  origin: {
@@ -123390,6 +123402,7 @@ declare const DesignTokenImportModelBase: z.ZodObject<z.objectUtil.extendShape<z
123390
123402
  };
123391
123403
  collection?: string | undefined;
123392
123404
  codeSyntax?: Record<string, string> | undefined;
123405
+ scopes?: string[] | undefined;
123393
123406
  }>;
123394
123407
  declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
123395
123408
  id: z.ZodString;
@@ -123424,6 +123437,7 @@ declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendSh
123424
123437
  }>, {
123425
123438
  collection: z.ZodOptional<z.ZodString>;
123426
123439
  codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
123440
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
123427
123441
  }>, {
123428
123442
  originMetadata: z.ZodObject<{
123429
123443
  referenceOriginId: z.ZodOptional<z.ZodString>;
@@ -123468,6 +123482,7 @@ declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendSh
123468
123482
  };
123469
123483
  collection?: string | undefined;
123470
123484
  codeSyntax?: Record<string, string> | undefined;
123485
+ scopes?: string[] | undefined;
123471
123486
  }, {
123472
123487
  id: string;
123473
123488
  meta: {
@@ -123486,6 +123501,7 @@ declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendSh
123486
123501
  };
123487
123502
  collection?: string | undefined;
123488
123503
  codeSyntax?: Record<string, string> | undefined;
123504
+ scopes?: string[] | undefined;
123489
123505
  }>;
123490
123506
  type DesignTokenImportModelInputBase = z.infer<typeof DesignTokenImportModelInputBase>;
123491
123507
  declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -125736,6 +125752,7 @@ declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<
125736
125752
  }, {
125737
125753
  collection: z.ZodOptional<z.ZodString>;
125738
125754
  codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
125755
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
125739
125756
  }>, {
125740
125757
  origin: z.ZodObject<z.objectUtil.extendShape<{
125741
125758
  id: z.ZodString;
@@ -125794,6 +125811,7 @@ declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<
125794
125811
  };
125795
125812
  collection?: string | undefined;
125796
125813
  codeSyntax?: Record<string, string> | undefined;
125814
+ scopes?: string[] | undefined;
125797
125815
  }, {
125798
125816
  id: string;
125799
125817
  origin: {
@@ -125816,6 +125834,7 @@ declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<
125816
125834
  };
125817
125835
  collection?: string | undefined;
125818
125836
  codeSyntax?: Record<string, string> | undefined;
125837
+ scopes?: string[] | undefined;
125819
125838
  }>>;
125820
125839
  type DesignTokenImportModel = z.infer<typeof DesignTokenImportModel>;
125821
125840
  type DesignTokenImportModelOfType<T extends DesignTokenType> = Extract<DesignTokenImportModel, {
@@ -128072,6 +128091,7 @@ declare const DesignTokenImportModelInput: z.ZodIntersection<z.ZodDiscriminatedU
128072
128091
  }>, {
128073
128092
  collection: z.ZodOptional<z.ZodString>;
128074
128093
  codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
128094
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
128075
128095
  }>, {
128076
128096
  originMetadata: z.ZodObject<{
128077
128097
  referenceOriginId: z.ZodOptional<z.ZodString>;
@@ -128116,6 +128136,7 @@ declare const DesignTokenImportModelInput: z.ZodIntersection<z.ZodDiscriminatedU
128116
128136
  };
128117
128137
  collection?: string | undefined;
128118
128138
  codeSyntax?: Record<string, string> | undefined;
128139
+ scopes?: string[] | undefined;
128119
128140
  }, {
128120
128141
  id: string;
128121
128142
  meta: {
@@ -128134,6 +128155,7 @@ declare const DesignTokenImportModelInput: z.ZodIntersection<z.ZodDiscriminatedU
128134
128155
  };
128135
128156
  collection?: string | undefined;
128136
128157
  codeSyntax?: Record<string, string> | undefined;
128158
+ scopes?: string[] | undefined;
128137
128159
  }>>;
128138
128160
  type DesignTokenImportModelInput = z.infer<typeof DesignTokenImportModelInput>;
128139
128161
  type DesignTokenImportModelInputOfType<T extends DesignTokenType> = Extract<DesignTokenImportModel, {
package/dist/index.d.ts CHANGED
@@ -81118,6 +81118,7 @@ declare const ImportModelCollection: z.ZodObject<{
81118
81118
  }, {
81119
81119
  collection: z.ZodOptional<z.ZodString>;
81120
81120
  codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
81121
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
81121
81122
  }>, {
81122
81123
  origin: z.ZodObject<z.objectUtil.extendShape<{
81123
81124
  id: z.ZodString;
@@ -81176,6 +81177,7 @@ declare const ImportModelCollection: z.ZodObject<{
81176
81177
  };
81177
81178
  collection?: string | undefined;
81178
81179
  codeSyntax?: Record<string, string> | undefined;
81180
+ scopes?: string[] | undefined;
81179
81181
  }, {
81180
81182
  id: string;
81181
81183
  origin: {
@@ -81198,6 +81200,7 @@ declare const ImportModelCollection: z.ZodObject<{
81198
81200
  };
81199
81201
  collection?: string | undefined;
81200
81202
  codeSyntax?: Record<string, string> | undefined;
81203
+ scopes?: string[] | undefined;
81201
81204
  }>>, "many">>;
81202
81205
  components: z.ZodDefault<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
81203
81206
  id: z.ZodString;
@@ -88928,6 +88931,7 @@ declare const ImportModelCollection: z.ZodObject<{
88928
88931
  };
88929
88932
  collection?: string | undefined;
88930
88933
  codeSyntax?: Record<string, string> | undefined;
88934
+ scopes?: string[] | undefined;
88931
88935
  })[];
88932
88936
  themeUpdates: {
88933
88937
  overrides: ((({
@@ -90275,6 +90279,7 @@ declare const ImportModelCollection: z.ZodObject<{
90275
90279
  };
90276
90280
  collection?: string | undefined;
90277
90281
  codeSyntax?: Record<string, string> | undefined;
90282
+ scopes?: string[] | undefined;
90278
90283
  })[] | undefined;
90279
90284
  themeUpdates?: {
90280
90285
  overrides: ((({
@@ -92918,6 +92923,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
92918
92923
  }>, {
92919
92924
  collection: z.ZodOptional<z.ZodString>;
92920
92925
  codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
92926
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
92921
92927
  }>, {
92922
92928
  originMetadata: z.ZodObject<{
92923
92929
  referenceOriginId: z.ZodOptional<z.ZodString>;
@@ -92962,6 +92968,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
92962
92968
  };
92963
92969
  collection?: string | undefined;
92964
92970
  codeSyntax?: Record<string, string> | undefined;
92971
+ scopes?: string[] | undefined;
92965
92972
  }, {
92966
92973
  id: string;
92967
92974
  meta: {
@@ -92980,6 +92987,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
92980
92987
  };
92981
92988
  collection?: string | undefined;
92982
92989
  codeSyntax?: Record<string, string> | undefined;
92990
+ scopes?: string[] | undefined;
92983
92991
  }>>, "many">>;
92984
92992
  components: z.ZodDefault<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
92985
92993
  id: z.ZodString;
@@ -100972,6 +100980,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
100972
100980
  };
100973
100981
  collection?: string | undefined;
100974
100982
  codeSyntax?: Record<string, string> | undefined;
100983
+ scopes?: string[] | undefined;
100975
100984
  })[];
100976
100985
  themeUpdates: {
100977
100986
  overrides: ((({
@@ -102279,6 +102288,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
102279
102288
  };
102280
102289
  collection?: string | undefined;
102281
102290
  codeSyntax?: Record<string, string> | undefined;
102291
+ scopes?: string[] | undefined;
102282
102292
  })[] | undefined;
102283
102293
  themeUpdates?: {
102284
102294
  overrides: ((({
@@ -123310,6 +123320,7 @@ declare const DesignTokenImportModelBase: z.ZodObject<z.objectUtil.extendShape<z
123310
123320
  }, {
123311
123321
  collection: z.ZodOptional<z.ZodString>;
123312
123322
  codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
123323
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
123313
123324
  }>, {
123314
123325
  origin: z.ZodObject<z.objectUtil.extendShape<{
123315
123326
  id: z.ZodString;
@@ -123368,6 +123379,7 @@ declare const DesignTokenImportModelBase: z.ZodObject<z.objectUtil.extendShape<z
123368
123379
  };
123369
123380
  collection?: string | undefined;
123370
123381
  codeSyntax?: Record<string, string> | undefined;
123382
+ scopes?: string[] | undefined;
123371
123383
  }, {
123372
123384
  id: string;
123373
123385
  origin: {
@@ -123390,6 +123402,7 @@ declare const DesignTokenImportModelBase: z.ZodObject<z.objectUtil.extendShape<z
123390
123402
  };
123391
123403
  collection?: string | undefined;
123392
123404
  codeSyntax?: Record<string, string> | undefined;
123405
+ scopes?: string[] | undefined;
123393
123406
  }>;
123394
123407
  declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
123395
123408
  id: z.ZodString;
@@ -123424,6 +123437,7 @@ declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendSh
123424
123437
  }>, {
123425
123438
  collection: z.ZodOptional<z.ZodString>;
123426
123439
  codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
123440
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
123427
123441
  }>, {
123428
123442
  originMetadata: z.ZodObject<{
123429
123443
  referenceOriginId: z.ZodOptional<z.ZodString>;
@@ -123468,6 +123482,7 @@ declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendSh
123468
123482
  };
123469
123483
  collection?: string | undefined;
123470
123484
  codeSyntax?: Record<string, string> | undefined;
123485
+ scopes?: string[] | undefined;
123471
123486
  }, {
123472
123487
  id: string;
123473
123488
  meta: {
@@ -123486,6 +123501,7 @@ declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendSh
123486
123501
  };
123487
123502
  collection?: string | undefined;
123488
123503
  codeSyntax?: Record<string, string> | undefined;
123504
+ scopes?: string[] | undefined;
123489
123505
  }>;
123490
123506
  type DesignTokenImportModelInputBase = z.infer<typeof DesignTokenImportModelInputBase>;
123491
123507
  declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -125736,6 +125752,7 @@ declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<
125736
125752
  }, {
125737
125753
  collection: z.ZodOptional<z.ZodString>;
125738
125754
  codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
125755
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
125739
125756
  }>, {
125740
125757
  origin: z.ZodObject<z.objectUtil.extendShape<{
125741
125758
  id: z.ZodString;
@@ -125794,6 +125811,7 @@ declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<
125794
125811
  };
125795
125812
  collection?: string | undefined;
125796
125813
  codeSyntax?: Record<string, string> | undefined;
125814
+ scopes?: string[] | undefined;
125797
125815
  }, {
125798
125816
  id: string;
125799
125817
  origin: {
@@ -125816,6 +125834,7 @@ declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<
125816
125834
  };
125817
125835
  collection?: string | undefined;
125818
125836
  codeSyntax?: Record<string, string> | undefined;
125837
+ scopes?: string[] | undefined;
125819
125838
  }>>;
125820
125839
  type DesignTokenImportModel = z.infer<typeof DesignTokenImportModel>;
125821
125840
  type DesignTokenImportModelOfType<T extends DesignTokenType> = Extract<DesignTokenImportModel, {
@@ -128072,6 +128091,7 @@ declare const DesignTokenImportModelInput: z.ZodIntersection<z.ZodDiscriminatedU
128072
128091
  }>, {
128073
128092
  collection: z.ZodOptional<z.ZodString>;
128074
128093
  codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
128094
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
128075
128095
  }>, {
128076
128096
  originMetadata: z.ZodObject<{
128077
128097
  referenceOriginId: z.ZodOptional<z.ZodString>;
@@ -128116,6 +128136,7 @@ declare const DesignTokenImportModelInput: z.ZodIntersection<z.ZodDiscriminatedU
128116
128136
  };
128117
128137
  collection?: string | undefined;
128118
128138
  codeSyntax?: Record<string, string> | undefined;
128139
+ scopes?: string[] | undefined;
128119
128140
  }, {
128120
128141
  id: string;
128121
128142
  meta: {
@@ -128134,6 +128155,7 @@ declare const DesignTokenImportModelInput: z.ZodIntersection<z.ZodDiscriminatedU
128134
128155
  };
128135
128156
  collection?: string | undefined;
128136
128157
  codeSyntax?: Record<string, string> | undefined;
128158
+ scopes?: string[] | undefined;
128137
128159
  }>>;
128138
128160
  type DesignTokenImportModelInput = z.infer<typeof DesignTokenImportModelInput>;
128139
128161
  type DesignTokenImportModelInputOfType<T extends DesignTokenType> = Extract<DesignTokenImportModel, {
package/dist/index.js CHANGED
@@ -3698,7 +3698,8 @@ var ThemeUpdateImportModelInput = _zod.z.object({
3698
3698
 
3699
3699
  var DesignTokenImportModelPart = _zod.z.object({
3700
3700
  collection: _zod.z.string().optional(),
3701
- codeSyntax: _zod.z.record(_zod.z.coerce.string()).optional()
3701
+ codeSyntax: _zod.z.record(_zod.z.coerce.string()).optional(),
3702
+ scopes: _zod.z.array(_zod.z.string()).optional()
3702
3703
  });
3703
3704
  var DesignTokenImportModelBase = ImportModelBase.extend(DesignTokenImportModelPart.shape).extend({
3704
3705
  origin: DesignTokenOrigin