@supernova-studio/client 1.75.0 → 1.76.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
@@ -8389,7 +8389,7 @@ declare const StringVariableScopeType: z.Values<["TEXT_CONTENT", "FONT_FAMILY",
8389
8389
  declare const VariableCollectionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8390
8390
  id: z.ZodString;
8391
8391
  name: z.ZodString;
8392
- key: z.ZodOptional<z.ZodString>;
8392
+ key: z.ZodString;
8393
8393
  modes: z.ZodArray<z.ZodObject<{
8394
8394
  modeId: z.ZodString;
8395
8395
  name: z.ZodString;
@@ -8518,6 +8518,7 @@ declare const VariableCollectionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8518
8518
  id: string;
8519
8519
  name: string;
8520
8520
  remote: boolean;
8521
+ key: string;
8521
8522
  hiddenFromPublishing: boolean;
8522
8523
  modes: {
8523
8524
  name: string;
@@ -8525,7 +8526,6 @@ declare const VariableCollectionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8525
8526
  parentModeId?: string | undefined;
8526
8527
  }[];
8527
8528
  defaultModeId: string;
8528
- key?: string | undefined;
8529
8529
  isExtension?: boolean | undefined;
8530
8530
  parentVariableCollectionId?: string | undefined;
8531
8531
  parentVariableCollectionKey?: string | undefined;
@@ -8560,6 +8560,7 @@ declare const VariableCollectionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8560
8560
  id: string;
8561
8561
  name: string;
8562
8562
  remote: boolean;
8563
+ key: string;
8563
8564
  hiddenFromPublishing: boolean;
8564
8565
  modes: {
8565
8566
  name: string;
@@ -8567,7 +8568,6 @@ declare const VariableCollectionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8567
8568
  parentModeId?: string | undefined;
8568
8569
  }[];
8569
8570
  defaultModeId: string;
8570
- key?: string | undefined;
8571
8571
  isExtension?: boolean | undefined;
8572
8572
  parentVariableCollectionId?: string | undefined;
8573
8573
  parentVariableCollectionKey?: string | undefined;
@@ -8604,7 +8604,7 @@ declare const VariablesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8604
8604
  name: z.ZodString;
8605
8605
  key: z.ZodString;
8606
8606
  variableCollectionId: z.ZodString;
8607
- variableCollectionKey: z.ZodOptional<z.ZodString>;
8607
+ variableCollectionKey: z.ZodString;
8608
8608
  resolvedType: z.ZodEnum<["BOOLEAN", "FLOAT", "STRING", "COLOR"]>;
8609
8609
  valuesByMode: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>, z.ZodString]>, z.ZodObject<{
8610
8610
  r: z.ZodNumber;
@@ -8723,6 +8723,7 @@ declare const VariablesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8723
8723
  remote: boolean;
8724
8724
  key: string;
8725
8725
  variableCollectionId: string;
8726
+ variableCollectionKey: string;
8726
8727
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
8727
8728
  valuesByMode: Record<string, string | number | boolean | {
8728
8729
  r: number;
@@ -8753,7 +8754,6 @@ declare const VariablesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8753
8754
  }>;
8754
8755
  hiddenFromPublishing: boolean;
8755
8756
  scopes: string[];
8756
- variableCollectionKey?: string | undefined;
8757
8757
  codeSyntax?: Record<string, any> | undefined;
8758
8758
  }, {
8759
8759
  id: string;
@@ -8762,6 +8762,7 @@ declare const VariablesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8762
8762
  remote: boolean;
8763
8763
  key: string;
8764
8764
  variableCollectionId: string;
8765
+ variableCollectionKey: string;
8765
8766
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
8766
8767
  valuesByMode: Record<string, string | number | boolean | {
8767
8768
  r: number;
@@ -8792,7 +8793,6 @@ declare const VariablesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8792
8793
  }>;
8793
8794
  hiddenFromPublishing: boolean;
8794
8795
  scopes: string[];
8795
- variableCollectionKey?: string | undefined;
8796
8796
  codeSyntax?: Record<string, any> | undefined;
8797
8797
  }>>;
8798
8798
  declare const RGB: z.ZodObject<{
@@ -8834,7 +8834,7 @@ declare const Variable: z.ZodObject<{
8834
8834
  name: z.ZodString;
8835
8835
  key: z.ZodString;
8836
8836
  variableCollectionId: z.ZodString;
8837
- variableCollectionKey: z.ZodOptional<z.ZodString>;
8837
+ variableCollectionKey: z.ZodString;
8838
8838
  resolvedType: z.ZodEnum<["BOOLEAN", "FLOAT", "STRING", "COLOR"]>;
8839
8839
  valuesByMode: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>, z.ZodString]>, z.ZodObject<{
8840
8840
  r: z.ZodNumber;
@@ -8953,6 +8953,7 @@ declare const Variable: z.ZodObject<{
8953
8953
  remote: boolean;
8954
8954
  key: string;
8955
8955
  variableCollectionId: string;
8956
+ variableCollectionKey: string;
8956
8957
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
8957
8958
  valuesByMode: Record<string, string | number | boolean | {
8958
8959
  r: number;
@@ -8983,7 +8984,6 @@ declare const Variable: z.ZodObject<{
8983
8984
  }>;
8984
8985
  hiddenFromPublishing: boolean;
8985
8986
  scopes: string[];
8986
- variableCollectionKey?: string | undefined;
8987
8987
  codeSyntax?: Record<string, any> | undefined;
8988
8988
  }, {
8989
8989
  id: string;
@@ -8992,6 +8992,7 @@ declare const Variable: z.ZodObject<{
8992
8992
  remote: boolean;
8993
8993
  key: string;
8994
8994
  variableCollectionId: string;
8995
+ variableCollectionKey: string;
8995
8996
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
8996
8997
  valuesByMode: Record<string, string | number | boolean | {
8997
8998
  r: number;
@@ -9022,7 +9023,6 @@ declare const Variable: z.ZodObject<{
9022
9023
  }>;
9023
9024
  hiddenFromPublishing: boolean;
9024
9025
  scopes: string[];
9025
- variableCollectionKey?: string | undefined;
9026
9026
  codeSyntax?: Record<string, any> | undefined;
9027
9027
  }>;
9028
9028
  type Variable = z.infer<typeof Variable>;
@@ -9227,7 +9227,7 @@ type VariableMode = z.infer<typeof VariableMode>;
9227
9227
  declare const Collection: z.ZodObject<{
9228
9228
  id: z.ZodString;
9229
9229
  name: z.ZodString;
9230
- key: z.ZodOptional<z.ZodString>;
9230
+ key: z.ZodString;
9231
9231
  modes: z.ZodArray<z.ZodObject<{
9232
9232
  modeId: z.ZodString;
9233
9233
  name: z.ZodString;
@@ -9356,6 +9356,7 @@ declare const Collection: z.ZodObject<{
9356
9356
  id: string;
9357
9357
  name: string;
9358
9358
  remote: boolean;
9359
+ key: string;
9359
9360
  hiddenFromPublishing: boolean;
9360
9361
  modes: {
9361
9362
  name: string;
@@ -9363,7 +9364,6 @@ declare const Collection: z.ZodObject<{
9363
9364
  parentModeId?: string | undefined;
9364
9365
  }[];
9365
9366
  defaultModeId: string;
9366
- key?: string | undefined;
9367
9367
  isExtension?: boolean | undefined;
9368
9368
  parentVariableCollectionId?: string | undefined;
9369
9369
  parentVariableCollectionKey?: string | undefined;
@@ -9398,6 +9398,7 @@ declare const Collection: z.ZodObject<{
9398
9398
  id: string;
9399
9399
  name: string;
9400
9400
  remote: boolean;
9401
+ key: string;
9401
9402
  hiddenFromPublishing: boolean;
9402
9403
  modes: {
9403
9404
  name: string;
@@ -9405,7 +9406,6 @@ declare const Collection: z.ZodObject<{
9405
9406
  parentModeId?: string | undefined;
9406
9407
  }[];
9407
9408
  defaultModeId: string;
9408
- key?: string | undefined;
9409
9409
  isExtension?: boolean | undefined;
9410
9410
  parentVariableCollectionId?: string | undefined;
9411
9411
  parentVariableCollectionKey?: string | undefined;
@@ -9464,7 +9464,7 @@ declare const FormattedCollections: z.ZodObject<{
9464
9464
  variableCollections: z.ZodRecord<z.ZodString, z.ZodObject<{
9465
9465
  id: z.ZodString;
9466
9466
  name: z.ZodString;
9467
- key: z.ZodOptional<z.ZodString>;
9467
+ key: z.ZodString;
9468
9468
  modes: z.ZodArray<z.ZodObject<{
9469
9469
  modeId: z.ZodString;
9470
9470
  name: z.ZodString;
@@ -9593,6 +9593,7 @@ declare const FormattedCollections: z.ZodObject<{
9593
9593
  id: string;
9594
9594
  name: string;
9595
9595
  remote: boolean;
9596
+ key: string;
9596
9597
  hiddenFromPublishing: boolean;
9597
9598
  modes: {
9598
9599
  name: string;
@@ -9600,7 +9601,6 @@ declare const FormattedCollections: z.ZodObject<{
9600
9601
  parentModeId?: string | undefined;
9601
9602
  }[];
9602
9603
  defaultModeId: string;
9603
- key?: string | undefined;
9604
9604
  isExtension?: boolean | undefined;
9605
9605
  parentVariableCollectionId?: string | undefined;
9606
9606
  parentVariableCollectionKey?: string | undefined;
@@ -9635,6 +9635,7 @@ declare const FormattedCollections: z.ZodObject<{
9635
9635
  id: string;
9636
9636
  name: string;
9637
9637
  remote: boolean;
9638
+ key: string;
9638
9639
  hiddenFromPublishing: boolean;
9639
9640
  modes: {
9640
9641
  name: string;
@@ -9642,7 +9643,6 @@ declare const FormattedCollections: z.ZodObject<{
9642
9643
  parentModeId?: string | undefined;
9643
9644
  }[];
9644
9645
  defaultModeId: string;
9645
- key?: string | undefined;
9646
9646
  isExtension?: boolean | undefined;
9647
9647
  parentVariableCollectionId?: string | undefined;
9648
9648
  parentVariableCollectionKey?: string | undefined;
@@ -9679,7 +9679,7 @@ declare const FormattedCollections: z.ZodObject<{
9679
9679
  name: z.ZodString;
9680
9680
  key: z.ZodString;
9681
9681
  variableCollectionId: z.ZodString;
9682
- variableCollectionKey: z.ZodOptional<z.ZodString>;
9682
+ variableCollectionKey: z.ZodString;
9683
9683
  resolvedType: z.ZodEnum<["BOOLEAN", "FLOAT", "STRING", "COLOR"]>;
9684
9684
  valuesByMode: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>, z.ZodString]>, z.ZodObject<{
9685
9685
  r: z.ZodNumber;
@@ -9798,6 +9798,7 @@ declare const FormattedCollections: z.ZodObject<{
9798
9798
  remote: boolean;
9799
9799
  key: string;
9800
9800
  variableCollectionId: string;
9801
+ variableCollectionKey: string;
9801
9802
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
9802
9803
  valuesByMode: Record<string, string | number | boolean | {
9803
9804
  r: number;
@@ -9828,7 +9829,6 @@ declare const FormattedCollections: z.ZodObject<{
9828
9829
  }>;
9829
9830
  hiddenFromPublishing: boolean;
9830
9831
  scopes: string[];
9831
- variableCollectionKey?: string | undefined;
9832
9832
  codeSyntax?: Record<string, any> | undefined;
9833
9833
  }, {
9834
9834
  id: string;
@@ -9837,6 +9837,7 @@ declare const FormattedCollections: z.ZodObject<{
9837
9837
  remote: boolean;
9838
9838
  key: string;
9839
9839
  variableCollectionId: string;
9840
+ variableCollectionKey: string;
9840
9841
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
9841
9842
  valuesByMode: Record<string, string | number | boolean | {
9842
9843
  r: number;
@@ -9867,7 +9868,6 @@ declare const FormattedCollections: z.ZodObject<{
9867
9868
  }>;
9868
9869
  hiddenFromPublishing: boolean;
9869
9870
  scopes: string[];
9870
- variableCollectionKey?: string | undefined;
9871
9871
  codeSyntax?: Record<string, any> | undefined;
9872
9872
  }>>;
9873
9873
  variablesOrder: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -9895,6 +9895,7 @@ declare const FormattedCollections: z.ZodObject<{
9895
9895
  id: string;
9896
9896
  name: string;
9897
9897
  remote: boolean;
9898
+ key: string;
9898
9899
  hiddenFromPublishing: boolean;
9899
9900
  modes: {
9900
9901
  name: string;
@@ -9902,7 +9903,6 @@ declare const FormattedCollections: z.ZodObject<{
9902
9903
  parentModeId?: string | undefined;
9903
9904
  }[];
9904
9905
  defaultModeId: string;
9905
- key?: string | undefined;
9906
9906
  isExtension?: boolean | undefined;
9907
9907
  parentVariableCollectionId?: string | undefined;
9908
9908
  parentVariableCollectionKey?: string | undefined;
@@ -9941,6 +9941,7 @@ declare const FormattedCollections: z.ZodObject<{
9941
9941
  remote: boolean;
9942
9942
  key: string;
9943
9943
  variableCollectionId: string;
9944
+ variableCollectionKey: string;
9944
9945
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
9945
9946
  valuesByMode: Record<string, string | number | boolean | {
9946
9947
  r: number;
@@ -9971,7 +9972,6 @@ declare const FormattedCollections: z.ZodObject<{
9971
9972
  }>;
9972
9973
  hiddenFromPublishing: boolean;
9973
9974
  scopes: string[];
9974
- variableCollectionKey?: string | undefined;
9975
9975
  codeSyntax?: Record<string, any> | undefined;
9976
9976
  }>;
9977
9977
  variablesOrder?: string[] | undefined;
@@ -9987,6 +9987,7 @@ declare const FormattedCollections: z.ZodObject<{
9987
9987
  id: string;
9988
9988
  name: string;
9989
9989
  remote: boolean;
9990
+ key: string;
9990
9991
  hiddenFromPublishing: boolean;
9991
9992
  modes: {
9992
9993
  name: string;
@@ -9994,7 +9995,6 @@ declare const FormattedCollections: z.ZodObject<{
9994
9995
  parentModeId?: string | undefined;
9995
9996
  }[];
9996
9997
  defaultModeId: string;
9997
- key?: string | undefined;
9998
9998
  isExtension?: boolean | undefined;
9999
9999
  parentVariableCollectionId?: string | undefined;
10000
10000
  parentVariableCollectionKey?: string | undefined;
@@ -10033,6 +10033,7 @@ declare const FormattedCollections: z.ZodObject<{
10033
10033
  remote: boolean;
10034
10034
  key: string;
10035
10035
  variableCollectionId: string;
10036
+ variableCollectionKey: string;
10036
10037
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
10037
10038
  valuesByMode: Record<string, string | number | boolean | {
10038
10039
  r: number;
@@ -10063,7 +10064,6 @@ declare const FormattedCollections: z.ZodObject<{
10063
10064
  }>;
10064
10065
  hiddenFromPublishing: boolean;
10065
10066
  scopes: string[];
10066
- variableCollectionKey?: string | undefined;
10067
10067
  codeSyntax?: Record<string, any> | undefined;
10068
10068
  }>;
10069
10069
  variablesOrder?: string[] | undefined;
package/dist/index.d.ts CHANGED
@@ -8389,7 +8389,7 @@ declare const StringVariableScopeType: z.Values<["TEXT_CONTENT", "FONT_FAMILY",
8389
8389
  declare const VariableCollectionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8390
8390
  id: z.ZodString;
8391
8391
  name: z.ZodString;
8392
- key: z.ZodOptional<z.ZodString>;
8392
+ key: z.ZodString;
8393
8393
  modes: z.ZodArray<z.ZodObject<{
8394
8394
  modeId: z.ZodString;
8395
8395
  name: z.ZodString;
@@ -8518,6 +8518,7 @@ declare const VariableCollectionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8518
8518
  id: string;
8519
8519
  name: string;
8520
8520
  remote: boolean;
8521
+ key: string;
8521
8522
  hiddenFromPublishing: boolean;
8522
8523
  modes: {
8523
8524
  name: string;
@@ -8525,7 +8526,6 @@ declare const VariableCollectionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8525
8526
  parentModeId?: string | undefined;
8526
8527
  }[];
8527
8528
  defaultModeId: string;
8528
- key?: string | undefined;
8529
8529
  isExtension?: boolean | undefined;
8530
8530
  parentVariableCollectionId?: string | undefined;
8531
8531
  parentVariableCollectionKey?: string | undefined;
@@ -8560,6 +8560,7 @@ declare const VariableCollectionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8560
8560
  id: string;
8561
8561
  name: string;
8562
8562
  remote: boolean;
8563
+ key: string;
8563
8564
  hiddenFromPublishing: boolean;
8564
8565
  modes: {
8565
8566
  name: string;
@@ -8567,7 +8568,6 @@ declare const VariableCollectionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8567
8568
  parentModeId?: string | undefined;
8568
8569
  }[];
8569
8570
  defaultModeId: string;
8570
- key?: string | undefined;
8571
8571
  isExtension?: boolean | undefined;
8572
8572
  parentVariableCollectionId?: string | undefined;
8573
8573
  parentVariableCollectionKey?: string | undefined;
@@ -8604,7 +8604,7 @@ declare const VariablesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8604
8604
  name: z.ZodString;
8605
8605
  key: z.ZodString;
8606
8606
  variableCollectionId: z.ZodString;
8607
- variableCollectionKey: z.ZodOptional<z.ZodString>;
8607
+ variableCollectionKey: z.ZodString;
8608
8608
  resolvedType: z.ZodEnum<["BOOLEAN", "FLOAT", "STRING", "COLOR"]>;
8609
8609
  valuesByMode: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>, z.ZodString]>, z.ZodObject<{
8610
8610
  r: z.ZodNumber;
@@ -8723,6 +8723,7 @@ declare const VariablesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8723
8723
  remote: boolean;
8724
8724
  key: string;
8725
8725
  variableCollectionId: string;
8726
+ variableCollectionKey: string;
8726
8727
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
8727
8728
  valuesByMode: Record<string, string | number | boolean | {
8728
8729
  r: number;
@@ -8753,7 +8754,6 @@ declare const VariablesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8753
8754
  }>;
8754
8755
  hiddenFromPublishing: boolean;
8755
8756
  scopes: string[];
8756
- variableCollectionKey?: string | undefined;
8757
8757
  codeSyntax?: Record<string, any> | undefined;
8758
8758
  }, {
8759
8759
  id: string;
@@ -8762,6 +8762,7 @@ declare const VariablesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8762
8762
  remote: boolean;
8763
8763
  key: string;
8764
8764
  variableCollectionId: string;
8765
+ variableCollectionKey: string;
8765
8766
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
8766
8767
  valuesByMode: Record<string, string | number | boolean | {
8767
8768
  r: number;
@@ -8792,7 +8793,6 @@ declare const VariablesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
8792
8793
  }>;
8793
8794
  hiddenFromPublishing: boolean;
8794
8795
  scopes: string[];
8795
- variableCollectionKey?: string | undefined;
8796
8796
  codeSyntax?: Record<string, any> | undefined;
8797
8797
  }>>;
8798
8798
  declare const RGB: z.ZodObject<{
@@ -8834,7 +8834,7 @@ declare const Variable: z.ZodObject<{
8834
8834
  name: z.ZodString;
8835
8835
  key: z.ZodString;
8836
8836
  variableCollectionId: z.ZodString;
8837
- variableCollectionKey: z.ZodOptional<z.ZodString>;
8837
+ variableCollectionKey: z.ZodString;
8838
8838
  resolvedType: z.ZodEnum<["BOOLEAN", "FLOAT", "STRING", "COLOR"]>;
8839
8839
  valuesByMode: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>, z.ZodString]>, z.ZodObject<{
8840
8840
  r: z.ZodNumber;
@@ -8953,6 +8953,7 @@ declare const Variable: z.ZodObject<{
8953
8953
  remote: boolean;
8954
8954
  key: string;
8955
8955
  variableCollectionId: string;
8956
+ variableCollectionKey: string;
8956
8957
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
8957
8958
  valuesByMode: Record<string, string | number | boolean | {
8958
8959
  r: number;
@@ -8983,7 +8984,6 @@ declare const Variable: z.ZodObject<{
8983
8984
  }>;
8984
8985
  hiddenFromPublishing: boolean;
8985
8986
  scopes: string[];
8986
- variableCollectionKey?: string | undefined;
8987
8987
  codeSyntax?: Record<string, any> | undefined;
8988
8988
  }, {
8989
8989
  id: string;
@@ -8992,6 +8992,7 @@ declare const Variable: z.ZodObject<{
8992
8992
  remote: boolean;
8993
8993
  key: string;
8994
8994
  variableCollectionId: string;
8995
+ variableCollectionKey: string;
8995
8996
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
8996
8997
  valuesByMode: Record<string, string | number | boolean | {
8997
8998
  r: number;
@@ -9022,7 +9023,6 @@ declare const Variable: z.ZodObject<{
9022
9023
  }>;
9023
9024
  hiddenFromPublishing: boolean;
9024
9025
  scopes: string[];
9025
- variableCollectionKey?: string | undefined;
9026
9026
  codeSyntax?: Record<string, any> | undefined;
9027
9027
  }>;
9028
9028
  type Variable = z.infer<typeof Variable>;
@@ -9227,7 +9227,7 @@ type VariableMode = z.infer<typeof VariableMode>;
9227
9227
  declare const Collection: z.ZodObject<{
9228
9228
  id: z.ZodString;
9229
9229
  name: z.ZodString;
9230
- key: z.ZodOptional<z.ZodString>;
9230
+ key: z.ZodString;
9231
9231
  modes: z.ZodArray<z.ZodObject<{
9232
9232
  modeId: z.ZodString;
9233
9233
  name: z.ZodString;
@@ -9356,6 +9356,7 @@ declare const Collection: z.ZodObject<{
9356
9356
  id: string;
9357
9357
  name: string;
9358
9358
  remote: boolean;
9359
+ key: string;
9359
9360
  hiddenFromPublishing: boolean;
9360
9361
  modes: {
9361
9362
  name: string;
@@ -9363,7 +9364,6 @@ declare const Collection: z.ZodObject<{
9363
9364
  parentModeId?: string | undefined;
9364
9365
  }[];
9365
9366
  defaultModeId: string;
9366
- key?: string | undefined;
9367
9367
  isExtension?: boolean | undefined;
9368
9368
  parentVariableCollectionId?: string | undefined;
9369
9369
  parentVariableCollectionKey?: string | undefined;
@@ -9398,6 +9398,7 @@ declare const Collection: z.ZodObject<{
9398
9398
  id: string;
9399
9399
  name: string;
9400
9400
  remote: boolean;
9401
+ key: string;
9401
9402
  hiddenFromPublishing: boolean;
9402
9403
  modes: {
9403
9404
  name: string;
@@ -9405,7 +9406,6 @@ declare const Collection: z.ZodObject<{
9405
9406
  parentModeId?: string | undefined;
9406
9407
  }[];
9407
9408
  defaultModeId: string;
9408
- key?: string | undefined;
9409
9409
  isExtension?: boolean | undefined;
9410
9410
  parentVariableCollectionId?: string | undefined;
9411
9411
  parentVariableCollectionKey?: string | undefined;
@@ -9464,7 +9464,7 @@ declare const FormattedCollections: z.ZodObject<{
9464
9464
  variableCollections: z.ZodRecord<z.ZodString, z.ZodObject<{
9465
9465
  id: z.ZodString;
9466
9466
  name: z.ZodString;
9467
- key: z.ZodOptional<z.ZodString>;
9467
+ key: z.ZodString;
9468
9468
  modes: z.ZodArray<z.ZodObject<{
9469
9469
  modeId: z.ZodString;
9470
9470
  name: z.ZodString;
@@ -9593,6 +9593,7 @@ declare const FormattedCollections: z.ZodObject<{
9593
9593
  id: string;
9594
9594
  name: string;
9595
9595
  remote: boolean;
9596
+ key: string;
9596
9597
  hiddenFromPublishing: boolean;
9597
9598
  modes: {
9598
9599
  name: string;
@@ -9600,7 +9601,6 @@ declare const FormattedCollections: z.ZodObject<{
9600
9601
  parentModeId?: string | undefined;
9601
9602
  }[];
9602
9603
  defaultModeId: string;
9603
- key?: string | undefined;
9604
9604
  isExtension?: boolean | undefined;
9605
9605
  parentVariableCollectionId?: string | undefined;
9606
9606
  parentVariableCollectionKey?: string | undefined;
@@ -9635,6 +9635,7 @@ declare const FormattedCollections: z.ZodObject<{
9635
9635
  id: string;
9636
9636
  name: string;
9637
9637
  remote: boolean;
9638
+ key: string;
9638
9639
  hiddenFromPublishing: boolean;
9639
9640
  modes: {
9640
9641
  name: string;
@@ -9642,7 +9643,6 @@ declare const FormattedCollections: z.ZodObject<{
9642
9643
  parentModeId?: string | undefined;
9643
9644
  }[];
9644
9645
  defaultModeId: string;
9645
- key?: string | undefined;
9646
9646
  isExtension?: boolean | undefined;
9647
9647
  parentVariableCollectionId?: string | undefined;
9648
9648
  parentVariableCollectionKey?: string | undefined;
@@ -9679,7 +9679,7 @@ declare const FormattedCollections: z.ZodObject<{
9679
9679
  name: z.ZodString;
9680
9680
  key: z.ZodString;
9681
9681
  variableCollectionId: z.ZodString;
9682
- variableCollectionKey: z.ZodOptional<z.ZodString>;
9682
+ variableCollectionKey: z.ZodString;
9683
9683
  resolvedType: z.ZodEnum<["BOOLEAN", "FLOAT", "STRING", "COLOR"]>;
9684
9684
  valuesByMode: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>, z.ZodString]>, z.ZodObject<{
9685
9685
  r: z.ZodNumber;
@@ -9798,6 +9798,7 @@ declare const FormattedCollections: z.ZodObject<{
9798
9798
  remote: boolean;
9799
9799
  key: string;
9800
9800
  variableCollectionId: string;
9801
+ variableCollectionKey: string;
9801
9802
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
9802
9803
  valuesByMode: Record<string, string | number | boolean | {
9803
9804
  r: number;
@@ -9828,7 +9829,6 @@ declare const FormattedCollections: z.ZodObject<{
9828
9829
  }>;
9829
9830
  hiddenFromPublishing: boolean;
9830
9831
  scopes: string[];
9831
- variableCollectionKey?: string | undefined;
9832
9832
  codeSyntax?: Record<string, any> | undefined;
9833
9833
  }, {
9834
9834
  id: string;
@@ -9837,6 +9837,7 @@ declare const FormattedCollections: z.ZodObject<{
9837
9837
  remote: boolean;
9838
9838
  key: string;
9839
9839
  variableCollectionId: string;
9840
+ variableCollectionKey: string;
9840
9841
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
9841
9842
  valuesByMode: Record<string, string | number | boolean | {
9842
9843
  r: number;
@@ -9867,7 +9868,6 @@ declare const FormattedCollections: z.ZodObject<{
9867
9868
  }>;
9868
9869
  hiddenFromPublishing: boolean;
9869
9870
  scopes: string[];
9870
- variableCollectionKey?: string | undefined;
9871
9871
  codeSyntax?: Record<string, any> | undefined;
9872
9872
  }>>;
9873
9873
  variablesOrder: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -9895,6 +9895,7 @@ declare const FormattedCollections: z.ZodObject<{
9895
9895
  id: string;
9896
9896
  name: string;
9897
9897
  remote: boolean;
9898
+ key: string;
9898
9899
  hiddenFromPublishing: boolean;
9899
9900
  modes: {
9900
9901
  name: string;
@@ -9902,7 +9903,6 @@ declare const FormattedCollections: z.ZodObject<{
9902
9903
  parentModeId?: string | undefined;
9903
9904
  }[];
9904
9905
  defaultModeId: string;
9905
- key?: string | undefined;
9906
9906
  isExtension?: boolean | undefined;
9907
9907
  parentVariableCollectionId?: string | undefined;
9908
9908
  parentVariableCollectionKey?: string | undefined;
@@ -9941,6 +9941,7 @@ declare const FormattedCollections: z.ZodObject<{
9941
9941
  remote: boolean;
9942
9942
  key: string;
9943
9943
  variableCollectionId: string;
9944
+ variableCollectionKey: string;
9944
9945
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
9945
9946
  valuesByMode: Record<string, string | number | boolean | {
9946
9947
  r: number;
@@ -9971,7 +9972,6 @@ declare const FormattedCollections: z.ZodObject<{
9971
9972
  }>;
9972
9973
  hiddenFromPublishing: boolean;
9973
9974
  scopes: string[];
9974
- variableCollectionKey?: string | undefined;
9975
9975
  codeSyntax?: Record<string, any> | undefined;
9976
9976
  }>;
9977
9977
  variablesOrder?: string[] | undefined;
@@ -9987,6 +9987,7 @@ declare const FormattedCollections: z.ZodObject<{
9987
9987
  id: string;
9988
9988
  name: string;
9989
9989
  remote: boolean;
9990
+ key: string;
9990
9991
  hiddenFromPublishing: boolean;
9991
9992
  modes: {
9992
9993
  name: string;
@@ -9994,7 +9995,6 @@ declare const FormattedCollections: z.ZodObject<{
9994
9995
  parentModeId?: string | undefined;
9995
9996
  }[];
9996
9997
  defaultModeId: string;
9997
- key?: string | undefined;
9998
9998
  isExtension?: boolean | undefined;
9999
9999
  parentVariableCollectionId?: string | undefined;
10000
10000
  parentVariableCollectionKey?: string | undefined;
@@ -10033,6 +10033,7 @@ declare const FormattedCollections: z.ZodObject<{
10033
10033
  remote: boolean;
10034
10034
  key: string;
10035
10035
  variableCollectionId: string;
10036
+ variableCollectionKey: string;
10036
10037
  resolvedType: "BOOLEAN" | "FLOAT" | "STRING" | "COLOR";
10037
10038
  valuesByMode: Record<string, string | number | boolean | {
10038
10039
  r: number;
@@ -10063,7 +10064,6 @@ declare const FormattedCollections: z.ZodObject<{
10063
10064
  }>;
10064
10065
  hiddenFromPublishing: boolean;
10065
10066
  scopes: string[];
10066
- variableCollectionKey?: string | undefined;
10067
10067
  codeSyntax?: Record<string, any> | undefined;
10068
10068
  }>;
10069
10069
  variablesOrder?: string[] | undefined;
package/dist/index.js CHANGED
@@ -3721,18 +3721,14 @@ var Collection = _zod.z.object({
3721
3721
  });
3722
3722
  var CollectionImportModelInput = _zod.z.object({
3723
3723
  id: _zod.z.string(),
3724
- legacyId: _zod.z.string(),
3725
3724
  name: _zod.z.string(),
3726
3725
  parentId: _zod.z.string().optional(),
3727
- parentLegacyId: _zod.z.string().optional(),
3728
3726
  parentPersistentId: _zod.z.string().optional(),
3729
3727
  collectionKeyMigrated: _zod.z.boolean()
3730
3728
  });
3731
3729
  var CollectionImportModel = _zod.z.object({
3732
3730
  id: _zod.z.string(),
3733
- legacyId: _zod.z.string(),
3734
3731
  parentId: _zod.z.string().optional(),
3735
- parentLegacyId: _zod.z.string().optional(),
3736
3732
  name: _zod.z.string(),
3737
3733
  origin: CollectionOrigin,
3738
3734
  parentPersistentId: _zod.z.string().optional()
@@ -3846,8 +3842,7 @@ var ThemeImportModel = _zod.z.object({
3846
3842
  originSource: ThemeOriginSource,
3847
3843
  overrides: _zod.z.array(ThemeOverrideImportModel),
3848
3844
  sortOrder: _zod.z.number(),
3849
- collectionIds: _zod.z.array(_zod.z.string()).optional(),
3850
- collectionLegacyIds: _zod.z.array(_zod.z.string()).optional()
3845
+ collectionIds: _zod.z.array(_zod.z.string()).optional()
3851
3846
  });
3852
3847
  var ThemeImportModelInput = _zod.z.object({
3853
3848
  id: _zod.z.string(),
@@ -3855,8 +3850,7 @@ var ThemeImportModelInput = _zod.z.object({
3855
3850
  meta: ObjectMeta,
3856
3851
  originObjects: _zod.z.array(ThemeOriginObject),
3857
3852
  overrides: _zod.z.array(ThemeOverrideImportModelInput),
3858
- collectionIds: _zod.z.array(_zod.z.string()).optional(),
3859
- collectionLegacyIds: _zod.z.array(_zod.z.string()).optional()
3853
+ collectionIds: _zod.z.array(_zod.z.string()).optional()
3860
3854
  });
3861
3855
  var ThemeUpdateImportModel = _zod.z.object({
3862
3856
  themePersistentId: _zod.z.string(),
@@ -3868,7 +3862,6 @@ var ThemeUpdateImportModelInput = _zod.z.object({
3868
3862
  });
3869
3863
  var DesignTokenImportModelPart = _zod.z.object({
3870
3864
  collectionId: _zod.z.string().optional(),
3871
- collectionLegacyId: _zod.z.string().optional(),
3872
3865
  codeSyntax: _zod.z.record(_zod.z.coerce.string()).optional(),
3873
3866
  scopes: _zod.z.array(_zod.z.string()).optional()
3874
3867
  });
@@ -7058,7 +7051,7 @@ var Variable = _zod.z.object({
7058
7051
  name: _zod.z.string(),
7059
7052
  key: _zod.z.string(),
7060
7053
  variableCollectionId: _zod.z.string(),
7061
- variableCollectionKey: _zod.z.string().optional(),
7054
+ variableCollectionKey: _zod.z.string(),
7062
7055
  resolvedType: ResolvedVariableType,
7063
7056
  valuesByMode: _zod.z.record(VariableValue),
7064
7057
  remote: _zod.z.boolean(),
@@ -7075,7 +7068,7 @@ var VariableMode = _zod.z.object({
7075
7068
  var Collection2 = _zod.z.object({
7076
7069
  id: _zod.z.string(),
7077
7070
  name: _zod.z.string(),
7078
- key: _zod.z.string().optional(),
7071
+ key: _zod.z.string(),
7079
7072
  modes: _zod.z.array(VariableMode),
7080
7073
  defaultModeId: _zod.z.string(),
7081
7074
  remote: _zod.z.boolean(),