@builder-builder/builder 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/builder.d.ts +6 -2
- package/dist/core/builder.js +20 -29
- package/dist/core/collection/collection.d.ts +3 -1
- package/dist/core/component/component.d.ts +0 -2
- package/dist/core/component/component.js +0 -7
- package/dist/core/component/graph.d.ts +0 -1
- package/dist/core/component/graph.js +5 -5
- package/dist/core/component/index.d.ts +1 -1
- package/dist/core/expectation.d.ts +22 -19
- package/dist/core/expectation.js +5 -9
- package/dist/core/index.d.ts +4 -2
- package/dist/core/index.js +2 -1
- package/dist/core/option/graph.d.ts +1 -2
- package/dist/core/option/graph.js +4 -6
- package/dist/core/option/index.d.ts +1 -0
- package/dist/core/option/option.js +5 -4
- package/dist/core/option/toggle.d.ts +3 -1
- package/dist/core/option/toggle.js +9 -7
- package/dist/core/validate.d.ts +26 -0
- package/dist/core/validate.js +43 -0
- package/dist/index.d.ts +7 -7
- package/dist/index.js +3 -3
- package/dist/paths.d.ts +3 -1
- package/dist/resolve/index.d.ts +4 -3
- package/dist/resolve/index.js +2 -2
- package/dist/resolve/instance.d.ts +34 -2
- package/dist/resolve/instance.js +56 -2
- package/dist/resolve/models.d.ts +2 -2
- package/dist/resolve/models.js +11 -1
- package/dist/resolve/order.d.ts +4 -2
- package/dist/resolve/order.js +13 -10
- package/dist/resolve/render.d.ts +4 -2
- package/dist/resolve/validate.d.ts +20 -16
- package/dist/resolve/validate.js +18 -22
- package/dist/serialise/deserialise.d.ts +6 -1
- package/dist/serialise/deserialise.js +40 -34
- package/dist/serialise/index.d.ts +3 -1
- package/dist/serialise/index.js +2 -1
- package/dist/serialise/schemas.d.ts +153 -92
- package/dist/serialise/schemas.js +19 -10
- package/dist/serialise/serialise.d.ts +4 -1
- package/dist/serialise/serialise.js +16 -9
- package/dist/serialise/validate.d.ts +26 -0
- package/dist/serialise/validate.js +148 -0
- package/dist/ui.d.ts +7 -6
- package/dist/ui.js +17 -15
- package/package.json +3 -2
|
@@ -40,7 +40,7 @@ export type BuilderCollectionSerialised = {
|
|
|
40
40
|
};
|
|
41
41
|
export type BuilderExpectationSerialised = {
|
|
42
42
|
readonly name: string;
|
|
43
|
-
readonly kind: 'option' | 'component';
|
|
43
|
+
readonly kind: 'option' | 'component' | 'collection';
|
|
44
44
|
};
|
|
45
45
|
export type BuilderSerialised = {
|
|
46
46
|
readonly options: ReadonlyArray<BuilderOptionSerialised>;
|
|
@@ -56,7 +56,10 @@ export type BuilderUICollectionSerialised = {
|
|
|
56
56
|
};
|
|
57
57
|
export type BuilderUIItemSerialised = BuilderUIPageSerialised | BuilderUIDescribeSerialised | BuilderUICollectionSerialised;
|
|
58
58
|
export type BuilderUIItemsSerialised = ReadonlyArray<BuilderUIItemSerialised>;
|
|
59
|
-
export type BuilderUISerialised =
|
|
59
|
+
export type BuilderUISerialised = {
|
|
60
|
+
readonly items: BuilderUIItemsSerialised;
|
|
61
|
+
readonly expectations: ReadonlyArray<BuilderExpectationSerialised>;
|
|
62
|
+
};
|
|
60
63
|
export declare const BuilderSelectTypeSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
61
64
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
62
65
|
readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
|
|
@@ -75,12 +78,12 @@ export declare const BuilderSelectTypeSerialisedSchema: v.SchemaWithPipe<readonl
|
|
|
75
78
|
export type BuilderSelectTypeSerialised = v.InferOutput<typeof BuilderSelectTypeSerialisedSchema>;
|
|
76
79
|
export declare const BuilderToggleTypeSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
77
80
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
78
|
-
readonly valueType: v.
|
|
81
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
79
82
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
80
83
|
readonly optional: v.BooleanSchema<undefined>;
|
|
81
84
|
}, undefined>, v.ReadonlyAction<{
|
|
82
85
|
type: "toggle";
|
|
83
|
-
valueType: string;
|
|
86
|
+
valueType: "string" | "number" | "boolean";
|
|
84
87
|
defaultValue: string | number | boolean | null;
|
|
85
88
|
optional: boolean;
|
|
86
89
|
}>]>;
|
|
@@ -107,12 +110,12 @@ export declare const BuilderValuesSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
107
110
|
};
|
|
108
111
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
109
112
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
110
|
-
readonly valueType: v.
|
|
113
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
111
114
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
112
115
|
readonly optional: v.BooleanSchema<undefined>;
|
|
113
116
|
}, undefined>, v.ReadonlyAction<{
|
|
114
117
|
type: "toggle";
|
|
115
|
-
valueType: string;
|
|
118
|
+
valueType: "string" | "number" | "boolean";
|
|
116
119
|
defaultValue: string | number | boolean | null;
|
|
117
120
|
optional: boolean;
|
|
118
121
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -125,7 +128,7 @@ export declare const BuilderValuesSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
125
128
|
};
|
|
126
129
|
}> | Readonly<{
|
|
127
130
|
type: "toggle";
|
|
128
|
-
valueType: string;
|
|
131
|
+
valueType: "string" | "number" | "boolean";
|
|
129
132
|
defaultValue: string | number | boolean | null;
|
|
130
133
|
optional: boolean;
|
|
131
134
|
}>>]>;
|
|
@@ -148,12 +151,12 @@ export declare const BuilderOptionEnableConfigSerialisedSchema: v.SchemaWithPipe
|
|
|
148
151
|
};
|
|
149
152
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
150
153
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
151
|
-
readonly valueType: v.
|
|
154
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
152
155
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
153
156
|
readonly optional: v.BooleanSchema<undefined>;
|
|
154
157
|
}, undefined>, v.ReadonlyAction<{
|
|
155
158
|
type: "toggle";
|
|
156
|
-
valueType: string;
|
|
159
|
+
valueType: "string" | "number" | "boolean";
|
|
157
160
|
defaultValue: string | number | boolean | null;
|
|
158
161
|
optional: boolean;
|
|
159
162
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -166,7 +169,7 @@ export declare const BuilderOptionEnableConfigSerialisedSchema: v.SchemaWithPipe
|
|
|
166
169
|
};
|
|
167
170
|
}> | Readonly<{
|
|
168
171
|
type: "toggle";
|
|
169
|
-
valueType: string;
|
|
172
|
+
valueType: "string" | "number" | "boolean";
|
|
170
173
|
defaultValue: string | number | boolean | null;
|
|
171
174
|
optional: boolean;
|
|
172
175
|
}>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -186,7 +189,7 @@ export declare const BuilderOptionEnableConfigSerialisedSchema: v.SchemaWithPipe
|
|
|
186
189
|
};
|
|
187
190
|
}>> | Readonly<Readonly<{
|
|
188
191
|
type: "toggle";
|
|
189
|
-
valueType: string;
|
|
192
|
+
valueType: "string" | "number" | "boolean";
|
|
190
193
|
defaultValue: string | number | boolean | null;
|
|
191
194
|
optional: boolean;
|
|
192
195
|
}>> | Readonly<{
|
|
@@ -213,12 +216,12 @@ export declare const BuilderOptionMatchConfigSerialisedSchema: v.SchemaWithPipe<
|
|
|
213
216
|
};
|
|
214
217
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
215
218
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
216
|
-
readonly valueType: v.
|
|
219
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
217
220
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
218
221
|
readonly optional: v.BooleanSchema<undefined>;
|
|
219
222
|
}, undefined>, v.ReadonlyAction<{
|
|
220
223
|
type: "toggle";
|
|
221
|
-
valueType: string;
|
|
224
|
+
valueType: "string" | "number" | "boolean";
|
|
222
225
|
defaultValue: string | number | boolean | null;
|
|
223
226
|
optional: boolean;
|
|
224
227
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -231,7 +234,7 @@ export declare const BuilderOptionMatchConfigSerialisedSchema: v.SchemaWithPipe<
|
|
|
231
234
|
};
|
|
232
235
|
}> | Readonly<{
|
|
233
236
|
type: "toggle";
|
|
234
|
-
valueType: string;
|
|
237
|
+
valueType: "string" | "number" | "boolean";
|
|
235
238
|
defaultValue: string | number | boolean | null;
|
|
236
239
|
optional: boolean;
|
|
237
240
|
}>>]>, undefined>, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -255,7 +258,7 @@ export declare const BuilderOptionMatchConfigSerialisedSchema: v.SchemaWithPipe<
|
|
|
255
258
|
};
|
|
256
259
|
}>> | Readonly<Readonly<{
|
|
257
260
|
type: "toggle";
|
|
258
|
-
valueType: string;
|
|
261
|
+
valueType: "string" | "number" | "boolean";
|
|
259
262
|
defaultValue: string | number | boolean | null;
|
|
260
263
|
optional: boolean;
|
|
261
264
|
}>> | null;
|
|
@@ -282,12 +285,12 @@ export declare const BuilderOptionUnlessConfigSerialisedSchema: v.SchemaWithPipe
|
|
|
282
285
|
};
|
|
283
286
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
284
287
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
285
|
-
readonly valueType: v.
|
|
288
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
286
289
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
287
290
|
readonly optional: v.BooleanSchema<undefined>;
|
|
288
291
|
}, undefined>, v.ReadonlyAction<{
|
|
289
292
|
type: "toggle";
|
|
290
|
-
valueType: string;
|
|
293
|
+
valueType: "string" | "number" | "boolean";
|
|
291
294
|
defaultValue: string | number | boolean | null;
|
|
292
295
|
optional: boolean;
|
|
293
296
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -300,7 +303,7 @@ export declare const BuilderOptionUnlessConfigSerialisedSchema: v.SchemaWithPipe
|
|
|
300
303
|
};
|
|
301
304
|
}> | Readonly<{
|
|
302
305
|
type: "toggle";
|
|
303
|
-
valueType: string;
|
|
306
|
+
valueType: "string" | "number" | "boolean";
|
|
304
307
|
defaultValue: string | number | boolean | null;
|
|
305
308
|
optional: boolean;
|
|
306
309
|
}>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -322,7 +325,7 @@ export declare const BuilderOptionUnlessConfigSerialisedSchema: v.SchemaWithPipe
|
|
|
322
325
|
};
|
|
323
326
|
}>> | Readonly<Readonly<{
|
|
324
327
|
type: "toggle";
|
|
325
|
-
valueType: string;
|
|
328
|
+
valueType: "string" | "number" | "boolean";
|
|
326
329
|
defaultValue: string | number | boolean | null;
|
|
327
330
|
optional: boolean;
|
|
328
331
|
}>> | Readonly<{
|
|
@@ -348,12 +351,12 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
348
351
|
};
|
|
349
352
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
350
353
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
351
|
-
readonly valueType: v.
|
|
354
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
352
355
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
353
356
|
readonly optional: v.BooleanSchema<undefined>;
|
|
354
357
|
}, undefined>, v.ReadonlyAction<{
|
|
355
358
|
type: "toggle";
|
|
356
|
-
valueType: string;
|
|
359
|
+
valueType: "string" | "number" | "boolean";
|
|
357
360
|
defaultValue: string | number | boolean | null;
|
|
358
361
|
optional: boolean;
|
|
359
362
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -366,7 +369,7 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
366
369
|
};
|
|
367
370
|
}> | Readonly<{
|
|
368
371
|
type: "toggle";
|
|
369
|
-
valueType: string;
|
|
372
|
+
valueType: "string" | "number" | "boolean";
|
|
370
373
|
defaultValue: string | number | boolean | null;
|
|
371
374
|
optional: boolean;
|
|
372
375
|
}>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -386,7 +389,7 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
386
389
|
};
|
|
387
390
|
}>> | Readonly<Readonly<{
|
|
388
391
|
type: "toggle";
|
|
389
|
-
valueType: string;
|
|
392
|
+
valueType: "string" | "number" | "boolean";
|
|
390
393
|
defaultValue: string | number | boolean | null;
|
|
391
394
|
optional: boolean;
|
|
392
395
|
}>> | Readonly<{
|
|
@@ -411,12 +414,12 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
411
414
|
};
|
|
412
415
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
413
416
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
414
|
-
readonly valueType: v.
|
|
417
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
415
418
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
416
419
|
readonly optional: v.BooleanSchema<undefined>;
|
|
417
420
|
}, undefined>, v.ReadonlyAction<{
|
|
418
421
|
type: "toggle";
|
|
419
|
-
valueType: string;
|
|
422
|
+
valueType: "string" | "number" | "boolean";
|
|
420
423
|
defaultValue: string | number | boolean | null;
|
|
421
424
|
optional: boolean;
|
|
422
425
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -429,7 +432,7 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
429
432
|
};
|
|
430
433
|
}> | Readonly<{
|
|
431
434
|
type: "toggle";
|
|
432
|
-
valueType: string;
|
|
435
|
+
valueType: "string" | "number" | "boolean";
|
|
433
436
|
defaultValue: string | number | boolean | null;
|
|
434
437
|
optional: boolean;
|
|
435
438
|
}>>]>, undefined>, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -453,7 +456,7 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
453
456
|
};
|
|
454
457
|
}>> | Readonly<Readonly<{
|
|
455
458
|
type: "toggle";
|
|
456
|
-
valueType: string;
|
|
459
|
+
valueType: "string" | "number" | "boolean";
|
|
457
460
|
defaultValue: string | number | boolean | null;
|
|
458
461
|
optional: boolean;
|
|
459
462
|
}>> | null;
|
|
@@ -478,12 +481,12 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
478
481
|
};
|
|
479
482
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
480
483
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
481
|
-
readonly valueType: v.
|
|
484
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
482
485
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
483
486
|
readonly optional: v.BooleanSchema<undefined>;
|
|
484
487
|
}, undefined>, v.ReadonlyAction<{
|
|
485
488
|
type: "toggle";
|
|
486
|
-
valueType: string;
|
|
489
|
+
valueType: "string" | "number" | "boolean";
|
|
487
490
|
defaultValue: string | number | boolean | null;
|
|
488
491
|
optional: boolean;
|
|
489
492
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -496,7 +499,7 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
496
499
|
};
|
|
497
500
|
}> | Readonly<{
|
|
498
501
|
type: "toggle";
|
|
499
|
-
valueType: string;
|
|
502
|
+
valueType: "string" | "number" | "boolean";
|
|
500
503
|
defaultValue: string | number | boolean | null;
|
|
501
504
|
optional: boolean;
|
|
502
505
|
}>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -518,7 +521,7 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
518
521
|
};
|
|
519
522
|
}>> | Readonly<Readonly<{
|
|
520
523
|
type: "toggle";
|
|
521
|
-
valueType: string;
|
|
524
|
+
valueType: "string" | "number" | "boolean";
|
|
522
525
|
defaultValue: string | number | boolean | null;
|
|
523
526
|
optional: boolean;
|
|
524
527
|
}>> | Readonly<{
|
|
@@ -536,7 +539,7 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
536
539
|
};
|
|
537
540
|
}>> | Readonly<Readonly<{
|
|
538
541
|
type: "toggle";
|
|
539
|
-
valueType: string;
|
|
542
|
+
valueType: "string" | "number" | "boolean";
|
|
540
543
|
defaultValue: string | number | boolean | null;
|
|
541
544
|
optional: boolean;
|
|
542
545
|
}>> | Readonly<{
|
|
@@ -558,7 +561,7 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
558
561
|
};
|
|
559
562
|
}>> | Readonly<Readonly<{
|
|
560
563
|
type: "toggle";
|
|
561
|
-
valueType: string;
|
|
564
|
+
valueType: "string" | "number" | "boolean";
|
|
562
565
|
defaultValue: string | number | boolean | null;
|
|
563
566
|
optional: boolean;
|
|
564
567
|
}>> | null;
|
|
@@ -577,7 +580,7 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
577
580
|
};
|
|
578
581
|
}>> | Readonly<Readonly<{
|
|
579
582
|
type: "toggle";
|
|
580
|
-
valueType: string;
|
|
583
|
+
valueType: "string" | "number" | "boolean";
|
|
581
584
|
defaultValue: string | number | boolean | null;
|
|
582
585
|
optional: boolean;
|
|
583
586
|
}>> | Readonly<{
|
|
@@ -603,12 +606,12 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
603
606
|
};
|
|
604
607
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
605
608
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
606
|
-
readonly valueType: v.
|
|
609
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
607
610
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
608
611
|
readonly optional: v.BooleanSchema<undefined>;
|
|
609
612
|
}, undefined>, v.ReadonlyAction<{
|
|
610
613
|
type: "toggle";
|
|
611
|
-
valueType: string;
|
|
614
|
+
valueType: "string" | "number" | "boolean";
|
|
612
615
|
defaultValue: string | number | boolean | null;
|
|
613
616
|
optional: boolean;
|
|
614
617
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -621,7 +624,7 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
621
624
|
};
|
|
622
625
|
}> | Readonly<{
|
|
623
626
|
type: "toggle";
|
|
624
|
-
valueType: string;
|
|
627
|
+
valueType: "string" | "number" | "boolean";
|
|
625
628
|
defaultValue: string | number | boolean | null;
|
|
626
629
|
optional: boolean;
|
|
627
630
|
}>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -648,12 +651,12 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
648
651
|
};
|
|
649
652
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
650
653
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
651
|
-
readonly valueType: v.
|
|
654
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
652
655
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
653
656
|
readonly optional: v.BooleanSchema<undefined>;
|
|
654
657
|
}, undefined>, v.ReadonlyAction<{
|
|
655
658
|
type: "toggle";
|
|
656
|
-
valueType: string;
|
|
659
|
+
valueType: "string" | "number" | "boolean";
|
|
657
660
|
defaultValue: string | number | boolean | null;
|
|
658
661
|
optional: boolean;
|
|
659
662
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -666,7 +669,7 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
666
669
|
};
|
|
667
670
|
}> | Readonly<{
|
|
668
671
|
type: "toggle";
|
|
669
|
-
valueType: string;
|
|
672
|
+
valueType: "string" | "number" | "boolean";
|
|
670
673
|
defaultValue: string | number | boolean | null;
|
|
671
674
|
optional: boolean;
|
|
672
675
|
}>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -686,7 +689,7 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
686
689
|
};
|
|
687
690
|
}>> | Readonly<Readonly<{
|
|
688
691
|
type: "toggle";
|
|
689
|
-
valueType: string;
|
|
692
|
+
valueType: "string" | "number" | "boolean";
|
|
690
693
|
defaultValue: string | number | boolean | null;
|
|
691
694
|
optional: boolean;
|
|
692
695
|
}>> | Readonly<{
|
|
@@ -711,12 +714,12 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
711
714
|
};
|
|
712
715
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
713
716
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
714
|
-
readonly valueType: v.
|
|
717
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
715
718
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
716
719
|
readonly optional: v.BooleanSchema<undefined>;
|
|
717
720
|
}, undefined>, v.ReadonlyAction<{
|
|
718
721
|
type: "toggle";
|
|
719
|
-
valueType: string;
|
|
722
|
+
valueType: "string" | "number" | "boolean";
|
|
720
723
|
defaultValue: string | number | boolean | null;
|
|
721
724
|
optional: boolean;
|
|
722
725
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -729,7 +732,7 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
729
732
|
};
|
|
730
733
|
}> | Readonly<{
|
|
731
734
|
type: "toggle";
|
|
732
|
-
valueType: string;
|
|
735
|
+
valueType: "string" | "number" | "boolean";
|
|
733
736
|
defaultValue: string | number | boolean | null;
|
|
734
737
|
optional: boolean;
|
|
735
738
|
}>>]>, undefined>, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -753,7 +756,7 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
753
756
|
};
|
|
754
757
|
}>> | Readonly<Readonly<{
|
|
755
758
|
type: "toggle";
|
|
756
|
-
valueType: string;
|
|
759
|
+
valueType: "string" | "number" | "boolean";
|
|
757
760
|
defaultValue: string | number | boolean | null;
|
|
758
761
|
optional: boolean;
|
|
759
762
|
}>> | null;
|
|
@@ -778,12 +781,12 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
778
781
|
};
|
|
779
782
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
780
783
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
781
|
-
readonly valueType: v.
|
|
784
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
782
785
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
783
786
|
readonly optional: v.BooleanSchema<undefined>;
|
|
784
787
|
}, undefined>, v.ReadonlyAction<{
|
|
785
788
|
type: "toggle";
|
|
786
|
-
valueType: string;
|
|
789
|
+
valueType: "string" | "number" | "boolean";
|
|
787
790
|
defaultValue: string | number | boolean | null;
|
|
788
791
|
optional: boolean;
|
|
789
792
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -796,7 +799,7 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
796
799
|
};
|
|
797
800
|
}> | Readonly<{
|
|
798
801
|
type: "toggle";
|
|
799
|
-
valueType: string;
|
|
802
|
+
valueType: "string" | "number" | "boolean";
|
|
800
803
|
defaultValue: string | number | boolean | null;
|
|
801
804
|
optional: boolean;
|
|
802
805
|
}>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -818,7 +821,7 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
818
821
|
};
|
|
819
822
|
}>> | Readonly<Readonly<{
|
|
820
823
|
type: "toggle";
|
|
821
|
-
valueType: string;
|
|
824
|
+
valueType: "string" | "number" | "boolean";
|
|
822
825
|
defaultValue: string | number | boolean | null;
|
|
823
826
|
optional: boolean;
|
|
824
827
|
}>> | Readonly<{
|
|
@@ -836,7 +839,7 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
836
839
|
};
|
|
837
840
|
}>> | Readonly<Readonly<{
|
|
838
841
|
type: "toggle";
|
|
839
|
-
valueType: string;
|
|
842
|
+
valueType: "string" | "number" | "boolean";
|
|
840
843
|
defaultValue: string | number | boolean | null;
|
|
841
844
|
optional: boolean;
|
|
842
845
|
}>> | Readonly<{
|
|
@@ -858,7 +861,7 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
858
861
|
};
|
|
859
862
|
}>> | Readonly<Readonly<{
|
|
860
863
|
type: "toggle";
|
|
861
|
-
valueType: string;
|
|
864
|
+
valueType: "string" | "number" | "boolean";
|
|
862
865
|
defaultValue: string | number | boolean | null;
|
|
863
866
|
optional: boolean;
|
|
864
867
|
}>> | null;
|
|
@@ -877,7 +880,7 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
877
880
|
};
|
|
878
881
|
}>> | Readonly<Readonly<{
|
|
879
882
|
type: "toggle";
|
|
880
|
-
valueType: string;
|
|
883
|
+
valueType: "string" | "number" | "boolean";
|
|
881
884
|
defaultValue: string | number | boolean | null;
|
|
882
885
|
optional: boolean;
|
|
883
886
|
}>> | Readonly<{
|
|
@@ -896,7 +899,7 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
896
899
|
};
|
|
897
900
|
}>> | Readonly<Readonly<{
|
|
898
901
|
type: "toggle";
|
|
899
|
-
valueType: string;
|
|
902
|
+
valueType: "string" | "number" | "boolean";
|
|
900
903
|
defaultValue: string | number | boolean | null;
|
|
901
904
|
optional: boolean;
|
|
902
905
|
}>> | Readonly<{
|
|
@@ -915,7 +918,7 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
915
918
|
};
|
|
916
919
|
}>> | Readonly<Readonly<{
|
|
917
920
|
type: "toggle";
|
|
918
|
-
valueType: string;
|
|
921
|
+
valueType: "string" | "number" | "boolean";
|
|
919
922
|
defaultValue: string | number | boolean | null;
|
|
920
923
|
optional: boolean;
|
|
921
924
|
}>> | Readonly<{
|
|
@@ -937,7 +940,7 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
937
940
|
};
|
|
938
941
|
}>> | Readonly<Readonly<{
|
|
939
942
|
type: "toggle";
|
|
940
|
-
valueType: string;
|
|
943
|
+
valueType: "string" | "number" | "boolean";
|
|
941
944
|
defaultValue: string | number | boolean | null;
|
|
942
945
|
optional: boolean;
|
|
943
946
|
}>> | null;
|
|
@@ -956,7 +959,7 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
|
|
|
956
959
|
};
|
|
957
960
|
}>> | Readonly<Readonly<{
|
|
958
961
|
type: "toggle";
|
|
959
|
-
valueType: string;
|
|
962
|
+
valueType: "string" | "number" | "boolean";
|
|
960
963
|
defaultValue: string | number | boolean | null;
|
|
961
964
|
optional: boolean;
|
|
962
965
|
}>> | Readonly<{
|
|
@@ -1133,10 +1136,10 @@ export declare const BuilderCollectionSerialisedSchema: v.SchemaWithPipe<readonl
|
|
|
1133
1136
|
}>]>;
|
|
1134
1137
|
export declare const BuilderExpectationSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1135
1138
|
readonly name: v.StringSchema<undefined>;
|
|
1136
|
-
readonly kind: v.PicklistSchema<["option", "component"], undefined>;
|
|
1139
|
+
readonly kind: v.PicklistSchema<["option", "component", "collection"], undefined>;
|
|
1137
1140
|
}, undefined>, v.ReadonlyAction<{
|
|
1138
1141
|
name: string;
|
|
1139
|
-
kind: "option" | "component";
|
|
1142
|
+
kind: "collection" | "option" | "component";
|
|
1140
1143
|
}>]>;
|
|
1141
1144
|
export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1142
1145
|
readonly options: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1157,12 +1160,12 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1157
1160
|
};
|
|
1158
1161
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1159
1162
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
1160
|
-
readonly valueType: v.
|
|
1163
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
1161
1164
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
1162
1165
|
readonly optional: v.BooleanSchema<undefined>;
|
|
1163
1166
|
}, undefined>, v.ReadonlyAction<{
|
|
1164
1167
|
type: "toggle";
|
|
1165
|
-
valueType: string;
|
|
1168
|
+
valueType: "string" | "number" | "boolean";
|
|
1166
1169
|
defaultValue: string | number | boolean | null;
|
|
1167
1170
|
optional: boolean;
|
|
1168
1171
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -1175,7 +1178,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1175
1178
|
};
|
|
1176
1179
|
}> | Readonly<{
|
|
1177
1180
|
type: "toggle";
|
|
1178
|
-
valueType: string;
|
|
1181
|
+
valueType: "string" | "number" | "boolean";
|
|
1179
1182
|
defaultValue: string | number | boolean | null;
|
|
1180
1183
|
optional: boolean;
|
|
1181
1184
|
}>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1202,12 +1205,12 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1202
1205
|
};
|
|
1203
1206
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1204
1207
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
1205
|
-
readonly valueType: v.
|
|
1208
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
1206
1209
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
1207
1210
|
readonly optional: v.BooleanSchema<undefined>;
|
|
1208
1211
|
}, undefined>, v.ReadonlyAction<{
|
|
1209
1212
|
type: "toggle";
|
|
1210
|
-
valueType: string;
|
|
1213
|
+
valueType: "string" | "number" | "boolean";
|
|
1211
1214
|
defaultValue: string | number | boolean | null;
|
|
1212
1215
|
optional: boolean;
|
|
1213
1216
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -1220,7 +1223,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1220
1223
|
};
|
|
1221
1224
|
}> | Readonly<{
|
|
1222
1225
|
type: "toggle";
|
|
1223
|
-
valueType: string;
|
|
1226
|
+
valueType: "string" | "number" | "boolean";
|
|
1224
1227
|
defaultValue: string | number | boolean | null;
|
|
1225
1228
|
optional: boolean;
|
|
1226
1229
|
}>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1240,7 +1243,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1240
1243
|
};
|
|
1241
1244
|
}>> | Readonly<Readonly<{
|
|
1242
1245
|
type: "toggle";
|
|
1243
|
-
valueType: string;
|
|
1246
|
+
valueType: "string" | "number" | "boolean";
|
|
1244
1247
|
defaultValue: string | number | boolean | null;
|
|
1245
1248
|
optional: boolean;
|
|
1246
1249
|
}>> | Readonly<{
|
|
@@ -1265,12 +1268,12 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1265
1268
|
};
|
|
1266
1269
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1267
1270
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
1268
|
-
readonly valueType: v.
|
|
1271
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
1269
1272
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
1270
1273
|
readonly optional: v.BooleanSchema<undefined>;
|
|
1271
1274
|
}, undefined>, v.ReadonlyAction<{
|
|
1272
1275
|
type: "toggle";
|
|
1273
|
-
valueType: string;
|
|
1276
|
+
valueType: "string" | "number" | "boolean";
|
|
1274
1277
|
defaultValue: string | number | boolean | null;
|
|
1275
1278
|
optional: boolean;
|
|
1276
1279
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -1283,7 +1286,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1283
1286
|
};
|
|
1284
1287
|
}> | Readonly<{
|
|
1285
1288
|
type: "toggle";
|
|
1286
|
-
valueType: string;
|
|
1289
|
+
valueType: "string" | "number" | "boolean";
|
|
1287
1290
|
defaultValue: string | number | boolean | null;
|
|
1288
1291
|
optional: boolean;
|
|
1289
1292
|
}>>]>, undefined>, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1307,7 +1310,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1307
1310
|
};
|
|
1308
1311
|
}>> | Readonly<Readonly<{
|
|
1309
1312
|
type: "toggle";
|
|
1310
|
-
valueType: string;
|
|
1313
|
+
valueType: "string" | "number" | "boolean";
|
|
1311
1314
|
defaultValue: string | number | boolean | null;
|
|
1312
1315
|
optional: boolean;
|
|
1313
1316
|
}>> | null;
|
|
@@ -1332,12 +1335,12 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1332
1335
|
};
|
|
1333
1336
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1334
1337
|
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
1335
|
-
readonly valueType: v.
|
|
1338
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
1336
1339
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
1337
1340
|
readonly optional: v.BooleanSchema<undefined>;
|
|
1338
1341
|
}, undefined>, v.ReadonlyAction<{
|
|
1339
1342
|
type: "toggle";
|
|
1340
|
-
valueType: string;
|
|
1343
|
+
valueType: "string" | "number" | "boolean";
|
|
1341
1344
|
defaultValue: string | number | boolean | null;
|
|
1342
1345
|
optional: boolean;
|
|
1343
1346
|
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
@@ -1350,7 +1353,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1350
1353
|
};
|
|
1351
1354
|
}> | Readonly<{
|
|
1352
1355
|
type: "toggle";
|
|
1353
|
-
valueType: string;
|
|
1356
|
+
valueType: "string" | "number" | "boolean";
|
|
1354
1357
|
defaultValue: string | number | boolean | null;
|
|
1355
1358
|
optional: boolean;
|
|
1356
1359
|
}>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1372,7 +1375,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1372
1375
|
};
|
|
1373
1376
|
}>> | Readonly<Readonly<{
|
|
1374
1377
|
type: "toggle";
|
|
1375
|
-
valueType: string;
|
|
1378
|
+
valueType: "string" | "number" | "boolean";
|
|
1376
1379
|
defaultValue: string | number | boolean | null;
|
|
1377
1380
|
optional: boolean;
|
|
1378
1381
|
}>> | Readonly<{
|
|
@@ -1390,7 +1393,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1390
1393
|
};
|
|
1391
1394
|
}>> | Readonly<Readonly<{
|
|
1392
1395
|
type: "toggle";
|
|
1393
|
-
valueType: string;
|
|
1396
|
+
valueType: "string" | "number" | "boolean";
|
|
1394
1397
|
defaultValue: string | number | boolean | null;
|
|
1395
1398
|
optional: boolean;
|
|
1396
1399
|
}>> | Readonly<{
|
|
@@ -1412,7 +1415,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1412
1415
|
};
|
|
1413
1416
|
}>> | Readonly<Readonly<{
|
|
1414
1417
|
type: "toggle";
|
|
1415
|
-
valueType: string;
|
|
1418
|
+
valueType: "string" | "number" | "boolean";
|
|
1416
1419
|
defaultValue: string | number | boolean | null;
|
|
1417
1420
|
optional: boolean;
|
|
1418
1421
|
}>> | null;
|
|
@@ -1431,7 +1434,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1431
1434
|
};
|
|
1432
1435
|
}>> | Readonly<Readonly<{
|
|
1433
1436
|
type: "toggle";
|
|
1434
|
-
valueType: string;
|
|
1437
|
+
valueType: "string" | "number" | "boolean";
|
|
1435
1438
|
defaultValue: string | number | boolean | null;
|
|
1436
1439
|
optional: boolean;
|
|
1437
1440
|
}>> | Readonly<{
|
|
@@ -1450,7 +1453,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1450
1453
|
};
|
|
1451
1454
|
}>> | Readonly<Readonly<{
|
|
1452
1455
|
type: "toggle";
|
|
1453
|
-
valueType: string;
|
|
1456
|
+
valueType: "string" | "number" | "boolean";
|
|
1454
1457
|
defaultValue: string | number | boolean | null;
|
|
1455
1458
|
optional: boolean;
|
|
1456
1459
|
}>> | Readonly<{
|
|
@@ -1469,7 +1472,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1469
1472
|
};
|
|
1470
1473
|
}>> | Readonly<Readonly<{
|
|
1471
1474
|
type: "toggle";
|
|
1472
|
-
valueType: string;
|
|
1475
|
+
valueType: "string" | "number" | "boolean";
|
|
1473
1476
|
defaultValue: string | number | boolean | null;
|
|
1474
1477
|
optional: boolean;
|
|
1475
1478
|
}>> | Readonly<{
|
|
@@ -1491,7 +1494,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1491
1494
|
};
|
|
1492
1495
|
}>> | Readonly<Readonly<{
|
|
1493
1496
|
type: "toggle";
|
|
1494
|
-
valueType: string;
|
|
1497
|
+
valueType: "string" | "number" | "boolean";
|
|
1495
1498
|
defaultValue: string | number | boolean | null;
|
|
1496
1499
|
optional: boolean;
|
|
1497
1500
|
}>> | null;
|
|
@@ -1510,7 +1513,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1510
1513
|
};
|
|
1511
1514
|
}>> | Readonly<Readonly<{
|
|
1512
1515
|
type: "toggle";
|
|
1513
|
-
valueType: string;
|
|
1516
|
+
valueType: "string" | "number" | "boolean";
|
|
1514
1517
|
defaultValue: string | number | boolean | null;
|
|
1515
1518
|
optional: boolean;
|
|
1516
1519
|
}>> | Readonly<{
|
|
@@ -1529,7 +1532,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1529
1532
|
};
|
|
1530
1533
|
}>> | Readonly<Readonly<{
|
|
1531
1534
|
type: "toggle";
|
|
1532
|
-
valueType: string;
|
|
1535
|
+
valueType: "string" | "number" | "boolean";
|
|
1533
1536
|
defaultValue: string | number | boolean | null;
|
|
1534
1537
|
optional: boolean;
|
|
1535
1538
|
}>> | Readonly<{
|
|
@@ -1548,7 +1551,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1548
1551
|
};
|
|
1549
1552
|
}>> | Readonly<Readonly<{
|
|
1550
1553
|
type: "toggle";
|
|
1551
|
-
valueType: string;
|
|
1554
|
+
valueType: "string" | "number" | "boolean";
|
|
1552
1555
|
defaultValue: string | number | boolean | null;
|
|
1553
1556
|
optional: boolean;
|
|
1554
1557
|
}>> | Readonly<{
|
|
@@ -1570,7 +1573,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1570
1573
|
};
|
|
1571
1574
|
}>> | Readonly<Readonly<{
|
|
1572
1575
|
type: "toggle";
|
|
1573
|
-
valueType: string;
|
|
1576
|
+
valueType: "string" | "number" | "boolean";
|
|
1574
1577
|
defaultValue: string | number | boolean | null;
|
|
1575
1578
|
optional: boolean;
|
|
1576
1579
|
}>> | null;
|
|
@@ -1589,7 +1592,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1589
1592
|
};
|
|
1590
1593
|
}>> | Readonly<Readonly<{
|
|
1591
1594
|
type: "toggle";
|
|
1592
|
-
valueType: string;
|
|
1595
|
+
valueType: "string" | "number" | "boolean";
|
|
1593
1596
|
defaultValue: string | number | boolean | null;
|
|
1594
1597
|
optional: boolean;
|
|
1595
1598
|
}>> | Readonly<{
|
|
@@ -1669,13 +1672,13 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1669
1672
|
}[]>]>;
|
|
1670
1673
|
readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1671
1674
|
readonly name: v.StringSchema<undefined>;
|
|
1672
|
-
readonly kind: v.PicklistSchema<["option", "component"], undefined>;
|
|
1675
|
+
readonly kind: v.PicklistSchema<["option", "component", "collection"], undefined>;
|
|
1673
1676
|
}, undefined>, v.ReadonlyAction<{
|
|
1674
1677
|
name: string;
|
|
1675
|
-
kind: "option" | "component";
|
|
1678
|
+
kind: "collection" | "option" | "component";
|
|
1676
1679
|
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
1677
1680
|
name: string;
|
|
1678
|
-
kind: "option" | "component";
|
|
1681
|
+
kind: "collection" | "option" | "component";
|
|
1679
1682
|
}>[]>]>;
|
|
1680
1683
|
}, undefined>, v.ReadonlyAction<{
|
|
1681
1684
|
readonly options: readonly Readonly<{
|
|
@@ -1690,7 +1693,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1690
1693
|
};
|
|
1691
1694
|
}>> | Readonly<Readonly<{
|
|
1692
1695
|
type: "toggle";
|
|
1693
|
-
valueType: string;
|
|
1696
|
+
valueType: "string" | "number" | "boolean";
|
|
1694
1697
|
defaultValue: string | number | boolean | null;
|
|
1695
1698
|
optional: boolean;
|
|
1696
1699
|
}>> | Readonly<{
|
|
@@ -1709,7 +1712,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1709
1712
|
};
|
|
1710
1713
|
}>> | Readonly<Readonly<{
|
|
1711
1714
|
type: "toggle";
|
|
1712
|
-
valueType: string;
|
|
1715
|
+
valueType: "string" | "number" | "boolean";
|
|
1713
1716
|
defaultValue: string | number | boolean | null;
|
|
1714
1717
|
optional: boolean;
|
|
1715
1718
|
}>> | Readonly<{
|
|
@@ -1731,7 +1734,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1731
1734
|
};
|
|
1732
1735
|
}>> | Readonly<Readonly<{
|
|
1733
1736
|
type: "toggle";
|
|
1734
|
-
valueType: string;
|
|
1737
|
+
valueType: "string" | "number" | "boolean";
|
|
1735
1738
|
defaultValue: string | number | boolean | null;
|
|
1736
1739
|
optional: boolean;
|
|
1737
1740
|
}>> | null;
|
|
@@ -1750,7 +1753,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1750
1753
|
};
|
|
1751
1754
|
}>> | Readonly<Readonly<{
|
|
1752
1755
|
type: "toggle";
|
|
1753
|
-
valueType: string;
|
|
1756
|
+
valueType: "string" | "number" | "boolean";
|
|
1754
1757
|
defaultValue: string | number | boolean | null;
|
|
1755
1758
|
optional: boolean;
|
|
1756
1759
|
}>> | Readonly<{
|
|
@@ -1795,7 +1798,7 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
1795
1798
|
}[];
|
|
1796
1799
|
readonly expectations: readonly Readonly<{
|
|
1797
1800
|
name: string;
|
|
1798
|
-
kind: "option" | "component";
|
|
1801
|
+
kind: "collection" | "option" | "component";
|
|
1799
1802
|
}>[];
|
|
1800
1803
|
}>]>;
|
|
1801
1804
|
export declare const BuilderUIPageSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1883,3 +1886,61 @@ export declare const BuilderUIItemsSerialisedSchema: v.SchemaWithPipe<readonly [
|
|
|
1883
1886
|
label: string;
|
|
1884
1887
|
items: BuilderUIItemsSerialised;
|
|
1885
1888
|
})[]>]>;
|
|
1889
|
+
export declare const BuilderUISerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1890
|
+
readonly items: v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1891
|
+
readonly type: v.LiteralSchema<"page", undefined>;
|
|
1892
|
+
readonly label: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1893
|
+
readonly paths: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
|
|
1894
|
+
}, undefined>, v.ObjectSchema<{
|
|
1895
|
+
readonly type: v.LiteralSchema<"describe", undefined>;
|
|
1896
|
+
readonly label: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1897
|
+
readonly paths: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
|
|
1898
|
+
}, undefined>, v.ObjectSchema<{
|
|
1899
|
+
readonly type: v.LiteralSchema<"collection", undefined>;
|
|
1900
|
+
readonly name: v.StringSchema<undefined>;
|
|
1901
|
+
readonly label: v.StringSchema<undefined>;
|
|
1902
|
+
readonly items: v.LazySchema<UIItemsSerialisedSchemaType>;
|
|
1903
|
+
}, undefined>], undefined>, undefined>, v.ReadonlyAction<({
|
|
1904
|
+
type: "page";
|
|
1905
|
+
label: string | null;
|
|
1906
|
+
readonly paths: readonly (readonly (string | number)[])[];
|
|
1907
|
+
} | {
|
|
1908
|
+
type: "describe";
|
|
1909
|
+
label: string | null;
|
|
1910
|
+
readonly paths: readonly (readonly (string | number)[])[];
|
|
1911
|
+
} | {
|
|
1912
|
+
type: "collection";
|
|
1913
|
+
name: string;
|
|
1914
|
+
label: string;
|
|
1915
|
+
items: BuilderUIItemsSerialised;
|
|
1916
|
+
})[]>]>;
|
|
1917
|
+
readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1918
|
+
readonly name: v.StringSchema<undefined>;
|
|
1919
|
+
readonly kind: v.PicklistSchema<["option", "component", "collection"], undefined>;
|
|
1920
|
+
}, undefined>, v.ReadonlyAction<{
|
|
1921
|
+
name: string;
|
|
1922
|
+
kind: "collection" | "option" | "component";
|
|
1923
|
+
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
1924
|
+
name: string;
|
|
1925
|
+
kind: "collection" | "option" | "component";
|
|
1926
|
+
}>[]>]>;
|
|
1927
|
+
}, undefined>, v.ReadonlyAction<{
|
|
1928
|
+
readonly items: readonly ({
|
|
1929
|
+
type: "page";
|
|
1930
|
+
label: string | null;
|
|
1931
|
+
readonly paths: readonly (readonly (string | number)[])[];
|
|
1932
|
+
} | {
|
|
1933
|
+
type: "describe";
|
|
1934
|
+
label: string | null;
|
|
1935
|
+
readonly paths: readonly (readonly (string | number)[])[];
|
|
1936
|
+
} | {
|
|
1937
|
+
type: "collection";
|
|
1938
|
+
name: string;
|
|
1939
|
+
label: string;
|
|
1940
|
+
items: BuilderUIItemsSerialised;
|
|
1941
|
+
})[];
|
|
1942
|
+
readonly expectations: readonly Readonly<{
|
|
1943
|
+
name: string;
|
|
1944
|
+
kind: "collection" | "option" | "component";
|
|
1945
|
+
}>[];
|
|
1946
|
+
}>]>;
|