@ninetailed/experience.js-utils-contentful 4.4.0-beta.1 → 4.4.0-beta.3

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/index.cjs CHANGED
@@ -118,6 +118,7 @@ const ExperienceEntryFields = zod.z.object({
118
118
  return val !== null && val !== void 0 ? val : {
119
119
  traffic: 0,
120
120
  distribution: [0.5, 0.5],
121
+ isSticky: false,
121
122
  components: []
122
123
  };
123
124
  }),
package/index.js CHANGED
@@ -114,6 +114,7 @@ const ExperienceEntryFields = z.object({
114
114
  return val !== null && val !== void 0 ? val : {
115
115
  traffic: 0,
116
116
  distribution: [0.5, 0.5],
117
+ isSticky: false,
117
118
  components: []
118
119
  };
119
120
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ninetailed/experience.js-utils-contentful",
3
- "version": "4.4.0-beta.1",
3
+ "version": "4.4.0-beta.3",
4
4
  "devDependencies": {
5
5
  "contentful": "^9.1.32",
6
6
  "@contentful/rich-text-types": "^16.2.0"
@@ -10,9 +10,9 @@
10
10
  "type": "module",
11
11
  "types": "./index.d.ts",
12
12
  "dependencies": {
13
- "@ninetailed/experience.js-utils": "4.4.0-beta.1",
14
- "@ninetailed/experience.js": "4.4.0-beta.1",
15
- "@ninetailed/experience.js-shared": "4.4.0-beta.1",
13
+ "@ninetailed/experience.js-utils": "4.4.0-beta.3",
14
+ "@ninetailed/experience.js": "4.4.0-beta.3",
15
+ "@ninetailed/experience.js-shared": "4.4.0-beta.3",
16
16
  "zod": "3.21.4"
17
17
  },
18
18
  "peerDependencies": {}
@@ -201,6 +201,7 @@ declare const BaselineWithExperiencesEntryFields: z.ZodObject<{
201
201
  nt_config: z.ZodEffects<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodObject<{
202
202
  distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
203
203
  traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
204
+ isSticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
204
205
  components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
205
206
  baseline: z.ZodObject<{
206
207
  id: z.ZodDefault<z.ZodString>;
@@ -239,6 +240,7 @@ declare const BaselineWithExperiencesEntryFields: z.ZodObject<{
239
240
  }, "strip", z.ZodTypeAny, {
240
241
  distribution: number[];
241
242
  traffic: number;
243
+ isSticky: boolean;
242
244
  components: {
243
245
  baseline: {
244
246
  id: string;
@@ -251,6 +253,7 @@ declare const BaselineWithExperiencesEntryFields: z.ZodObject<{
251
253
  }, {
252
254
  distribution?: number[] | undefined;
253
255
  traffic?: number | undefined;
256
+ isSticky?: boolean | undefined;
254
257
  components?: {
255
258
  baseline: {
256
259
  id?: string | undefined;
@@ -263,6 +266,7 @@ declare const BaselineWithExperiencesEntryFields: z.ZodObject<{
263
266
  }>>>>, {
264
267
  distribution: number[];
265
268
  traffic: number;
269
+ isSticky: boolean;
266
270
  components: {
267
271
  baseline: {
268
272
  id: string;
@@ -275,6 +279,7 @@ declare const BaselineWithExperiencesEntryFields: z.ZodObject<{
275
279
  }, {
276
280
  distribution?: number[] | undefined;
277
281
  traffic?: number | undefined;
282
+ isSticky?: boolean | undefined;
278
283
  components?: {
279
284
  baseline: {
280
285
  id?: string | undefined;
@@ -857,6 +862,7 @@ declare const BaselineWithExperiencesEntryFields: z.ZodObject<{
857
862
  nt_config: {
858
863
  distribution: number[];
859
864
  traffic: number;
865
+ isSticky: boolean;
860
866
  components: {
861
867
  baseline: {
862
868
  id: string;
@@ -961,6 +967,7 @@ declare const BaselineWithExperiencesEntryFields: z.ZodObject<{
961
967
  nt_config?: {
962
968
  distribution?: number[] | undefined;
963
969
  traffic?: number | undefined;
970
+ isSticky?: boolean | undefined;
964
971
  components?: {
965
972
  baseline: {
966
973
  id?: string | undefined;
@@ -1094,6 +1101,7 @@ declare const BaselineWithExperiencesEntryFields: z.ZodObject<{
1094
1101
  nt_config: {
1095
1102
  distribution: number[];
1096
1103
  traffic: number;
1104
+ isSticky: boolean;
1097
1105
  components: {
1098
1106
  baseline: {
1099
1107
  id: string;
@@ -1238,6 +1246,7 @@ declare const BaselineWithExperiencesEntryFields: z.ZodObject<{
1238
1246
  nt_config?: {
1239
1247
  distribution?: number[] | undefined;
1240
1248
  traffic?: number | undefined;
1249
+ isSticky?: boolean | undefined;
1241
1250
  components?: {
1242
1251
  baseline: {
1243
1252
  id?: string | undefined;
@@ -1382,6 +1391,7 @@ declare const BaselineWithExperiencesEntryFields: z.ZodObject<{
1382
1391
  nt_config: {
1383
1392
  distribution: number[];
1384
1393
  traffic: number;
1394
+ isSticky: boolean;
1385
1395
  components: {
1386
1396
  baseline: {
1387
1397
  id: string;
@@ -1528,6 +1538,7 @@ declare const BaselineWithExperiencesEntryFields: z.ZodObject<{
1528
1538
  nt_config?: {
1529
1539
  distribution?: number[] | undefined;
1530
1540
  traffic?: number | undefined;
1541
+ isSticky?: boolean | undefined;
1531
1542
  components?: {
1532
1543
  baseline: {
1533
1544
  id?: string | undefined;
@@ -2032,6 +2043,7 @@ export declare const BaselineWithExperiencesEntrySchema: z.ZodObject<{
2032
2043
  nt_config: z.ZodEffects<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodObject<{
2033
2044
  distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
2034
2045
  traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2046
+ isSticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2035
2047
  components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2036
2048
  baseline: z.ZodObject<{
2037
2049
  id: z.ZodDefault<z.ZodString>;
@@ -2070,6 +2082,7 @@ export declare const BaselineWithExperiencesEntrySchema: z.ZodObject<{
2070
2082
  }, "strip", z.ZodTypeAny, {
2071
2083
  distribution: number[];
2072
2084
  traffic: number;
2085
+ isSticky: boolean;
2073
2086
  components: {
2074
2087
  baseline: {
2075
2088
  id: string;
@@ -2082,6 +2095,7 @@ export declare const BaselineWithExperiencesEntrySchema: z.ZodObject<{
2082
2095
  }, {
2083
2096
  distribution?: number[] | undefined;
2084
2097
  traffic?: number | undefined;
2098
+ isSticky?: boolean | undefined;
2085
2099
  components?: {
2086
2100
  baseline: {
2087
2101
  id?: string | undefined;
@@ -2094,6 +2108,7 @@ export declare const BaselineWithExperiencesEntrySchema: z.ZodObject<{
2094
2108
  }>>>>, {
2095
2109
  distribution: number[];
2096
2110
  traffic: number;
2111
+ isSticky: boolean;
2097
2112
  components: {
2098
2113
  baseline: {
2099
2114
  id: string;
@@ -2106,6 +2121,7 @@ export declare const BaselineWithExperiencesEntrySchema: z.ZodObject<{
2106
2121
  }, {
2107
2122
  distribution?: number[] | undefined;
2108
2123
  traffic?: number | undefined;
2124
+ isSticky?: boolean | undefined;
2109
2125
  components?: {
2110
2126
  baseline: {
2111
2127
  id?: string | undefined;
@@ -2688,6 +2704,7 @@ export declare const BaselineWithExperiencesEntrySchema: z.ZodObject<{
2688
2704
  nt_config: {
2689
2705
  distribution: number[];
2690
2706
  traffic: number;
2707
+ isSticky: boolean;
2691
2708
  components: {
2692
2709
  baseline: {
2693
2710
  id: string;
@@ -2792,6 +2809,7 @@ export declare const BaselineWithExperiencesEntrySchema: z.ZodObject<{
2792
2809
  nt_config?: {
2793
2810
  distribution?: number[] | undefined;
2794
2811
  traffic?: number | undefined;
2812
+ isSticky?: boolean | undefined;
2795
2813
  components?: {
2796
2814
  baseline: {
2797
2815
  id?: string | undefined;
@@ -2925,6 +2943,7 @@ export declare const BaselineWithExperiencesEntrySchema: z.ZodObject<{
2925
2943
  nt_config: {
2926
2944
  distribution: number[];
2927
2945
  traffic: number;
2946
+ isSticky: boolean;
2928
2947
  components: {
2929
2948
  baseline: {
2930
2949
  id: string;
@@ -3069,6 +3088,7 @@ export declare const BaselineWithExperiencesEntrySchema: z.ZodObject<{
3069
3088
  nt_config?: {
3070
3089
  distribution?: number[] | undefined;
3071
3090
  traffic?: number | undefined;
3091
+ isSticky?: boolean | undefined;
3072
3092
  components?: {
3073
3093
  baseline: {
3074
3094
  id?: string | undefined;
@@ -3213,6 +3233,7 @@ export declare const BaselineWithExperiencesEntrySchema: z.ZodObject<{
3213
3233
  nt_config: {
3214
3234
  distribution: number[];
3215
3235
  traffic: number;
3236
+ isSticky: boolean;
3216
3237
  components: {
3217
3238
  baseline: {
3218
3239
  id: string;
@@ -3359,6 +3380,7 @@ export declare const BaselineWithExperiencesEntrySchema: z.ZodObject<{
3359
3380
  nt_config?: {
3360
3381
  distribution?: number[] | undefined;
3361
3382
  traffic?: number | undefined;
3383
+ isSticky?: boolean | undefined;
3362
3384
  components?: {
3363
3385
  baseline: {
3364
3386
  id?: string | undefined;
@@ -3534,6 +3556,7 @@ export declare const BaselineWithExperiencesEntrySchema: z.ZodObject<{
3534
3556
  nt_config: {
3535
3557
  distribution: number[];
3536
3558
  traffic: number;
3559
+ isSticky: boolean;
3537
3560
  components: {
3538
3561
  baseline: {
3539
3562
  id: string;
@@ -3720,6 +3743,7 @@ export declare const BaselineWithExperiencesEntrySchema: z.ZodObject<{
3720
3743
  nt_config?: {
3721
3744
  distribution?: number[] | undefined;
3722
3745
  traffic?: number | undefined;
3746
+ isSticky?: boolean | undefined;
3723
3747
  components?: {
3724
3748
  baseline: {
3725
3749
  id?: string | undefined;