@ninetailed/experience.js-utils-contentful 3.2.1 → 3.2.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.
@@ -151,11 +151,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
151
151
  } | undefined;
152
152
  id: string;
153
153
  }>;
154
- fields: z.ZodObject<{}, "strip", z.ZodUnknown, {
155
- [x: string]: unknown;
156
- }, {
157
- [x: string]: unknown;
158
- }>;
154
+ fields: z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>;
159
155
  metadata: z.ZodOptional<z.ZodObject<{
160
156
  tags: z.ZodArray<z.ZodObject<{
161
157
  sys: z.ZodObject<z.extendShape<{
@@ -208,9 +204,9 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
208
204
  nt_name: z.ZodString;
209
205
  nt_type: z.ZodUnion<[z.ZodString, z.ZodString]>;
210
206
  nt_config: z.ZodEffects<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodObject<{
211
- distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
212
- traffic: z.ZodDefault<z.ZodNumber>;
213
- components: z.ZodDefault<z.ZodArray<z.ZodObject<{
207
+ distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
208
+ traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
209
+ components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
214
210
  baseline: z.ZodObject<{
215
211
  id: z.ZodDefault<z.ZodString>;
216
212
  }, "strip", z.ZodTypeAny, {
@@ -244,7 +240,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
244
240
  id?: string | undefined;
245
241
  hidden?: boolean | undefined;
246
242
  }[];
247
- }>, "many">>;
243
+ }>, "many">>>;
248
244
  }, "strip", z.ZodTypeAny, {
249
245
  distribution: number[];
250
246
  traffic: number;
@@ -446,11 +442,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
446
442
  } | undefined;
447
443
  id: string;
448
444
  }>;
449
- fields: z.ZodObject<{}, "strip", z.ZodUnknown, {
450
- [x: string]: unknown;
451
- }, {
452
- [x: string]: unknown;
453
- }>;
445
+ fields: z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>;
454
446
  metadata: z.ZodOptional<z.ZodObject<{
455
447
  tags: z.ZodArray<z.ZodObject<{
456
448
  sys: z.ZodObject<z.extendShape<{
@@ -502,12 +494,10 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
502
494
  fields: z.ZodObject<z.extendShape<{}, {
503
495
  nt_name: z.ZodString;
504
496
  nt_audience_id: z.ZodString;
505
- }>, "strip", z.ZodUnknown, {
506
- [x: string]: unknown;
497
+ }>, "passthrough", z.ZodTypeAny, {
507
498
  nt_name: string;
508
499
  nt_audience_id: string;
509
500
  }, {
510
- [x: string]: unknown;
511
501
  nt_name: string;
512
502
  nt_audience_id: string;
513
503
  }>;
@@ -551,7 +541,6 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
551
541
  id: string;
552
542
  };
553
543
  fields: {
554
- [x: string]: unknown;
555
544
  nt_name: string;
556
545
  nt_audience_id: string;
557
546
  };
@@ -595,7 +584,6 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
595
584
  id: string;
596
585
  };
597
586
  fields: {
598
- [x: string]: unknown;
599
587
  nt_name: string;
600
588
  nt_audience_id: string;
601
589
  };
@@ -752,11 +740,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
752
740
  } | undefined;
753
741
  id: string;
754
742
  }>;
755
- fields: z.ZodObject<{}, "strip", z.ZodUnknown, {
756
- [x: string]: unknown;
757
- }, {
758
- [x: string]: unknown;
759
- }>;
743
+ fields: z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>;
760
744
  metadata: z.ZodOptional<z.ZodObject<{
761
745
  tags: z.ZodArray<z.ZodObject<{
762
746
  sys: z.ZodObject<z.extendShape<{
@@ -843,9 +827,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
843
827
  } | undefined;
844
828
  id: string;
845
829
  };
846
- fields: {
847
- [x: string]: unknown;
848
- };
830
+ fields: {};
849
831
  }, {
850
832
  metadata?: {
851
833
  tags: {
@@ -885,9 +867,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
885
867
  } | undefined;
886
868
  id: string;
887
869
  };
888
- fields: {
889
- [x: string]: unknown;
890
- };
870
+ fields: {};
891
871
  }>, "many">>;
892
872
  }, "strip", z.ZodTypeAny, {
893
873
  nt_audience?: {
@@ -930,7 +910,6 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
930
910
  id: string;
931
911
  };
932
912
  fields: {
933
- [x: string]: unknown;
934
913
  nt_name: string;
935
914
  nt_audience_id: string;
936
915
  };
@@ -974,9 +953,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
974
953
  } | undefined;
975
954
  id: string;
976
955
  };
977
- fields: {
978
- [x: string]: unknown;
979
- };
956
+ fields: {};
980
957
  }[] | undefined;
981
958
  nt_name: string;
982
959
  nt_type: string;
@@ -1047,7 +1024,6 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1047
1024
  id: string;
1048
1025
  };
1049
1026
  fields: {
1050
- [x: string]: unknown;
1051
1027
  nt_name: string;
1052
1028
  nt_audience_id: string;
1053
1029
  };
@@ -1091,9 +1067,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1091
1067
  } | undefined;
1092
1068
  id: string;
1093
1069
  };
1094
- fields: {
1095
- [x: string]: unknown;
1096
- };
1070
+ fields: {};
1097
1071
  }[] | undefined;
1098
1072
  nt_name: string;
1099
1073
  nt_type: string;
@@ -1103,9 +1077,9 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1103
1077
  nt_name: z.ZodString;
1104
1078
  nt_type: z.ZodUnion<[z.ZodString, z.ZodString]>;
1105
1079
  nt_config: z.ZodEffects<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodObject<{
1106
- distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
1107
- traffic: z.ZodDefault<z.ZodNumber>;
1108
- components: z.ZodDefault<z.ZodArray<z.ZodObject<{
1080
+ distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1081
+ traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1082
+ components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1109
1083
  baseline: z.ZodObject<{
1110
1084
  id: z.ZodDefault<z.ZodString>;
1111
1085
  }, "strip", z.ZodTypeAny, {
@@ -1139,7 +1113,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1139
1113
  id?: string | undefined;
1140
1114
  hidden?: boolean | undefined;
1141
1115
  }[];
1142
- }>, "many">>;
1116
+ }>, "many">>>;
1143
1117
  }, "strip", z.ZodTypeAny, {
1144
1118
  distribution: number[];
1145
1119
  traffic: number;
@@ -1341,11 +1315,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1341
1315
  } | undefined;
1342
1316
  id: string;
1343
1317
  }>;
1344
- fields: z.ZodObject<{}, "strip", z.ZodUnknown, {
1345
- [x: string]: unknown;
1346
- }, {
1347
- [x: string]: unknown;
1348
- }>;
1318
+ fields: z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>;
1349
1319
  metadata: z.ZodOptional<z.ZodObject<{
1350
1320
  tags: z.ZodArray<z.ZodObject<{
1351
1321
  sys: z.ZodObject<z.extendShape<{
@@ -1397,12 +1367,10 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1397
1367
  fields: z.ZodObject<z.extendShape<{}, {
1398
1368
  nt_name: z.ZodString;
1399
1369
  nt_audience_id: z.ZodString;
1400
- }>, "strip", z.ZodUnknown, {
1401
- [x: string]: unknown;
1370
+ }>, "passthrough", z.ZodTypeAny, {
1402
1371
  nt_name: string;
1403
1372
  nt_audience_id: string;
1404
1373
  }, {
1405
- [x: string]: unknown;
1406
1374
  nt_name: string;
1407
1375
  nt_audience_id: string;
1408
1376
  }>;
@@ -1446,7 +1414,6 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1446
1414
  id: string;
1447
1415
  };
1448
1416
  fields: {
1449
- [x: string]: unknown;
1450
1417
  nt_name: string;
1451
1418
  nt_audience_id: string;
1452
1419
  };
@@ -1490,7 +1457,6 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1490
1457
  id: string;
1491
1458
  };
1492
1459
  fields: {
1493
- [x: string]: unknown;
1494
1460
  nt_name: string;
1495
1461
  nt_audience_id: string;
1496
1462
  };
@@ -1647,11 +1613,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1647
1613
  } | undefined;
1648
1614
  id: string;
1649
1615
  }>;
1650
- fields: z.ZodObject<{}, "strip", z.ZodUnknown, {
1651
- [x: string]: unknown;
1652
- }, {
1653
- [x: string]: unknown;
1654
- }>;
1616
+ fields: z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>;
1655
1617
  metadata: z.ZodOptional<z.ZodObject<{
1656
1618
  tags: z.ZodArray<z.ZodObject<{
1657
1619
  sys: z.ZodObject<z.extendShape<{
@@ -1738,9 +1700,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1738
1700
  } | undefined;
1739
1701
  id: string;
1740
1702
  };
1741
- fields: {
1742
- [x: string]: unknown;
1743
- };
1703
+ fields: {};
1744
1704
  }, {
1745
1705
  metadata?: {
1746
1706
  tags: {
@@ -1780,9 +1740,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1780
1740
  } | undefined;
1781
1741
  id: string;
1782
1742
  };
1783
- fields: {
1784
- [x: string]: unknown;
1785
- };
1743
+ fields: {};
1786
1744
  }>, "many">>;
1787
1745
  }, {
1788
1746
  nt_type: z.ZodString;
@@ -1827,7 +1785,6 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1827
1785
  id: string;
1828
1786
  };
1829
1787
  fields: {
1830
- [x: string]: unknown;
1831
1788
  nt_name: string;
1832
1789
  nt_audience_id: string;
1833
1790
  };
@@ -1871,9 +1828,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1871
1828
  } | undefined;
1872
1829
  id: string;
1873
1830
  };
1874
- fields: {
1875
- [x: string]: unknown;
1876
- };
1831
+ fields: {};
1877
1832
  }[] | undefined;
1878
1833
  nt_name: string;
1879
1834
  nt_type: string;
@@ -1944,7 +1899,6 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1944
1899
  id: string;
1945
1900
  };
1946
1901
  fields: {
1947
- [x: string]: unknown;
1948
1902
  nt_name: string;
1949
1903
  nt_audience_id: string;
1950
1904
  };
@@ -1988,9 +1942,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
1988
1942
  } | undefined;
1989
1943
  id: string;
1990
1944
  };
1991
- fields: {
1992
- [x: string]: unknown;
1993
- };
1945
+ fields: {};
1994
1946
  }[] | undefined;
1995
1947
  nt_name: string;
1996
1948
  nt_type: string;
@@ -2075,7 +2027,6 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
2075
2027
  id: string;
2076
2028
  };
2077
2029
  fields: {
2078
- [x: string]: unknown;
2079
2030
  nt_name: string;
2080
2031
  nt_audience_id: string;
2081
2032
  };
@@ -2119,9 +2070,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
2119
2070
  } | undefined;
2120
2071
  id: string;
2121
2072
  };
2122
- fields: {
2123
- [x: string]: unknown;
2124
- };
2073
+ fields: {};
2125
2074
  }[] | undefined;
2126
2075
  nt_name: string;
2127
2076
  nt_type: string;
@@ -2232,7 +2181,6 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
2232
2181
  id: string;
2233
2182
  };
2234
2183
  fields: {
2235
- [x: string]: unknown;
2236
2184
  nt_name: string;
2237
2185
  nt_audience_id: string;
2238
2186
  };
@@ -2276,9 +2224,7 @@ export declare const ExperimentEntry: z.ZodObject<z.extendShape<z.extendShape<{
2276
2224
  } | undefined;
2277
2225
  id: string;
2278
2226
  };
2279
- fields: {
2280
- [x: string]: unknown;
2281
- };
2227
+ fields: {};
2282
2228
  }[] | undefined;
2283
2229
  nt_name: string;
2284
2230
  nt_type: string;