@ninetailed/experience.js-utils 3.7.0-beta.0 → 4.0.0-beta.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.
- package/package.json +3 -3
- package/types/Experiment.d.ts +264 -84
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ninetailed/experience.js-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-beta.2",
|
|
4
4
|
"module": "./index.js",
|
|
5
5
|
"main": "./index.cjs",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@ninetailed/experience.js": "
|
|
10
|
-
"@ninetailed/experience.js-shared": "
|
|
9
|
+
"@ninetailed/experience.js": "4.0.0-beta.2",
|
|
10
|
+
"@ninetailed/experience.js-shared": "4.0.0-beta.2",
|
|
11
11
|
"zod": "3.20.2"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {}
|
package/types/Experiment.d.ts
CHANGED
|
@@ -4,11 +4,12 @@ import { ExperienceSchema } from './Experience';
|
|
|
4
4
|
export declare const ExperimentSchema: z.ZodObject<z.extendShape<{
|
|
5
5
|
id: z.ZodString;
|
|
6
6
|
name: z.ZodString;
|
|
7
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7
8
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
8
9
|
config: z.ZodDefault<z.ZodObject<{
|
|
9
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
10
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
11
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
10
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
11
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
12
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12
13
|
baseline: z.ZodObject<{
|
|
13
14
|
id: z.ZodDefault<z.ZodString>;
|
|
14
15
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -42,7 +43,7 @@ export declare const ExperimentSchema: z.ZodObject<z.extendShape<{
|
|
|
42
43
|
id?: string | undefined;
|
|
43
44
|
hidden?: boolean | undefined;
|
|
44
45
|
}[];
|
|
45
|
-
}>, "many"
|
|
46
|
+
}>, "many">>>;
|
|
46
47
|
}, "strip", z.ZodTypeAny, {
|
|
47
48
|
distribution: number[];
|
|
48
49
|
traffic: number;
|
|
@@ -70,9 +71,15 @@ export declare const ExperimentSchema: z.ZodObject<z.extendShape<{
|
|
|
70
71
|
}>>;
|
|
71
72
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
72
73
|
id: z.ZodString;
|
|
74
|
+
name: z.ZodOptional<z.ZodString>;
|
|
75
|
+
description: z.ZodOptional<z.ZodString>;
|
|
73
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
name?: string | undefined;
|
|
78
|
+
description?: string | undefined;
|
|
74
79
|
id: string;
|
|
75
80
|
}, {
|
|
81
|
+
name?: string | undefined;
|
|
82
|
+
description?: string | undefined;
|
|
76
83
|
id: string;
|
|
77
84
|
}>>>;
|
|
78
85
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -90,7 +97,10 @@ export declare const ExperimentSchema: z.ZodObject<z.extendShape<{
|
|
|
90
97
|
}, {
|
|
91
98
|
type: z.ZodString;
|
|
92
99
|
}>, "strip", z.ZodTypeAny, {
|
|
100
|
+
description?: string | undefined;
|
|
93
101
|
audience?: {
|
|
102
|
+
name?: string | undefined;
|
|
103
|
+
description?: string | undefined;
|
|
94
104
|
id: string;
|
|
95
105
|
} | null | undefined;
|
|
96
106
|
id: string;
|
|
@@ -114,6 +124,7 @@ export declare const ExperimentSchema: z.ZodObject<z.extendShape<{
|
|
|
114
124
|
}[];
|
|
115
125
|
};
|
|
116
126
|
}, {
|
|
127
|
+
description?: string | undefined;
|
|
117
128
|
variants?: unknown;
|
|
118
129
|
config?: {
|
|
119
130
|
distribution?: number[] | undefined;
|
|
@@ -129,6 +140,8 @@ export declare const ExperimentSchema: z.ZodObject<z.extendShape<{
|
|
|
129
140
|
}[] | undefined;
|
|
130
141
|
} | undefined;
|
|
131
142
|
audience?: {
|
|
143
|
+
name?: string | undefined;
|
|
144
|
+
description?: string | undefined;
|
|
132
145
|
id: string;
|
|
133
146
|
} | null | undefined;
|
|
134
147
|
id: string;
|
|
@@ -146,6 +159,7 @@ export type Experiment<Variant extends Reference = Reference> = Omit<ExperimentO
|
|
|
146
159
|
export declare const Experiment: {
|
|
147
160
|
parse: <T extends Reference>(input: ExperimentLike<T>) => Experiment<T>;
|
|
148
161
|
safeParse: <T_1 extends Reference>(input: ExperimentLike<T_1>) => z.SafeParseError<{
|
|
162
|
+
description?: string | undefined;
|
|
149
163
|
variants?: unknown;
|
|
150
164
|
config?: {
|
|
151
165
|
distribution?: number[] | undefined;
|
|
@@ -161,6 +175,8 @@ export declare const Experiment: {
|
|
|
161
175
|
}[] | undefined;
|
|
162
176
|
} | undefined;
|
|
163
177
|
audience?: {
|
|
178
|
+
name?: string | undefined;
|
|
179
|
+
description?: string | undefined;
|
|
164
180
|
id: string;
|
|
165
181
|
} | null | undefined;
|
|
166
182
|
id: string;
|
|
@@ -169,7 +185,10 @@ export declare const Experiment: {
|
|
|
169
185
|
}> | {
|
|
170
186
|
data: {
|
|
171
187
|
variants: T_1[];
|
|
188
|
+
description?: string | undefined;
|
|
172
189
|
audience?: {
|
|
190
|
+
name?: string | undefined;
|
|
191
|
+
description?: string | undefined;
|
|
173
192
|
id: string;
|
|
174
193
|
} | null | undefined;
|
|
175
194
|
id: string;
|
|
@@ -194,11 +213,12 @@ export declare const Experiment: {
|
|
|
194
213
|
nonstrict: () => z.ZodObject<z.extendShape<{
|
|
195
214
|
id: z.ZodString;
|
|
196
215
|
name: z.ZodString;
|
|
216
|
+
description: z.ZodOptional<z.ZodString>;
|
|
197
217
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
198
218
|
config: z.ZodDefault<z.ZodObject<{
|
|
199
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
200
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
201
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
219
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
220
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
221
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
202
222
|
baseline: z.ZodObject<{
|
|
203
223
|
id: z.ZodDefault<z.ZodString>;
|
|
204
224
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -232,7 +252,7 @@ export declare const Experiment: {
|
|
|
232
252
|
id?: string | undefined;
|
|
233
253
|
hidden?: boolean | undefined;
|
|
234
254
|
}[];
|
|
235
|
-
}>, "many"
|
|
255
|
+
}>, "many">>>;
|
|
236
256
|
}, "strip", z.ZodTypeAny, {
|
|
237
257
|
distribution: number[];
|
|
238
258
|
traffic: number;
|
|
@@ -260,9 +280,15 @@ export declare const Experiment: {
|
|
|
260
280
|
}>>;
|
|
261
281
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
262
282
|
id: z.ZodString;
|
|
283
|
+
name: z.ZodOptional<z.ZodString>;
|
|
284
|
+
description: z.ZodOptional<z.ZodString>;
|
|
263
285
|
}, "strip", z.ZodTypeAny, {
|
|
286
|
+
name?: string | undefined;
|
|
287
|
+
description?: string | undefined;
|
|
264
288
|
id: string;
|
|
265
289
|
}, {
|
|
290
|
+
name?: string | undefined;
|
|
291
|
+
description?: string | undefined;
|
|
266
292
|
id: string;
|
|
267
293
|
}>>>;
|
|
268
294
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -280,7 +306,10 @@ export declare const Experiment: {
|
|
|
280
306
|
}, {
|
|
281
307
|
type: z.ZodString;
|
|
282
308
|
}>, "passthrough", z.ZodTypeAny, {
|
|
309
|
+
description?: string | undefined;
|
|
283
310
|
audience?: {
|
|
311
|
+
name?: string | undefined;
|
|
312
|
+
description?: string | undefined;
|
|
284
313
|
id: string;
|
|
285
314
|
} | null | undefined;
|
|
286
315
|
id: string;
|
|
@@ -304,6 +333,7 @@ export declare const Experiment: {
|
|
|
304
333
|
}[];
|
|
305
334
|
};
|
|
306
335
|
}, {
|
|
336
|
+
description?: string | undefined;
|
|
307
337
|
variants?: unknown;
|
|
308
338
|
config?: {
|
|
309
339
|
distribution?: number[] | undefined;
|
|
@@ -319,6 +349,8 @@ export declare const Experiment: {
|
|
|
319
349
|
}[] | undefined;
|
|
320
350
|
} | undefined;
|
|
321
351
|
audience?: {
|
|
352
|
+
name?: string | undefined;
|
|
353
|
+
description?: string | undefined;
|
|
322
354
|
id: string;
|
|
323
355
|
} | null | undefined;
|
|
324
356
|
id: string;
|
|
@@ -328,11 +360,12 @@ export declare const Experiment: {
|
|
|
328
360
|
augment: <Augmentation extends z.ZodRawShape>(augmentation: Augmentation) => z.ZodObject<z.extendShape<z.extendShape<{
|
|
329
361
|
id: z.ZodString;
|
|
330
362
|
name: z.ZodString;
|
|
363
|
+
description: z.ZodOptional<z.ZodString>;
|
|
331
364
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
332
365
|
config: z.ZodDefault<z.ZodObject<{
|
|
333
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
334
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
335
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
366
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
367
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
368
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
336
369
|
baseline: z.ZodObject<{
|
|
337
370
|
id: z.ZodDefault<z.ZodString>;
|
|
338
371
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -366,7 +399,7 @@ export declare const Experiment: {
|
|
|
366
399
|
id?: string | undefined;
|
|
367
400
|
hidden?: boolean | undefined;
|
|
368
401
|
}[];
|
|
369
|
-
}>, "many"
|
|
402
|
+
}>, "many">>>;
|
|
370
403
|
}, "strip", z.ZodTypeAny, {
|
|
371
404
|
distribution: number[];
|
|
372
405
|
traffic: number;
|
|
@@ -394,9 +427,15 @@ export declare const Experiment: {
|
|
|
394
427
|
}>>;
|
|
395
428
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
396
429
|
id: z.ZodString;
|
|
430
|
+
name: z.ZodOptional<z.ZodString>;
|
|
431
|
+
description: z.ZodOptional<z.ZodString>;
|
|
397
432
|
}, "strip", z.ZodTypeAny, {
|
|
433
|
+
name?: string | undefined;
|
|
434
|
+
description?: string | undefined;
|
|
398
435
|
id: string;
|
|
399
436
|
}, {
|
|
437
|
+
name?: string | undefined;
|
|
438
|
+
description?: string | undefined;
|
|
400
439
|
id: string;
|
|
401
440
|
}>>>;
|
|
402
441
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -416,11 +455,12 @@ export declare const Experiment: {
|
|
|
416
455
|
}>, Augmentation>, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.extendShape<z.extendShape<{
|
|
417
456
|
id: z.ZodString;
|
|
418
457
|
name: z.ZodString;
|
|
458
|
+
description: z.ZodOptional<z.ZodString>;
|
|
419
459
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
420
460
|
config: z.ZodDefault<z.ZodObject<{
|
|
421
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
422
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
423
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
461
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
462
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
463
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
424
464
|
baseline: z.ZodObject<{
|
|
425
465
|
id: z.ZodDefault<z.ZodString>;
|
|
426
466
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -454,7 +494,7 @@ export declare const Experiment: {
|
|
|
454
494
|
id?: string | undefined;
|
|
455
495
|
hidden?: boolean | undefined;
|
|
456
496
|
}[];
|
|
457
|
-
}>, "many"
|
|
497
|
+
}>, "many">>>;
|
|
458
498
|
}, "strip", z.ZodTypeAny, {
|
|
459
499
|
distribution: number[];
|
|
460
500
|
traffic: number;
|
|
@@ -482,9 +522,15 @@ export declare const Experiment: {
|
|
|
482
522
|
}>>;
|
|
483
523
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
484
524
|
id: z.ZodString;
|
|
525
|
+
name: z.ZodOptional<z.ZodString>;
|
|
526
|
+
description: z.ZodOptional<z.ZodString>;
|
|
485
527
|
}, "strip", z.ZodTypeAny, {
|
|
528
|
+
name?: string | undefined;
|
|
529
|
+
description?: string | undefined;
|
|
486
530
|
id: string;
|
|
487
531
|
}, {
|
|
532
|
+
name?: string | undefined;
|
|
533
|
+
description?: string | undefined;
|
|
488
534
|
id: string;
|
|
489
535
|
}>>>;
|
|
490
536
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -504,11 +550,12 @@ export declare const Experiment: {
|
|
|
504
550
|
}>, Augmentation> extends infer T_3 extends z.ZodRawShape ? { [k_1 in keyof T_3]: z.extendShape<z.extendShape<{
|
|
505
551
|
id: z.ZodString;
|
|
506
552
|
name: z.ZodString;
|
|
553
|
+
description: z.ZodOptional<z.ZodString>;
|
|
507
554
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
508
555
|
config: z.ZodDefault<z.ZodObject<{
|
|
509
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
510
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
511
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
556
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
557
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
558
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
512
559
|
baseline: z.ZodObject<{
|
|
513
560
|
id: z.ZodDefault<z.ZodString>;
|
|
514
561
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -542,7 +589,7 @@ export declare const Experiment: {
|
|
|
542
589
|
id?: string | undefined;
|
|
543
590
|
hidden?: boolean | undefined;
|
|
544
591
|
}[];
|
|
545
|
-
}>, "many"
|
|
592
|
+
}>, "many">>>;
|
|
546
593
|
}, "strip", z.ZodTypeAny, {
|
|
547
594
|
distribution: number[];
|
|
548
595
|
traffic: number;
|
|
@@ -570,9 +617,15 @@ export declare const Experiment: {
|
|
|
570
617
|
}>>;
|
|
571
618
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
572
619
|
id: z.ZodString;
|
|
620
|
+
name: z.ZodOptional<z.ZodString>;
|
|
621
|
+
description: z.ZodOptional<z.ZodString>;
|
|
573
622
|
}, "strip", z.ZodTypeAny, {
|
|
623
|
+
name?: string | undefined;
|
|
624
|
+
description?: string | undefined;
|
|
574
625
|
id: string;
|
|
575
626
|
}, {
|
|
627
|
+
name?: string | undefined;
|
|
628
|
+
description?: string | undefined;
|
|
576
629
|
id: string;
|
|
577
630
|
}>>>;
|
|
578
631
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -592,11 +645,12 @@ export declare const Experiment: {
|
|
|
592
645
|
}>, Augmentation>[k_1]["_output"]; } : never> extends infer T_2 extends object ? { [k in keyof T_2]: z.objectUtil.addQuestionMarks<z.extendShape<z.extendShape<{
|
|
593
646
|
id: z.ZodString;
|
|
594
647
|
name: z.ZodString;
|
|
648
|
+
description: z.ZodOptional<z.ZodString>;
|
|
595
649
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
596
650
|
config: z.ZodDefault<z.ZodObject<{
|
|
597
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
598
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
599
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
651
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
652
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
653
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
600
654
|
baseline: z.ZodObject<{
|
|
601
655
|
id: z.ZodDefault<z.ZodString>;
|
|
602
656
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -630,7 +684,7 @@ export declare const Experiment: {
|
|
|
630
684
|
id?: string | undefined;
|
|
631
685
|
hidden?: boolean | undefined;
|
|
632
686
|
}[];
|
|
633
|
-
}>, "many"
|
|
687
|
+
}>, "many">>>;
|
|
634
688
|
}, "strip", z.ZodTypeAny, {
|
|
635
689
|
distribution: number[];
|
|
636
690
|
traffic: number;
|
|
@@ -658,9 +712,15 @@ export declare const Experiment: {
|
|
|
658
712
|
}>>;
|
|
659
713
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
660
714
|
id: z.ZodString;
|
|
715
|
+
name: z.ZodOptional<z.ZodString>;
|
|
716
|
+
description: z.ZodOptional<z.ZodString>;
|
|
661
717
|
}, "strip", z.ZodTypeAny, {
|
|
718
|
+
name?: string | undefined;
|
|
719
|
+
description?: string | undefined;
|
|
662
720
|
id: string;
|
|
663
721
|
}, {
|
|
722
|
+
name?: string | undefined;
|
|
723
|
+
description?: string | undefined;
|
|
664
724
|
id: string;
|
|
665
725
|
}>>>;
|
|
666
726
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -680,11 +740,12 @@ export declare const Experiment: {
|
|
|
680
740
|
}>, Augmentation> extends infer T_3 extends z.ZodRawShape ? { [k_1 in keyof T_3]: z.extendShape<z.extendShape<{
|
|
681
741
|
id: z.ZodString;
|
|
682
742
|
name: z.ZodString;
|
|
743
|
+
description: z.ZodOptional<z.ZodString>;
|
|
683
744
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
684
745
|
config: z.ZodDefault<z.ZodObject<{
|
|
685
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
686
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
687
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
746
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
747
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
748
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
688
749
|
baseline: z.ZodObject<{
|
|
689
750
|
id: z.ZodDefault<z.ZodString>;
|
|
690
751
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -718,7 +779,7 @@ export declare const Experiment: {
|
|
|
718
779
|
id?: string | undefined;
|
|
719
780
|
hidden?: boolean | undefined;
|
|
720
781
|
}[];
|
|
721
|
-
}>, "many"
|
|
782
|
+
}>, "many">>>;
|
|
722
783
|
}, "strip", z.ZodTypeAny, {
|
|
723
784
|
distribution: number[];
|
|
724
785
|
traffic: number;
|
|
@@ -746,9 +807,15 @@ export declare const Experiment: {
|
|
|
746
807
|
}>>;
|
|
747
808
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
748
809
|
id: z.ZodString;
|
|
810
|
+
name: z.ZodOptional<z.ZodString>;
|
|
811
|
+
description: z.ZodOptional<z.ZodString>;
|
|
749
812
|
}, "strip", z.ZodTypeAny, {
|
|
813
|
+
name?: string | undefined;
|
|
814
|
+
description?: string | undefined;
|
|
750
815
|
id: string;
|
|
751
816
|
}, {
|
|
817
|
+
name?: string | undefined;
|
|
818
|
+
description?: string | undefined;
|
|
752
819
|
id: string;
|
|
753
820
|
}>>>;
|
|
754
821
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -768,11 +835,12 @@ export declare const Experiment: {
|
|
|
768
835
|
}>, Augmentation>[k_1]["_output"]; } : never>[k]; } : never, z.objectUtil.addQuestionMarks<z.extendShape<z.extendShape<{
|
|
769
836
|
id: z.ZodString;
|
|
770
837
|
name: z.ZodString;
|
|
838
|
+
description: z.ZodOptional<z.ZodString>;
|
|
771
839
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
772
840
|
config: z.ZodDefault<z.ZodObject<{
|
|
773
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
774
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
775
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
841
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
842
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
843
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
776
844
|
baseline: z.ZodObject<{
|
|
777
845
|
id: z.ZodDefault<z.ZodString>;
|
|
778
846
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -806,7 +874,7 @@ export declare const Experiment: {
|
|
|
806
874
|
id?: string | undefined;
|
|
807
875
|
hidden?: boolean | undefined;
|
|
808
876
|
}[];
|
|
809
|
-
}>, "many"
|
|
877
|
+
}>, "many">>>;
|
|
810
878
|
}, "strip", z.ZodTypeAny, {
|
|
811
879
|
distribution: number[];
|
|
812
880
|
traffic: number;
|
|
@@ -834,9 +902,15 @@ export declare const Experiment: {
|
|
|
834
902
|
}>>;
|
|
835
903
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
836
904
|
id: z.ZodString;
|
|
905
|
+
name: z.ZodOptional<z.ZodString>;
|
|
906
|
+
description: z.ZodOptional<z.ZodString>;
|
|
837
907
|
}, "strip", z.ZodTypeAny, {
|
|
908
|
+
name?: string | undefined;
|
|
909
|
+
description?: string | undefined;
|
|
838
910
|
id: string;
|
|
839
911
|
}, {
|
|
912
|
+
name?: string | undefined;
|
|
913
|
+
description?: string | undefined;
|
|
840
914
|
id: string;
|
|
841
915
|
}>>>;
|
|
842
916
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -856,11 +930,12 @@ export declare const Experiment: {
|
|
|
856
930
|
}>, Augmentation> extends infer T_5 extends z.ZodRawShape ? { [k_3 in keyof T_5]: z.extendShape<z.extendShape<{
|
|
857
931
|
id: z.ZodString;
|
|
858
932
|
name: z.ZodString;
|
|
933
|
+
description: z.ZodOptional<z.ZodString>;
|
|
859
934
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
860
935
|
config: z.ZodDefault<z.ZodObject<{
|
|
861
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
862
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
863
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
936
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
937
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
938
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
864
939
|
baseline: z.ZodObject<{
|
|
865
940
|
id: z.ZodDefault<z.ZodString>;
|
|
866
941
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -894,7 +969,7 @@ export declare const Experiment: {
|
|
|
894
969
|
id?: string | undefined;
|
|
895
970
|
hidden?: boolean | undefined;
|
|
896
971
|
}[];
|
|
897
|
-
}>, "many"
|
|
972
|
+
}>, "many">>>;
|
|
898
973
|
}, "strip", z.ZodTypeAny, {
|
|
899
974
|
distribution: number[];
|
|
900
975
|
traffic: number;
|
|
@@ -922,9 +997,15 @@ export declare const Experiment: {
|
|
|
922
997
|
}>>;
|
|
923
998
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
924
999
|
id: z.ZodString;
|
|
1000
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
description: z.ZodOptional<z.ZodString>;
|
|
925
1002
|
}, "strip", z.ZodTypeAny, {
|
|
1003
|
+
name?: string | undefined;
|
|
1004
|
+
description?: string | undefined;
|
|
926
1005
|
id: string;
|
|
927
1006
|
}, {
|
|
1007
|
+
name?: string | undefined;
|
|
1008
|
+
description?: string | undefined;
|
|
928
1009
|
id: string;
|
|
929
1010
|
}>>>;
|
|
930
1011
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -944,11 +1025,12 @@ export declare const Experiment: {
|
|
|
944
1025
|
}>, Augmentation>[k_3]["_input"]; } : never> extends infer T_4 extends object ? { [k_2 in keyof T_4]: z.objectUtil.addQuestionMarks<z.extendShape<z.extendShape<{
|
|
945
1026
|
id: z.ZodString;
|
|
946
1027
|
name: z.ZodString;
|
|
1028
|
+
description: z.ZodOptional<z.ZodString>;
|
|
947
1029
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
948
1030
|
config: z.ZodDefault<z.ZodObject<{
|
|
949
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
950
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
951
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1031
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1032
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1033
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
952
1034
|
baseline: z.ZodObject<{
|
|
953
1035
|
id: z.ZodDefault<z.ZodString>;
|
|
954
1036
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -982,7 +1064,7 @@ export declare const Experiment: {
|
|
|
982
1064
|
id?: string | undefined;
|
|
983
1065
|
hidden?: boolean | undefined;
|
|
984
1066
|
}[];
|
|
985
|
-
}>, "many"
|
|
1067
|
+
}>, "many">>>;
|
|
986
1068
|
}, "strip", z.ZodTypeAny, {
|
|
987
1069
|
distribution: number[];
|
|
988
1070
|
traffic: number;
|
|
@@ -1010,9 +1092,15 @@ export declare const Experiment: {
|
|
|
1010
1092
|
}>>;
|
|
1011
1093
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1012
1094
|
id: z.ZodString;
|
|
1095
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1096
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1013
1097
|
}, "strip", z.ZodTypeAny, {
|
|
1098
|
+
name?: string | undefined;
|
|
1099
|
+
description?: string | undefined;
|
|
1014
1100
|
id: string;
|
|
1015
1101
|
}, {
|
|
1102
|
+
name?: string | undefined;
|
|
1103
|
+
description?: string | undefined;
|
|
1016
1104
|
id: string;
|
|
1017
1105
|
}>>>;
|
|
1018
1106
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -1032,11 +1120,12 @@ export declare const Experiment: {
|
|
|
1032
1120
|
}>, Augmentation> extends infer T_5 extends z.ZodRawShape ? { [k_3 in keyof T_5]: z.extendShape<z.extendShape<{
|
|
1033
1121
|
id: z.ZodString;
|
|
1034
1122
|
name: z.ZodString;
|
|
1123
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1035
1124
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1036
1125
|
config: z.ZodDefault<z.ZodObject<{
|
|
1037
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1038
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1039
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1126
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1127
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1128
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1040
1129
|
baseline: z.ZodObject<{
|
|
1041
1130
|
id: z.ZodDefault<z.ZodString>;
|
|
1042
1131
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1070,7 +1159,7 @@ export declare const Experiment: {
|
|
|
1070
1159
|
id?: string | undefined;
|
|
1071
1160
|
hidden?: boolean | undefined;
|
|
1072
1161
|
}[];
|
|
1073
|
-
}>, "many"
|
|
1162
|
+
}>, "many">>>;
|
|
1074
1163
|
}, "strip", z.ZodTypeAny, {
|
|
1075
1164
|
distribution: number[];
|
|
1076
1165
|
traffic: number;
|
|
@@ -1098,9 +1187,15 @@ export declare const Experiment: {
|
|
|
1098
1187
|
}>>;
|
|
1099
1188
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1100
1189
|
id: z.ZodString;
|
|
1190
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1191
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1101
1192
|
}, "strip", z.ZodTypeAny, {
|
|
1193
|
+
name?: string | undefined;
|
|
1194
|
+
description?: string | undefined;
|
|
1102
1195
|
id: string;
|
|
1103
1196
|
}, {
|
|
1197
|
+
name?: string | undefined;
|
|
1198
|
+
description?: string | undefined;
|
|
1104
1199
|
id: string;
|
|
1105
1200
|
}>>>;
|
|
1106
1201
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -1121,11 +1216,12 @@ export declare const Experiment: {
|
|
|
1121
1216
|
extend: <Augmentation_1 extends z.ZodRawShape>(augmentation: Augmentation_1) => z.ZodObject<z.extendShape<z.extendShape<{
|
|
1122
1217
|
id: z.ZodString;
|
|
1123
1218
|
name: z.ZodString;
|
|
1219
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1124
1220
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1125
1221
|
config: z.ZodDefault<z.ZodObject<{
|
|
1126
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1127
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1128
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1222
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1223
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1224
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1129
1225
|
baseline: z.ZodObject<{
|
|
1130
1226
|
id: z.ZodDefault<z.ZodString>;
|
|
1131
1227
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1159,7 +1255,7 @@ export declare const Experiment: {
|
|
|
1159
1255
|
id?: string | undefined;
|
|
1160
1256
|
hidden?: boolean | undefined;
|
|
1161
1257
|
}[];
|
|
1162
|
-
}>, "many"
|
|
1258
|
+
}>, "many">>>;
|
|
1163
1259
|
}, "strip", z.ZodTypeAny, {
|
|
1164
1260
|
distribution: number[];
|
|
1165
1261
|
traffic: number;
|
|
@@ -1187,9 +1283,15 @@ export declare const Experiment: {
|
|
|
1187
1283
|
}>>;
|
|
1188
1284
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1189
1285
|
id: z.ZodString;
|
|
1286
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1287
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1190
1288
|
}, "strip", z.ZodTypeAny, {
|
|
1289
|
+
name?: string | undefined;
|
|
1290
|
+
description?: string | undefined;
|
|
1191
1291
|
id: string;
|
|
1192
1292
|
}, {
|
|
1293
|
+
name?: string | undefined;
|
|
1294
|
+
description?: string | undefined;
|
|
1193
1295
|
id: string;
|
|
1194
1296
|
}>>>;
|
|
1195
1297
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -1209,11 +1311,12 @@ export declare const Experiment: {
|
|
|
1209
1311
|
}>, Augmentation_1>, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.extendShape<z.extendShape<{
|
|
1210
1312
|
id: z.ZodString;
|
|
1211
1313
|
name: z.ZodString;
|
|
1314
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1212
1315
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1213
1316
|
config: z.ZodDefault<z.ZodObject<{
|
|
1214
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1215
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1216
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1317
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1318
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1319
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1217
1320
|
baseline: z.ZodObject<{
|
|
1218
1321
|
id: z.ZodDefault<z.ZodString>;
|
|
1219
1322
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1247,7 +1350,7 @@ export declare const Experiment: {
|
|
|
1247
1350
|
id?: string | undefined;
|
|
1248
1351
|
hidden?: boolean | undefined;
|
|
1249
1352
|
}[];
|
|
1250
|
-
}>, "many"
|
|
1353
|
+
}>, "many">>>;
|
|
1251
1354
|
}, "strip", z.ZodTypeAny, {
|
|
1252
1355
|
distribution: number[];
|
|
1253
1356
|
traffic: number;
|
|
@@ -1275,9 +1378,15 @@ export declare const Experiment: {
|
|
|
1275
1378
|
}>>;
|
|
1276
1379
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1277
1380
|
id: z.ZodString;
|
|
1381
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1278
1383
|
}, "strip", z.ZodTypeAny, {
|
|
1384
|
+
name?: string | undefined;
|
|
1385
|
+
description?: string | undefined;
|
|
1279
1386
|
id: string;
|
|
1280
1387
|
}, {
|
|
1388
|
+
name?: string | undefined;
|
|
1389
|
+
description?: string | undefined;
|
|
1281
1390
|
id: string;
|
|
1282
1391
|
}>>>;
|
|
1283
1392
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -1297,11 +1406,12 @@ export declare const Experiment: {
|
|
|
1297
1406
|
}>, Augmentation_1> extends infer T_7 extends z.ZodRawShape ? { [k_5 in keyof T_7]: z.extendShape<z.extendShape<{
|
|
1298
1407
|
id: z.ZodString;
|
|
1299
1408
|
name: z.ZodString;
|
|
1409
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1300
1410
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1301
1411
|
config: z.ZodDefault<z.ZodObject<{
|
|
1302
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1303
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1304
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1412
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1413
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1414
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1305
1415
|
baseline: z.ZodObject<{
|
|
1306
1416
|
id: z.ZodDefault<z.ZodString>;
|
|
1307
1417
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1335,7 +1445,7 @@ export declare const Experiment: {
|
|
|
1335
1445
|
id?: string | undefined;
|
|
1336
1446
|
hidden?: boolean | undefined;
|
|
1337
1447
|
}[];
|
|
1338
|
-
}>, "many"
|
|
1448
|
+
}>, "many">>>;
|
|
1339
1449
|
}, "strip", z.ZodTypeAny, {
|
|
1340
1450
|
distribution: number[];
|
|
1341
1451
|
traffic: number;
|
|
@@ -1363,9 +1473,15 @@ export declare const Experiment: {
|
|
|
1363
1473
|
}>>;
|
|
1364
1474
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1365
1475
|
id: z.ZodString;
|
|
1476
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1366
1478
|
}, "strip", z.ZodTypeAny, {
|
|
1479
|
+
name?: string | undefined;
|
|
1480
|
+
description?: string | undefined;
|
|
1367
1481
|
id: string;
|
|
1368
1482
|
}, {
|
|
1483
|
+
name?: string | undefined;
|
|
1484
|
+
description?: string | undefined;
|
|
1369
1485
|
id: string;
|
|
1370
1486
|
}>>>;
|
|
1371
1487
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -1385,11 +1501,12 @@ export declare const Experiment: {
|
|
|
1385
1501
|
}>, Augmentation_1>[k_5]["_output"]; } : never> extends infer T_6 extends object ? { [k_4 in keyof T_6]: z.objectUtil.addQuestionMarks<z.extendShape<z.extendShape<{
|
|
1386
1502
|
id: z.ZodString;
|
|
1387
1503
|
name: z.ZodString;
|
|
1504
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1388
1505
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1389
1506
|
config: z.ZodDefault<z.ZodObject<{
|
|
1390
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1391
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1392
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1507
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1508
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1509
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1393
1510
|
baseline: z.ZodObject<{
|
|
1394
1511
|
id: z.ZodDefault<z.ZodString>;
|
|
1395
1512
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1423,7 +1540,7 @@ export declare const Experiment: {
|
|
|
1423
1540
|
id?: string | undefined;
|
|
1424
1541
|
hidden?: boolean | undefined;
|
|
1425
1542
|
}[];
|
|
1426
|
-
}>, "many"
|
|
1543
|
+
}>, "many">>>;
|
|
1427
1544
|
}, "strip", z.ZodTypeAny, {
|
|
1428
1545
|
distribution: number[];
|
|
1429
1546
|
traffic: number;
|
|
@@ -1451,9 +1568,15 @@ export declare const Experiment: {
|
|
|
1451
1568
|
}>>;
|
|
1452
1569
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1453
1570
|
id: z.ZodString;
|
|
1571
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1572
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1454
1573
|
}, "strip", z.ZodTypeAny, {
|
|
1574
|
+
name?: string | undefined;
|
|
1575
|
+
description?: string | undefined;
|
|
1455
1576
|
id: string;
|
|
1456
1577
|
}, {
|
|
1578
|
+
name?: string | undefined;
|
|
1579
|
+
description?: string | undefined;
|
|
1457
1580
|
id: string;
|
|
1458
1581
|
}>>>;
|
|
1459
1582
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -1473,11 +1596,12 @@ export declare const Experiment: {
|
|
|
1473
1596
|
}>, Augmentation_1> extends infer T_7 extends z.ZodRawShape ? { [k_5 in keyof T_7]: z.extendShape<z.extendShape<{
|
|
1474
1597
|
id: z.ZodString;
|
|
1475
1598
|
name: z.ZodString;
|
|
1599
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1476
1600
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1477
1601
|
config: z.ZodDefault<z.ZodObject<{
|
|
1478
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1479
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1480
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1602
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1603
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1604
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1481
1605
|
baseline: z.ZodObject<{
|
|
1482
1606
|
id: z.ZodDefault<z.ZodString>;
|
|
1483
1607
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1511,7 +1635,7 @@ export declare const Experiment: {
|
|
|
1511
1635
|
id?: string | undefined;
|
|
1512
1636
|
hidden?: boolean | undefined;
|
|
1513
1637
|
}[];
|
|
1514
|
-
}>, "many"
|
|
1638
|
+
}>, "many">>>;
|
|
1515
1639
|
}, "strip", z.ZodTypeAny, {
|
|
1516
1640
|
distribution: number[];
|
|
1517
1641
|
traffic: number;
|
|
@@ -1539,9 +1663,15 @@ export declare const Experiment: {
|
|
|
1539
1663
|
}>>;
|
|
1540
1664
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1541
1665
|
id: z.ZodString;
|
|
1666
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1667
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1542
1668
|
}, "strip", z.ZodTypeAny, {
|
|
1669
|
+
name?: string | undefined;
|
|
1670
|
+
description?: string | undefined;
|
|
1543
1671
|
id: string;
|
|
1544
1672
|
}, {
|
|
1673
|
+
name?: string | undefined;
|
|
1674
|
+
description?: string | undefined;
|
|
1545
1675
|
id: string;
|
|
1546
1676
|
}>>>;
|
|
1547
1677
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -1561,11 +1691,12 @@ export declare const Experiment: {
|
|
|
1561
1691
|
}>, Augmentation_1>[k_5]["_output"]; } : never>[k_4]; } : never, z.objectUtil.addQuestionMarks<z.extendShape<z.extendShape<{
|
|
1562
1692
|
id: z.ZodString;
|
|
1563
1693
|
name: z.ZodString;
|
|
1694
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1564
1695
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1565
1696
|
config: z.ZodDefault<z.ZodObject<{
|
|
1566
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1567
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1568
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1697
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1698
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1699
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1569
1700
|
baseline: z.ZodObject<{
|
|
1570
1701
|
id: z.ZodDefault<z.ZodString>;
|
|
1571
1702
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1599,7 +1730,7 @@ export declare const Experiment: {
|
|
|
1599
1730
|
id?: string | undefined;
|
|
1600
1731
|
hidden?: boolean | undefined;
|
|
1601
1732
|
}[];
|
|
1602
|
-
}>, "many"
|
|
1733
|
+
}>, "many">>>;
|
|
1603
1734
|
}, "strip", z.ZodTypeAny, {
|
|
1604
1735
|
distribution: number[];
|
|
1605
1736
|
traffic: number;
|
|
@@ -1627,9 +1758,15 @@ export declare const Experiment: {
|
|
|
1627
1758
|
}>>;
|
|
1628
1759
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1629
1760
|
id: z.ZodString;
|
|
1761
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1762
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1630
1763
|
}, "strip", z.ZodTypeAny, {
|
|
1764
|
+
name?: string | undefined;
|
|
1765
|
+
description?: string | undefined;
|
|
1631
1766
|
id: string;
|
|
1632
1767
|
}, {
|
|
1768
|
+
name?: string | undefined;
|
|
1769
|
+
description?: string | undefined;
|
|
1633
1770
|
id: string;
|
|
1634
1771
|
}>>>;
|
|
1635
1772
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -1649,11 +1786,12 @@ export declare const Experiment: {
|
|
|
1649
1786
|
}>, Augmentation_1> extends infer T_9 extends z.ZodRawShape ? { [k_7 in keyof T_9]: z.extendShape<z.extendShape<{
|
|
1650
1787
|
id: z.ZodString;
|
|
1651
1788
|
name: z.ZodString;
|
|
1789
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1652
1790
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1653
1791
|
config: z.ZodDefault<z.ZodObject<{
|
|
1654
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1655
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1656
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1792
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1793
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1794
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1657
1795
|
baseline: z.ZodObject<{
|
|
1658
1796
|
id: z.ZodDefault<z.ZodString>;
|
|
1659
1797
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1687,7 +1825,7 @@ export declare const Experiment: {
|
|
|
1687
1825
|
id?: string | undefined;
|
|
1688
1826
|
hidden?: boolean | undefined;
|
|
1689
1827
|
}[];
|
|
1690
|
-
}>, "many"
|
|
1828
|
+
}>, "many">>>;
|
|
1691
1829
|
}, "strip", z.ZodTypeAny, {
|
|
1692
1830
|
distribution: number[];
|
|
1693
1831
|
traffic: number;
|
|
@@ -1715,9 +1853,15 @@ export declare const Experiment: {
|
|
|
1715
1853
|
}>>;
|
|
1716
1854
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1717
1855
|
id: z.ZodString;
|
|
1856
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1857
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1718
1858
|
}, "strip", z.ZodTypeAny, {
|
|
1859
|
+
name?: string | undefined;
|
|
1860
|
+
description?: string | undefined;
|
|
1719
1861
|
id: string;
|
|
1720
1862
|
}, {
|
|
1863
|
+
name?: string | undefined;
|
|
1864
|
+
description?: string | undefined;
|
|
1721
1865
|
id: string;
|
|
1722
1866
|
}>>>;
|
|
1723
1867
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -1737,11 +1881,12 @@ export declare const Experiment: {
|
|
|
1737
1881
|
}>, Augmentation_1>[k_7]["_input"]; } : never> extends infer T_8 extends object ? { [k_6 in keyof T_8]: z.objectUtil.addQuestionMarks<z.extendShape<z.extendShape<{
|
|
1738
1882
|
id: z.ZodString;
|
|
1739
1883
|
name: z.ZodString;
|
|
1884
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1740
1885
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1741
1886
|
config: z.ZodDefault<z.ZodObject<{
|
|
1742
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1743
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1744
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1887
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1888
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1889
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1745
1890
|
baseline: z.ZodObject<{
|
|
1746
1891
|
id: z.ZodDefault<z.ZodString>;
|
|
1747
1892
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1775,7 +1920,7 @@ export declare const Experiment: {
|
|
|
1775
1920
|
id?: string | undefined;
|
|
1776
1921
|
hidden?: boolean | undefined;
|
|
1777
1922
|
}[];
|
|
1778
|
-
}>, "many"
|
|
1923
|
+
}>, "many">>>;
|
|
1779
1924
|
}, "strip", z.ZodTypeAny, {
|
|
1780
1925
|
distribution: number[];
|
|
1781
1926
|
traffic: number;
|
|
@@ -1803,9 +1948,15 @@ export declare const Experiment: {
|
|
|
1803
1948
|
}>>;
|
|
1804
1949
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1805
1950
|
id: z.ZodString;
|
|
1951
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1952
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1806
1953
|
}, "strip", z.ZodTypeAny, {
|
|
1954
|
+
name?: string | undefined;
|
|
1955
|
+
description?: string | undefined;
|
|
1807
1956
|
id: string;
|
|
1808
1957
|
}, {
|
|
1958
|
+
name?: string | undefined;
|
|
1959
|
+
description?: string | undefined;
|
|
1809
1960
|
id: string;
|
|
1810
1961
|
}>>>;
|
|
1811
1962
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -1825,11 +1976,12 @@ export declare const Experiment: {
|
|
|
1825
1976
|
}>, Augmentation_1> extends infer T_9 extends z.ZodRawShape ? { [k_7 in keyof T_9]: z.extendShape<z.extendShape<{
|
|
1826
1977
|
id: z.ZodString;
|
|
1827
1978
|
name: z.ZodString;
|
|
1979
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1828
1980
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1829
1981
|
config: z.ZodDefault<z.ZodObject<{
|
|
1830
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1831
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1832
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1982
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1983
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1984
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1833
1985
|
baseline: z.ZodObject<{
|
|
1834
1986
|
id: z.ZodDefault<z.ZodString>;
|
|
1835
1987
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1863,7 +2015,7 @@ export declare const Experiment: {
|
|
|
1863
2015
|
id?: string | undefined;
|
|
1864
2016
|
hidden?: boolean | undefined;
|
|
1865
2017
|
}[];
|
|
1866
|
-
}>, "many"
|
|
2018
|
+
}>, "many">>>;
|
|
1867
2019
|
}, "strip", z.ZodTypeAny, {
|
|
1868
2020
|
distribution: number[];
|
|
1869
2021
|
traffic: number;
|
|
@@ -1891,9 +2043,15 @@ export declare const Experiment: {
|
|
|
1891
2043
|
}>>;
|
|
1892
2044
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1893
2045
|
id: z.ZodString;
|
|
2046
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2047
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1894
2048
|
}, "strip", z.ZodTypeAny, {
|
|
2049
|
+
name?: string | undefined;
|
|
2050
|
+
description?: string | undefined;
|
|
1895
2051
|
id: string;
|
|
1896
2052
|
}, {
|
|
2053
|
+
name?: string | undefined;
|
|
2054
|
+
description?: string | undefined;
|
|
1897
2055
|
id: string;
|
|
1898
2056
|
}>>>;
|
|
1899
2057
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -1912,7 +2070,10 @@ export declare const Experiment: {
|
|
|
1912
2070
|
type: z.ZodString;
|
|
1913
2071
|
}>, Augmentation_1>[k_7]["_input"]; } : never>[k_6]; } : never>;
|
|
1914
2072
|
_type: {
|
|
2073
|
+
description?: string | undefined;
|
|
1915
2074
|
audience?: {
|
|
2075
|
+
name?: string | undefined;
|
|
2076
|
+
description?: string | undefined;
|
|
1916
2077
|
id: string;
|
|
1917
2078
|
} | null | undefined;
|
|
1918
2079
|
id: string;
|
|
@@ -1937,7 +2098,10 @@ export declare const Experiment: {
|
|
|
1937
2098
|
};
|
|
1938
2099
|
};
|
|
1939
2100
|
_output: {
|
|
2101
|
+
description?: string | undefined;
|
|
1940
2102
|
audience?: {
|
|
2103
|
+
name?: string | undefined;
|
|
2104
|
+
description?: string | undefined;
|
|
1941
2105
|
id: string;
|
|
1942
2106
|
} | null | undefined;
|
|
1943
2107
|
id: string;
|
|
@@ -1962,6 +2126,7 @@ export declare const Experiment: {
|
|
|
1962
2126
|
};
|
|
1963
2127
|
};
|
|
1964
2128
|
_input: {
|
|
2129
|
+
description?: string | undefined;
|
|
1965
2130
|
variants?: unknown;
|
|
1966
2131
|
config?: {
|
|
1967
2132
|
distribution?: number[] | undefined;
|
|
@@ -1977,6 +2142,8 @@ export declare const Experiment: {
|
|
|
1977
2142
|
}[] | undefined;
|
|
1978
2143
|
} | undefined;
|
|
1979
2144
|
audience?: {
|
|
2145
|
+
name?: string | undefined;
|
|
2146
|
+
description?: string | undefined;
|
|
1980
2147
|
id: string;
|
|
1981
2148
|
} | null | undefined;
|
|
1982
2149
|
id: string;
|
|
@@ -1986,11 +2153,12 @@ export declare const Experiment: {
|
|
|
1986
2153
|
_def: z.ZodObjectDef<z.extendShape<{
|
|
1987
2154
|
id: z.ZodString;
|
|
1988
2155
|
name: z.ZodString;
|
|
2156
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1989
2157
|
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1990
2158
|
config: z.ZodDefault<z.ZodObject<{
|
|
1991
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1992
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1993
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2159
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
2160
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2161
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1994
2162
|
baseline: z.ZodObject<{
|
|
1995
2163
|
id: z.ZodDefault<z.ZodString>;
|
|
1996
2164
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2024,7 +2192,7 @@ export declare const Experiment: {
|
|
|
2024
2192
|
id?: string | undefined;
|
|
2025
2193
|
hidden?: boolean | undefined;
|
|
2026
2194
|
}[];
|
|
2027
|
-
}>, "many"
|
|
2195
|
+
}>, "many">>>;
|
|
2028
2196
|
}, "strip", z.ZodTypeAny, {
|
|
2029
2197
|
distribution: number[];
|
|
2030
2198
|
traffic: number;
|
|
@@ -2052,9 +2220,15 @@ export declare const Experiment: {
|
|
|
2052
2220
|
}>>;
|
|
2053
2221
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2054
2222
|
id: z.ZodString;
|
|
2223
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2224
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2055
2225
|
}, "strip", z.ZodTypeAny, {
|
|
2226
|
+
name?: string | undefined;
|
|
2227
|
+
description?: string | undefined;
|
|
2056
2228
|
id: string;
|
|
2057
2229
|
}, {
|
|
2230
|
+
name?: string | undefined;
|
|
2231
|
+
description?: string | undefined;
|
|
2058
2232
|
id: string;
|
|
2059
2233
|
}>>>;
|
|
2060
2234
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -2073,6 +2247,7 @@ export declare const Experiment: {
|
|
|
2073
2247
|
type: z.ZodString;
|
|
2074
2248
|
}>, "strip", z.ZodTypeAny>;
|
|
2075
2249
|
spa: (data: unknown, params?: Partial<z.ParseParams> | undefined) => Promise<z.SafeParseReturnType<{
|
|
2250
|
+
description?: string | undefined;
|
|
2076
2251
|
variants?: unknown;
|
|
2077
2252
|
config?: {
|
|
2078
2253
|
distribution?: number[] | undefined;
|
|
@@ -2088,13 +2263,18 @@ export declare const Experiment: {
|
|
|
2088
2263
|
}[] | undefined;
|
|
2089
2264
|
} | undefined;
|
|
2090
2265
|
audience?: {
|
|
2266
|
+
name?: string | undefined;
|
|
2267
|
+
description?: string | undefined;
|
|
2091
2268
|
id: string;
|
|
2092
2269
|
} | null | undefined;
|
|
2093
2270
|
id: string;
|
|
2094
2271
|
name: string;
|
|
2095
2272
|
type: string;
|
|
2096
2273
|
}, {
|
|
2274
|
+
description?: string | undefined;
|
|
2097
2275
|
audience?: {
|
|
2276
|
+
name?: string | undefined;
|
|
2277
|
+
description?: string | undefined;
|
|
2098
2278
|
id: string;
|
|
2099
2279
|
} | null | undefined;
|
|
2100
2280
|
id: string;
|