@builder-builder/builder 0.0.9 → 0.0.10
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/entities/bind.d.ts +4 -0
- package/dist/entities/bind.js +44 -0
- package/dist/entities/builder/bind.d.ts +85 -0
- package/dist/entities/builder/bind.js +9 -0
- package/dist/entities/builder/builder.d.ts +111 -92
- package/dist/entities/builder/builder.js +11 -8
- package/dist/entities/builder/builders.d.ts +23 -8
- package/dist/entities/builder/builders.js +6 -5
- package/dist/entities/builder/index.d.ts +3 -3
- package/dist/entities/builder/index.js +1 -1
- package/dist/entities/builder/methods.d.ts +17 -17
- package/dist/entities/builder/state.d.ts +4 -4
- package/dist/entities/builder/validate.js +7 -7
- package/dist/entities/collection/collection.d.ts +6 -5
- package/dist/entities/collection/collection.js +6 -5
- package/dist/entities/collection/config.d.ts +280 -232
- package/dist/entities/collection/config.js +4 -4
- package/dist/entities/collection/index.d.ts +1 -1
- package/dist/entities/collection/index.js +1 -1
- package/dist/entities/collection/when.d.ts +5 -5
- package/dist/entities/component/component.d.ts +91 -90
- package/dist/entities/component/component.js +5 -4
- package/dist/entities/component/details.d.ts +16 -16
- package/dist/entities/component/details.js +2 -2
- package/dist/entities/component/index.d.ts +1 -1
- package/dist/entities/component/index.js +1 -1
- package/dist/entities/component/when.d.ts +5 -5
- package/dist/entities/index.d.ts +10 -8
- package/dist/entities/index.js +7 -6
- package/dist/entities/kind.d.ts +6 -0
- package/dist/entities/kind.js +6 -0
- package/dist/entities/option/index.d.ts +1 -1
- package/dist/entities/option/index.js +1 -1
- package/dist/entities/option/option.d.ts +39 -38
- package/dist/entities/option/option.js +5 -4
- package/dist/entities/option/values.d.ts +5 -7
- package/dist/entities/option/values.js +4 -4
- package/dist/entities/option/when.d.ts +5 -5
- package/dist/entities/serialise.d.ts +1582 -2226
- package/dist/entities/serialise.js +52 -22
- package/dist/entities/ui/bind.d.ts +10 -0
- package/dist/entities/ui/bind.js +9 -0
- package/dist/entities/ui/describe.d.ts +26 -51
- package/dist/entities/ui/describe.js +3 -4
- package/dist/entities/ui/index.d.ts +5 -7
- package/dist/entities/ui/index.js +2 -3
- package/dist/entities/ui/page.d.ts +26 -51
- package/dist/entities/ui/page.js +3 -4
- package/dist/entities/ui/pages.d.ts +17 -405
- package/dist/entities/ui/pages.js +6 -6
- package/dist/entities/ui/ui.d.ts +307 -688
- package/dist/entities/ui/ui.js +16 -17
- package/dist/entities/ui/uis.d.ts +11 -5
- package/dist/entities/ui/uis.js +9 -10
- package/dist/entities/ui/validate.d.ts +2 -2
- package/dist/entities/ui/validate.js +3 -3
- package/dist/entities/validate.d.ts +3 -3
- package/dist/entities/when.d.ts +45 -44
- package/dist/entities/when.js +10 -7
- package/dist/index.d.ts +19 -15
- package/dist/index.js +6 -3
- package/dist/mappers/assert/builder.js +13 -13
- package/dist/mappers/assert/ui.js +4 -4
- package/dist/mappers/index.d.ts +2 -0
- package/dist/mappers/index.js +1 -0
- package/dist/mappers/refs.d.ts +12 -0
- package/dist/mappers/refs.js +36 -0
- package/dist/mappers/render/render.js +3 -3
- package/dist/model.d.ts +29 -8
- package/dist/model.js +9 -1
- package/dist/references.d.ts +55 -29
- package/dist/references.js +25 -10
- package/dist/walker/walker.d.ts +13 -5
- package/dist/walker/walker.js +39 -27
- package/dist/walker/walkers.d.ts +4 -3
- package/dist/walker/walkers.js +18 -14
- package/package.json +9 -7
- package/dist/entities/builder/parameter.d.ts +0 -62
- package/dist/entities/builder/parameter.js +0 -18
- package/dist/entities/ui/label.d.ts +0 -18
- package/dist/entities/ui/label.js +0 -12
- package/dist/entities/ui/parameter.d.ts +0 -7
- package/dist/entities/ui/parameter.js +0 -29
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BuilderGeneric } from '../builder/index';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Paramable } from '../../references';
|
|
3
3
|
import * as v from 'valibot';
|
|
4
|
-
export declare class BuilderCollectionConfig<Builder extends
|
|
4
|
+
export declare class BuilderCollectionConfig<Builder extends Paramable<BuilderGeneric> = Paramable<BuilderGeneric>, Min extends Paramable<number> = Paramable<number>, Max extends Paramable<number> = Paramable<number>> {
|
|
5
5
|
readonly type: 'collection-config';
|
|
6
6
|
readonly builder: Builder;
|
|
7
7
|
readonly min: Min;
|
|
@@ -11,38 +11,38 @@ export declare class BuilderCollectionConfig<Builder extends Refable<BuilderGene
|
|
|
11
11
|
export declare const BuilderCollectionConfigSchema: v.InstanceSchema<typeof BuilderCollectionConfig, undefined>;
|
|
12
12
|
export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
13
13
|
readonly builder: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
14
|
-
readonly type: v.LiteralSchema<"
|
|
14
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
15
15
|
readonly id: v.StringSchema<undefined>;
|
|
16
16
|
readonly name: v.StringSchema<undefined>;
|
|
17
17
|
}, undefined>, v.ReadonlyAction<{
|
|
18
|
-
type: "
|
|
18
|
+
type: "parameter";
|
|
19
19
|
id: string;
|
|
20
20
|
name: string;
|
|
21
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
22
|
-
readonly
|
|
23
|
-
readonly type: v.LiteralSchema<"
|
|
21
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.LazySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
22
|
+
readonly parameters: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
23
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
24
24
|
readonly id: v.StringSchema<undefined>;
|
|
25
25
|
readonly name: v.StringSchema<undefined>;
|
|
26
26
|
}, undefined>, v.ReadonlyAction<{
|
|
27
|
-
type: "
|
|
27
|
+
type: "parameter";
|
|
28
28
|
id: string;
|
|
29
29
|
name: string;
|
|
30
30
|
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
31
|
-
type: "
|
|
31
|
+
type: "parameter";
|
|
32
32
|
id: string;
|
|
33
33
|
name: string;
|
|
34
34
|
}>[]>]>;
|
|
35
35
|
readonly options: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
36
36
|
readonly name: v.StringSchema<undefined>;
|
|
37
37
|
readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
38
|
-
readonly type: v.LiteralSchema<"
|
|
38
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
39
39
|
readonly id: v.StringSchema<undefined>;
|
|
40
40
|
readonly name: v.StringSchema<undefined>;
|
|
41
41
|
}, undefined>, v.ReadonlyAction<{
|
|
42
|
-
type: "
|
|
42
|
+
type: "parameter";
|
|
43
43
|
id: string;
|
|
44
44
|
name: string;
|
|
45
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
45
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
46
46
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
47
47
|
readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
|
|
48
48
|
readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -99,7 +99,7 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
99
99
|
defaultValue: string | number | boolean | null;
|
|
100
100
|
isOptional: boolean;
|
|
101
101
|
}>>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
|
|
102
|
-
readonly
|
|
102
|
+
readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
103
103
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
104
104
|
readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
|
|
105
105
|
readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -158,68 +158,68 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
158
158
|
}>>]>, v.GenericSchema], undefined>;
|
|
159
159
|
}>]>;
|
|
160
160
|
readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
161
|
-
readonly type: v.LiteralSchema<"
|
|
161
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
162
162
|
readonly id: v.StringSchema<undefined>;
|
|
163
163
|
readonly name: v.StringSchema<undefined>;
|
|
164
164
|
}, undefined>, v.ReadonlyAction<{
|
|
165
|
-
type: "
|
|
165
|
+
type: "parameter";
|
|
166
166
|
id: string;
|
|
167
167
|
name: string;
|
|
168
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
169
|
-
type: "
|
|
168
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, 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)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
|
|
169
|
+
type: "parameter";
|
|
170
170
|
id: string;
|
|
171
171
|
name: string;
|
|
172
|
-
}>, {
|
|
173
|
-
readonly
|
|
172
|
+
}> | import("../..").BuilderParameter<string>, {
|
|
173
|
+
readonly paramable: 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)[])[]>]>;
|
|
174
174
|
}>]>, undefined>;
|
|
175
175
|
}, undefined>, v.MetadataAction<{
|
|
176
176
|
name: string;
|
|
177
177
|
payload: unknown;
|
|
178
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
179
|
-
type: "
|
|
178
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
179
|
+
type: "parameter";
|
|
180
180
|
id: string;
|
|
181
181
|
name: string;
|
|
182
|
-
}> | undefined;
|
|
182
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
183
183
|
}, {
|
|
184
184
|
readonly serialisable: typeof import("..").BuilderOption;
|
|
185
185
|
readonly instance: v.InstanceSchema<typeof import("..").BuilderOption, undefined>;
|
|
186
186
|
}>, v.ReadonlyAction<{
|
|
187
187
|
name: string;
|
|
188
188
|
payload: unknown;
|
|
189
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
190
|
-
type: "
|
|
189
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
190
|
+
type: "parameter";
|
|
191
191
|
id: string;
|
|
192
192
|
name: string;
|
|
193
|
-
}> | undefined;
|
|
193
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
194
194
|
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
195
195
|
name: string;
|
|
196
196
|
payload: unknown;
|
|
197
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
198
|
-
type: "
|
|
197
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
198
|
+
type: "parameter";
|
|
199
199
|
id: string;
|
|
200
200
|
name: string;
|
|
201
|
-
}> | undefined;
|
|
201
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
202
202
|
}>[]>]>;
|
|
203
203
|
readonly components: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
204
204
|
readonly name: v.StringSchema<undefined>;
|
|
205
205
|
readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
206
|
-
readonly type: v.LiteralSchema<"
|
|
206
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
207
207
|
readonly id: v.StringSchema<undefined>;
|
|
208
208
|
readonly name: v.StringSchema<undefined>;
|
|
209
209
|
}, undefined>, v.ReadonlyAction<{
|
|
210
|
-
type: "
|
|
210
|
+
type: "parameter";
|
|
211
211
|
id: string;
|
|
212
212
|
name: string;
|
|
213
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
213
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
214
214
|
readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
215
|
-
readonly type: v.LiteralSchema<"
|
|
215
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
216
216
|
readonly id: v.StringSchema<undefined>;
|
|
217
217
|
readonly name: v.StringSchema<undefined>;
|
|
218
218
|
}, undefined>, v.ReadonlyAction<{
|
|
219
|
-
type: "
|
|
219
|
+
type: "parameter";
|
|
220
220
|
id: string;
|
|
221
221
|
name: string;
|
|
222
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
222
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
223
223
|
readonly name: v.StringSchema<undefined>;
|
|
224
224
|
readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
|
|
225
225
|
}, undefined>, v.MetadataAction<{
|
|
@@ -234,15 +234,15 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
234
234
|
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
235
235
|
name: string;
|
|
236
236
|
kind: "option" | "component" | "collection" | "detail";
|
|
237
|
-
}>[]>]>], undefined>, v.MetadataAction<
|
|
238
|
-
type: "
|
|
237
|
+
}>[]>]>], undefined>, v.MetadataAction<Readonly<{
|
|
238
|
+
type: "parameter";
|
|
239
239
|
id: string;
|
|
240
240
|
name: string;
|
|
241
|
-
}> | readonly Readonly<{
|
|
241
|
+
}> | import("../..").BuilderParameter<string> | readonly Readonly<{
|
|
242
242
|
name: string;
|
|
243
243
|
kind: "option" | "component" | "collection" | "detail";
|
|
244
244
|
}>[], {
|
|
245
|
-
readonly
|
|
245
|
+
readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
246
246
|
readonly name: v.StringSchema<undefined>;
|
|
247
247
|
readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
|
|
248
248
|
}, undefined>, v.MetadataAction<{
|
|
@@ -260,11 +260,11 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
260
260
|
}>[]>]>;
|
|
261
261
|
}>]>;
|
|
262
262
|
}, undefined>, v.MetadataAction<{
|
|
263
|
-
expectations:
|
|
264
|
-
type: "
|
|
263
|
+
expectations: Readonly<{
|
|
264
|
+
type: "parameter";
|
|
265
265
|
id: string;
|
|
266
266
|
name: string;
|
|
267
|
-
}> | readonly Readonly<{
|
|
267
|
+
}> | import("../..").BuilderParameter<string> | readonly Readonly<{
|
|
268
268
|
name: string;
|
|
269
269
|
kind: "option" | "component" | "collection" | "detail";
|
|
270
270
|
}>[];
|
|
@@ -272,25 +272,25 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
272
272
|
readonly serialisable: typeof import("..").BuilderComponentDetails;
|
|
273
273
|
readonly instance: v.InstanceSchema<typeof import("..").BuilderComponentDetails, undefined>;
|
|
274
274
|
}>, v.ReadonlyAction<{
|
|
275
|
-
expectations:
|
|
276
|
-
type: "
|
|
275
|
+
expectations: Readonly<{
|
|
276
|
+
type: "parameter";
|
|
277
277
|
id: string;
|
|
278
278
|
name: string;
|
|
279
|
-
}> | readonly Readonly<{
|
|
279
|
+
}> | import("../..").BuilderParameter<string> | readonly Readonly<{
|
|
280
280
|
name: string;
|
|
281
281
|
kind: "option" | "component" | "collection" | "detail";
|
|
282
282
|
}>[];
|
|
283
283
|
}>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
|
|
284
|
-
readonly
|
|
284
|
+
readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
285
285
|
readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
286
|
-
readonly type: v.LiteralSchema<"
|
|
286
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
287
287
|
readonly id: v.StringSchema<undefined>;
|
|
288
288
|
readonly name: v.StringSchema<undefined>;
|
|
289
289
|
}, undefined>, v.ReadonlyAction<{
|
|
290
|
-
type: "
|
|
290
|
+
type: "parameter";
|
|
291
291
|
id: string;
|
|
292
292
|
name: string;
|
|
293
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
293
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
294
294
|
readonly name: v.StringSchema<undefined>;
|
|
295
295
|
readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
|
|
296
296
|
}, undefined>, v.MetadataAction<{
|
|
@@ -305,15 +305,15 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
305
305
|
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
306
306
|
name: string;
|
|
307
307
|
kind: "option" | "component" | "collection" | "detail";
|
|
308
|
-
}>[]>]>], undefined>, v.MetadataAction<
|
|
309
|
-
type: "
|
|
308
|
+
}>[]>]>], undefined>, v.MetadataAction<Readonly<{
|
|
309
|
+
type: "parameter";
|
|
310
310
|
id: string;
|
|
311
311
|
name: string;
|
|
312
|
-
}> | readonly Readonly<{
|
|
312
|
+
}> | import("../..").BuilderParameter<string> | readonly Readonly<{
|
|
313
313
|
name: string;
|
|
314
314
|
kind: "option" | "component" | "collection" | "detail";
|
|
315
315
|
}>[], {
|
|
316
|
-
readonly
|
|
316
|
+
readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
317
317
|
readonly name: v.StringSchema<undefined>;
|
|
318
318
|
readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
|
|
319
319
|
}, undefined>, v.MetadataAction<{
|
|
@@ -331,11 +331,11 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
331
331
|
}>[]>]>;
|
|
332
332
|
}>]>;
|
|
333
333
|
}, undefined>, v.MetadataAction<{
|
|
334
|
-
expectations:
|
|
335
|
-
type: "
|
|
334
|
+
expectations: Readonly<{
|
|
335
|
+
type: "parameter";
|
|
336
336
|
id: string;
|
|
337
337
|
name: string;
|
|
338
|
-
}> | readonly Readonly<{
|
|
338
|
+
}> | import("../..").BuilderParameter<string> | readonly Readonly<{
|
|
339
339
|
name: string;
|
|
340
340
|
kind: "option" | "component" | "collection" | "detail";
|
|
341
341
|
}>[];
|
|
@@ -343,58 +343,58 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
343
343
|
readonly serialisable: typeof import("..").BuilderComponentDetails;
|
|
344
344
|
readonly instance: v.InstanceSchema<typeof import("..").BuilderComponentDetails, undefined>;
|
|
345
345
|
}>, v.ReadonlyAction<{
|
|
346
|
-
expectations:
|
|
347
|
-
type: "
|
|
346
|
+
expectations: Readonly<{
|
|
347
|
+
type: "parameter";
|
|
348
348
|
id: string;
|
|
349
349
|
name: string;
|
|
350
|
-
}> | readonly Readonly<{
|
|
350
|
+
}> | import("../..").BuilderParameter<string> | readonly Readonly<{
|
|
351
351
|
name: string;
|
|
352
352
|
kind: "option" | "component" | "collection" | "detail";
|
|
353
353
|
}>[];
|
|
354
354
|
}>]>, v.GenericSchema], undefined>;
|
|
355
355
|
}>]>;
|
|
356
356
|
readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
357
|
-
readonly type: v.LiteralSchema<"
|
|
357
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
358
358
|
readonly id: v.StringSchema<undefined>;
|
|
359
359
|
readonly name: v.StringSchema<undefined>;
|
|
360
360
|
}, undefined>, v.ReadonlyAction<{
|
|
361
|
-
type: "
|
|
361
|
+
type: "parameter";
|
|
362
362
|
id: string;
|
|
363
363
|
name: string;
|
|
364
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
365
|
-
type: "
|
|
364
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, 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)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
|
|
365
|
+
type: "parameter";
|
|
366
366
|
id: string;
|
|
367
367
|
name: string;
|
|
368
|
-
}>, {
|
|
369
|
-
readonly
|
|
368
|
+
}> | import("../..").BuilderParameter<string>, {
|
|
369
|
+
readonly paramable: 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)[])[]>]>;
|
|
370
370
|
}>]>, undefined>;
|
|
371
371
|
}, undefined>, v.MetadataAction<{
|
|
372
372
|
name: string;
|
|
373
373
|
payload: unknown;
|
|
374
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
375
|
-
type: "
|
|
374
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
375
|
+
type: "parameter";
|
|
376
376
|
id: string;
|
|
377
377
|
name: string;
|
|
378
|
-
}> | undefined;
|
|
378
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
379
379
|
}, {
|
|
380
380
|
readonly serialisable: typeof import("..").BuilderComponent;
|
|
381
381
|
readonly instance: v.InstanceSchema<typeof import("..").BuilderComponent, undefined>;
|
|
382
382
|
}>, v.ReadonlyAction<{
|
|
383
383
|
name: string;
|
|
384
384
|
payload: unknown;
|
|
385
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
386
|
-
type: "
|
|
385
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
386
|
+
type: "parameter";
|
|
387
387
|
id: string;
|
|
388
388
|
name: string;
|
|
389
|
-
}> | undefined;
|
|
389
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
390
390
|
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
391
391
|
name: string;
|
|
392
392
|
payload: unknown;
|
|
393
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
394
|
-
type: "
|
|
393
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
394
|
+
type: "parameter";
|
|
395
395
|
id: string;
|
|
396
396
|
name: string;
|
|
397
|
-
}> | undefined;
|
|
397
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
398
398
|
}>[]>]>;
|
|
399
399
|
readonly collections: v.SchemaWithPipe<readonly [v.ArraySchema<v.GenericSchema<import("./collection").BuilderCollectionSerialised>, undefined>, v.ReadonlyAction<import("./collection").BuilderCollectionSerialised[]>]>;
|
|
400
400
|
readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -413,126 +413,148 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
413
413
|
name: string;
|
|
414
414
|
kind: "option" | "component" | "collection" | "detail";
|
|
415
415
|
}>[]>]>;
|
|
416
|
+
readonly references: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
417
|
+
readonly parameter: v.StringSchema<undefined>;
|
|
418
|
+
readonly id: v.StringSchema<undefined>;
|
|
419
|
+
}, undefined>, v.ReadonlyAction<{
|
|
420
|
+
parameter: string;
|
|
421
|
+
id: string;
|
|
422
|
+
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
423
|
+
parameter: string;
|
|
424
|
+
id: string;
|
|
425
|
+
}>[]>]>;
|
|
416
426
|
}, undefined>, v.MetadataAction<{
|
|
417
|
-
readonly
|
|
418
|
-
type: "
|
|
427
|
+
readonly parameters: readonly Readonly<{
|
|
428
|
+
type: "parameter";
|
|
419
429
|
id: string;
|
|
420
430
|
name: string;
|
|
421
431
|
}>[];
|
|
422
432
|
readonly options: readonly Readonly<{
|
|
423
433
|
name: string;
|
|
424
434
|
payload: unknown;
|
|
425
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
426
|
-
type: "
|
|
435
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
436
|
+
type: "parameter";
|
|
427
437
|
id: string;
|
|
428
438
|
name: string;
|
|
429
|
-
}> | undefined;
|
|
439
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
430
440
|
}>[];
|
|
431
441
|
readonly components: readonly Readonly<{
|
|
432
442
|
name: string;
|
|
433
443
|
payload: unknown;
|
|
434
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
435
|
-
type: "
|
|
444
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
445
|
+
type: "parameter";
|
|
436
446
|
id: string;
|
|
437
447
|
name: string;
|
|
438
|
-
}> | undefined;
|
|
448
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
439
449
|
}>[];
|
|
440
450
|
readonly collections: readonly import("./collection").BuilderCollectionSerialised[];
|
|
441
451
|
readonly expectations: readonly Readonly<{
|
|
442
452
|
name: string;
|
|
443
453
|
kind: "option" | "component" | "collection" | "detail";
|
|
444
454
|
}>[];
|
|
455
|
+
readonly references: readonly Readonly<{
|
|
456
|
+
parameter: string;
|
|
457
|
+
id: string;
|
|
458
|
+
}>[];
|
|
445
459
|
}, {
|
|
446
460
|
readonly serialisable: typeof import("..").Builder;
|
|
447
461
|
readonly instance: v.InstanceSchema<typeof import("..").Builder, undefined>;
|
|
448
462
|
}>, v.ReadonlyAction<{
|
|
449
|
-
readonly
|
|
450
|
-
type: "
|
|
463
|
+
readonly parameters: readonly Readonly<{
|
|
464
|
+
type: "parameter";
|
|
451
465
|
id: string;
|
|
452
466
|
name: string;
|
|
453
467
|
}>[];
|
|
454
468
|
readonly options: readonly Readonly<{
|
|
455
469
|
name: string;
|
|
456
470
|
payload: unknown;
|
|
457
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
458
|
-
type: "
|
|
471
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
472
|
+
type: "parameter";
|
|
459
473
|
id: string;
|
|
460
474
|
name: string;
|
|
461
|
-
}> | undefined;
|
|
475
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
462
476
|
}>[];
|
|
463
477
|
readonly components: readonly Readonly<{
|
|
464
478
|
name: string;
|
|
465
479
|
payload: unknown;
|
|
466
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
467
|
-
type: "
|
|
480
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
481
|
+
type: "parameter";
|
|
468
482
|
id: string;
|
|
469
483
|
name: string;
|
|
470
|
-
}> | undefined;
|
|
484
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
471
485
|
}>[];
|
|
472
486
|
readonly collections: readonly import("./collection").BuilderCollectionSerialised[];
|
|
473
487
|
readonly expectations: readonly Readonly<{
|
|
474
488
|
name: string;
|
|
475
489
|
kind: "option" | "component" | "collection" | "detail";
|
|
476
490
|
}>[];
|
|
477
|
-
|
|
478
|
-
|
|
491
|
+
readonly references: readonly Readonly<{
|
|
492
|
+
parameter: string;
|
|
493
|
+
id: string;
|
|
494
|
+
}>[];
|
|
495
|
+
}>]>>], undefined>, v.MetadataAction<Readonly<{
|
|
496
|
+
type: "parameter";
|
|
479
497
|
id: string;
|
|
480
498
|
name: string;
|
|
481
|
-
}> | Readonly<{
|
|
482
|
-
readonly
|
|
483
|
-
type: "
|
|
499
|
+
}> | import("../..").BuilderParameter<string> | Readonly<{
|
|
500
|
+
readonly parameters: readonly Readonly<{
|
|
501
|
+
type: "parameter";
|
|
484
502
|
id: string;
|
|
485
503
|
name: string;
|
|
486
504
|
}>[];
|
|
487
505
|
readonly options: readonly Readonly<{
|
|
488
506
|
name: string;
|
|
489
507
|
payload: unknown;
|
|
490
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
491
|
-
type: "
|
|
508
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
509
|
+
type: "parameter";
|
|
492
510
|
id: string;
|
|
493
511
|
name: string;
|
|
494
|
-
}> | undefined;
|
|
512
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
495
513
|
}>[];
|
|
496
514
|
readonly components: readonly Readonly<{
|
|
497
515
|
name: string;
|
|
498
516
|
payload: unknown;
|
|
499
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
500
|
-
type: "
|
|
517
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
518
|
+
type: "parameter";
|
|
501
519
|
id: string;
|
|
502
520
|
name: string;
|
|
503
|
-
}> | undefined;
|
|
521
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
504
522
|
}>[];
|
|
505
523
|
readonly collections: readonly import("./collection").BuilderCollectionSerialised[];
|
|
506
524
|
readonly expectations: readonly Readonly<{
|
|
507
525
|
name: string;
|
|
508
526
|
kind: "option" | "component" | "collection" | "detail";
|
|
509
527
|
}>[];
|
|
528
|
+
readonly references: readonly Readonly<{
|
|
529
|
+
parameter: string;
|
|
530
|
+
id: string;
|
|
531
|
+
}>[];
|
|
510
532
|
}>, {
|
|
511
|
-
readonly
|
|
512
|
-
readonly
|
|
513
|
-
readonly type: v.LiteralSchema<"
|
|
533
|
+
readonly paramable: v.LazySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
534
|
+
readonly parameters: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
535
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
514
536
|
readonly id: v.StringSchema<undefined>;
|
|
515
537
|
readonly name: v.StringSchema<undefined>;
|
|
516
538
|
}, undefined>, v.ReadonlyAction<{
|
|
517
|
-
type: "
|
|
539
|
+
type: "parameter";
|
|
518
540
|
id: string;
|
|
519
541
|
name: string;
|
|
520
542
|
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
521
|
-
type: "
|
|
543
|
+
type: "parameter";
|
|
522
544
|
id: string;
|
|
523
545
|
name: string;
|
|
524
546
|
}>[]>]>;
|
|
525
547
|
readonly options: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
526
548
|
readonly name: v.StringSchema<undefined>;
|
|
527
549
|
readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
528
|
-
readonly type: v.LiteralSchema<"
|
|
550
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
529
551
|
readonly id: v.StringSchema<undefined>;
|
|
530
552
|
readonly name: v.StringSchema<undefined>;
|
|
531
553
|
}, undefined>, v.ReadonlyAction<{
|
|
532
|
-
type: "
|
|
554
|
+
type: "parameter";
|
|
533
555
|
id: string;
|
|
534
556
|
name: string;
|
|
535
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
557
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
536
558
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
537
559
|
readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
|
|
538
560
|
readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -589,7 +611,7 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
589
611
|
defaultValue: string | number | boolean | null;
|
|
590
612
|
isOptional: boolean;
|
|
591
613
|
}>>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
|
|
592
|
-
readonly
|
|
614
|
+
readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
593
615
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
594
616
|
readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
|
|
595
617
|
readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -648,68 +670,68 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
648
670
|
}>>]>, v.GenericSchema], undefined>;
|
|
649
671
|
}>]>;
|
|
650
672
|
readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
651
|
-
readonly type: v.LiteralSchema<"
|
|
673
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
652
674
|
readonly id: v.StringSchema<undefined>;
|
|
653
675
|
readonly name: v.StringSchema<undefined>;
|
|
654
676
|
}, undefined>, v.ReadonlyAction<{
|
|
655
|
-
type: "
|
|
677
|
+
type: "parameter";
|
|
656
678
|
id: string;
|
|
657
679
|
name: string;
|
|
658
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
659
|
-
type: "
|
|
680
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, 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)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
|
|
681
|
+
type: "parameter";
|
|
660
682
|
id: string;
|
|
661
683
|
name: string;
|
|
662
|
-
}>, {
|
|
663
|
-
readonly
|
|
684
|
+
}> | import("../..").BuilderParameter<string>, {
|
|
685
|
+
readonly paramable: 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)[])[]>]>;
|
|
664
686
|
}>]>, undefined>;
|
|
665
687
|
}, undefined>, v.MetadataAction<{
|
|
666
688
|
name: string;
|
|
667
689
|
payload: unknown;
|
|
668
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
669
|
-
type: "
|
|
690
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
691
|
+
type: "parameter";
|
|
670
692
|
id: string;
|
|
671
693
|
name: string;
|
|
672
|
-
}> | undefined;
|
|
694
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
673
695
|
}, {
|
|
674
696
|
readonly serialisable: typeof import("..").BuilderOption;
|
|
675
697
|
readonly instance: v.InstanceSchema<typeof import("..").BuilderOption, undefined>;
|
|
676
698
|
}>, v.ReadonlyAction<{
|
|
677
699
|
name: string;
|
|
678
700
|
payload: unknown;
|
|
679
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
680
|
-
type: "
|
|
701
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
702
|
+
type: "parameter";
|
|
681
703
|
id: string;
|
|
682
704
|
name: string;
|
|
683
|
-
}> | undefined;
|
|
705
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
684
706
|
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
685
707
|
name: string;
|
|
686
708
|
payload: unknown;
|
|
687
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
688
|
-
type: "
|
|
709
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
710
|
+
type: "parameter";
|
|
689
711
|
id: string;
|
|
690
712
|
name: string;
|
|
691
|
-
}> | undefined;
|
|
713
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
692
714
|
}>[]>]>;
|
|
693
715
|
readonly components: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
694
716
|
readonly name: v.StringSchema<undefined>;
|
|
695
717
|
readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
696
|
-
readonly type: v.LiteralSchema<"
|
|
718
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
697
719
|
readonly id: v.StringSchema<undefined>;
|
|
698
720
|
readonly name: v.StringSchema<undefined>;
|
|
699
721
|
}, undefined>, v.ReadonlyAction<{
|
|
700
|
-
type: "
|
|
722
|
+
type: "parameter";
|
|
701
723
|
id: string;
|
|
702
724
|
name: string;
|
|
703
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
725
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
704
726
|
readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
705
|
-
readonly type: v.LiteralSchema<"
|
|
727
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
706
728
|
readonly id: v.StringSchema<undefined>;
|
|
707
729
|
readonly name: v.StringSchema<undefined>;
|
|
708
730
|
}, undefined>, v.ReadonlyAction<{
|
|
709
|
-
type: "
|
|
731
|
+
type: "parameter";
|
|
710
732
|
id: string;
|
|
711
733
|
name: string;
|
|
712
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
734
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
713
735
|
readonly name: v.StringSchema<undefined>;
|
|
714
736
|
readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
|
|
715
737
|
}, undefined>, v.MetadataAction<{
|
|
@@ -724,15 +746,15 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
724
746
|
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
725
747
|
name: string;
|
|
726
748
|
kind: "option" | "component" | "collection" | "detail";
|
|
727
|
-
}>[]>]>], undefined>, v.MetadataAction<
|
|
728
|
-
type: "
|
|
749
|
+
}>[]>]>], undefined>, v.MetadataAction<Readonly<{
|
|
750
|
+
type: "parameter";
|
|
729
751
|
id: string;
|
|
730
752
|
name: string;
|
|
731
|
-
}> | readonly Readonly<{
|
|
753
|
+
}> | import("../..").BuilderParameter<string> | readonly Readonly<{
|
|
732
754
|
name: string;
|
|
733
755
|
kind: "option" | "component" | "collection" | "detail";
|
|
734
756
|
}>[], {
|
|
735
|
-
readonly
|
|
757
|
+
readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
736
758
|
readonly name: v.StringSchema<undefined>;
|
|
737
759
|
readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
|
|
738
760
|
}, undefined>, v.MetadataAction<{
|
|
@@ -750,11 +772,11 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
750
772
|
}>[]>]>;
|
|
751
773
|
}>]>;
|
|
752
774
|
}, undefined>, v.MetadataAction<{
|
|
753
|
-
expectations:
|
|
754
|
-
type: "
|
|
775
|
+
expectations: Readonly<{
|
|
776
|
+
type: "parameter";
|
|
755
777
|
id: string;
|
|
756
778
|
name: string;
|
|
757
|
-
}> | readonly Readonly<{
|
|
779
|
+
}> | import("../..").BuilderParameter<string> | readonly Readonly<{
|
|
758
780
|
name: string;
|
|
759
781
|
kind: "option" | "component" | "collection" | "detail";
|
|
760
782
|
}>[];
|
|
@@ -762,25 +784,25 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
762
784
|
readonly serialisable: typeof import("..").BuilderComponentDetails;
|
|
763
785
|
readonly instance: v.InstanceSchema<typeof import("..").BuilderComponentDetails, undefined>;
|
|
764
786
|
}>, v.ReadonlyAction<{
|
|
765
|
-
expectations:
|
|
766
|
-
type: "
|
|
787
|
+
expectations: Readonly<{
|
|
788
|
+
type: "parameter";
|
|
767
789
|
id: string;
|
|
768
790
|
name: string;
|
|
769
|
-
}> | readonly Readonly<{
|
|
791
|
+
}> | import("../..").BuilderParameter<string> | readonly Readonly<{
|
|
770
792
|
name: string;
|
|
771
793
|
kind: "option" | "component" | "collection" | "detail";
|
|
772
794
|
}>[];
|
|
773
795
|
}>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
|
|
774
|
-
readonly
|
|
796
|
+
readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
775
797
|
readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
776
|
-
readonly type: v.LiteralSchema<"
|
|
798
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
777
799
|
readonly id: v.StringSchema<undefined>;
|
|
778
800
|
readonly name: v.StringSchema<undefined>;
|
|
779
801
|
}, undefined>, v.ReadonlyAction<{
|
|
780
|
-
type: "
|
|
802
|
+
type: "parameter";
|
|
781
803
|
id: string;
|
|
782
804
|
name: string;
|
|
783
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
805
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
784
806
|
readonly name: v.StringSchema<undefined>;
|
|
785
807
|
readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
|
|
786
808
|
}, undefined>, v.MetadataAction<{
|
|
@@ -795,15 +817,15 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
795
817
|
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
796
818
|
name: string;
|
|
797
819
|
kind: "option" | "component" | "collection" | "detail";
|
|
798
|
-
}>[]>]>], undefined>, v.MetadataAction<
|
|
799
|
-
type: "
|
|
820
|
+
}>[]>]>], undefined>, v.MetadataAction<Readonly<{
|
|
821
|
+
type: "parameter";
|
|
800
822
|
id: string;
|
|
801
823
|
name: string;
|
|
802
|
-
}> | readonly Readonly<{
|
|
824
|
+
}> | import("../..").BuilderParameter<string> | readonly Readonly<{
|
|
803
825
|
name: string;
|
|
804
826
|
kind: "option" | "component" | "collection" | "detail";
|
|
805
827
|
}>[], {
|
|
806
|
-
readonly
|
|
828
|
+
readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
807
829
|
readonly name: v.StringSchema<undefined>;
|
|
808
830
|
readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
|
|
809
831
|
}, undefined>, v.MetadataAction<{
|
|
@@ -821,11 +843,11 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
821
843
|
}>[]>]>;
|
|
822
844
|
}>]>;
|
|
823
845
|
}, undefined>, v.MetadataAction<{
|
|
824
|
-
expectations:
|
|
825
|
-
type: "
|
|
846
|
+
expectations: Readonly<{
|
|
847
|
+
type: "parameter";
|
|
826
848
|
id: string;
|
|
827
849
|
name: string;
|
|
828
|
-
}> | readonly Readonly<{
|
|
850
|
+
}> | import("../..").BuilderParameter<string> | readonly Readonly<{
|
|
829
851
|
name: string;
|
|
830
852
|
kind: "option" | "component" | "collection" | "detail";
|
|
831
853
|
}>[];
|
|
@@ -833,58 +855,58 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
833
855
|
readonly serialisable: typeof import("..").BuilderComponentDetails;
|
|
834
856
|
readonly instance: v.InstanceSchema<typeof import("..").BuilderComponentDetails, undefined>;
|
|
835
857
|
}>, v.ReadonlyAction<{
|
|
836
|
-
expectations:
|
|
837
|
-
type: "
|
|
858
|
+
expectations: Readonly<{
|
|
859
|
+
type: "parameter";
|
|
838
860
|
id: string;
|
|
839
861
|
name: string;
|
|
840
|
-
}> | readonly Readonly<{
|
|
862
|
+
}> | import("../..").BuilderParameter<string> | readonly Readonly<{
|
|
841
863
|
name: string;
|
|
842
864
|
kind: "option" | "component" | "collection" | "detail";
|
|
843
865
|
}>[];
|
|
844
866
|
}>]>, v.GenericSchema], undefined>;
|
|
845
867
|
}>]>;
|
|
846
868
|
readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
847
|
-
readonly type: v.LiteralSchema<"
|
|
869
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
848
870
|
readonly id: v.StringSchema<undefined>;
|
|
849
871
|
readonly name: v.StringSchema<undefined>;
|
|
850
872
|
}, undefined>, v.ReadonlyAction<{
|
|
851
|
-
type: "
|
|
873
|
+
type: "parameter";
|
|
852
874
|
id: string;
|
|
853
875
|
name: string;
|
|
854
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
855
|
-
type: "
|
|
876
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, 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)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
|
|
877
|
+
type: "parameter";
|
|
856
878
|
id: string;
|
|
857
879
|
name: string;
|
|
858
|
-
}>, {
|
|
859
|
-
readonly
|
|
880
|
+
}> | import("../..").BuilderParameter<string>, {
|
|
881
|
+
readonly paramable: 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)[])[]>]>;
|
|
860
882
|
}>]>, undefined>;
|
|
861
883
|
}, undefined>, v.MetadataAction<{
|
|
862
884
|
name: string;
|
|
863
885
|
payload: unknown;
|
|
864
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
865
|
-
type: "
|
|
886
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
887
|
+
type: "parameter";
|
|
866
888
|
id: string;
|
|
867
889
|
name: string;
|
|
868
|
-
}> | undefined;
|
|
890
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
869
891
|
}, {
|
|
870
892
|
readonly serialisable: typeof import("..").BuilderComponent;
|
|
871
893
|
readonly instance: v.InstanceSchema<typeof import("..").BuilderComponent, undefined>;
|
|
872
894
|
}>, v.ReadonlyAction<{
|
|
873
895
|
name: string;
|
|
874
896
|
payload: unknown;
|
|
875
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
876
|
-
type: "
|
|
897
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
898
|
+
type: "parameter";
|
|
877
899
|
id: string;
|
|
878
900
|
name: string;
|
|
879
|
-
}> | undefined;
|
|
901
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
880
902
|
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
881
903
|
name: string;
|
|
882
904
|
payload: unknown;
|
|
883
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
884
|
-
type: "
|
|
905
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
906
|
+
type: "parameter";
|
|
885
907
|
id: string;
|
|
886
908
|
name: string;
|
|
887
|
-
}> | undefined;
|
|
909
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
888
910
|
}>[]>]>;
|
|
889
911
|
readonly collections: v.SchemaWithPipe<readonly [v.ArraySchema<v.GenericSchema<import("./collection").BuilderCollectionSerialised>, undefined>, v.ReadonlyAction<import("./collection").BuilderCollectionSerialised[]>]>;
|
|
890
912
|
readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -903,192 +925,218 @@ export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<r
|
|
|
903
925
|
name: string;
|
|
904
926
|
kind: "option" | "component" | "collection" | "detail";
|
|
905
927
|
}>[]>]>;
|
|
928
|
+
readonly references: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
929
|
+
readonly parameter: v.StringSchema<undefined>;
|
|
930
|
+
readonly id: v.StringSchema<undefined>;
|
|
931
|
+
}, undefined>, v.ReadonlyAction<{
|
|
932
|
+
parameter: string;
|
|
933
|
+
id: string;
|
|
934
|
+
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
935
|
+
parameter: string;
|
|
936
|
+
id: string;
|
|
937
|
+
}>[]>]>;
|
|
906
938
|
}, undefined>, v.MetadataAction<{
|
|
907
|
-
readonly
|
|
908
|
-
type: "
|
|
939
|
+
readonly parameters: readonly Readonly<{
|
|
940
|
+
type: "parameter";
|
|
909
941
|
id: string;
|
|
910
942
|
name: string;
|
|
911
943
|
}>[];
|
|
912
944
|
readonly options: readonly Readonly<{
|
|
913
945
|
name: string;
|
|
914
946
|
payload: unknown;
|
|
915
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
916
|
-
type: "
|
|
947
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
948
|
+
type: "parameter";
|
|
917
949
|
id: string;
|
|
918
950
|
name: string;
|
|
919
|
-
}> | undefined;
|
|
951
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
920
952
|
}>[];
|
|
921
953
|
readonly components: readonly Readonly<{
|
|
922
954
|
name: string;
|
|
923
955
|
payload: unknown;
|
|
924
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
925
|
-
type: "
|
|
956
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
957
|
+
type: "parameter";
|
|
926
958
|
id: string;
|
|
927
959
|
name: string;
|
|
928
|
-
}> | undefined;
|
|
960
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
929
961
|
}>[];
|
|
930
962
|
readonly collections: readonly import("./collection").BuilderCollectionSerialised[];
|
|
931
963
|
readonly expectations: readonly Readonly<{
|
|
932
964
|
name: string;
|
|
933
965
|
kind: "option" | "component" | "collection" | "detail";
|
|
934
966
|
}>[];
|
|
967
|
+
readonly references: readonly Readonly<{
|
|
968
|
+
parameter: string;
|
|
969
|
+
id: string;
|
|
970
|
+
}>[];
|
|
935
971
|
}, {
|
|
936
972
|
readonly serialisable: typeof import("..").Builder;
|
|
937
973
|
readonly instance: v.InstanceSchema<typeof import("..").Builder, undefined>;
|
|
938
974
|
}>, v.ReadonlyAction<{
|
|
939
|
-
readonly
|
|
940
|
-
type: "
|
|
975
|
+
readonly parameters: readonly Readonly<{
|
|
976
|
+
type: "parameter";
|
|
941
977
|
id: string;
|
|
942
978
|
name: string;
|
|
943
979
|
}>[];
|
|
944
980
|
readonly options: readonly Readonly<{
|
|
945
981
|
name: string;
|
|
946
982
|
payload: unknown;
|
|
947
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
948
|
-
type: "
|
|
983
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
984
|
+
type: "parameter";
|
|
949
985
|
id: string;
|
|
950
986
|
name: string;
|
|
951
|
-
}> | undefined;
|
|
987
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
952
988
|
}>[];
|
|
953
989
|
readonly components: readonly Readonly<{
|
|
954
990
|
name: string;
|
|
955
991
|
payload: unknown;
|
|
956
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
957
|
-
type: "
|
|
992
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
993
|
+
type: "parameter";
|
|
958
994
|
id: string;
|
|
959
995
|
name: string;
|
|
960
|
-
}> | undefined;
|
|
996
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
961
997
|
}>[];
|
|
962
998
|
readonly collections: readonly import("./collection").BuilderCollectionSerialised[];
|
|
963
999
|
readonly expectations: readonly Readonly<{
|
|
964
1000
|
name: string;
|
|
965
1001
|
kind: "option" | "component" | "collection" | "detail";
|
|
966
1002
|
}>[];
|
|
1003
|
+
readonly references: readonly Readonly<{
|
|
1004
|
+
parameter: string;
|
|
1005
|
+
id: string;
|
|
1006
|
+
}>[];
|
|
967
1007
|
}>]>>;
|
|
968
1008
|
}>]>;
|
|
969
1009
|
readonly min: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
970
|
-
readonly type: v.LiteralSchema<"
|
|
1010
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
971
1011
|
readonly id: v.StringSchema<undefined>;
|
|
972
1012
|
readonly name: v.StringSchema<undefined>;
|
|
973
1013
|
}, undefined>, v.ReadonlyAction<{
|
|
974
|
-
type: "
|
|
1014
|
+
type: "parameter";
|
|
975
1015
|
id: string;
|
|
976
1016
|
name: string;
|
|
977
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
978
|
-
type: "
|
|
1017
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.NumberSchema<undefined>], undefined>, v.MetadataAction<number | Readonly<{
|
|
1018
|
+
type: "parameter";
|
|
979
1019
|
id: string;
|
|
980
1020
|
name: string;
|
|
981
|
-
}>, {
|
|
982
|
-
readonly
|
|
1021
|
+
}> | import("../..").BuilderParameter<string>, {
|
|
1022
|
+
readonly paramable: v.NumberSchema<undefined>;
|
|
983
1023
|
}>]>;
|
|
984
1024
|
readonly max: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
985
|
-
readonly type: v.LiteralSchema<"
|
|
1025
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
986
1026
|
readonly id: v.StringSchema<undefined>;
|
|
987
1027
|
readonly name: v.StringSchema<undefined>;
|
|
988
1028
|
}, undefined>, v.ReadonlyAction<{
|
|
989
|
-
type: "
|
|
1029
|
+
type: "parameter";
|
|
990
1030
|
id: string;
|
|
991
1031
|
name: string;
|
|
992
|
-
}>]>, v.InstanceSchema<typeof import("../..").
|
|
993
|
-
type: "
|
|
1032
|
+
}>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.NumberSchema<undefined>], undefined>, v.MetadataAction<number | Readonly<{
|
|
1033
|
+
type: "parameter";
|
|
994
1034
|
id: string;
|
|
995
1035
|
name: string;
|
|
996
|
-
}>, {
|
|
997
|
-
readonly
|
|
1036
|
+
}> | import("../..").BuilderParameter<string>, {
|
|
1037
|
+
readonly paramable: v.NumberSchema<undefined>;
|
|
998
1038
|
}>]>;
|
|
999
1039
|
}, undefined>, v.MetadataAction<{
|
|
1000
|
-
builder:
|
|
1001
|
-
type: "
|
|
1040
|
+
builder: Readonly<{
|
|
1041
|
+
type: "parameter";
|
|
1002
1042
|
id: string;
|
|
1003
1043
|
name: string;
|
|
1004
|
-
}> | Readonly<{
|
|
1005
|
-
readonly
|
|
1006
|
-
type: "
|
|
1044
|
+
}> | import("../..").BuilderParameter<string> | Readonly<{
|
|
1045
|
+
readonly parameters: readonly Readonly<{
|
|
1046
|
+
type: "parameter";
|
|
1007
1047
|
id: string;
|
|
1008
1048
|
name: string;
|
|
1009
1049
|
}>[];
|
|
1010
1050
|
readonly options: readonly Readonly<{
|
|
1011
1051
|
name: string;
|
|
1012
1052
|
payload: unknown;
|
|
1013
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
1014
|
-
type: "
|
|
1053
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
1054
|
+
type: "parameter";
|
|
1015
1055
|
id: string;
|
|
1016
1056
|
name: string;
|
|
1017
|
-
}> | undefined;
|
|
1057
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
1018
1058
|
}>[];
|
|
1019
1059
|
readonly components: readonly Readonly<{
|
|
1020
1060
|
name: string;
|
|
1021
1061
|
payload: unknown;
|
|
1022
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
1023
|
-
type: "
|
|
1062
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
1063
|
+
type: "parameter";
|
|
1024
1064
|
id: string;
|
|
1025
1065
|
name: string;
|
|
1026
|
-
}> | undefined;
|
|
1066
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
1027
1067
|
}>[];
|
|
1028
1068
|
readonly collections: readonly import("./collection").BuilderCollectionSerialised[];
|
|
1029
1069
|
readonly expectations: readonly Readonly<{
|
|
1030
1070
|
name: string;
|
|
1031
1071
|
kind: "option" | "component" | "collection" | "detail";
|
|
1032
1072
|
}>[];
|
|
1073
|
+
readonly references: readonly Readonly<{
|
|
1074
|
+
parameter: string;
|
|
1075
|
+
id: string;
|
|
1076
|
+
}>[];
|
|
1033
1077
|
}>;
|
|
1034
|
-
min: number |
|
|
1035
|
-
type: "
|
|
1078
|
+
min: number | Readonly<{
|
|
1079
|
+
type: "parameter";
|
|
1036
1080
|
id: string;
|
|
1037
1081
|
name: string;
|
|
1038
|
-
}>;
|
|
1039
|
-
max: number |
|
|
1040
|
-
type: "
|
|
1082
|
+
}> | import("../..").BuilderParameter<string>;
|
|
1083
|
+
max: number | Readonly<{
|
|
1084
|
+
type: "parameter";
|
|
1041
1085
|
id: string;
|
|
1042
1086
|
name: string;
|
|
1043
|
-
}>;
|
|
1087
|
+
}> | import("../..").BuilderParameter<string>;
|
|
1044
1088
|
}, {
|
|
1045
1089
|
readonly serialisable: typeof BuilderCollectionConfig;
|
|
1046
1090
|
readonly instance: v.InstanceSchema<typeof BuilderCollectionConfig, undefined>;
|
|
1047
1091
|
}>, v.ReadonlyAction<{
|
|
1048
|
-
builder:
|
|
1049
|
-
type: "
|
|
1092
|
+
builder: Readonly<{
|
|
1093
|
+
type: "parameter";
|
|
1050
1094
|
id: string;
|
|
1051
1095
|
name: string;
|
|
1052
|
-
}> | Readonly<{
|
|
1053
|
-
readonly
|
|
1054
|
-
type: "
|
|
1096
|
+
}> | import("../..").BuilderParameter<string> | Readonly<{
|
|
1097
|
+
readonly parameters: readonly Readonly<{
|
|
1098
|
+
type: "parameter";
|
|
1055
1099
|
id: string;
|
|
1056
1100
|
name: string;
|
|
1057
1101
|
}>[];
|
|
1058
1102
|
readonly options: readonly Readonly<{
|
|
1059
1103
|
name: string;
|
|
1060
1104
|
payload: unknown;
|
|
1061
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
1062
|
-
type: "
|
|
1105
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
1106
|
+
type: "parameter";
|
|
1063
1107
|
id: string;
|
|
1064
1108
|
name: string;
|
|
1065
|
-
}> | undefined;
|
|
1109
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
1066
1110
|
}>[];
|
|
1067
1111
|
readonly components: readonly Readonly<{
|
|
1068
1112
|
name: string;
|
|
1069
1113
|
payload: unknown;
|
|
1070
|
-
gatePaths?: readonly (readonly (string | number)[])[] |
|
|
1071
|
-
type: "
|
|
1114
|
+
gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
1115
|
+
type: "parameter";
|
|
1072
1116
|
id: string;
|
|
1073
1117
|
name: string;
|
|
1074
|
-
}> | undefined;
|
|
1118
|
+
}> | import("../..").BuilderParameter<string> | undefined;
|
|
1075
1119
|
}>[];
|
|
1076
1120
|
readonly collections: readonly import("./collection").BuilderCollectionSerialised[];
|
|
1077
1121
|
readonly expectations: readonly Readonly<{
|
|
1078
1122
|
name: string;
|
|
1079
1123
|
kind: "option" | "component" | "collection" | "detail";
|
|
1080
1124
|
}>[];
|
|
1125
|
+
readonly references: readonly Readonly<{
|
|
1126
|
+
parameter: string;
|
|
1127
|
+
id: string;
|
|
1128
|
+
}>[];
|
|
1081
1129
|
}>;
|
|
1082
|
-
min: number |
|
|
1083
|
-
type: "
|
|
1130
|
+
min: number | Readonly<{
|
|
1131
|
+
type: "parameter";
|
|
1084
1132
|
id: string;
|
|
1085
1133
|
name: string;
|
|
1086
|
-
}>;
|
|
1087
|
-
max: number |
|
|
1088
|
-
type: "
|
|
1134
|
+
}> | import("../..").BuilderParameter<string>;
|
|
1135
|
+
max: number | Readonly<{
|
|
1136
|
+
type: "parameter";
|
|
1089
1137
|
id: string;
|
|
1090
1138
|
name: string;
|
|
1091
|
-
}>;
|
|
1139
|
+
}> | import("../..").BuilderParameter<string>;
|
|
1092
1140
|
}>]>;
|
|
1093
1141
|
export type BuilderCollectionConfigSerialised = v.InferOutput<typeof BuilderCollectionConfigSerialisedSchema>;
|
|
1094
|
-
export declare function collectionConfig<Builder extends
|
|
1142
|
+
export declare function collectionConfig<Builder extends Paramable<BuilderGeneric> = Paramable<BuilderGeneric>, Min extends Paramable<number> = Paramable<number>, Max extends Paramable<number> = Paramable<number>>(builder: Builder, min: Min, max: Max): BuilderCollectionConfig<Builder, Min, Max>;
|