@supernova-studio/model 0.47.46 → 0.47.47

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
@@ -75964,6 +75964,7 @@ declare const ImportModelCollection: z.ZodObject<{
75964
75964
  sortOrder: z.ZodNumber;
75965
75965
  }, {
75966
75966
  collection: z.ZodOptional<z.ZodString>;
75967
+ codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
75967
75968
  }>, {
75968
75969
  origin: z.ZodObject<z.objectUtil.extendShape<{
75969
75970
  id: z.ZodString;
@@ -76001,6 +76002,7 @@ declare const ImportModelCollection: z.ZodObject<{
76001
76002
  description?: string | undefined;
76002
76003
  };
76003
76004
  collection?: string | undefined;
76005
+ codeSyntax?: Record<string, string> | undefined;
76004
76006
  }, {
76005
76007
  id: string;
76006
76008
  origin: {
@@ -76017,6 +76019,7 @@ declare const ImportModelCollection: z.ZodObject<{
76017
76019
  description?: string | undefined;
76018
76020
  };
76019
76021
  collection?: string | undefined;
76022
+ codeSyntax?: Record<string, string> | undefined;
76020
76023
  }>>, "many">>;
76021
76024
  components: z.ZodDefault<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
76022
76025
  id: z.ZodString;
@@ -83405,6 +83408,7 @@ declare const ImportModelCollection: z.ZodObject<{
83405
83408
  description?: string | undefined;
83406
83409
  };
83407
83410
  collection?: string | undefined;
83411
+ codeSyntax?: Record<string, string> | undefined;
83408
83412
  })[];
83409
83413
  themeUpdates: {
83410
83414
  overrides: ((({
@@ -84677,6 +84681,7 @@ declare const ImportModelCollection: z.ZodObject<{
84677
84681
  description?: string | undefined;
84678
84682
  };
84679
84683
  collection?: string | undefined;
84684
+ codeSyntax?: Record<string, string> | undefined;
84680
84685
  })[] | undefined;
84681
84686
  themeUpdates?: {
84682
84687
  overrides: ((({
@@ -87295,6 +87300,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
87295
87300
  originMetadata: z.ZodRecord<z.ZodString, z.ZodAny>;
87296
87301
  }>, {
87297
87302
  collection: z.ZodOptional<z.ZodString>;
87303
+ codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
87298
87304
  }>, {
87299
87305
  originMetadata: z.ZodObject<{
87300
87306
  referenceOriginId: z.ZodOptional<z.ZodString>;
@@ -87318,6 +87324,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
87318
87324
  referencePersistentId?: string | undefined;
87319
87325
  };
87320
87326
  collection?: string | undefined;
87327
+ codeSyntax?: Record<string, string> | undefined;
87321
87328
  }, {
87322
87329
  id: string;
87323
87330
  meta: {
@@ -87330,6 +87337,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
87330
87337
  referencePersistentId?: string | undefined;
87331
87338
  };
87332
87339
  collection?: string | undefined;
87340
+ codeSyntax?: Record<string, string> | undefined;
87333
87341
  }>>, "many">>;
87334
87342
  components: z.ZodDefault<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
87335
87343
  id: z.ZodString;
@@ -94841,6 +94849,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
94841
94849
  referencePersistentId?: string | undefined;
94842
94850
  };
94843
94851
  collection?: string | undefined;
94852
+ codeSyntax?: Record<string, string> | undefined;
94844
94853
  })[];
94845
94854
  themeUpdates: {
94846
94855
  overrides: ((({
@@ -96068,6 +96077,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
96068
96077
  referencePersistentId?: string | undefined;
96069
96078
  };
96070
96079
  collection?: string | undefined;
96080
+ codeSyntax?: Record<string, string> | undefined;
96071
96081
  })[] | undefined;
96072
96082
  themeUpdates?: {
96073
96083
  overrides: ((({
@@ -116397,6 +116407,7 @@ declare const DesignTokenImportModelBase: z.ZodObject<z.objectUtil.extendShape<z
116397
116407
  sortOrder: z.ZodNumber;
116398
116408
  }, {
116399
116409
  collection: z.ZodOptional<z.ZodString>;
116410
+ codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
116400
116411
  }>, {
116401
116412
  origin: z.ZodObject<z.objectUtil.extendShape<{
116402
116413
  id: z.ZodString;
@@ -116434,6 +116445,7 @@ declare const DesignTokenImportModelBase: z.ZodObject<z.objectUtil.extendShape<z
116434
116445
  description?: string | undefined;
116435
116446
  };
116436
116447
  collection?: string | undefined;
116448
+ codeSyntax?: Record<string, string> | undefined;
116437
116449
  }, {
116438
116450
  id: string;
116439
116451
  origin: {
@@ -116450,6 +116462,7 @@ declare const DesignTokenImportModelBase: z.ZodObject<z.objectUtil.extendShape<z
116450
116462
  description?: string | undefined;
116451
116463
  };
116452
116464
  collection?: string | undefined;
116465
+ codeSyntax?: Record<string, string> | undefined;
116453
116466
  }>;
116454
116467
  declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
116455
116468
  id: z.ZodString;
@@ -116483,6 +116496,7 @@ declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendSh
116483
116496
  originMetadata: z.ZodRecord<z.ZodString, z.ZodAny>;
116484
116497
  }>, {
116485
116498
  collection: z.ZodOptional<z.ZodString>;
116499
+ codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
116486
116500
  }>, {
116487
116501
  originMetadata: z.ZodObject<{
116488
116502
  referenceOriginId: z.ZodOptional<z.ZodString>;
@@ -116506,6 +116520,7 @@ declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendSh
116506
116520
  referencePersistentId?: string | undefined;
116507
116521
  };
116508
116522
  collection?: string | undefined;
116523
+ codeSyntax?: Record<string, string> | undefined;
116509
116524
  }, {
116510
116525
  id: string;
116511
116526
  meta: {
@@ -116518,6 +116533,7 @@ declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendSh
116518
116533
  referencePersistentId?: string | undefined;
116519
116534
  };
116520
116535
  collection?: string | undefined;
116536
+ codeSyntax?: Record<string, string> | undefined;
116521
116537
  }>;
116522
116538
  type DesignTokenImportModelInputBase = z.infer<typeof DesignTokenImportModelInputBase>;
116523
116539
  declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -118751,6 +118767,7 @@ declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<
118751
118767
  sortOrder: z.ZodNumber;
118752
118768
  }, {
118753
118769
  collection: z.ZodOptional<z.ZodString>;
118770
+ codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
118754
118771
  }>, {
118755
118772
  origin: z.ZodObject<z.objectUtil.extendShape<{
118756
118773
  id: z.ZodString;
@@ -118788,6 +118805,7 @@ declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<
118788
118805
  description?: string | undefined;
118789
118806
  };
118790
118807
  collection?: string | undefined;
118808
+ codeSyntax?: Record<string, string> | undefined;
118791
118809
  }, {
118792
118810
  id: string;
118793
118811
  origin: {
@@ -118804,6 +118822,7 @@ declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<
118804
118822
  description?: string | undefined;
118805
118823
  };
118806
118824
  collection?: string | undefined;
118825
+ codeSyntax?: Record<string, string> | undefined;
118807
118826
  }>>;
118808
118827
  type DesignTokenImportModel = z.infer<typeof DesignTokenImportModel>;
118809
118828
  type DesignTokenImportModelOfType<T extends DesignTokenType> = Extract<DesignTokenImportModel, {
@@ -121043,6 +121062,7 @@ declare const DesignTokenImportModelInput: z.ZodIntersection<z.ZodDiscriminatedU
121043
121062
  originMetadata: z.ZodRecord<z.ZodString, z.ZodAny>;
121044
121063
  }>, {
121045
121064
  collection: z.ZodOptional<z.ZodString>;
121065
+ codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
121046
121066
  }>, {
121047
121067
  originMetadata: z.ZodObject<{
121048
121068
  referenceOriginId: z.ZodOptional<z.ZodString>;
@@ -121066,6 +121086,7 @@ declare const DesignTokenImportModelInput: z.ZodIntersection<z.ZodDiscriminatedU
121066
121086
  referencePersistentId?: string | undefined;
121067
121087
  };
121068
121088
  collection?: string | undefined;
121089
+ codeSyntax?: Record<string, string> | undefined;
121069
121090
  }, {
121070
121091
  id: string;
121071
121092
  meta: {
@@ -121078,6 +121099,7 @@ declare const DesignTokenImportModelInput: z.ZodIntersection<z.ZodDiscriminatedU
121078
121099
  referencePersistentId?: string | undefined;
121079
121100
  };
121080
121101
  collection?: string | undefined;
121102
+ codeSyntax?: Record<string, string> | undefined;
121081
121103
  }>>;
121082
121104
  type DesignTokenImportModelInput = z.infer<typeof DesignTokenImportModelInput>;
121083
121105
  type DesignTokenImportModelInputOfType<T extends DesignTokenType> = Extract<DesignTokenImportModel, {
@@ -121270,6 +121292,7 @@ type UpdateElementPropertyValue = OmitStrict<DbUpdate<ElementPropertyValue>, "de
121270
121292
  type ElementPropertyValueDiff = {
121271
121293
  toCreate: CreateElementPropertyValue[];
121272
121294
  toUpdate: UpdateElementPropertyValue[];
121295
+ toDelete: ElementPropertyValue[];
121273
121296
  };
121274
121297
 
121275
121298
  declare const ElementViewBaseColumnType: z.ZodEnum<["Name", "Description", "Value", "UpdatedAt"]>;
package/dist/index.d.ts CHANGED
@@ -75964,6 +75964,7 @@ declare const ImportModelCollection: z.ZodObject<{
75964
75964
  sortOrder: z.ZodNumber;
75965
75965
  }, {
75966
75966
  collection: z.ZodOptional<z.ZodString>;
75967
+ codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
75967
75968
  }>, {
75968
75969
  origin: z.ZodObject<z.objectUtil.extendShape<{
75969
75970
  id: z.ZodString;
@@ -76001,6 +76002,7 @@ declare const ImportModelCollection: z.ZodObject<{
76001
76002
  description?: string | undefined;
76002
76003
  };
76003
76004
  collection?: string | undefined;
76005
+ codeSyntax?: Record<string, string> | undefined;
76004
76006
  }, {
76005
76007
  id: string;
76006
76008
  origin: {
@@ -76017,6 +76019,7 @@ declare const ImportModelCollection: z.ZodObject<{
76017
76019
  description?: string | undefined;
76018
76020
  };
76019
76021
  collection?: string | undefined;
76022
+ codeSyntax?: Record<string, string> | undefined;
76020
76023
  }>>, "many">>;
76021
76024
  components: z.ZodDefault<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
76022
76025
  id: z.ZodString;
@@ -83405,6 +83408,7 @@ declare const ImportModelCollection: z.ZodObject<{
83405
83408
  description?: string | undefined;
83406
83409
  };
83407
83410
  collection?: string | undefined;
83411
+ codeSyntax?: Record<string, string> | undefined;
83408
83412
  })[];
83409
83413
  themeUpdates: {
83410
83414
  overrides: ((({
@@ -84677,6 +84681,7 @@ declare const ImportModelCollection: z.ZodObject<{
84677
84681
  description?: string | undefined;
84678
84682
  };
84679
84683
  collection?: string | undefined;
84684
+ codeSyntax?: Record<string, string> | undefined;
84680
84685
  })[] | undefined;
84681
84686
  themeUpdates?: {
84682
84687
  overrides: ((({
@@ -87295,6 +87300,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
87295
87300
  originMetadata: z.ZodRecord<z.ZodString, z.ZodAny>;
87296
87301
  }>, {
87297
87302
  collection: z.ZodOptional<z.ZodString>;
87303
+ codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
87298
87304
  }>, {
87299
87305
  originMetadata: z.ZodObject<{
87300
87306
  referenceOriginId: z.ZodOptional<z.ZodString>;
@@ -87318,6 +87324,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
87318
87324
  referencePersistentId?: string | undefined;
87319
87325
  };
87320
87326
  collection?: string | undefined;
87327
+ codeSyntax?: Record<string, string> | undefined;
87321
87328
  }, {
87322
87329
  id: string;
87323
87330
  meta: {
@@ -87330,6 +87337,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
87330
87337
  referencePersistentId?: string | undefined;
87331
87338
  };
87332
87339
  collection?: string | undefined;
87340
+ codeSyntax?: Record<string, string> | undefined;
87333
87341
  }>>, "many">>;
87334
87342
  components: z.ZodDefault<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
87335
87343
  id: z.ZodString;
@@ -94841,6 +94849,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
94841
94849
  referencePersistentId?: string | undefined;
94842
94850
  };
94843
94851
  collection?: string | undefined;
94852
+ codeSyntax?: Record<string, string> | undefined;
94844
94853
  })[];
94845
94854
  themeUpdates: {
94846
94855
  overrides: ((({
@@ -96068,6 +96077,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
96068
96077
  referencePersistentId?: string | undefined;
96069
96078
  };
96070
96079
  collection?: string | undefined;
96080
+ codeSyntax?: Record<string, string> | undefined;
96071
96081
  })[] | undefined;
96072
96082
  themeUpdates?: {
96073
96083
  overrides: ((({
@@ -116397,6 +116407,7 @@ declare const DesignTokenImportModelBase: z.ZodObject<z.objectUtil.extendShape<z
116397
116407
  sortOrder: z.ZodNumber;
116398
116408
  }, {
116399
116409
  collection: z.ZodOptional<z.ZodString>;
116410
+ codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
116400
116411
  }>, {
116401
116412
  origin: z.ZodObject<z.objectUtil.extendShape<{
116402
116413
  id: z.ZodString;
@@ -116434,6 +116445,7 @@ declare const DesignTokenImportModelBase: z.ZodObject<z.objectUtil.extendShape<z
116434
116445
  description?: string | undefined;
116435
116446
  };
116436
116447
  collection?: string | undefined;
116448
+ codeSyntax?: Record<string, string> | undefined;
116437
116449
  }, {
116438
116450
  id: string;
116439
116451
  origin: {
@@ -116450,6 +116462,7 @@ declare const DesignTokenImportModelBase: z.ZodObject<z.objectUtil.extendShape<z
116450
116462
  description?: string | undefined;
116451
116463
  };
116452
116464
  collection?: string | undefined;
116465
+ codeSyntax?: Record<string, string> | undefined;
116453
116466
  }>;
116454
116467
  declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
116455
116468
  id: z.ZodString;
@@ -116483,6 +116496,7 @@ declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendSh
116483
116496
  originMetadata: z.ZodRecord<z.ZodString, z.ZodAny>;
116484
116497
  }>, {
116485
116498
  collection: z.ZodOptional<z.ZodString>;
116499
+ codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
116486
116500
  }>, {
116487
116501
  originMetadata: z.ZodObject<{
116488
116502
  referenceOriginId: z.ZodOptional<z.ZodString>;
@@ -116506,6 +116520,7 @@ declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendSh
116506
116520
  referencePersistentId?: string | undefined;
116507
116521
  };
116508
116522
  collection?: string | undefined;
116523
+ codeSyntax?: Record<string, string> | undefined;
116509
116524
  }, {
116510
116525
  id: string;
116511
116526
  meta: {
@@ -116518,6 +116533,7 @@ declare const DesignTokenImportModelInputBase: z.ZodObject<z.objectUtil.extendSh
116518
116533
  referencePersistentId?: string | undefined;
116519
116534
  };
116520
116535
  collection?: string | undefined;
116536
+ codeSyntax?: Record<string, string> | undefined;
116521
116537
  }>;
116522
116538
  type DesignTokenImportModelInputBase = z.infer<typeof DesignTokenImportModelInputBase>;
116523
116539
  declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -118751,6 +118767,7 @@ declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<
118751
118767
  sortOrder: z.ZodNumber;
118752
118768
  }, {
118753
118769
  collection: z.ZodOptional<z.ZodString>;
118770
+ codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
118754
118771
  }>, {
118755
118772
  origin: z.ZodObject<z.objectUtil.extendShape<{
118756
118773
  id: z.ZodString;
@@ -118788,6 +118805,7 @@ declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<
118788
118805
  description?: string | undefined;
118789
118806
  };
118790
118807
  collection?: string | undefined;
118808
+ codeSyntax?: Record<string, string> | undefined;
118791
118809
  }, {
118792
118810
  id: string;
118793
118811
  origin: {
@@ -118804,6 +118822,7 @@ declare const DesignTokenImportModel: z.ZodIntersection<z.ZodDiscriminatedUnion<
118804
118822
  description?: string | undefined;
118805
118823
  };
118806
118824
  collection?: string | undefined;
118825
+ codeSyntax?: Record<string, string> | undefined;
118807
118826
  }>>;
118808
118827
  type DesignTokenImportModel = z.infer<typeof DesignTokenImportModel>;
118809
118828
  type DesignTokenImportModelOfType<T extends DesignTokenType> = Extract<DesignTokenImportModel, {
@@ -121043,6 +121062,7 @@ declare const DesignTokenImportModelInput: z.ZodIntersection<z.ZodDiscriminatedU
121043
121062
  originMetadata: z.ZodRecord<z.ZodString, z.ZodAny>;
121044
121063
  }>, {
121045
121064
  collection: z.ZodOptional<z.ZodString>;
121065
+ codeSyntax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
121046
121066
  }>, {
121047
121067
  originMetadata: z.ZodObject<{
121048
121068
  referenceOriginId: z.ZodOptional<z.ZodString>;
@@ -121066,6 +121086,7 @@ declare const DesignTokenImportModelInput: z.ZodIntersection<z.ZodDiscriminatedU
121066
121086
  referencePersistentId?: string | undefined;
121067
121087
  };
121068
121088
  collection?: string | undefined;
121089
+ codeSyntax?: Record<string, string> | undefined;
121069
121090
  }, {
121070
121091
  id: string;
121071
121092
  meta: {
@@ -121078,6 +121099,7 @@ declare const DesignTokenImportModelInput: z.ZodIntersection<z.ZodDiscriminatedU
121078
121099
  referencePersistentId?: string | undefined;
121079
121100
  };
121080
121101
  collection?: string | undefined;
121102
+ codeSyntax?: Record<string, string> | undefined;
121081
121103
  }>>;
121082
121104
  type DesignTokenImportModelInput = z.infer<typeof DesignTokenImportModelInput>;
121083
121105
  type DesignTokenImportModelInputOfType<T extends DesignTokenType> = Extract<DesignTokenImportModel, {
@@ -121270,6 +121292,7 @@ type UpdateElementPropertyValue = OmitStrict<DbUpdate<ElementPropertyValue>, "de
121270
121292
  type ElementPropertyValueDiff = {
121271
121293
  toCreate: CreateElementPropertyValue[];
121272
121294
  toUpdate: UpdateElementPropertyValue[];
121295
+ toDelete: ElementPropertyValue[];
121273
121296
  };
121274
121297
 
121275
121298
  declare const ElementViewBaseColumnType: z.ZodEnum<["Name", "Description", "Value", "UpdatedAt"]>;
package/dist/index.js CHANGED
@@ -2720,7 +2720,8 @@ var ThemeUpdateImportModelInput = _zod.z.object({
2720
2720
  // src/dsm/import/tokens.ts
2721
2721
 
2722
2722
  var DesignTokenImportModelPart = _zod.z.object({
2723
- collection: _zod.z.string().optional()
2723
+ collection: _zod.z.string().optional(),
2724
+ codeSyntax: _zod.z.record(_zod.z.coerce.string()).optional()
2724
2725
  });
2725
2726
  var DesignTokenImportModelBase = ImportModelBase.extend(DesignTokenImportModelPart.shape).extend({
2726
2727
  origin: DesignTokenOrigin