@ninetailed/experience.js-utils 4.3.0-beta.3 → 5.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/Audience.d.ts +2 -2
- package/types/Experience.d.ts +357 -454
- package/types/Experiment.d.ts +441 -460
- package/types/Variant.d.ts +7 -5
package/types/Experiment.d.ts
CHANGED
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
import { Reference } from '@ninetailed/experience.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { ExperienceSchema } from './Experience';
|
|
4
|
-
export declare const ExperimentSchema: z.ZodObject<{
|
|
4
|
+
export declare const ExperimentSchema: z.ZodObject<z.extendShape<{
|
|
5
5
|
id: z.ZodString;
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
description: z.ZodOptional<z.ZodString>;
|
|
8
|
-
|
|
9
|
-
id: z.ZodString;
|
|
10
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
11
|
-
id: z.ZodString;
|
|
12
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
13
|
-
id: z.ZodString;
|
|
14
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
15
|
-
id: z.ZodString;
|
|
16
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
8
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
17
9
|
config: z.ZodDefault<z.ZodObject<{
|
|
18
10
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
19
11
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -82,22 +74,42 @@ export declare const ExperimentSchema: z.ZodObject<{
|
|
|
82
74
|
name: z.ZodOptional<z.ZodString>;
|
|
83
75
|
description: z.ZodOptional<z.ZodString>;
|
|
84
76
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
-
id: string;
|
|
86
77
|
name?: string | undefined;
|
|
87
78
|
description?: string | undefined;
|
|
88
|
-
}, {
|
|
89
79
|
id: string;
|
|
80
|
+
}, {
|
|
90
81
|
name?: string | undefined;
|
|
91
82
|
description?: string | undefined;
|
|
83
|
+
id: string;
|
|
92
84
|
}>>>;
|
|
85
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
86
|
+
id: z.ZodString;
|
|
87
|
+
}, "strip", z.ZodUnknown, {
|
|
88
|
+
[x: string]: unknown;
|
|
89
|
+
id: string;
|
|
90
|
+
}, {
|
|
91
|
+
[x: string]: unknown;
|
|
92
|
+
id: string;
|
|
93
|
+
}>, "many">, {
|
|
94
|
+
[x: string]: unknown;
|
|
95
|
+
id: string;
|
|
96
|
+
}[], unknown>>;
|
|
97
|
+
}, {
|
|
93
98
|
type: z.ZodString;
|
|
94
|
-
}
|
|
99
|
+
}>, "strip", z.ZodTypeAny, {
|
|
100
|
+
description?: string | undefined;
|
|
101
|
+
audience?: {
|
|
102
|
+
name?: string | undefined;
|
|
103
|
+
description?: string | undefined;
|
|
104
|
+
id: string;
|
|
105
|
+
} | null | undefined;
|
|
95
106
|
id: string;
|
|
96
107
|
name: string;
|
|
97
108
|
type: string;
|
|
98
|
-
variants:
|
|
99
|
-
|
|
100
|
-
|
|
109
|
+
variants: {
|
|
110
|
+
[x: string]: unknown;
|
|
111
|
+
id: string;
|
|
112
|
+
}[];
|
|
101
113
|
config: {
|
|
102
114
|
distribution: number[];
|
|
103
115
|
traffic: number;
|
|
@@ -111,16 +123,7 @@ export declare const ExperimentSchema: z.ZodObject<{
|
|
|
111
123
|
}[];
|
|
112
124
|
}[];
|
|
113
125
|
};
|
|
114
|
-
description?: string | undefined;
|
|
115
|
-
audience?: {
|
|
116
|
-
id: string;
|
|
117
|
-
name?: string | undefined;
|
|
118
|
-
description?: string | undefined;
|
|
119
|
-
} | null | undefined;
|
|
120
126
|
}, {
|
|
121
|
-
id: string;
|
|
122
|
-
name: string;
|
|
123
|
-
type: string;
|
|
124
127
|
description?: string | undefined;
|
|
125
128
|
variants?: unknown;
|
|
126
129
|
config?: {
|
|
@@ -137,10 +140,13 @@ export declare const ExperimentSchema: z.ZodObject<{
|
|
|
137
140
|
}[] | undefined;
|
|
138
141
|
} | undefined;
|
|
139
142
|
audience?: {
|
|
140
|
-
id: string;
|
|
141
143
|
name?: string | undefined;
|
|
142
144
|
description?: string | undefined;
|
|
145
|
+
id: string;
|
|
143
146
|
} | null | undefined;
|
|
147
|
+
id: string;
|
|
148
|
+
name: string;
|
|
149
|
+
type: string;
|
|
144
150
|
}>;
|
|
145
151
|
type ExperimentInput = z.input<typeof ExperimentSchema>;
|
|
146
152
|
export type ExperimentLike<Variant extends Reference = Reference> = Omit<ExperimentInput, 'variants'> & {
|
|
@@ -153,9 +159,6 @@ export type Experiment<Variant extends Reference = Reference> = Omit<ExperimentO
|
|
|
153
159
|
export declare const Experiment: {
|
|
154
160
|
parse: <T extends Reference>(input: ExperimentLike<T>) => Experiment<T>;
|
|
155
161
|
safeParse: <T_1 extends Reference>(input: ExperimentLike<T_1>) => z.SafeParseError<{
|
|
156
|
-
id: string;
|
|
157
|
-
name: string;
|
|
158
|
-
type: string;
|
|
159
162
|
description?: string | undefined;
|
|
160
163
|
variants?: unknown;
|
|
161
164
|
config?: {
|
|
@@ -172,13 +175,22 @@ export declare const Experiment: {
|
|
|
172
175
|
}[] | undefined;
|
|
173
176
|
} | undefined;
|
|
174
177
|
audience?: {
|
|
175
|
-
id: string;
|
|
176
178
|
name?: string | undefined;
|
|
177
179
|
description?: string | undefined;
|
|
180
|
+
id: string;
|
|
178
181
|
} | null | undefined;
|
|
182
|
+
id: string;
|
|
183
|
+
name: string;
|
|
184
|
+
type: string;
|
|
179
185
|
}> | {
|
|
180
186
|
data: {
|
|
181
187
|
variants: T_1[];
|
|
188
|
+
description?: string | undefined;
|
|
189
|
+
audience?: {
|
|
190
|
+
name?: string | undefined;
|
|
191
|
+
description?: string | undefined;
|
|
192
|
+
id: string;
|
|
193
|
+
} | null | undefined;
|
|
182
194
|
id: string;
|
|
183
195
|
name: string;
|
|
184
196
|
type: string;
|
|
@@ -195,28 +207,14 @@ export declare const Experiment: {
|
|
|
195
207
|
}[];
|
|
196
208
|
}[];
|
|
197
209
|
};
|
|
198
|
-
description?: string | undefined;
|
|
199
|
-
audience?: {
|
|
200
|
-
id: string;
|
|
201
|
-
name?: string | undefined;
|
|
202
|
-
description?: string | undefined;
|
|
203
|
-
} | null | undefined;
|
|
204
210
|
};
|
|
205
211
|
success: true;
|
|
206
212
|
};
|
|
207
|
-
nonstrict: () => z.ZodObject<{
|
|
213
|
+
nonstrict: () => z.ZodObject<z.extendShape<{
|
|
208
214
|
id: z.ZodString;
|
|
209
215
|
name: z.ZodString;
|
|
210
216
|
description: z.ZodOptional<z.ZodString>;
|
|
211
|
-
|
|
212
|
-
id: z.ZodString;
|
|
213
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
214
|
-
id: z.ZodString;
|
|
215
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
216
|
-
id: z.ZodString;
|
|
217
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
218
|
-
id: z.ZodString;
|
|
219
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
217
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
220
218
|
config: z.ZodDefault<z.ZodObject<{
|
|
221
219
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
222
220
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -285,157 +283,43 @@ export declare const Experiment: {
|
|
|
285
283
|
name: z.ZodOptional<z.ZodString>;
|
|
286
284
|
description: z.ZodOptional<z.ZodString>;
|
|
287
285
|
}, "strip", z.ZodTypeAny, {
|
|
288
|
-
id: string;
|
|
289
286
|
name?: string | undefined;
|
|
290
287
|
description?: string | undefined;
|
|
291
|
-
}, {
|
|
292
288
|
id: string;
|
|
289
|
+
}, {
|
|
293
290
|
name?: string | undefined;
|
|
294
291
|
description?: string | undefined;
|
|
292
|
+
id: string;
|
|
295
293
|
}>>>;
|
|
296
|
-
type: z.ZodString;
|
|
297
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
298
|
-
id: z.ZodString;
|
|
299
|
-
name: z.ZodString;
|
|
300
|
-
description: z.ZodOptional<z.ZodString>;
|
|
301
294
|
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
302
295
|
id: z.ZodString;
|
|
303
|
-
}, "strip", z.ZodUnknown,
|
|
304
|
-
|
|
305
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
306
|
-
id: z.ZodString;
|
|
307
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
308
|
-
id: z.ZodString;
|
|
309
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
310
|
-
config: z.ZodDefault<z.ZodObject<{
|
|
311
|
-
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
312
|
-
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
313
|
-
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
314
|
-
baseline: z.ZodObject<{
|
|
315
|
-
id: z.ZodDefault<z.ZodString>;
|
|
316
|
-
}, "strip", z.ZodTypeAny, {
|
|
317
|
-
id: string;
|
|
318
|
-
}, {
|
|
319
|
-
id?: string | undefined;
|
|
320
|
-
}>;
|
|
321
|
-
variants: z.ZodArray<z.ZodObject<{
|
|
322
|
-
id: z.ZodDefault<z.ZodString>;
|
|
323
|
-
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
324
|
-
}, "strip", z.ZodTypeAny, {
|
|
325
|
-
id: string;
|
|
326
|
-
hidden: boolean;
|
|
327
|
-
}, {
|
|
328
|
-
id?: string | undefined;
|
|
329
|
-
hidden?: boolean | undefined;
|
|
330
|
-
}>, "many">;
|
|
331
|
-
}, "strip", z.ZodTypeAny, {
|
|
332
|
-
baseline: {
|
|
333
|
-
id: string;
|
|
334
|
-
};
|
|
335
|
-
variants: {
|
|
336
|
-
id: string;
|
|
337
|
-
hidden: boolean;
|
|
338
|
-
}[];
|
|
339
|
-
}, {
|
|
340
|
-
baseline: {
|
|
341
|
-
id?: string | undefined;
|
|
342
|
-
};
|
|
343
|
-
variants: {
|
|
344
|
-
id?: string | undefined;
|
|
345
|
-
hidden?: boolean | undefined;
|
|
346
|
-
}[];
|
|
347
|
-
}>, "many">>>;
|
|
348
|
-
}, "strip", z.ZodTypeAny, {
|
|
349
|
-
distribution: number[];
|
|
350
|
-
traffic: number;
|
|
351
|
-
components: {
|
|
352
|
-
baseline: {
|
|
353
|
-
id: string;
|
|
354
|
-
};
|
|
355
|
-
variants: {
|
|
356
|
-
id: string;
|
|
357
|
-
hidden: boolean;
|
|
358
|
-
}[];
|
|
359
|
-
}[];
|
|
360
|
-
}, {
|
|
361
|
-
distribution?: number[] | undefined;
|
|
362
|
-
traffic?: number | undefined;
|
|
363
|
-
components?: {
|
|
364
|
-
baseline: {
|
|
365
|
-
id?: string | undefined;
|
|
366
|
-
};
|
|
367
|
-
variants: {
|
|
368
|
-
id?: string | undefined;
|
|
369
|
-
hidden?: boolean | undefined;
|
|
370
|
-
}[];
|
|
371
|
-
}[] | undefined;
|
|
372
|
-
}>>;
|
|
373
|
-
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
374
|
-
id: z.ZodString;
|
|
375
|
-
name: z.ZodOptional<z.ZodString>;
|
|
376
|
-
description: z.ZodOptional<z.ZodString>;
|
|
377
|
-
}, "strip", z.ZodTypeAny, {
|
|
296
|
+
}, "strip", z.ZodUnknown, {
|
|
297
|
+
[x: string]: unknown;
|
|
378
298
|
id: string;
|
|
379
|
-
name?: string | undefined;
|
|
380
|
-
description?: string | undefined;
|
|
381
299
|
}, {
|
|
300
|
+
[x: string]: unknown;
|
|
301
|
+
id: string;
|
|
302
|
+
}>, "many">, {
|
|
303
|
+
[x: string]: unknown;
|
|
382
304
|
id: string;
|
|
305
|
+
}[], unknown>>;
|
|
306
|
+
}, {
|
|
307
|
+
type: z.ZodString;
|
|
308
|
+
}>, "passthrough", z.ZodTypeAny, {
|
|
309
|
+
description?: string | undefined;
|
|
310
|
+
audience?: {
|
|
383
311
|
name?: string | undefined;
|
|
384
312
|
description?: string | undefined;
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
id:
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
396
|
-
id: z.ZodString;
|
|
397
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
398
|
-
id: z.ZodString;
|
|
399
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
400
|
-
config: z.ZodDefault<z.ZodObject<{
|
|
401
|
-
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
402
|
-
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
403
|
-
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
404
|
-
baseline: z.ZodObject<{
|
|
405
|
-
id: z.ZodDefault<z.ZodString>;
|
|
406
|
-
}, "strip", z.ZodTypeAny, {
|
|
407
|
-
id: string;
|
|
408
|
-
}, {
|
|
409
|
-
id?: string | undefined;
|
|
410
|
-
}>;
|
|
411
|
-
variants: z.ZodArray<z.ZodObject<{
|
|
412
|
-
id: z.ZodDefault<z.ZodString>;
|
|
413
|
-
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
414
|
-
}, "strip", z.ZodTypeAny, {
|
|
415
|
-
id: string;
|
|
416
|
-
hidden: boolean;
|
|
417
|
-
}, {
|
|
418
|
-
id?: string | undefined;
|
|
419
|
-
hidden?: boolean | undefined;
|
|
420
|
-
}>, "many">;
|
|
421
|
-
}, "strip", z.ZodTypeAny, {
|
|
422
|
-
baseline: {
|
|
423
|
-
id: string;
|
|
424
|
-
};
|
|
425
|
-
variants: {
|
|
426
|
-
id: string;
|
|
427
|
-
hidden: boolean;
|
|
428
|
-
}[];
|
|
429
|
-
}, {
|
|
430
|
-
baseline: {
|
|
431
|
-
id?: string | undefined;
|
|
432
|
-
};
|
|
433
|
-
variants: {
|
|
434
|
-
id?: string | undefined;
|
|
435
|
-
hidden?: boolean | undefined;
|
|
436
|
-
}[];
|
|
437
|
-
}>, "many">>>;
|
|
438
|
-
}, "strip", z.ZodTypeAny, {
|
|
313
|
+
id: string;
|
|
314
|
+
} | null | undefined;
|
|
315
|
+
id: string;
|
|
316
|
+
name: string;
|
|
317
|
+
type: string;
|
|
318
|
+
variants: {
|
|
319
|
+
[x: string]: unknown;
|
|
320
|
+
id: string;
|
|
321
|
+
}[];
|
|
322
|
+
config: {
|
|
439
323
|
distribution: number[];
|
|
440
324
|
traffic: number;
|
|
441
325
|
components: {
|
|
@@ -447,7 +331,11 @@ export declare const Experiment: {
|
|
|
447
331
|
hidden: boolean;
|
|
448
332
|
}[];
|
|
449
333
|
}[];
|
|
450
|
-
}
|
|
334
|
+
};
|
|
335
|
+
}, {
|
|
336
|
+
description?: string | undefined;
|
|
337
|
+
variants?: unknown;
|
|
338
|
+
config?: {
|
|
451
339
|
distribution?: number[] | undefined;
|
|
452
340
|
traffic?: number | undefined;
|
|
453
341
|
components?: {
|
|
@@ -459,35 +347,21 @@ export declare const Experiment: {
|
|
|
459
347
|
hidden?: boolean | undefined;
|
|
460
348
|
}[];
|
|
461
349
|
}[] | undefined;
|
|
462
|
-
}
|
|
463
|
-
audience
|
|
464
|
-
id: z.ZodString;
|
|
465
|
-
name: z.ZodOptional<z.ZodString>;
|
|
466
|
-
description: z.ZodOptional<z.ZodString>;
|
|
467
|
-
}, "strip", z.ZodTypeAny, {
|
|
468
|
-
id: string;
|
|
350
|
+
} | undefined;
|
|
351
|
+
audience?: {
|
|
469
352
|
name?: string | undefined;
|
|
470
353
|
description?: string | undefined;
|
|
471
|
-
}, {
|
|
472
354
|
id: string;
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
type:
|
|
477
|
-
}
|
|
478
|
-
augment: <Augmentation extends z.ZodRawShape>(augmentation: Augmentation) => z.ZodObject<
|
|
355
|
+
} | null | undefined;
|
|
356
|
+
id: string;
|
|
357
|
+
name: string;
|
|
358
|
+
type: string;
|
|
359
|
+
}>;
|
|
360
|
+
augment: <Augmentation extends z.ZodRawShape>(augmentation: Augmentation) => z.ZodObject<z.extendShape<z.extendShape<{
|
|
479
361
|
id: z.ZodString;
|
|
480
362
|
name: z.ZodString;
|
|
481
363
|
description: z.ZodOptional<z.ZodString>;
|
|
482
|
-
|
|
483
|
-
id: z.ZodString;
|
|
484
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
485
|
-
id: z.ZodString;
|
|
486
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
487
|
-
id: z.ZodString;
|
|
488
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
489
|
-
id: z.ZodString;
|
|
490
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
364
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
491
365
|
config: z.ZodDefault<z.ZodObject<{
|
|
492
366
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
493
367
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -556,28 +430,33 @@ export declare const Experiment: {
|
|
|
556
430
|
name: z.ZodOptional<z.ZodString>;
|
|
557
431
|
description: z.ZodOptional<z.ZodString>;
|
|
558
432
|
}, "strip", z.ZodTypeAny, {
|
|
559
|
-
id: string;
|
|
560
433
|
name?: string | undefined;
|
|
561
434
|
description?: string | undefined;
|
|
562
|
-
}, {
|
|
563
435
|
id: string;
|
|
436
|
+
}, {
|
|
564
437
|
name?: string | undefined;
|
|
565
438
|
description?: string | undefined;
|
|
439
|
+
id: string;
|
|
566
440
|
}>>>;
|
|
441
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
442
|
+
id: z.ZodString;
|
|
443
|
+
}, "strip", z.ZodUnknown, {
|
|
444
|
+
[x: string]: unknown;
|
|
445
|
+
id: string;
|
|
446
|
+
}, {
|
|
447
|
+
[x: string]: unknown;
|
|
448
|
+
id: string;
|
|
449
|
+
}>, "many">, {
|
|
450
|
+
[x: string]: unknown;
|
|
451
|
+
id: string;
|
|
452
|
+
}[], unknown>>;
|
|
453
|
+
}, {
|
|
567
454
|
type: z.ZodString;
|
|
568
|
-
}
|
|
455
|
+
}>, Augmentation>, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.extendShape<z.extendShape<{
|
|
569
456
|
id: z.ZodString;
|
|
570
457
|
name: z.ZodString;
|
|
571
458
|
description: z.ZodOptional<z.ZodString>;
|
|
572
|
-
|
|
573
|
-
id: z.ZodString;
|
|
574
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
575
|
-
id: z.ZodString;
|
|
576
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
577
|
-
id: z.ZodString;
|
|
578
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
579
|
-
id: z.ZodString;
|
|
580
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
459
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
581
460
|
config: z.ZodDefault<z.ZodObject<{
|
|
582
461
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
583
462
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -646,28 +525,33 @@ export declare const Experiment: {
|
|
|
646
525
|
name: z.ZodOptional<z.ZodString>;
|
|
647
526
|
description: z.ZodOptional<z.ZodString>;
|
|
648
527
|
}, "strip", z.ZodTypeAny, {
|
|
649
|
-
id: string;
|
|
650
528
|
name?: string | undefined;
|
|
651
529
|
description?: string | undefined;
|
|
652
|
-
}, {
|
|
653
530
|
id: string;
|
|
531
|
+
}, {
|
|
654
532
|
name?: string | undefined;
|
|
655
533
|
description?: string | undefined;
|
|
534
|
+
id: string;
|
|
656
535
|
}>>>;
|
|
536
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
537
|
+
id: z.ZodString;
|
|
538
|
+
}, "strip", z.ZodUnknown, {
|
|
539
|
+
[x: string]: unknown;
|
|
540
|
+
id: string;
|
|
541
|
+
}, {
|
|
542
|
+
[x: string]: unknown;
|
|
543
|
+
id: string;
|
|
544
|
+
}>, "many">, {
|
|
545
|
+
[x: string]: unknown;
|
|
546
|
+
id: string;
|
|
547
|
+
}[], unknown>>;
|
|
548
|
+
}, {
|
|
657
549
|
type: z.ZodString;
|
|
658
|
-
}
|
|
550
|
+
}>, Augmentation> extends infer T_3 extends z.ZodRawShape ? { [k_1 in keyof T_3]: z.extendShape<z.extendShape<{
|
|
659
551
|
id: z.ZodString;
|
|
660
552
|
name: z.ZodString;
|
|
661
553
|
description: z.ZodOptional<z.ZodString>;
|
|
662
|
-
|
|
663
|
-
id: z.ZodString;
|
|
664
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
665
|
-
id: z.ZodString;
|
|
666
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
667
|
-
id: z.ZodString;
|
|
668
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
669
|
-
id: z.ZodString;
|
|
670
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
554
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
671
555
|
config: z.ZodDefault<z.ZodObject<{
|
|
672
556
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
673
557
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -736,28 +620,33 @@ export declare const Experiment: {
|
|
|
736
620
|
name: z.ZodOptional<z.ZodString>;
|
|
737
621
|
description: z.ZodOptional<z.ZodString>;
|
|
738
622
|
}, "strip", z.ZodTypeAny, {
|
|
739
|
-
id: string;
|
|
740
623
|
name?: string | undefined;
|
|
741
624
|
description?: string | undefined;
|
|
742
|
-
}, {
|
|
743
625
|
id: string;
|
|
626
|
+
}, {
|
|
744
627
|
name?: string | undefined;
|
|
745
628
|
description?: string | undefined;
|
|
629
|
+
id: string;
|
|
746
630
|
}>>>;
|
|
631
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
632
|
+
id: z.ZodString;
|
|
633
|
+
}, "strip", z.ZodUnknown, {
|
|
634
|
+
[x: string]: unknown;
|
|
635
|
+
id: string;
|
|
636
|
+
}, {
|
|
637
|
+
[x: string]: unknown;
|
|
638
|
+
id: string;
|
|
639
|
+
}>, "many">, {
|
|
640
|
+
[x: string]: unknown;
|
|
641
|
+
id: string;
|
|
642
|
+
}[], unknown>>;
|
|
643
|
+
}, {
|
|
747
644
|
type: z.ZodString;
|
|
748
|
-
}
|
|
645
|
+
}>, Augmentation>[k_1]["_output"]; } : never> extends infer T_2 extends object ? { [k in keyof T_2]: z.objectUtil.addQuestionMarks<z.extendShape<z.extendShape<{
|
|
749
646
|
id: z.ZodString;
|
|
750
647
|
name: z.ZodString;
|
|
751
648
|
description: z.ZodOptional<z.ZodString>;
|
|
752
|
-
|
|
753
|
-
id: z.ZodString;
|
|
754
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
755
|
-
id: z.ZodString;
|
|
756
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
757
|
-
id: z.ZodString;
|
|
758
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
759
|
-
id: z.ZodString;
|
|
760
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
649
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
761
650
|
config: z.ZodDefault<z.ZodObject<{
|
|
762
651
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
763
652
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -826,28 +715,33 @@ export declare const Experiment: {
|
|
|
826
715
|
name: z.ZodOptional<z.ZodString>;
|
|
827
716
|
description: z.ZodOptional<z.ZodString>;
|
|
828
717
|
}, "strip", z.ZodTypeAny, {
|
|
829
|
-
id: string;
|
|
830
718
|
name?: string | undefined;
|
|
831
719
|
description?: string | undefined;
|
|
832
|
-
}, {
|
|
833
720
|
id: string;
|
|
721
|
+
}, {
|
|
834
722
|
name?: string | undefined;
|
|
835
723
|
description?: string | undefined;
|
|
724
|
+
id: string;
|
|
836
725
|
}>>>;
|
|
726
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
727
|
+
id: z.ZodString;
|
|
728
|
+
}, "strip", z.ZodUnknown, {
|
|
729
|
+
[x: string]: unknown;
|
|
730
|
+
id: string;
|
|
731
|
+
}, {
|
|
732
|
+
[x: string]: unknown;
|
|
733
|
+
id: string;
|
|
734
|
+
}>, "many">, {
|
|
735
|
+
[x: string]: unknown;
|
|
736
|
+
id: string;
|
|
737
|
+
}[], unknown>>;
|
|
738
|
+
}, {
|
|
837
739
|
type: z.ZodString;
|
|
838
|
-
}
|
|
740
|
+
}>, Augmentation> extends infer T_3 extends z.ZodRawShape ? { [k_1 in keyof T_3]: z.extendShape<z.extendShape<{
|
|
839
741
|
id: z.ZodString;
|
|
840
742
|
name: z.ZodString;
|
|
841
743
|
description: z.ZodOptional<z.ZodString>;
|
|
842
|
-
|
|
843
|
-
id: z.ZodString;
|
|
844
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
845
|
-
id: z.ZodString;
|
|
846
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
847
|
-
id: z.ZodString;
|
|
848
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
849
|
-
id: z.ZodString;
|
|
850
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
744
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
851
745
|
config: z.ZodDefault<z.ZodObject<{
|
|
852
746
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
853
747
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -916,28 +810,33 @@ export declare const Experiment: {
|
|
|
916
810
|
name: z.ZodOptional<z.ZodString>;
|
|
917
811
|
description: z.ZodOptional<z.ZodString>;
|
|
918
812
|
}, "strip", z.ZodTypeAny, {
|
|
919
|
-
id: string;
|
|
920
813
|
name?: string | undefined;
|
|
921
814
|
description?: string | undefined;
|
|
922
|
-
}, {
|
|
923
815
|
id: string;
|
|
816
|
+
}, {
|
|
924
817
|
name?: string | undefined;
|
|
925
818
|
description?: string | undefined;
|
|
819
|
+
id: string;
|
|
926
820
|
}>>>;
|
|
821
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
822
|
+
id: z.ZodString;
|
|
823
|
+
}, "strip", z.ZodUnknown, {
|
|
824
|
+
[x: string]: unknown;
|
|
825
|
+
id: string;
|
|
826
|
+
}, {
|
|
827
|
+
[x: string]: unknown;
|
|
828
|
+
id: string;
|
|
829
|
+
}>, "many">, {
|
|
830
|
+
[x: string]: unknown;
|
|
831
|
+
id: string;
|
|
832
|
+
}[], unknown>>;
|
|
833
|
+
}, {
|
|
927
834
|
type: z.ZodString;
|
|
928
|
-
}
|
|
835
|
+
}>, Augmentation>[k_1]["_output"]; } : never>[k]; } : never, z.objectUtil.addQuestionMarks<z.extendShape<z.extendShape<{
|
|
929
836
|
id: z.ZodString;
|
|
930
837
|
name: z.ZodString;
|
|
931
838
|
description: z.ZodOptional<z.ZodString>;
|
|
932
|
-
|
|
933
|
-
id: z.ZodString;
|
|
934
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
935
|
-
id: z.ZodString;
|
|
936
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
937
|
-
id: z.ZodString;
|
|
938
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
939
|
-
id: z.ZodString;
|
|
940
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
839
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
941
840
|
config: z.ZodDefault<z.ZodObject<{
|
|
942
841
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
943
842
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1006,28 +905,33 @@ export declare const Experiment: {
|
|
|
1006
905
|
name: z.ZodOptional<z.ZodString>;
|
|
1007
906
|
description: z.ZodOptional<z.ZodString>;
|
|
1008
907
|
}, "strip", z.ZodTypeAny, {
|
|
1009
|
-
id: string;
|
|
1010
908
|
name?: string | undefined;
|
|
1011
909
|
description?: string | undefined;
|
|
1012
|
-
}, {
|
|
1013
910
|
id: string;
|
|
911
|
+
}, {
|
|
1014
912
|
name?: string | undefined;
|
|
1015
913
|
description?: string | undefined;
|
|
914
|
+
id: string;
|
|
1016
915
|
}>>>;
|
|
916
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
917
|
+
id: z.ZodString;
|
|
918
|
+
}, "strip", z.ZodUnknown, {
|
|
919
|
+
[x: string]: unknown;
|
|
920
|
+
id: string;
|
|
921
|
+
}, {
|
|
922
|
+
[x: string]: unknown;
|
|
923
|
+
id: string;
|
|
924
|
+
}>, "many">, {
|
|
925
|
+
[x: string]: unknown;
|
|
926
|
+
id: string;
|
|
927
|
+
}[], unknown>>;
|
|
928
|
+
}, {
|
|
1017
929
|
type: z.ZodString;
|
|
1018
|
-
}
|
|
930
|
+
}>, Augmentation> extends infer T_5 extends z.ZodRawShape ? { [k_3 in keyof T_5]: z.extendShape<z.extendShape<{
|
|
1019
931
|
id: z.ZodString;
|
|
1020
932
|
name: z.ZodString;
|
|
1021
933
|
description: z.ZodOptional<z.ZodString>;
|
|
1022
|
-
|
|
1023
|
-
id: z.ZodString;
|
|
1024
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1025
|
-
id: z.ZodString;
|
|
1026
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1027
|
-
id: z.ZodString;
|
|
1028
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
1029
|
-
id: z.ZodString;
|
|
1030
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
934
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1031
935
|
config: z.ZodDefault<z.ZodObject<{
|
|
1032
936
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1033
937
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1096,28 +1000,33 @@ export declare const Experiment: {
|
|
|
1096
1000
|
name: z.ZodOptional<z.ZodString>;
|
|
1097
1001
|
description: z.ZodOptional<z.ZodString>;
|
|
1098
1002
|
}, "strip", z.ZodTypeAny, {
|
|
1099
|
-
id: string;
|
|
1100
1003
|
name?: string | undefined;
|
|
1101
1004
|
description?: string | undefined;
|
|
1102
|
-
}, {
|
|
1103
1005
|
id: string;
|
|
1006
|
+
}, {
|
|
1104
1007
|
name?: string | undefined;
|
|
1105
1008
|
description?: string | undefined;
|
|
1009
|
+
id: string;
|
|
1106
1010
|
}>>>;
|
|
1011
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1012
|
+
id: z.ZodString;
|
|
1013
|
+
}, "strip", z.ZodUnknown, {
|
|
1014
|
+
[x: string]: unknown;
|
|
1015
|
+
id: string;
|
|
1016
|
+
}, {
|
|
1017
|
+
[x: string]: unknown;
|
|
1018
|
+
id: string;
|
|
1019
|
+
}>, "many">, {
|
|
1020
|
+
[x: string]: unknown;
|
|
1021
|
+
id: string;
|
|
1022
|
+
}[], unknown>>;
|
|
1023
|
+
}, {
|
|
1107
1024
|
type: z.ZodString;
|
|
1108
|
-
}
|
|
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<{
|
|
1109
1026
|
id: z.ZodString;
|
|
1110
1027
|
name: z.ZodString;
|
|
1111
1028
|
description: z.ZodOptional<z.ZodString>;
|
|
1112
|
-
|
|
1113
|
-
id: z.ZodString;
|
|
1114
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1115
|
-
id: z.ZodString;
|
|
1116
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1117
|
-
id: z.ZodString;
|
|
1118
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
1119
|
-
id: z.ZodString;
|
|
1120
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
1029
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1121
1030
|
config: z.ZodDefault<z.ZodObject<{
|
|
1122
1031
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1123
1032
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1186,28 +1095,33 @@ export declare const Experiment: {
|
|
|
1186
1095
|
name: z.ZodOptional<z.ZodString>;
|
|
1187
1096
|
description: z.ZodOptional<z.ZodString>;
|
|
1188
1097
|
}, "strip", z.ZodTypeAny, {
|
|
1189
|
-
id: string;
|
|
1190
1098
|
name?: string | undefined;
|
|
1191
1099
|
description?: string | undefined;
|
|
1192
|
-
}, {
|
|
1193
1100
|
id: string;
|
|
1101
|
+
}, {
|
|
1194
1102
|
name?: string | undefined;
|
|
1195
1103
|
description?: string | undefined;
|
|
1104
|
+
id: string;
|
|
1196
1105
|
}>>>;
|
|
1106
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1107
|
+
id: z.ZodString;
|
|
1108
|
+
}, "strip", z.ZodUnknown, {
|
|
1109
|
+
[x: string]: unknown;
|
|
1110
|
+
id: string;
|
|
1111
|
+
}, {
|
|
1112
|
+
[x: string]: unknown;
|
|
1113
|
+
id: string;
|
|
1114
|
+
}>, "many">, {
|
|
1115
|
+
[x: string]: unknown;
|
|
1116
|
+
id: string;
|
|
1117
|
+
}[], unknown>>;
|
|
1118
|
+
}, {
|
|
1197
1119
|
type: z.ZodString;
|
|
1198
|
-
}
|
|
1120
|
+
}>, Augmentation> extends infer T_5 extends z.ZodRawShape ? { [k_3 in keyof T_5]: z.extendShape<z.extendShape<{
|
|
1199
1121
|
id: z.ZodString;
|
|
1200
1122
|
name: z.ZodString;
|
|
1201
1123
|
description: z.ZodOptional<z.ZodString>;
|
|
1202
|
-
|
|
1203
|
-
id: z.ZodString;
|
|
1204
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1205
|
-
id: z.ZodString;
|
|
1206
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1207
|
-
id: z.ZodString;
|
|
1208
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
1209
|
-
id: z.ZodString;
|
|
1210
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
1124
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1211
1125
|
config: z.ZodDefault<z.ZodObject<{
|
|
1212
1126
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1213
1127
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1276,28 +1190,34 @@ export declare const Experiment: {
|
|
|
1276
1190
|
name: z.ZodOptional<z.ZodString>;
|
|
1277
1191
|
description: z.ZodOptional<z.ZodString>;
|
|
1278
1192
|
}, "strip", z.ZodTypeAny, {
|
|
1279
|
-
id: string;
|
|
1280
1193
|
name?: string | undefined;
|
|
1281
1194
|
description?: string | undefined;
|
|
1282
|
-
}, {
|
|
1283
1195
|
id: string;
|
|
1196
|
+
}, {
|
|
1284
1197
|
name?: string | undefined;
|
|
1285
1198
|
description?: string | undefined;
|
|
1199
|
+
id: string;
|
|
1286
1200
|
}>>>;
|
|
1201
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1202
|
+
id: z.ZodString;
|
|
1203
|
+
}, "strip", z.ZodUnknown, {
|
|
1204
|
+
[x: string]: unknown;
|
|
1205
|
+
id: string;
|
|
1206
|
+
}, {
|
|
1207
|
+
[x: string]: unknown;
|
|
1208
|
+
id: string;
|
|
1209
|
+
}>, "many">, {
|
|
1210
|
+
[x: string]: unknown;
|
|
1211
|
+
id: string;
|
|
1212
|
+
}[], unknown>>;
|
|
1213
|
+
}, {
|
|
1287
1214
|
type: z.ZodString;
|
|
1288
|
-
}
|
|
1215
|
+
}>, Augmentation>[k_3]["_input"]; } : never>[k_2]; } : never>;
|
|
1216
|
+
extend: <Augmentation_1 extends z.ZodRawShape>(augmentation: Augmentation_1) => z.ZodObject<z.extendShape<z.extendShape<{
|
|
1289
1217
|
id: z.ZodString;
|
|
1290
1218
|
name: z.ZodString;
|
|
1291
1219
|
description: z.ZodOptional<z.ZodString>;
|
|
1292
|
-
|
|
1293
|
-
id: z.ZodString;
|
|
1294
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1295
|
-
id: z.ZodString;
|
|
1296
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1297
|
-
id: z.ZodString;
|
|
1298
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
1299
|
-
id: z.ZodString;
|
|
1300
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
1220
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1301
1221
|
config: z.ZodDefault<z.ZodObject<{
|
|
1302
1222
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1303
1223
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1366,28 +1286,33 @@ export declare const Experiment: {
|
|
|
1366
1286
|
name: z.ZodOptional<z.ZodString>;
|
|
1367
1287
|
description: z.ZodOptional<z.ZodString>;
|
|
1368
1288
|
}, "strip", z.ZodTypeAny, {
|
|
1369
|
-
id: string;
|
|
1370
1289
|
name?: string | undefined;
|
|
1371
1290
|
description?: string | undefined;
|
|
1372
|
-
}, {
|
|
1373
1291
|
id: string;
|
|
1292
|
+
}, {
|
|
1374
1293
|
name?: string | undefined;
|
|
1375
1294
|
description?: string | undefined;
|
|
1295
|
+
id: string;
|
|
1376
1296
|
}>>>;
|
|
1297
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1298
|
+
id: z.ZodString;
|
|
1299
|
+
}, "strip", z.ZodUnknown, {
|
|
1300
|
+
[x: string]: unknown;
|
|
1301
|
+
id: string;
|
|
1302
|
+
}, {
|
|
1303
|
+
[x: string]: unknown;
|
|
1304
|
+
id: string;
|
|
1305
|
+
}>, "many">, {
|
|
1306
|
+
[x: string]: unknown;
|
|
1307
|
+
id: string;
|
|
1308
|
+
}[], unknown>>;
|
|
1309
|
+
}, {
|
|
1377
1310
|
type: z.ZodString;
|
|
1378
|
-
}
|
|
1311
|
+
}>, Augmentation_1>, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.extendShape<z.extendShape<{
|
|
1379
1312
|
id: z.ZodString;
|
|
1380
1313
|
name: z.ZodString;
|
|
1381
1314
|
description: z.ZodOptional<z.ZodString>;
|
|
1382
|
-
|
|
1383
|
-
id: z.ZodString;
|
|
1384
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1385
|
-
id: z.ZodString;
|
|
1386
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1387
|
-
id: z.ZodString;
|
|
1388
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
1389
|
-
id: z.ZodString;
|
|
1390
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
1315
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1391
1316
|
config: z.ZodDefault<z.ZodObject<{
|
|
1392
1317
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1393
1318
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1456,28 +1381,33 @@ export declare const Experiment: {
|
|
|
1456
1381
|
name: z.ZodOptional<z.ZodString>;
|
|
1457
1382
|
description: z.ZodOptional<z.ZodString>;
|
|
1458
1383
|
}, "strip", z.ZodTypeAny, {
|
|
1459
|
-
id: string;
|
|
1460
1384
|
name?: string | undefined;
|
|
1461
1385
|
description?: string | undefined;
|
|
1462
|
-
}, {
|
|
1463
1386
|
id: string;
|
|
1387
|
+
}, {
|
|
1464
1388
|
name?: string | undefined;
|
|
1465
1389
|
description?: string | undefined;
|
|
1390
|
+
id: string;
|
|
1466
1391
|
}>>>;
|
|
1392
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1393
|
+
id: z.ZodString;
|
|
1394
|
+
}, "strip", z.ZodUnknown, {
|
|
1395
|
+
[x: string]: unknown;
|
|
1396
|
+
id: string;
|
|
1397
|
+
}, {
|
|
1398
|
+
[x: string]: unknown;
|
|
1399
|
+
id: string;
|
|
1400
|
+
}>, "many">, {
|
|
1401
|
+
[x: string]: unknown;
|
|
1402
|
+
id: string;
|
|
1403
|
+
}[], unknown>>;
|
|
1404
|
+
}, {
|
|
1467
1405
|
type: z.ZodString;
|
|
1468
|
-
}
|
|
1406
|
+
}>, Augmentation_1> extends infer T_7 extends z.ZodRawShape ? { [k_5 in keyof T_7]: z.extendShape<z.extendShape<{
|
|
1469
1407
|
id: z.ZodString;
|
|
1470
1408
|
name: z.ZodString;
|
|
1471
1409
|
description: z.ZodOptional<z.ZodString>;
|
|
1472
|
-
|
|
1473
|
-
id: z.ZodString;
|
|
1474
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1475
|
-
id: z.ZodString;
|
|
1476
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1477
|
-
id: z.ZodString;
|
|
1478
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
1479
|
-
id: z.ZodString;
|
|
1480
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
1410
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1481
1411
|
config: z.ZodDefault<z.ZodObject<{
|
|
1482
1412
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1483
1413
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1546,28 +1476,33 @@ export declare const Experiment: {
|
|
|
1546
1476
|
name: z.ZodOptional<z.ZodString>;
|
|
1547
1477
|
description: z.ZodOptional<z.ZodString>;
|
|
1548
1478
|
}, "strip", z.ZodTypeAny, {
|
|
1549
|
-
id: string;
|
|
1550
1479
|
name?: string | undefined;
|
|
1551
1480
|
description?: string | undefined;
|
|
1552
|
-
}, {
|
|
1553
1481
|
id: string;
|
|
1482
|
+
}, {
|
|
1554
1483
|
name?: string | undefined;
|
|
1555
1484
|
description?: string | undefined;
|
|
1485
|
+
id: string;
|
|
1556
1486
|
}>>>;
|
|
1487
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1488
|
+
id: z.ZodString;
|
|
1489
|
+
}, "strip", z.ZodUnknown, {
|
|
1490
|
+
[x: string]: unknown;
|
|
1491
|
+
id: string;
|
|
1492
|
+
}, {
|
|
1493
|
+
[x: string]: unknown;
|
|
1494
|
+
id: string;
|
|
1495
|
+
}>, "many">, {
|
|
1496
|
+
[x: string]: unknown;
|
|
1497
|
+
id: string;
|
|
1498
|
+
}[], unknown>>;
|
|
1499
|
+
}, {
|
|
1557
1500
|
type: z.ZodString;
|
|
1558
|
-
}
|
|
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<{
|
|
1559
1502
|
id: z.ZodString;
|
|
1560
1503
|
name: z.ZodString;
|
|
1561
1504
|
description: z.ZodOptional<z.ZodString>;
|
|
1562
|
-
|
|
1563
|
-
id: z.ZodString;
|
|
1564
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1565
|
-
id: z.ZodString;
|
|
1566
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1567
|
-
id: z.ZodString;
|
|
1568
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
1569
|
-
id: z.ZodString;
|
|
1570
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
1505
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1571
1506
|
config: z.ZodDefault<z.ZodObject<{
|
|
1572
1507
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1573
1508
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1636,28 +1571,33 @@ export declare const Experiment: {
|
|
|
1636
1571
|
name: z.ZodOptional<z.ZodString>;
|
|
1637
1572
|
description: z.ZodOptional<z.ZodString>;
|
|
1638
1573
|
}, "strip", z.ZodTypeAny, {
|
|
1639
|
-
id: string;
|
|
1640
1574
|
name?: string | undefined;
|
|
1641
1575
|
description?: string | undefined;
|
|
1642
|
-
}, {
|
|
1643
1576
|
id: string;
|
|
1577
|
+
}, {
|
|
1644
1578
|
name?: string | undefined;
|
|
1645
1579
|
description?: string | undefined;
|
|
1580
|
+
id: string;
|
|
1646
1581
|
}>>>;
|
|
1582
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1583
|
+
id: z.ZodString;
|
|
1584
|
+
}, "strip", z.ZodUnknown, {
|
|
1585
|
+
[x: string]: unknown;
|
|
1586
|
+
id: string;
|
|
1587
|
+
}, {
|
|
1588
|
+
[x: string]: unknown;
|
|
1589
|
+
id: string;
|
|
1590
|
+
}>, "many">, {
|
|
1591
|
+
[x: string]: unknown;
|
|
1592
|
+
id: string;
|
|
1593
|
+
}[], unknown>>;
|
|
1594
|
+
}, {
|
|
1647
1595
|
type: z.ZodString;
|
|
1648
|
-
}
|
|
1596
|
+
}>, Augmentation_1> extends infer T_7 extends z.ZodRawShape ? { [k_5 in keyof T_7]: z.extendShape<z.extendShape<{
|
|
1649
1597
|
id: z.ZodString;
|
|
1650
1598
|
name: z.ZodString;
|
|
1651
1599
|
description: z.ZodOptional<z.ZodString>;
|
|
1652
|
-
|
|
1653
|
-
id: z.ZodString;
|
|
1654
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1655
|
-
id: z.ZodString;
|
|
1656
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1657
|
-
id: z.ZodString;
|
|
1658
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
1659
|
-
id: z.ZodString;
|
|
1660
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
1600
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1661
1601
|
config: z.ZodDefault<z.ZodObject<{
|
|
1662
1602
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1663
1603
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1726,28 +1666,33 @@ export declare const Experiment: {
|
|
|
1726
1666
|
name: z.ZodOptional<z.ZodString>;
|
|
1727
1667
|
description: z.ZodOptional<z.ZodString>;
|
|
1728
1668
|
}, "strip", z.ZodTypeAny, {
|
|
1729
|
-
id: string;
|
|
1730
1669
|
name?: string | undefined;
|
|
1731
1670
|
description?: string | undefined;
|
|
1732
|
-
}, {
|
|
1733
1671
|
id: string;
|
|
1672
|
+
}, {
|
|
1734
1673
|
name?: string | undefined;
|
|
1735
1674
|
description?: string | undefined;
|
|
1675
|
+
id: string;
|
|
1736
1676
|
}>>>;
|
|
1677
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1678
|
+
id: z.ZodString;
|
|
1679
|
+
}, "strip", z.ZodUnknown, {
|
|
1680
|
+
[x: string]: unknown;
|
|
1681
|
+
id: string;
|
|
1682
|
+
}, {
|
|
1683
|
+
[x: string]: unknown;
|
|
1684
|
+
id: string;
|
|
1685
|
+
}>, "many">, {
|
|
1686
|
+
[x: string]: unknown;
|
|
1687
|
+
id: string;
|
|
1688
|
+
}[], unknown>>;
|
|
1689
|
+
}, {
|
|
1737
1690
|
type: z.ZodString;
|
|
1738
|
-
}
|
|
1691
|
+
}>, Augmentation_1>[k_5]["_output"]; } : never>[k_4]; } : never, z.objectUtil.addQuestionMarks<z.extendShape<z.extendShape<{
|
|
1739
1692
|
id: z.ZodString;
|
|
1740
1693
|
name: z.ZodString;
|
|
1741
1694
|
description: z.ZodOptional<z.ZodString>;
|
|
1742
|
-
|
|
1743
|
-
id: z.ZodString;
|
|
1744
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1745
|
-
id: z.ZodString;
|
|
1746
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1747
|
-
id: z.ZodString;
|
|
1748
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
1749
|
-
id: z.ZodString;
|
|
1750
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
1695
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1751
1696
|
config: z.ZodDefault<z.ZodObject<{
|
|
1752
1697
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1753
1698
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1816,28 +1761,33 @@ export declare const Experiment: {
|
|
|
1816
1761
|
name: z.ZodOptional<z.ZodString>;
|
|
1817
1762
|
description: z.ZodOptional<z.ZodString>;
|
|
1818
1763
|
}, "strip", z.ZodTypeAny, {
|
|
1819
|
-
id: string;
|
|
1820
1764
|
name?: string | undefined;
|
|
1821
1765
|
description?: string | undefined;
|
|
1822
|
-
}, {
|
|
1823
1766
|
id: string;
|
|
1767
|
+
}, {
|
|
1824
1768
|
name?: string | undefined;
|
|
1825
1769
|
description?: string | undefined;
|
|
1770
|
+
id: string;
|
|
1826
1771
|
}>>>;
|
|
1772
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1773
|
+
id: z.ZodString;
|
|
1774
|
+
}, "strip", z.ZodUnknown, {
|
|
1775
|
+
[x: string]: unknown;
|
|
1776
|
+
id: string;
|
|
1777
|
+
}, {
|
|
1778
|
+
[x: string]: unknown;
|
|
1779
|
+
id: string;
|
|
1780
|
+
}>, "many">, {
|
|
1781
|
+
[x: string]: unknown;
|
|
1782
|
+
id: string;
|
|
1783
|
+
}[], unknown>>;
|
|
1784
|
+
}, {
|
|
1827
1785
|
type: z.ZodString;
|
|
1828
|
-
}
|
|
1786
|
+
}>, Augmentation_1> extends infer T_9 extends z.ZodRawShape ? { [k_7 in keyof T_9]: z.extendShape<z.extendShape<{
|
|
1829
1787
|
id: z.ZodString;
|
|
1830
1788
|
name: z.ZodString;
|
|
1831
1789
|
description: z.ZodOptional<z.ZodString>;
|
|
1832
|
-
|
|
1833
|
-
id: z.ZodString;
|
|
1834
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1835
|
-
id: z.ZodString;
|
|
1836
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1837
|
-
id: z.ZodString;
|
|
1838
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
1839
|
-
id: z.ZodString;
|
|
1840
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
1790
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1841
1791
|
config: z.ZodDefault<z.ZodObject<{
|
|
1842
1792
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1843
1793
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1906,28 +1856,33 @@ export declare const Experiment: {
|
|
|
1906
1856
|
name: z.ZodOptional<z.ZodString>;
|
|
1907
1857
|
description: z.ZodOptional<z.ZodString>;
|
|
1908
1858
|
}, "strip", z.ZodTypeAny, {
|
|
1909
|
-
id: string;
|
|
1910
1859
|
name?: string | undefined;
|
|
1911
1860
|
description?: string | undefined;
|
|
1912
|
-
}, {
|
|
1913
1861
|
id: string;
|
|
1862
|
+
}, {
|
|
1914
1863
|
name?: string | undefined;
|
|
1915
1864
|
description?: string | undefined;
|
|
1865
|
+
id: string;
|
|
1916
1866
|
}>>>;
|
|
1867
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1868
|
+
id: z.ZodString;
|
|
1869
|
+
}, "strip", z.ZodUnknown, {
|
|
1870
|
+
[x: string]: unknown;
|
|
1871
|
+
id: string;
|
|
1872
|
+
}, {
|
|
1873
|
+
[x: string]: unknown;
|
|
1874
|
+
id: string;
|
|
1875
|
+
}>, "many">, {
|
|
1876
|
+
[x: string]: unknown;
|
|
1877
|
+
id: string;
|
|
1878
|
+
}[], unknown>>;
|
|
1879
|
+
}, {
|
|
1917
1880
|
type: z.ZodString;
|
|
1918
|
-
}
|
|
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<{
|
|
1919
1882
|
id: z.ZodString;
|
|
1920
1883
|
name: z.ZodString;
|
|
1921
1884
|
description: z.ZodOptional<z.ZodString>;
|
|
1922
|
-
|
|
1923
|
-
id: z.ZodString;
|
|
1924
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1925
|
-
id: z.ZodString;
|
|
1926
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1927
|
-
id: z.ZodString;
|
|
1928
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
1929
|
-
id: z.ZodString;
|
|
1930
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
1885
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1931
1886
|
config: z.ZodDefault<z.ZodObject<{
|
|
1932
1887
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1933
1888
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1996,28 +1951,33 @@ export declare const Experiment: {
|
|
|
1996
1951
|
name: z.ZodOptional<z.ZodString>;
|
|
1997
1952
|
description: z.ZodOptional<z.ZodString>;
|
|
1998
1953
|
}, "strip", z.ZodTypeAny, {
|
|
1999
|
-
id: string;
|
|
2000
1954
|
name?: string | undefined;
|
|
2001
1955
|
description?: string | undefined;
|
|
2002
|
-
}, {
|
|
2003
1956
|
id: string;
|
|
1957
|
+
}, {
|
|
2004
1958
|
name?: string | undefined;
|
|
2005
1959
|
description?: string | undefined;
|
|
1960
|
+
id: string;
|
|
2006
1961
|
}>>>;
|
|
1962
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1963
|
+
id: z.ZodString;
|
|
1964
|
+
}, "strip", z.ZodUnknown, {
|
|
1965
|
+
[x: string]: unknown;
|
|
1966
|
+
id: string;
|
|
1967
|
+
}, {
|
|
1968
|
+
[x: string]: unknown;
|
|
1969
|
+
id: string;
|
|
1970
|
+
}>, "many">, {
|
|
1971
|
+
[x: string]: unknown;
|
|
1972
|
+
id: string;
|
|
1973
|
+
}[], unknown>>;
|
|
1974
|
+
}, {
|
|
2007
1975
|
type: z.ZodString;
|
|
2008
|
-
}
|
|
1976
|
+
}>, Augmentation_1> extends infer T_9 extends z.ZodRawShape ? { [k_7 in keyof T_9]: z.extendShape<z.extendShape<{
|
|
2009
1977
|
id: z.ZodString;
|
|
2010
1978
|
name: z.ZodString;
|
|
2011
1979
|
description: z.ZodOptional<z.ZodString>;
|
|
2012
|
-
|
|
2013
|
-
id: z.ZodString;
|
|
2014
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2015
|
-
id: z.ZodString;
|
|
2016
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2017
|
-
id: z.ZodString;
|
|
2018
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
2019
|
-
id: z.ZodString;
|
|
2020
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
1980
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2021
1981
|
config: z.ZodDefault<z.ZodObject<{
|
|
2022
1982
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
2023
1983
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -2086,23 +2046,43 @@ export declare const Experiment: {
|
|
|
2086
2046
|
name: z.ZodOptional<z.ZodString>;
|
|
2087
2047
|
description: z.ZodOptional<z.ZodString>;
|
|
2088
2048
|
}, "strip", z.ZodTypeAny, {
|
|
2089
|
-
id: string;
|
|
2090
2049
|
name?: string | undefined;
|
|
2091
2050
|
description?: string | undefined;
|
|
2092
|
-
}, {
|
|
2093
2051
|
id: string;
|
|
2052
|
+
}, {
|
|
2094
2053
|
name?: string | undefined;
|
|
2095
2054
|
description?: string | undefined;
|
|
2055
|
+
id: string;
|
|
2096
2056
|
}>>>;
|
|
2057
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2058
|
+
id: z.ZodString;
|
|
2059
|
+
}, "strip", z.ZodUnknown, {
|
|
2060
|
+
[x: string]: unknown;
|
|
2061
|
+
id: string;
|
|
2062
|
+
}, {
|
|
2063
|
+
[x: string]: unknown;
|
|
2064
|
+
id: string;
|
|
2065
|
+
}>, "many">, {
|
|
2066
|
+
[x: string]: unknown;
|
|
2067
|
+
id: string;
|
|
2068
|
+
}[], unknown>>;
|
|
2069
|
+
}, {
|
|
2097
2070
|
type: z.ZodString;
|
|
2098
|
-
}
|
|
2071
|
+
}>, Augmentation_1>[k_7]["_input"]; } : never>[k_6]; } : never>;
|
|
2099
2072
|
_type: {
|
|
2073
|
+
description?: string | undefined;
|
|
2074
|
+
audience?: {
|
|
2075
|
+
name?: string | undefined;
|
|
2076
|
+
description?: string | undefined;
|
|
2077
|
+
id: string;
|
|
2078
|
+
} | null | undefined;
|
|
2100
2079
|
id: string;
|
|
2101
2080
|
name: string;
|
|
2102
2081
|
type: string;
|
|
2103
|
-
variants:
|
|
2104
|
-
|
|
2105
|
-
|
|
2082
|
+
variants: {
|
|
2083
|
+
[x: string]: unknown;
|
|
2084
|
+
id: string;
|
|
2085
|
+
}[];
|
|
2106
2086
|
config: {
|
|
2107
2087
|
distribution: number[];
|
|
2108
2088
|
traffic: number;
|
|
@@ -2116,20 +2096,21 @@ export declare const Experiment: {
|
|
|
2116
2096
|
}[];
|
|
2117
2097
|
}[];
|
|
2118
2098
|
};
|
|
2099
|
+
};
|
|
2100
|
+
_output: {
|
|
2119
2101
|
description?: string | undefined;
|
|
2120
2102
|
audience?: {
|
|
2121
|
-
id: string;
|
|
2122
2103
|
name?: string | undefined;
|
|
2123
2104
|
description?: string | undefined;
|
|
2105
|
+
id: string;
|
|
2124
2106
|
} | null | undefined;
|
|
2125
|
-
};
|
|
2126
|
-
_output: {
|
|
2127
2107
|
id: string;
|
|
2128
2108
|
name: string;
|
|
2129
2109
|
type: string;
|
|
2130
|
-
variants:
|
|
2131
|
-
|
|
2132
|
-
|
|
2110
|
+
variants: {
|
|
2111
|
+
[x: string]: unknown;
|
|
2112
|
+
id: string;
|
|
2113
|
+
}[];
|
|
2133
2114
|
config: {
|
|
2134
2115
|
distribution: number[];
|
|
2135
2116
|
traffic: number;
|
|
@@ -2143,17 +2124,8 @@ export declare const Experiment: {
|
|
|
2143
2124
|
}[];
|
|
2144
2125
|
}[];
|
|
2145
2126
|
};
|
|
2146
|
-
description?: string | undefined;
|
|
2147
|
-
audience?: {
|
|
2148
|
-
id: string;
|
|
2149
|
-
name?: string | undefined;
|
|
2150
|
-
description?: string | undefined;
|
|
2151
|
-
} | null | undefined;
|
|
2152
2127
|
};
|
|
2153
2128
|
_input: {
|
|
2154
|
-
id: string;
|
|
2155
|
-
name: string;
|
|
2156
|
-
type: string;
|
|
2157
2129
|
description?: string | undefined;
|
|
2158
2130
|
variants?: unknown;
|
|
2159
2131
|
config?: {
|
|
@@ -2170,24 +2142,19 @@ export declare const Experiment: {
|
|
|
2170
2142
|
}[] | undefined;
|
|
2171
2143
|
} | undefined;
|
|
2172
2144
|
audience?: {
|
|
2173
|
-
id: string;
|
|
2174
2145
|
name?: string | undefined;
|
|
2175
2146
|
description?: string | undefined;
|
|
2147
|
+
id: string;
|
|
2176
2148
|
} | null | undefined;
|
|
2149
|
+
id: string;
|
|
2150
|
+
name: string;
|
|
2151
|
+
type: string;
|
|
2177
2152
|
};
|
|
2178
|
-
_def: z.ZodObjectDef<{
|
|
2153
|
+
_def: z.ZodObjectDef<z.extendShape<{
|
|
2179
2154
|
id: z.ZodString;
|
|
2180
2155
|
name: z.ZodString;
|
|
2181
2156
|
description: z.ZodOptional<z.ZodString>;
|
|
2182
|
-
|
|
2183
|
-
id: z.ZodString;
|
|
2184
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2185
|
-
id: z.ZodString;
|
|
2186
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2187
|
-
id: z.ZodString;
|
|
2188
|
-
}, z.ZodUnknown, "strip">>, "many">, z.objectOutputType<{
|
|
2189
|
-
id: z.ZodString;
|
|
2190
|
-
}, z.ZodUnknown, "strip">[], unknown>>;
|
|
2157
|
+
type: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2191
2158
|
config: z.ZodDefault<z.ZodObject<{
|
|
2192
2159
|
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
2193
2160
|
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -2256,20 +2223,30 @@ export declare const Experiment: {
|
|
|
2256
2223
|
name: z.ZodOptional<z.ZodString>;
|
|
2257
2224
|
description: z.ZodOptional<z.ZodString>;
|
|
2258
2225
|
}, "strip", z.ZodTypeAny, {
|
|
2259
|
-
id: string;
|
|
2260
2226
|
name?: string | undefined;
|
|
2261
2227
|
description?: string | undefined;
|
|
2262
|
-
}, {
|
|
2263
2228
|
id: string;
|
|
2229
|
+
}, {
|
|
2264
2230
|
name?: string | undefined;
|
|
2265
2231
|
description?: string | undefined;
|
|
2232
|
+
id: string;
|
|
2266
2233
|
}>>>;
|
|
2234
|
+
variants: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2235
|
+
id: z.ZodString;
|
|
2236
|
+
}, "strip", z.ZodUnknown, {
|
|
2237
|
+
[x: string]: unknown;
|
|
2238
|
+
id: string;
|
|
2239
|
+
}, {
|
|
2240
|
+
[x: string]: unknown;
|
|
2241
|
+
id: string;
|
|
2242
|
+
}>, "many">, {
|
|
2243
|
+
[x: string]: unknown;
|
|
2244
|
+
id: string;
|
|
2245
|
+
}[], unknown>>;
|
|
2246
|
+
}, {
|
|
2267
2247
|
type: z.ZodString;
|
|
2268
|
-
}
|
|
2248
|
+
}>, "strip", z.ZodTypeAny>;
|
|
2269
2249
|
spa: (data: unknown, params?: Partial<z.ParseParams> | undefined) => Promise<z.SafeParseReturnType<{
|
|
2270
|
-
id: string;
|
|
2271
|
-
name: string;
|
|
2272
|
-
type: string;
|
|
2273
2250
|
description?: string | undefined;
|
|
2274
2251
|
variants?: unknown;
|
|
2275
2252
|
config?: {
|
|
@@ -2286,17 +2263,27 @@ export declare const Experiment: {
|
|
|
2286
2263
|
}[] | undefined;
|
|
2287
2264
|
} | undefined;
|
|
2288
2265
|
audience?: {
|
|
2289
|
-
id: string;
|
|
2290
2266
|
name?: string | undefined;
|
|
2291
2267
|
description?: string | undefined;
|
|
2268
|
+
id: string;
|
|
2292
2269
|
} | null | undefined;
|
|
2270
|
+
id: string;
|
|
2271
|
+
name: string;
|
|
2272
|
+
type: string;
|
|
2293
2273
|
}, {
|
|
2274
|
+
description?: string | undefined;
|
|
2275
|
+
audience?: {
|
|
2276
|
+
name?: string | undefined;
|
|
2277
|
+
description?: string | undefined;
|
|
2278
|
+
id: string;
|
|
2279
|
+
} | null | undefined;
|
|
2294
2280
|
id: string;
|
|
2295
2281
|
name: string;
|
|
2296
2282
|
type: string;
|
|
2297
|
-
variants:
|
|
2298
|
-
|
|
2299
|
-
|
|
2283
|
+
variants: {
|
|
2284
|
+
[x: string]: unknown;
|
|
2285
|
+
id: string;
|
|
2286
|
+
}[];
|
|
2300
2287
|
config: {
|
|
2301
2288
|
distribution: number[];
|
|
2302
2289
|
traffic: number;
|
|
@@ -2310,12 +2297,6 @@ export declare const Experiment: {
|
|
|
2310
2297
|
}[];
|
|
2311
2298
|
}[];
|
|
2312
2299
|
};
|
|
2313
|
-
description?: string | undefined;
|
|
2314
|
-
audience?: {
|
|
2315
|
-
id: string;
|
|
2316
|
-
name?: string | undefined;
|
|
2317
|
-
description?: string | undefined;
|
|
2318
|
-
} | null | undefined;
|
|
2319
2300
|
}>>;
|
|
2320
2301
|
};
|
|
2321
2302
|
export {};
|