@builder-builder/builder 0.0.3 → 0.0.4

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.
@@ -1,5 +1,13 @@
1
1
  import * as v from 'valibot';
2
+ import { BuilderParameter } from '../core/parameter.js';
3
+ import { BuilderSelectType } from '../core/option/select.js';
4
+ import { BuilderToggleType } from '../core/option/toggle.js';
2
5
  import { BuilderPathSchema, BuilderPathsSchema } from './primitives.js';
6
+ export declare const BuilderParameterSchema: v.InstanceSchema<typeof BuilderParameter, undefined>;
7
+ export declare const BuilderOptionValuesSchema: v.UnionSchema<[v.InstanceSchema<typeof BuilderSelectType, undefined>, v.InstanceSchema<typeof BuilderToggleType, undefined>], undefined>;
8
+ export type BuilderOptionValues = v.InferOutput<typeof BuilderOptionValuesSchema>;
9
+ export declare const BuilderOptionValuesMapSchema: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.UnionSchema<[v.InstanceSchema<typeof BuilderSelectType, undefined>, v.InstanceSchema<typeof BuilderToggleType, undefined>], undefined>, undefined>, undefined>;
10
+ export type BuilderOptionValuesMap = v.InferOutput<typeof BuilderOptionValuesMapSchema>;
3
11
  export declare const BuilderSelectTypeSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
4
12
  readonly type: v.LiteralSchema<"select", undefined>;
5
13
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
@@ -28,18 +36,37 @@ export declare const BuilderToggleTypeSerialisedSchema: v.SchemaWithPipe<readonl
28
36
  optional: boolean;
29
37
  }>]>;
30
38
  export type BuilderToggleTypeSerialised = v.InferOutput<typeof BuilderToggleTypeSerialisedSchema>;
31
- export declare const BuilderValuesSerialisedSchema: v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.ObjectSchema<{
39
+ export declare const BuilderParameterSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
40
+ readonly type: v.LiteralSchema<"parameter", undefined>;
41
+ }, undefined>, v.ReadonlyAction<{
42
+ type: "parameter";
43
+ }>]>;
44
+ export type BuilderParameterSerialised = v.InferOutput<typeof BuilderParameterSerialisedSchema>;
45
+ export declare const BuilderValuesSerialisedSchema: v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
32
46
  readonly type: v.LiteralSchema<"select", undefined>;
33
47
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
34
48
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
35
49
  readonly optional: v.BooleanSchema<undefined>;
36
50
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
37
- }, undefined>, v.ObjectSchema<{
51
+ }, undefined>, v.ReadonlyAction<{
52
+ type: "select";
53
+ readonly options: readonly [string, ...string[]];
54
+ defaultValue: string | null;
55
+ optional: boolean;
56
+ labels: {
57
+ [x: string]: string;
58
+ };
59
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
38
60
  readonly type: v.LiteralSchema<"toggle", undefined>;
39
61
  readonly valueType: v.StringSchema<undefined>;
40
62
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
41
63
  readonly optional: v.BooleanSchema<undefined>;
42
- }, undefined>], undefined>, v.ReadonlyAction<{
64
+ }, undefined>, v.ReadonlyAction<{
65
+ type: "toggle";
66
+ valueType: string;
67
+ defaultValue: string | number | boolean | null;
68
+ optional: boolean;
69
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
43
70
  type: "select";
44
71
  readonly options: readonly [string, ...string[]];
45
72
  defaultValue: string | null;
@@ -47,30 +74,62 @@ export declare const BuilderValuesSerialisedSchema: v.SchemaWithPipe<readonly [v
47
74
  labels: {
48
75
  [x: string]: string;
49
76
  };
50
- } | {
77
+ }> | Readonly<{
51
78
  type: "toggle";
52
79
  valueType: string;
53
80
  defaultValue: string | number | boolean | null;
54
81
  optional: boolean;
55
- }>]>;
82
+ }>>]>;
56
83
  export type BuilderValuesSerialised = v.InferOutput<typeof BuilderValuesSerialisedSchema>;
57
84
  export declare const BuilderOptionEnableConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
58
85
  readonly type: v.LiteralSchema<"enable", undefined>;
59
- readonly values: v.VariantSchema<"type", [v.ObjectSchema<{
86
+ readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
60
87
  readonly type: v.LiteralSchema<"select", undefined>;
61
88
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
62
89
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
63
90
  readonly optional: v.BooleanSchema<undefined>;
64
91
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
65
- }, undefined>, v.ObjectSchema<{
92
+ }, undefined>, v.ReadonlyAction<{
93
+ type: "select";
94
+ readonly options: readonly [string, ...string[]];
95
+ defaultValue: string | null;
96
+ optional: boolean;
97
+ labels: {
98
+ [x: string]: string;
99
+ };
100
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
66
101
  readonly type: v.LiteralSchema<"toggle", undefined>;
67
102
  readonly valueType: v.StringSchema<undefined>;
68
103
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
69
104
  readonly optional: v.BooleanSchema<undefined>;
70
- }, undefined>], undefined>;
105
+ }, undefined>, v.ReadonlyAction<{
106
+ type: "toggle";
107
+ valueType: string;
108
+ defaultValue: string | number | boolean | null;
109
+ optional: boolean;
110
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
111
+ type: "select";
112
+ readonly options: readonly [string, ...string[]];
113
+ defaultValue: string | null;
114
+ optional: boolean;
115
+ labels: {
116
+ [x: string]: string;
117
+ };
118
+ }> | Readonly<{
119
+ type: "toggle";
120
+ valueType: string;
121
+ defaultValue: string | number | boolean | null;
122
+ optional: boolean;
123
+ }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
124
+ readonly type: v.LiteralSchema<"parameter", undefined>;
125
+ }, undefined>, v.ReadonlyAction<{
126
+ type: "parameter";
127
+ }>]>], undefined>;
71
128
  }, undefined>, v.ReadonlyAction<{
72
129
  type: "enable";
73
- values: {
130
+ values: Readonly<{
131
+ type: "parameter";
132
+ }> | Readonly<Readonly<{
74
133
  type: "select";
75
134
  readonly options: readonly [string, ...string[]];
76
135
  defaultValue: string | null;
@@ -78,34 +137,66 @@ export declare const BuilderOptionEnableConfigSerialisedSchema: v.SchemaWithPipe
78
137
  labels: {
79
138
  [x: string]: string;
80
139
  };
81
- } | {
140
+ }>> | Readonly<Readonly<{
82
141
  type: "toggle";
83
142
  valueType: string;
84
143
  defaultValue: string | number | boolean | null;
85
144
  optional: boolean;
86
- };
145
+ }>>;
87
146
  }>]>;
88
147
  export type BuilderOptionEnableConfigSerialised = v.InferOutput<typeof BuilderOptionEnableConfigSerialisedSchema>;
89
148
  export declare const BuilderOptionMatchConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
90
149
  readonly type: v.LiteralSchema<"match", undefined>;
91
150
  readonly matchPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
92
- readonly selectMap: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
151
+ readonly selectMap: v.UnionSchema<[v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
93
152
  readonly type: v.LiteralSchema<"select", undefined>;
94
153
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
95
154
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
96
155
  readonly optional: v.BooleanSchema<undefined>;
97
156
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
98
- }, undefined>, v.ObjectSchema<{
157
+ }, undefined>, v.ReadonlyAction<{
158
+ type: "select";
159
+ readonly options: readonly [string, ...string[]];
160
+ defaultValue: string | null;
161
+ optional: boolean;
162
+ labels: {
163
+ [x: string]: string;
164
+ };
165
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
99
166
  readonly type: v.LiteralSchema<"toggle", undefined>;
100
167
  readonly valueType: v.StringSchema<undefined>;
101
168
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
102
169
  readonly optional: v.BooleanSchema<undefined>;
103
- }, undefined>], undefined>, undefined>, undefined>;
170
+ }, undefined>, v.ReadonlyAction<{
171
+ type: "toggle";
172
+ valueType: string;
173
+ defaultValue: string | number | boolean | null;
174
+ optional: boolean;
175
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
176
+ type: "select";
177
+ readonly options: readonly [string, ...string[]];
178
+ defaultValue: string | null;
179
+ optional: boolean;
180
+ labels: {
181
+ [x: string]: string;
182
+ };
183
+ }> | Readonly<{
184
+ type: "toggle";
185
+ valueType: string;
186
+ defaultValue: string | number | boolean | null;
187
+ optional: boolean;
188
+ }>>]>, undefined>, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
189
+ readonly type: v.LiteralSchema<"parameter", undefined>;
190
+ }, undefined>, v.ReadonlyAction<{
191
+ type: "parameter";
192
+ }>]>], undefined>;
104
193
  }, undefined>, v.ReadonlyAction<{
105
194
  type: "match";
106
195
  readonly matchPath: readonly (string | number)[];
107
- selectMap: {
108
- [x: string]: {
196
+ selectMap: Readonly<{
197
+ type: "parameter";
198
+ }> | {
199
+ [x: string]: Readonly<Readonly<{
109
200
  type: "select";
110
201
  readonly options: readonly [string, ...string[]];
111
202
  defaultValue: string | null;
@@ -113,12 +204,12 @@ export declare const BuilderOptionMatchConfigSerialisedSchema: v.SchemaWithPipe<
113
204
  labels: {
114
205
  [x: string]: string;
115
206
  };
116
- } | {
207
+ }>> | Readonly<Readonly<{
117
208
  type: "toggle";
118
209
  valueType: string;
119
210
  defaultValue: string | number | boolean | null;
120
211
  optional: boolean;
121
- } | null;
212
+ }>> | null;
122
213
  };
123
214
  }>]>;
124
215
  export type BuilderOptionMatchConfigSerialised = v.InferOutput<typeof BuilderOptionMatchConfigSerialisedSchema>;
@@ -126,23 +217,55 @@ export declare const BuilderOptionUnlessConfigSerialisedSchema: v.SchemaWithPipe
126
217
  readonly type: v.LiteralSchema<"unless", undefined>;
127
218
  readonly unlessPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
128
219
  readonly disabledValues: v.SchemaWithPipe<readonly [v.ArraySchema<v.NullableSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>, v.ReadonlyAction<(string | number | boolean | null)[]>]>;
129
- readonly values: v.VariantSchema<"type", [v.ObjectSchema<{
220
+ readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
130
221
  readonly type: v.LiteralSchema<"select", undefined>;
131
222
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
132
223
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
133
224
  readonly optional: v.BooleanSchema<undefined>;
134
225
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
135
- }, undefined>, v.ObjectSchema<{
226
+ }, undefined>, v.ReadonlyAction<{
227
+ type: "select";
228
+ readonly options: readonly [string, ...string[]];
229
+ defaultValue: string | null;
230
+ optional: boolean;
231
+ labels: {
232
+ [x: string]: string;
233
+ };
234
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
136
235
  readonly type: v.LiteralSchema<"toggle", undefined>;
137
236
  readonly valueType: v.StringSchema<undefined>;
138
237
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
139
238
  readonly optional: v.BooleanSchema<undefined>;
140
- }, undefined>], undefined>;
239
+ }, undefined>, v.ReadonlyAction<{
240
+ type: "toggle";
241
+ valueType: string;
242
+ defaultValue: string | number | boolean | null;
243
+ optional: boolean;
244
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
245
+ type: "select";
246
+ readonly options: readonly [string, ...string[]];
247
+ defaultValue: string | null;
248
+ optional: boolean;
249
+ labels: {
250
+ [x: string]: string;
251
+ };
252
+ }> | Readonly<{
253
+ type: "toggle";
254
+ valueType: string;
255
+ defaultValue: string | number | boolean | null;
256
+ optional: boolean;
257
+ }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
258
+ readonly type: v.LiteralSchema<"parameter", undefined>;
259
+ }, undefined>, v.ReadonlyAction<{
260
+ type: "parameter";
261
+ }>]>], undefined>;
141
262
  }, undefined>, v.ReadonlyAction<{
142
263
  type: "unless";
143
264
  readonly unlessPath: readonly (string | number)[];
144
265
  readonly disabledValues: readonly (string | number | boolean | null)[];
145
- values: {
266
+ values: Readonly<{
267
+ type: "parameter";
268
+ }> | Readonly<Readonly<{
146
269
  type: "select";
147
270
  readonly options: readonly [string, ...string[]];
148
271
  defaultValue: string | null;
@@ -150,62 +273,213 @@ export declare const BuilderOptionUnlessConfigSerialisedSchema: v.SchemaWithPipe
150
273
  labels: {
151
274
  [x: string]: string;
152
275
  };
153
- } | {
276
+ }>> | Readonly<Readonly<{
154
277
  type: "toggle";
155
278
  valueType: string;
156
279
  defaultValue: string | number | boolean | null;
157
280
  optional: boolean;
158
- };
281
+ }>>;
159
282
  }>]>;
160
283
  export type BuilderOptionUnlessConfigSerialised = v.InferOutput<typeof BuilderOptionUnlessConfigSerialisedSchema>;
161
- export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.ObjectSchema<{
284
+ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
162
285
  readonly type: v.LiteralSchema<"enable", undefined>;
163
- readonly values: v.VariantSchema<"type", [v.ObjectSchema<{
286
+ readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
164
287
  readonly type: v.LiteralSchema<"select", undefined>;
165
288
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
166
289
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
167
290
  readonly optional: v.BooleanSchema<undefined>;
168
291
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
169
- }, undefined>, v.ObjectSchema<{
292
+ }, undefined>, v.ReadonlyAction<{
293
+ type: "select";
294
+ readonly options: readonly [string, ...string[]];
295
+ defaultValue: string | null;
296
+ optional: boolean;
297
+ labels: {
298
+ [x: string]: string;
299
+ };
300
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
170
301
  readonly type: v.LiteralSchema<"toggle", undefined>;
171
302
  readonly valueType: v.StringSchema<undefined>;
172
303
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
173
304
  readonly optional: v.BooleanSchema<undefined>;
174
- }, undefined>], undefined>;
175
- }, undefined>, v.ObjectSchema<{
305
+ }, undefined>, v.ReadonlyAction<{
306
+ type: "toggle";
307
+ valueType: string;
308
+ defaultValue: string | number | boolean | null;
309
+ optional: boolean;
310
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
311
+ type: "select";
312
+ readonly options: readonly [string, ...string[]];
313
+ defaultValue: string | null;
314
+ optional: boolean;
315
+ labels: {
316
+ [x: string]: string;
317
+ };
318
+ }> | Readonly<{
319
+ type: "toggle";
320
+ valueType: string;
321
+ defaultValue: string | number | boolean | null;
322
+ optional: boolean;
323
+ }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
324
+ readonly type: v.LiteralSchema<"parameter", undefined>;
325
+ }, undefined>, v.ReadonlyAction<{
326
+ type: "parameter";
327
+ }>]>], undefined>;
328
+ }, undefined>, v.ReadonlyAction<{
329
+ type: "enable";
330
+ values: Readonly<{
331
+ type: "parameter";
332
+ }> | Readonly<Readonly<{
333
+ type: "select";
334
+ readonly options: readonly [string, ...string[]];
335
+ defaultValue: string | null;
336
+ optional: boolean;
337
+ labels: {
338
+ [x: string]: string;
339
+ };
340
+ }>> | Readonly<Readonly<{
341
+ type: "toggle";
342
+ valueType: string;
343
+ defaultValue: string | number | boolean | null;
344
+ optional: boolean;
345
+ }>>;
346
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
176
347
  readonly type: v.LiteralSchema<"match", undefined>;
177
348
  readonly matchPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
178
- readonly selectMap: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
349
+ readonly selectMap: v.UnionSchema<[v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
179
350
  readonly type: v.LiteralSchema<"select", undefined>;
180
351
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
181
352
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
182
353
  readonly optional: v.BooleanSchema<undefined>;
183
354
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
184
- }, undefined>, v.ObjectSchema<{
355
+ }, undefined>, v.ReadonlyAction<{
356
+ type: "select";
357
+ readonly options: readonly [string, ...string[]];
358
+ defaultValue: string | null;
359
+ optional: boolean;
360
+ labels: {
361
+ [x: string]: string;
362
+ };
363
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
185
364
  readonly type: v.LiteralSchema<"toggle", undefined>;
186
365
  readonly valueType: v.StringSchema<undefined>;
187
366
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
188
367
  readonly optional: v.BooleanSchema<undefined>;
189
- }, undefined>], undefined>, undefined>, undefined>;
190
- }, undefined>, v.ObjectSchema<{
368
+ }, undefined>, v.ReadonlyAction<{
369
+ type: "toggle";
370
+ valueType: string;
371
+ defaultValue: string | number | boolean | null;
372
+ optional: boolean;
373
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
374
+ type: "select";
375
+ readonly options: readonly [string, ...string[]];
376
+ defaultValue: string | null;
377
+ optional: boolean;
378
+ labels: {
379
+ [x: string]: string;
380
+ };
381
+ }> | Readonly<{
382
+ type: "toggle";
383
+ valueType: string;
384
+ defaultValue: string | number | boolean | null;
385
+ optional: boolean;
386
+ }>>]>, undefined>, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
387
+ readonly type: v.LiteralSchema<"parameter", undefined>;
388
+ }, undefined>, v.ReadonlyAction<{
389
+ type: "parameter";
390
+ }>]>], undefined>;
391
+ }, undefined>, v.ReadonlyAction<{
392
+ type: "match";
393
+ readonly matchPath: readonly (string | number)[];
394
+ selectMap: Readonly<{
395
+ type: "parameter";
396
+ }> | {
397
+ [x: string]: Readonly<Readonly<{
398
+ type: "select";
399
+ readonly options: readonly [string, ...string[]];
400
+ defaultValue: string | null;
401
+ optional: boolean;
402
+ labels: {
403
+ [x: string]: string;
404
+ };
405
+ }>> | Readonly<Readonly<{
406
+ type: "toggle";
407
+ valueType: string;
408
+ defaultValue: string | number | boolean | null;
409
+ optional: boolean;
410
+ }>> | null;
411
+ };
412
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
191
413
  readonly type: v.LiteralSchema<"unless", undefined>;
192
414
  readonly unlessPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
193
415
  readonly disabledValues: v.SchemaWithPipe<readonly [v.ArraySchema<v.NullableSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>, v.ReadonlyAction<(string | number | boolean | null)[]>]>;
194
- readonly values: v.VariantSchema<"type", [v.ObjectSchema<{
416
+ readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
195
417
  readonly type: v.LiteralSchema<"select", undefined>;
196
418
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
197
419
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
198
420
  readonly optional: v.BooleanSchema<undefined>;
199
421
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
200
- }, undefined>, v.ObjectSchema<{
422
+ }, undefined>, v.ReadonlyAction<{
423
+ type: "select";
424
+ readonly options: readonly [string, ...string[]];
425
+ defaultValue: string | null;
426
+ optional: boolean;
427
+ labels: {
428
+ [x: string]: string;
429
+ };
430
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
201
431
  readonly type: v.LiteralSchema<"toggle", undefined>;
202
432
  readonly valueType: v.StringSchema<undefined>;
203
433
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
204
434
  readonly optional: v.BooleanSchema<undefined>;
205
- }, undefined>], undefined>;
206
- }, undefined>], undefined>, v.ReadonlyAction<{
435
+ }, undefined>, v.ReadonlyAction<{
436
+ type: "toggle";
437
+ valueType: string;
438
+ defaultValue: string | number | boolean | null;
439
+ optional: boolean;
440
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
441
+ type: "select";
442
+ readonly options: readonly [string, ...string[]];
443
+ defaultValue: string | null;
444
+ optional: boolean;
445
+ labels: {
446
+ [x: string]: string;
447
+ };
448
+ }> | Readonly<{
449
+ type: "toggle";
450
+ valueType: string;
451
+ defaultValue: string | number | boolean | null;
452
+ optional: boolean;
453
+ }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
454
+ readonly type: v.LiteralSchema<"parameter", undefined>;
455
+ }, undefined>, v.ReadonlyAction<{
456
+ type: "parameter";
457
+ }>]>], undefined>;
458
+ }, undefined>, v.ReadonlyAction<{
459
+ type: "unless";
460
+ readonly unlessPath: readonly (string | number)[];
461
+ readonly disabledValues: readonly (string | number | boolean | null)[];
462
+ values: Readonly<{
463
+ type: "parameter";
464
+ }> | Readonly<Readonly<{
465
+ type: "select";
466
+ readonly options: readonly [string, ...string[]];
467
+ defaultValue: string | null;
468
+ optional: boolean;
469
+ labels: {
470
+ [x: string]: string;
471
+ };
472
+ }>> | Readonly<Readonly<{
473
+ type: "toggle";
474
+ valueType: string;
475
+ defaultValue: string | number | boolean | null;
476
+ optional: boolean;
477
+ }>>;
478
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
207
479
  type: "enable";
208
- values: {
480
+ values: Readonly<{
481
+ type: "parameter";
482
+ }> | Readonly<Readonly<{
209
483
  type: "select";
210
484
  readonly options: readonly [string, ...string[]];
211
485
  defaultValue: string | null;
@@ -213,17 +487,19 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
213
487
  labels: {
214
488
  [x: string]: string;
215
489
  };
216
- } | {
490
+ }>> | Readonly<Readonly<{
217
491
  type: "toggle";
218
492
  valueType: string;
219
493
  defaultValue: string | number | boolean | null;
220
494
  optional: boolean;
221
- };
222
- } | {
495
+ }>>;
496
+ }> | Readonly<{
223
497
  type: "match";
224
498
  readonly matchPath: readonly (string | number)[];
225
- selectMap: {
226
- [x: string]: {
499
+ selectMap: Readonly<{
500
+ type: "parameter";
501
+ }> | {
502
+ [x: string]: Readonly<Readonly<{
227
503
  type: "select";
228
504
  readonly options: readonly [string, ...string[]];
229
505
  defaultValue: string | null;
@@ -231,18 +507,20 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
231
507
  labels: {
232
508
  [x: string]: string;
233
509
  };
234
- } | {
510
+ }>> | Readonly<Readonly<{
235
511
  type: "toggle";
236
512
  valueType: string;
237
513
  defaultValue: string | number | boolean | null;
238
514
  optional: boolean;
239
- } | null;
515
+ }>> | null;
240
516
  };
241
- } | {
517
+ }> | Readonly<{
242
518
  type: "unless";
243
519
  readonly unlessPath: readonly (string | number)[];
244
520
  readonly disabledValues: readonly (string | number | boolean | null)[];
245
- values: {
521
+ values: Readonly<{
522
+ type: "parameter";
523
+ }> | Readonly<Readonly<{
246
524
  type: "select";
247
525
  readonly options: readonly [string, ...string[]];
248
526
  defaultValue: string | null;
@@ -250,78 +528,318 @@ export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<r
250
528
  labels: {
251
529
  [x: string]: string;
252
530
  };
253
- } | {
531
+ }>> | Readonly<Readonly<{
254
532
  type: "toggle";
255
533
  valueType: string;
256
534
  defaultValue: string | number | boolean | null;
257
535
  optional: boolean;
258
- };
259
- }>]>;
536
+ }>>;
537
+ }>>]>;
260
538
  export type BuilderOptionWhenConfigSerialised = v.InferOutput<typeof BuilderOptionWhenConfigSerialisedSchema>;
261
539
  export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
262
540
  readonly name: v.StringSchema<undefined>;
263
- readonly values: v.VariantSchema<"type", [v.ObjectSchema<{
541
+ readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
264
542
  readonly type: v.LiteralSchema<"select", undefined>;
265
543
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
266
544
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
267
545
  readonly optional: v.BooleanSchema<undefined>;
268
546
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
269
- }, undefined>, v.ObjectSchema<{
547
+ }, undefined>, v.ReadonlyAction<{
548
+ type: "select";
549
+ readonly options: readonly [string, ...string[]];
550
+ defaultValue: string | null;
551
+ optional: boolean;
552
+ labels: {
553
+ [x: string]: string;
554
+ };
555
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
270
556
  readonly type: v.LiteralSchema<"toggle", undefined>;
271
557
  readonly valueType: v.StringSchema<undefined>;
272
558
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
273
559
  readonly optional: v.BooleanSchema<undefined>;
274
- }, undefined>], undefined>;
560
+ }, undefined>, v.ReadonlyAction<{
561
+ type: "toggle";
562
+ valueType: string;
563
+ defaultValue: string | number | boolean | null;
564
+ optional: boolean;
565
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
566
+ type: "select";
567
+ readonly options: readonly [string, ...string[]];
568
+ defaultValue: string | null;
569
+ optional: boolean;
570
+ labels: {
571
+ [x: string]: string;
572
+ };
573
+ }> | Readonly<{
574
+ type: "toggle";
575
+ valueType: string;
576
+ defaultValue: string | number | boolean | null;
577
+ optional: boolean;
578
+ }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
579
+ readonly type: v.LiteralSchema<"parameter", undefined>;
580
+ }, undefined>, v.ReadonlyAction<{
581
+ type: "parameter";
582
+ }>]>], undefined>;
275
583
  readonly gatePaths: 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)[])[]>]>;
276
- readonly config: v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
584
+ readonly config: v.NullableSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
277
585
  readonly type: v.LiteralSchema<"enable", undefined>;
278
- readonly values: v.VariantSchema<"type", [v.ObjectSchema<{
586
+ readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
279
587
  readonly type: v.LiteralSchema<"select", undefined>;
280
588
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
281
589
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
282
590
  readonly optional: v.BooleanSchema<undefined>;
283
591
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
284
- }, undefined>, v.ObjectSchema<{
592
+ }, undefined>, v.ReadonlyAction<{
593
+ type: "select";
594
+ readonly options: readonly [string, ...string[]];
595
+ defaultValue: string | null;
596
+ optional: boolean;
597
+ labels: {
598
+ [x: string]: string;
599
+ };
600
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
285
601
  readonly type: v.LiteralSchema<"toggle", undefined>;
286
602
  readonly valueType: v.StringSchema<undefined>;
287
603
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
288
604
  readonly optional: v.BooleanSchema<undefined>;
289
- }, undefined>], undefined>;
290
- }, undefined>, v.ObjectSchema<{
605
+ }, undefined>, v.ReadonlyAction<{
606
+ type: "toggle";
607
+ valueType: string;
608
+ defaultValue: string | number | boolean | null;
609
+ optional: boolean;
610
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
611
+ type: "select";
612
+ readonly options: readonly [string, ...string[]];
613
+ defaultValue: string | null;
614
+ optional: boolean;
615
+ labels: {
616
+ [x: string]: string;
617
+ };
618
+ }> | Readonly<{
619
+ type: "toggle";
620
+ valueType: string;
621
+ defaultValue: string | number | boolean | null;
622
+ optional: boolean;
623
+ }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
624
+ readonly type: v.LiteralSchema<"parameter", undefined>;
625
+ }, undefined>, v.ReadonlyAction<{
626
+ type: "parameter";
627
+ }>]>], undefined>;
628
+ }, undefined>, v.ReadonlyAction<{
629
+ type: "enable";
630
+ values: Readonly<{
631
+ type: "parameter";
632
+ }> | Readonly<Readonly<{
633
+ type: "select";
634
+ readonly options: readonly [string, ...string[]];
635
+ defaultValue: string | null;
636
+ optional: boolean;
637
+ labels: {
638
+ [x: string]: string;
639
+ };
640
+ }>> | Readonly<Readonly<{
641
+ type: "toggle";
642
+ valueType: string;
643
+ defaultValue: string | number | boolean | null;
644
+ optional: boolean;
645
+ }>>;
646
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
291
647
  readonly type: v.LiteralSchema<"match", undefined>;
292
648
  readonly matchPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
293
- readonly selectMap: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
649
+ readonly selectMap: v.UnionSchema<[v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
294
650
  readonly type: v.LiteralSchema<"select", undefined>;
295
651
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
296
652
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
297
653
  readonly optional: v.BooleanSchema<undefined>;
298
654
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
299
- }, undefined>, v.ObjectSchema<{
655
+ }, undefined>, v.ReadonlyAction<{
656
+ type: "select";
657
+ readonly options: readonly [string, ...string[]];
658
+ defaultValue: string | null;
659
+ optional: boolean;
660
+ labels: {
661
+ [x: string]: string;
662
+ };
663
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
300
664
  readonly type: v.LiteralSchema<"toggle", undefined>;
301
665
  readonly valueType: v.StringSchema<undefined>;
302
666
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
303
667
  readonly optional: v.BooleanSchema<undefined>;
304
- }, undefined>], undefined>, undefined>, undefined>;
305
- }, undefined>, v.ObjectSchema<{
668
+ }, undefined>, v.ReadonlyAction<{
669
+ type: "toggle";
670
+ valueType: string;
671
+ defaultValue: string | number | boolean | null;
672
+ optional: boolean;
673
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
674
+ type: "select";
675
+ readonly options: readonly [string, ...string[]];
676
+ defaultValue: string | null;
677
+ optional: boolean;
678
+ labels: {
679
+ [x: string]: string;
680
+ };
681
+ }> | Readonly<{
682
+ type: "toggle";
683
+ valueType: string;
684
+ defaultValue: string | number | boolean | null;
685
+ optional: boolean;
686
+ }>>]>, undefined>, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
687
+ readonly type: v.LiteralSchema<"parameter", undefined>;
688
+ }, undefined>, v.ReadonlyAction<{
689
+ type: "parameter";
690
+ }>]>], undefined>;
691
+ }, undefined>, v.ReadonlyAction<{
692
+ type: "match";
693
+ readonly matchPath: readonly (string | number)[];
694
+ selectMap: Readonly<{
695
+ type: "parameter";
696
+ }> | {
697
+ [x: string]: Readonly<Readonly<{
698
+ type: "select";
699
+ readonly options: readonly [string, ...string[]];
700
+ defaultValue: string | null;
701
+ optional: boolean;
702
+ labels: {
703
+ [x: string]: string;
704
+ };
705
+ }>> | Readonly<Readonly<{
706
+ type: "toggle";
707
+ valueType: string;
708
+ defaultValue: string | number | boolean | null;
709
+ optional: boolean;
710
+ }>> | null;
711
+ };
712
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
306
713
  readonly type: v.LiteralSchema<"unless", undefined>;
307
714
  readonly unlessPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
308
715
  readonly disabledValues: v.SchemaWithPipe<readonly [v.ArraySchema<v.NullableSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>, v.ReadonlyAction<(string | number | boolean | null)[]>]>;
309
- readonly values: v.VariantSchema<"type", [v.ObjectSchema<{
716
+ readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
310
717
  readonly type: v.LiteralSchema<"select", undefined>;
311
718
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
312
719
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
313
720
  readonly optional: v.BooleanSchema<undefined>;
314
721
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
315
- }, undefined>, v.ObjectSchema<{
722
+ }, undefined>, v.ReadonlyAction<{
723
+ type: "select";
724
+ readonly options: readonly [string, ...string[]];
725
+ defaultValue: string | null;
726
+ optional: boolean;
727
+ labels: {
728
+ [x: string]: string;
729
+ };
730
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
316
731
  readonly type: v.LiteralSchema<"toggle", undefined>;
317
732
  readonly valueType: v.StringSchema<undefined>;
318
733
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
319
734
  readonly optional: v.BooleanSchema<undefined>;
320
- }, undefined>], undefined>;
321
- }, undefined>], undefined>, undefined>;
735
+ }, undefined>, v.ReadonlyAction<{
736
+ type: "toggle";
737
+ valueType: string;
738
+ defaultValue: string | number | boolean | null;
739
+ optional: boolean;
740
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
741
+ type: "select";
742
+ readonly options: readonly [string, ...string[]];
743
+ defaultValue: string | null;
744
+ optional: boolean;
745
+ labels: {
746
+ [x: string]: string;
747
+ };
748
+ }> | Readonly<{
749
+ type: "toggle";
750
+ valueType: string;
751
+ defaultValue: string | number | boolean | null;
752
+ optional: boolean;
753
+ }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
754
+ readonly type: v.LiteralSchema<"parameter", undefined>;
755
+ }, undefined>, v.ReadonlyAction<{
756
+ type: "parameter";
757
+ }>]>], undefined>;
758
+ }, undefined>, v.ReadonlyAction<{
759
+ type: "unless";
760
+ readonly unlessPath: readonly (string | number)[];
761
+ readonly disabledValues: readonly (string | number | boolean | null)[];
762
+ values: Readonly<{
763
+ type: "parameter";
764
+ }> | Readonly<Readonly<{
765
+ type: "select";
766
+ readonly options: readonly [string, ...string[]];
767
+ defaultValue: string | null;
768
+ optional: boolean;
769
+ labels: {
770
+ [x: string]: string;
771
+ };
772
+ }>> | Readonly<Readonly<{
773
+ type: "toggle";
774
+ valueType: string;
775
+ defaultValue: string | number | boolean | null;
776
+ optional: boolean;
777
+ }>>;
778
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
779
+ type: "enable";
780
+ values: Readonly<{
781
+ type: "parameter";
782
+ }> | Readonly<Readonly<{
783
+ type: "select";
784
+ readonly options: readonly [string, ...string[]];
785
+ defaultValue: string | null;
786
+ optional: boolean;
787
+ labels: {
788
+ [x: string]: string;
789
+ };
790
+ }>> | Readonly<Readonly<{
791
+ type: "toggle";
792
+ valueType: string;
793
+ defaultValue: string | number | boolean | null;
794
+ optional: boolean;
795
+ }>>;
796
+ }> | Readonly<{
797
+ type: "match";
798
+ readonly matchPath: readonly (string | number)[];
799
+ selectMap: Readonly<{
800
+ type: "parameter";
801
+ }> | {
802
+ [x: string]: Readonly<Readonly<{
803
+ type: "select";
804
+ readonly options: readonly [string, ...string[]];
805
+ defaultValue: string | null;
806
+ optional: boolean;
807
+ labels: {
808
+ [x: string]: string;
809
+ };
810
+ }>> | Readonly<Readonly<{
811
+ type: "toggle";
812
+ valueType: string;
813
+ defaultValue: string | number | boolean | null;
814
+ optional: boolean;
815
+ }>> | null;
816
+ };
817
+ }> | Readonly<{
818
+ type: "unless";
819
+ readonly unlessPath: readonly (string | number)[];
820
+ readonly disabledValues: readonly (string | number | boolean | null)[];
821
+ values: Readonly<{
822
+ type: "parameter";
823
+ }> | Readonly<Readonly<{
824
+ type: "select";
825
+ readonly options: readonly [string, ...string[]];
826
+ defaultValue: string | null;
827
+ optional: boolean;
828
+ labels: {
829
+ [x: string]: string;
830
+ };
831
+ }>> | Readonly<Readonly<{
832
+ type: "toggle";
833
+ valueType: string;
834
+ defaultValue: string | number | boolean | null;
835
+ optional: boolean;
836
+ }>>;
837
+ }>>]>, undefined>;
322
838
  }, undefined>, v.ReadonlyAction<{
323
839
  name: string;
324
- values: {
840
+ values: Readonly<{
841
+ type: "parameter";
842
+ }> | Readonly<Readonly<{
325
843
  type: "select";
326
844
  readonly options: readonly [string, ...string[]];
327
845
  defaultValue: string | null;
@@ -329,16 +847,18 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
329
847
  labels: {
330
848
  [x: string]: string;
331
849
  };
332
- } | {
850
+ }>> | Readonly<Readonly<{
333
851
  type: "toggle";
334
852
  valueType: string;
335
853
  defaultValue: string | number | boolean | null;
336
854
  optional: boolean;
337
- };
855
+ }>>;
338
856
  readonly gatePaths: readonly (readonly (string | number)[])[];
339
- config: {
857
+ config: Readonly<Readonly<{
340
858
  type: "enable";
341
- values: {
859
+ values: Readonly<{
860
+ type: "parameter";
861
+ }> | Readonly<Readonly<{
342
862
  type: "select";
343
863
  readonly options: readonly [string, ...string[]];
344
864
  defaultValue: string | null;
@@ -346,17 +866,19 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
346
866
  labels: {
347
867
  [x: string]: string;
348
868
  };
349
- } | {
869
+ }>> | Readonly<Readonly<{
350
870
  type: "toggle";
351
871
  valueType: string;
352
872
  defaultValue: string | number | boolean | null;
353
873
  optional: boolean;
354
- };
355
- } | {
874
+ }>>;
875
+ }>> | Readonly<Readonly<{
356
876
  type: "match";
357
877
  readonly matchPath: readonly (string | number)[];
358
- selectMap: {
359
- [x: string]: {
878
+ selectMap: Readonly<{
879
+ type: "parameter";
880
+ }> | {
881
+ [x: string]: Readonly<Readonly<{
360
882
  type: "select";
361
883
  readonly options: readonly [string, ...string[]];
362
884
  defaultValue: string | null;
@@ -364,18 +886,20 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
364
886
  labels: {
365
887
  [x: string]: string;
366
888
  };
367
- } | {
889
+ }>> | Readonly<Readonly<{
368
890
  type: "toggle";
369
891
  valueType: string;
370
892
  defaultValue: string | number | boolean | null;
371
893
  optional: boolean;
372
- } | null;
894
+ }>> | null;
373
895
  };
374
- } | {
896
+ }>> | Readonly<Readonly<{
375
897
  type: "unless";
376
898
  readonly unlessPath: readonly (string | number)[];
377
899
  readonly disabledValues: readonly (string | number | boolean | null)[];
378
- values: {
900
+ values: Readonly<{
901
+ type: "parameter";
902
+ }> | Readonly<Readonly<{
379
903
  type: "select";
380
904
  readonly options: readonly [string, ...string[]];
381
905
  defaultValue: string | null;
@@ -383,13 +907,13 @@ export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v
383
907
  labels: {
384
908
  [x: string]: string;
385
909
  };
386
- } | {
910
+ }>> | Readonly<Readonly<{
387
911
  type: "toggle";
388
912
  valueType: string;
389
913
  defaultValue: string | number | boolean | null;
390
914
  optional: boolean;
391
- };
392
- } | null;
915
+ }>>;
916
+ }>> | null;
393
917
  }>]>;
394
918
  export type BuilderOptionSerialised = v.InferOutput<typeof BuilderOptionSerialisedSchema>;
395
919
  export declare const BuilderComponentSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
@@ -598,68 +1122,308 @@ export declare const BuilderCollectionSerialisedSchema: v.SchemaWithPipe<readonl
598
1122
  export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
599
1123
  readonly options: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
600
1124
  readonly name: v.StringSchema<undefined>;
601
- readonly values: v.VariantSchema<"type", [v.ObjectSchema<{
1125
+ readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
602
1126
  readonly type: v.LiteralSchema<"select", undefined>;
603
1127
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
604
1128
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
605
1129
  readonly optional: v.BooleanSchema<undefined>;
606
1130
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
607
- }, undefined>, v.ObjectSchema<{
1131
+ }, undefined>, v.ReadonlyAction<{
1132
+ type: "select";
1133
+ readonly options: readonly [string, ...string[]];
1134
+ defaultValue: string | null;
1135
+ optional: boolean;
1136
+ labels: {
1137
+ [x: string]: string;
1138
+ };
1139
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
608
1140
  readonly type: v.LiteralSchema<"toggle", undefined>;
609
1141
  readonly valueType: v.StringSchema<undefined>;
610
1142
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
611
1143
  readonly optional: v.BooleanSchema<undefined>;
612
- }, undefined>], undefined>;
1144
+ }, undefined>, v.ReadonlyAction<{
1145
+ type: "toggle";
1146
+ valueType: string;
1147
+ defaultValue: string | number | boolean | null;
1148
+ optional: boolean;
1149
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
1150
+ type: "select";
1151
+ readonly options: readonly [string, ...string[]];
1152
+ defaultValue: string | null;
1153
+ optional: boolean;
1154
+ labels: {
1155
+ [x: string]: string;
1156
+ };
1157
+ }> | Readonly<{
1158
+ type: "toggle";
1159
+ valueType: string;
1160
+ defaultValue: string | number | boolean | null;
1161
+ optional: boolean;
1162
+ }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1163
+ readonly type: v.LiteralSchema<"parameter", undefined>;
1164
+ }, undefined>, v.ReadonlyAction<{
1165
+ type: "parameter";
1166
+ }>]>], undefined>;
613
1167
  readonly gatePaths: 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)[])[]>]>;
614
- readonly config: v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
1168
+ readonly config: v.NullableSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
615
1169
  readonly type: v.LiteralSchema<"enable", undefined>;
616
- readonly values: v.VariantSchema<"type", [v.ObjectSchema<{
1170
+ readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
617
1171
  readonly type: v.LiteralSchema<"select", undefined>;
618
1172
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
619
1173
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
620
1174
  readonly optional: v.BooleanSchema<undefined>;
621
1175
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
622
- }, undefined>, v.ObjectSchema<{
1176
+ }, undefined>, v.ReadonlyAction<{
1177
+ type: "select";
1178
+ readonly options: readonly [string, ...string[]];
1179
+ defaultValue: string | null;
1180
+ optional: boolean;
1181
+ labels: {
1182
+ [x: string]: string;
1183
+ };
1184
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
623
1185
  readonly type: v.LiteralSchema<"toggle", undefined>;
624
1186
  readonly valueType: v.StringSchema<undefined>;
625
1187
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
626
1188
  readonly optional: v.BooleanSchema<undefined>;
627
- }, undefined>], undefined>;
628
- }, undefined>, v.ObjectSchema<{
1189
+ }, undefined>, v.ReadonlyAction<{
1190
+ type: "toggle";
1191
+ valueType: string;
1192
+ defaultValue: string | number | boolean | null;
1193
+ optional: boolean;
1194
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
1195
+ type: "select";
1196
+ readonly options: readonly [string, ...string[]];
1197
+ defaultValue: string | null;
1198
+ optional: boolean;
1199
+ labels: {
1200
+ [x: string]: string;
1201
+ };
1202
+ }> | Readonly<{
1203
+ type: "toggle";
1204
+ valueType: string;
1205
+ defaultValue: string | number | boolean | null;
1206
+ optional: boolean;
1207
+ }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1208
+ readonly type: v.LiteralSchema<"parameter", undefined>;
1209
+ }, undefined>, v.ReadonlyAction<{
1210
+ type: "parameter";
1211
+ }>]>], undefined>;
1212
+ }, undefined>, v.ReadonlyAction<{
1213
+ type: "enable";
1214
+ values: Readonly<{
1215
+ type: "parameter";
1216
+ }> | Readonly<Readonly<{
1217
+ type: "select";
1218
+ readonly options: readonly [string, ...string[]];
1219
+ defaultValue: string | null;
1220
+ optional: boolean;
1221
+ labels: {
1222
+ [x: string]: string;
1223
+ };
1224
+ }>> | Readonly<Readonly<{
1225
+ type: "toggle";
1226
+ valueType: string;
1227
+ defaultValue: string | number | boolean | null;
1228
+ optional: boolean;
1229
+ }>>;
1230
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
629
1231
  readonly type: v.LiteralSchema<"match", undefined>;
630
1232
  readonly matchPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
631
- readonly selectMap: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
1233
+ readonly selectMap: v.UnionSchema<[v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
632
1234
  readonly type: v.LiteralSchema<"select", undefined>;
633
1235
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
634
1236
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
635
1237
  readonly optional: v.BooleanSchema<undefined>;
636
1238
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
637
- }, undefined>, v.ObjectSchema<{
1239
+ }, undefined>, v.ReadonlyAction<{
1240
+ type: "select";
1241
+ readonly options: readonly [string, ...string[]];
1242
+ defaultValue: string | null;
1243
+ optional: boolean;
1244
+ labels: {
1245
+ [x: string]: string;
1246
+ };
1247
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
638
1248
  readonly type: v.LiteralSchema<"toggle", undefined>;
639
1249
  readonly valueType: v.StringSchema<undefined>;
640
1250
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
641
1251
  readonly optional: v.BooleanSchema<undefined>;
642
- }, undefined>], undefined>, undefined>, undefined>;
643
- }, undefined>, v.ObjectSchema<{
1252
+ }, undefined>, v.ReadonlyAction<{
1253
+ type: "toggle";
1254
+ valueType: string;
1255
+ defaultValue: string | number | boolean | null;
1256
+ optional: boolean;
1257
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
1258
+ type: "select";
1259
+ readonly options: readonly [string, ...string[]];
1260
+ defaultValue: string | null;
1261
+ optional: boolean;
1262
+ labels: {
1263
+ [x: string]: string;
1264
+ };
1265
+ }> | Readonly<{
1266
+ type: "toggle";
1267
+ valueType: string;
1268
+ defaultValue: string | number | boolean | null;
1269
+ optional: boolean;
1270
+ }>>]>, undefined>, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1271
+ readonly type: v.LiteralSchema<"parameter", undefined>;
1272
+ }, undefined>, v.ReadonlyAction<{
1273
+ type: "parameter";
1274
+ }>]>], undefined>;
1275
+ }, undefined>, v.ReadonlyAction<{
1276
+ type: "match";
1277
+ readonly matchPath: readonly (string | number)[];
1278
+ selectMap: Readonly<{
1279
+ type: "parameter";
1280
+ }> | {
1281
+ [x: string]: Readonly<Readonly<{
1282
+ type: "select";
1283
+ readonly options: readonly [string, ...string[]];
1284
+ defaultValue: string | null;
1285
+ optional: boolean;
1286
+ labels: {
1287
+ [x: string]: string;
1288
+ };
1289
+ }>> | Readonly<Readonly<{
1290
+ type: "toggle";
1291
+ valueType: string;
1292
+ defaultValue: string | number | boolean | null;
1293
+ optional: boolean;
1294
+ }>> | null;
1295
+ };
1296
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
644
1297
  readonly type: v.LiteralSchema<"unless", undefined>;
645
1298
  readonly unlessPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
646
1299
  readonly disabledValues: v.SchemaWithPipe<readonly [v.ArraySchema<v.NullableSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>, v.ReadonlyAction<(string | number | boolean | null)[]>]>;
647
- readonly values: v.VariantSchema<"type", [v.ObjectSchema<{
1300
+ readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
648
1301
  readonly type: v.LiteralSchema<"select", undefined>;
649
1302
  readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
650
1303
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
651
1304
  readonly optional: v.BooleanSchema<undefined>;
652
1305
  readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
653
- }, undefined>, v.ObjectSchema<{
1306
+ }, undefined>, v.ReadonlyAction<{
1307
+ type: "select";
1308
+ readonly options: readonly [string, ...string[]];
1309
+ defaultValue: string | null;
1310
+ optional: boolean;
1311
+ labels: {
1312
+ [x: string]: string;
1313
+ };
1314
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
654
1315
  readonly type: v.LiteralSchema<"toggle", undefined>;
655
1316
  readonly valueType: v.StringSchema<undefined>;
656
1317
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
657
1318
  readonly optional: v.BooleanSchema<undefined>;
658
- }, undefined>], undefined>;
659
- }, undefined>], undefined>, undefined>;
1319
+ }, undefined>, v.ReadonlyAction<{
1320
+ type: "toggle";
1321
+ valueType: string;
1322
+ defaultValue: string | number | boolean | null;
1323
+ optional: boolean;
1324
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
1325
+ type: "select";
1326
+ readonly options: readonly [string, ...string[]];
1327
+ defaultValue: string | null;
1328
+ optional: boolean;
1329
+ labels: {
1330
+ [x: string]: string;
1331
+ };
1332
+ }> | Readonly<{
1333
+ type: "toggle";
1334
+ valueType: string;
1335
+ defaultValue: string | number | boolean | null;
1336
+ optional: boolean;
1337
+ }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1338
+ readonly type: v.LiteralSchema<"parameter", undefined>;
1339
+ }, undefined>, v.ReadonlyAction<{
1340
+ type: "parameter";
1341
+ }>]>], undefined>;
1342
+ }, undefined>, v.ReadonlyAction<{
1343
+ type: "unless";
1344
+ readonly unlessPath: readonly (string | number)[];
1345
+ readonly disabledValues: readonly (string | number | boolean | null)[];
1346
+ values: Readonly<{
1347
+ type: "parameter";
1348
+ }> | Readonly<Readonly<{
1349
+ type: "select";
1350
+ readonly options: readonly [string, ...string[]];
1351
+ defaultValue: string | null;
1352
+ optional: boolean;
1353
+ labels: {
1354
+ [x: string]: string;
1355
+ };
1356
+ }>> | Readonly<Readonly<{
1357
+ type: "toggle";
1358
+ valueType: string;
1359
+ defaultValue: string | number | boolean | null;
1360
+ optional: boolean;
1361
+ }>>;
1362
+ }>]>], undefined>, v.ReadonlyAction<Readonly<{
1363
+ type: "enable";
1364
+ values: Readonly<{
1365
+ type: "parameter";
1366
+ }> | Readonly<Readonly<{
1367
+ type: "select";
1368
+ readonly options: readonly [string, ...string[]];
1369
+ defaultValue: string | null;
1370
+ optional: boolean;
1371
+ labels: {
1372
+ [x: string]: string;
1373
+ };
1374
+ }>> | Readonly<Readonly<{
1375
+ type: "toggle";
1376
+ valueType: string;
1377
+ defaultValue: string | number | boolean | null;
1378
+ optional: boolean;
1379
+ }>>;
1380
+ }> | Readonly<{
1381
+ type: "match";
1382
+ readonly matchPath: readonly (string | number)[];
1383
+ selectMap: Readonly<{
1384
+ type: "parameter";
1385
+ }> | {
1386
+ [x: string]: Readonly<Readonly<{
1387
+ type: "select";
1388
+ readonly options: readonly [string, ...string[]];
1389
+ defaultValue: string | null;
1390
+ optional: boolean;
1391
+ labels: {
1392
+ [x: string]: string;
1393
+ };
1394
+ }>> | Readonly<Readonly<{
1395
+ type: "toggle";
1396
+ valueType: string;
1397
+ defaultValue: string | number | boolean | null;
1398
+ optional: boolean;
1399
+ }>> | null;
1400
+ };
1401
+ }> | Readonly<{
1402
+ type: "unless";
1403
+ readonly unlessPath: readonly (string | number)[];
1404
+ readonly disabledValues: readonly (string | number | boolean | null)[];
1405
+ values: Readonly<{
1406
+ type: "parameter";
1407
+ }> | Readonly<Readonly<{
1408
+ type: "select";
1409
+ readonly options: readonly [string, ...string[]];
1410
+ defaultValue: string | null;
1411
+ optional: boolean;
1412
+ labels: {
1413
+ [x: string]: string;
1414
+ };
1415
+ }>> | Readonly<Readonly<{
1416
+ type: "toggle";
1417
+ valueType: string;
1418
+ defaultValue: string | number | boolean | null;
1419
+ optional: boolean;
1420
+ }>>;
1421
+ }>>]>, undefined>;
660
1422
  }, undefined>, v.ReadonlyAction<{
661
1423
  name: string;
662
- values: {
1424
+ values: Readonly<{
1425
+ type: "parameter";
1426
+ }> | Readonly<Readonly<{
663
1427
  type: "select";
664
1428
  readonly options: readonly [string, ...string[]];
665
1429
  defaultValue: string | null;
@@ -667,16 +1431,18 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
667
1431
  labels: {
668
1432
  [x: string]: string;
669
1433
  };
670
- } | {
1434
+ }>> | Readonly<Readonly<{
671
1435
  type: "toggle";
672
1436
  valueType: string;
673
1437
  defaultValue: string | number | boolean | null;
674
1438
  optional: boolean;
675
- };
1439
+ }>>;
676
1440
  readonly gatePaths: readonly (readonly (string | number)[])[];
677
- config: {
1441
+ config: Readonly<Readonly<{
678
1442
  type: "enable";
679
- values: {
1443
+ values: Readonly<{
1444
+ type: "parameter";
1445
+ }> | Readonly<Readonly<{
680
1446
  type: "select";
681
1447
  readonly options: readonly [string, ...string[]];
682
1448
  defaultValue: string | null;
@@ -684,17 +1450,19 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
684
1450
  labels: {
685
1451
  [x: string]: string;
686
1452
  };
687
- } | {
1453
+ }>> | Readonly<Readonly<{
688
1454
  type: "toggle";
689
1455
  valueType: string;
690
1456
  defaultValue: string | number | boolean | null;
691
1457
  optional: boolean;
692
- };
693
- } | {
1458
+ }>>;
1459
+ }>> | Readonly<Readonly<{
694
1460
  type: "match";
695
1461
  readonly matchPath: readonly (string | number)[];
696
- selectMap: {
697
- [x: string]: {
1462
+ selectMap: Readonly<{
1463
+ type: "parameter";
1464
+ }> | {
1465
+ [x: string]: Readonly<Readonly<{
698
1466
  type: "select";
699
1467
  readonly options: readonly [string, ...string[]];
700
1468
  defaultValue: string | null;
@@ -702,18 +1470,20 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
702
1470
  labels: {
703
1471
  [x: string]: string;
704
1472
  };
705
- } | {
1473
+ }>> | Readonly<Readonly<{
706
1474
  type: "toggle";
707
1475
  valueType: string;
708
1476
  defaultValue: string | number | boolean | null;
709
1477
  optional: boolean;
710
- } | null;
1478
+ }>> | null;
711
1479
  };
712
- } | {
1480
+ }>> | Readonly<Readonly<{
713
1481
  type: "unless";
714
1482
  readonly unlessPath: readonly (string | number)[];
715
1483
  readonly disabledValues: readonly (string | number | boolean | null)[];
716
- values: {
1484
+ values: Readonly<{
1485
+ type: "parameter";
1486
+ }> | Readonly<Readonly<{
717
1487
  type: "select";
718
1488
  readonly options: readonly [string, ...string[]];
719
1489
  defaultValue: string | null;
@@ -721,16 +1491,18 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
721
1491
  labels: {
722
1492
  [x: string]: string;
723
1493
  };
724
- } | {
1494
+ }>> | Readonly<Readonly<{
725
1495
  type: "toggle";
726
1496
  valueType: string;
727
1497
  defaultValue: string | number | boolean | null;
728
1498
  optional: boolean;
729
- };
730
- } | null;
1499
+ }>>;
1500
+ }>> | null;
731
1501
  }>]>, undefined>, v.ReadonlyAction<Readonly<{
732
1502
  name: string;
733
- values: {
1503
+ values: Readonly<{
1504
+ type: "parameter";
1505
+ }> | Readonly<Readonly<{
734
1506
  type: "select";
735
1507
  readonly options: readonly [string, ...string[]];
736
1508
  defaultValue: string | null;
@@ -738,16 +1510,18 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
738
1510
  labels: {
739
1511
  [x: string]: string;
740
1512
  };
741
- } | {
1513
+ }>> | Readonly<Readonly<{
742
1514
  type: "toggle";
743
1515
  valueType: string;
744
1516
  defaultValue: string | number | boolean | null;
745
1517
  optional: boolean;
746
- };
1518
+ }>>;
747
1519
  readonly gatePaths: readonly (readonly (string | number)[])[];
748
- config: {
1520
+ config: Readonly<Readonly<{
749
1521
  type: "enable";
750
- values: {
1522
+ values: Readonly<{
1523
+ type: "parameter";
1524
+ }> | Readonly<Readonly<{
751
1525
  type: "select";
752
1526
  readonly options: readonly [string, ...string[]];
753
1527
  defaultValue: string | null;
@@ -755,17 +1529,19 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
755
1529
  labels: {
756
1530
  [x: string]: string;
757
1531
  };
758
- } | {
1532
+ }>> | Readonly<Readonly<{
759
1533
  type: "toggle";
760
1534
  valueType: string;
761
1535
  defaultValue: string | number | boolean | null;
762
1536
  optional: boolean;
763
- };
764
- } | {
1537
+ }>>;
1538
+ }>> | Readonly<Readonly<{
765
1539
  type: "match";
766
1540
  readonly matchPath: readonly (string | number)[];
767
- selectMap: {
768
- [x: string]: {
1541
+ selectMap: Readonly<{
1542
+ type: "parameter";
1543
+ }> | {
1544
+ [x: string]: Readonly<Readonly<{
769
1545
  type: "select";
770
1546
  readonly options: readonly [string, ...string[]];
771
1547
  defaultValue: string | null;
@@ -773,18 +1549,20 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
773
1549
  labels: {
774
1550
  [x: string]: string;
775
1551
  };
776
- } | {
1552
+ }>> | Readonly<Readonly<{
777
1553
  type: "toggle";
778
1554
  valueType: string;
779
1555
  defaultValue: string | number | boolean | null;
780
1556
  optional: boolean;
781
- } | null;
1557
+ }>> | null;
782
1558
  };
783
- } | {
1559
+ }>> | Readonly<Readonly<{
784
1560
  type: "unless";
785
1561
  readonly unlessPath: readonly (string | number)[];
786
1562
  readonly disabledValues: readonly (string | number | boolean | null)[];
787
- values: {
1563
+ values: Readonly<{
1564
+ type: "parameter";
1565
+ }> | Readonly<Readonly<{
788
1566
  type: "select";
789
1567
  readonly options: readonly [string, ...string[]];
790
1568
  defaultValue: string | null;
@@ -792,13 +1570,13 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
792
1570
  labels: {
793
1571
  [x: string]: string;
794
1572
  };
795
- } | {
1573
+ }>> | Readonly<Readonly<{
796
1574
  type: "toggle";
797
1575
  valueType: string;
798
1576
  defaultValue: string | number | boolean | null;
799
1577
  optional: boolean;
800
- };
801
- } | null;
1578
+ }>>;
1579
+ }>> | null;
802
1580
  }>[]>]>;
803
1581
  readonly components: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
804
1582
  readonly name: v.StringSchema<undefined>;
@@ -873,7 +1651,9 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
873
1651
  }, undefined>, v.ReadonlyAction<{
874
1652
  readonly options: readonly Readonly<{
875
1653
  name: string;
876
- values: {
1654
+ values: Readonly<{
1655
+ type: "parameter";
1656
+ }> | Readonly<Readonly<{
877
1657
  type: "select";
878
1658
  readonly options: readonly [string, ...string[]];
879
1659
  defaultValue: string | null;
@@ -881,16 +1661,18 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
881
1661
  labels: {
882
1662
  [x: string]: string;
883
1663
  };
884
- } | {
1664
+ }>> | Readonly<Readonly<{
885
1665
  type: "toggle";
886
1666
  valueType: string;
887
1667
  defaultValue: string | number | boolean | null;
888
1668
  optional: boolean;
889
- };
1669
+ }>>;
890
1670
  readonly gatePaths: readonly (readonly (string | number)[])[];
891
- config: {
1671
+ config: Readonly<Readonly<{
892
1672
  type: "enable";
893
- values: {
1673
+ values: Readonly<{
1674
+ type: "parameter";
1675
+ }> | Readonly<Readonly<{
894
1676
  type: "select";
895
1677
  readonly options: readonly [string, ...string[]];
896
1678
  defaultValue: string | null;
@@ -898,17 +1680,19 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
898
1680
  labels: {
899
1681
  [x: string]: string;
900
1682
  };
901
- } | {
1683
+ }>> | Readonly<Readonly<{
902
1684
  type: "toggle";
903
1685
  valueType: string;
904
1686
  defaultValue: string | number | boolean | null;
905
1687
  optional: boolean;
906
- };
907
- } | {
1688
+ }>>;
1689
+ }>> | Readonly<Readonly<{
908
1690
  type: "match";
909
1691
  readonly matchPath: readonly (string | number)[];
910
- selectMap: {
911
- [x: string]: {
1692
+ selectMap: Readonly<{
1693
+ type: "parameter";
1694
+ }> | {
1695
+ [x: string]: Readonly<Readonly<{
912
1696
  type: "select";
913
1697
  readonly options: readonly [string, ...string[]];
914
1698
  defaultValue: string | null;
@@ -916,18 +1700,20 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
916
1700
  labels: {
917
1701
  [x: string]: string;
918
1702
  };
919
- } | {
1703
+ }>> | Readonly<Readonly<{
920
1704
  type: "toggle";
921
1705
  valueType: string;
922
1706
  defaultValue: string | number | boolean | null;
923
1707
  optional: boolean;
924
- } | null;
1708
+ }>> | null;
925
1709
  };
926
- } | {
1710
+ }>> | Readonly<Readonly<{
927
1711
  type: "unless";
928
1712
  readonly unlessPath: readonly (string | number)[];
929
1713
  readonly disabledValues: readonly (string | number | boolean | null)[];
930
- values: {
1714
+ values: Readonly<{
1715
+ type: "parameter";
1716
+ }> | Readonly<Readonly<{
931
1717
  type: "select";
932
1718
  readonly options: readonly [string, ...string[]];
933
1719
  defaultValue: string | null;
@@ -935,13 +1721,13 @@ export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.Objec
935
1721
  labels: {
936
1722
  [x: string]: string;
937
1723
  };
938
- } | {
1724
+ }>> | Readonly<Readonly<{
939
1725
  type: "toggle";
940
1726
  valueType: string;
941
1727
  defaultValue: string | number | boolean | null;
942
1728
  optional: boolean;
943
- };
944
- } | null;
1729
+ }>>;
1730
+ }>> | null;
945
1731
  }>[];
946
1732
  readonly components: readonly Readonly<{
947
1733
  name: string;