@builder-builder/builder 0.0.14 → 0.0.16

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.
Files changed (85) hide show
  1. package/dist/bb.d.ts +9 -5
  2. package/dist/bb.js +12 -5
  3. package/dist/check.d.ts +2 -2
  4. package/dist/entities/builder/builder.d.ts +19 -5
  5. package/dist/entities/builder/builder.js +24 -5
  6. package/dist/entities/builder/index.d.ts +1 -2
  7. package/dist/entities/builder/index.js +1 -2
  8. package/dist/entities/collection/collection.d.ts +7 -1
  9. package/dist/entities/collection/collection.js +9 -2
  10. package/dist/entities/collection/config.d.ts +6 -1
  11. package/dist/entities/collection/config.js +9 -2
  12. package/dist/entities/component/component.d.ts +41 -1
  13. package/dist/entities/component/component.js +9 -2
  14. package/dist/entities/component/details.d.ts +11 -2
  15. package/dist/entities/component/details.js +9 -2
  16. package/dist/entities/component/field.d.ts +10 -1
  17. package/dist/entities/component/field.js +13 -3
  18. package/dist/entities/index.d.ts +5 -1
  19. package/dist/entities/index.js +2 -0
  20. package/dist/entities/kind.d.ts +1 -1
  21. package/dist/entities/model/methods.d.ts +3 -3
  22. package/dist/entities/model/model.d.ts +5 -1
  23. package/dist/entities/model/model.js +10 -3
  24. package/dist/entities/model/models.js +9 -5
  25. package/dist/entities/option/option.d.ts +41 -1
  26. package/dist/entities/option/option.js +9 -2
  27. package/dist/entities/option/select.d.ts +7 -1
  28. package/dist/entities/option/select.js +17 -6
  29. package/dist/entities/option/toggle.d.ts +7 -1
  30. package/dist/entities/option/toggle.js +16 -4
  31. package/dist/entities/option/values.d.ts +6 -0
  32. package/dist/entities/pricing/expression.d.ts +70 -0
  33. package/dist/entities/pricing/expression.js +43 -0
  34. package/dist/entities/pricing/index.d.ts +6 -0
  35. package/dist/entities/pricing/index.js +3 -0
  36. package/dist/entities/pricing/pricing.d.ts +17 -0
  37. package/dist/entities/pricing/pricing.js +21 -0
  38. package/dist/entities/pricing/rates.d.ts +3 -0
  39. package/dist/entities/pricing/rates.js +3 -0
  40. package/dist/entities/serialise.d.ts +549 -495
  41. package/dist/entities/serialise.js +65 -41
  42. package/dist/entities/tags.d.ts +3 -0
  43. package/dist/entities/tags.js +2 -0
  44. package/dist/entities/ui/describe.d.ts +10 -1
  45. package/dist/entities/ui/describe.js +9 -2
  46. package/dist/entities/ui/input.d.ts +10 -1
  47. package/dist/entities/ui/input.js +17 -5
  48. package/dist/entities/ui/page.d.ts +10 -1
  49. package/dist/entities/ui/page.js +9 -2
  50. package/dist/entities/ui/pages.d.ts +5 -1
  51. package/dist/entities/ui/pages.js +9 -2
  52. package/dist/entities/ui/ui.d.ts +6 -1
  53. package/dist/entities/ui/ui.js +27 -12
  54. package/dist/entities/validated.d.ts +3 -1
  55. package/dist/environment.d.ts +1 -1
  56. package/dist/exception.d.ts +2 -2
  57. package/dist/index.d.ts +3 -3
  58. package/dist/index.js +1 -1
  59. package/dist/instance.d.ts +9 -0
  60. package/dist/instance.js +3 -1
  61. package/dist/mappers/index.d.ts +3 -2
  62. package/dist/mappers/index.js +2 -1
  63. package/dist/mappers/price.d.ts +3 -0
  64. package/dist/mappers/price.js +111 -0
  65. package/dist/validate/builder.js +16 -7
  66. package/dist/validate/errors.d.ts +19 -1
  67. package/dist/validate/errors.js +15 -0
  68. package/dist/validate/index.d.ts +3 -1
  69. package/dist/validate/index.js +1 -0
  70. package/dist/validate/model.js +5 -62
  71. package/dist/validate/paths.d.ts +5 -0
  72. package/dist/validate/paths.js +68 -0
  73. package/dist/validate/pricing.d.ts +8 -0
  74. package/dist/validate/pricing.js +127 -0
  75. package/dist/validate/ui.js +60 -1
  76. package/dist/validate/variants.js +4 -0
  77. package/package.json +1 -10
  78. package/dist/cli.d.ts +0 -2
  79. package/dist/cli.js +0 -53
  80. package/dist/codegen/index.d.ts +0 -7
  81. package/dist/codegen/index.js +0 -212
  82. package/dist/codegen/template.d.ts +0 -5
  83. package/dist/codegen/template.js +0 -17
  84. package/dist/entities/builder/factory.d.ts +0 -7
  85. package/dist/entities/builder/factory.js +0 -4
@@ -8,10 +8,6 @@ export declare const entitiesMap: {
8
8
  readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderModel, undefined>;
9
9
  readonly serialised: v.GenericSchema<import("./index.js").BuilderModelSerialised>;
10
10
  };
11
- readonly ui: {
12
- readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderUI, undefined>;
13
- readonly serialised: v.GenericSchema<import("./index.js").BuilderUISerialised>;
14
- };
15
11
  readonly select: {
16
12
  readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderSelectType, undefined>;
17
13
  readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
@@ -20,6 +16,7 @@ export declare const entitiesMap: {
20
16
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
21
17
  readonly isOptional: v.BooleanSchema<undefined>;
22
18
  readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
19
+ readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
23
20
  }, undefined>, v.ReadonlyAction<{
24
21
  type: "select";
25
22
  readonly options: readonly [string, ...string[]];
@@ -28,6 +25,7 @@ export declare const entitiesMap: {
28
25
  optionLabels: {
29
26
  [x: string]: string;
30
27
  };
28
+ tags?: readonly string[] | undefined;
31
29
  }>]>;
32
30
  };
33
31
  readonly toggle: {
@@ -37,18 +35,95 @@ export declare const entitiesMap: {
37
35
  readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
38
36
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
39
37
  readonly isOptional: v.BooleanSchema<undefined>;
38
+ readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
40
39
  }, undefined>, v.ReadonlyAction<{
41
40
  type: "toggle";
42
41
  valueType: "string" | "number" | "boolean";
43
42
  defaultValue: string | number | boolean | null;
44
43
  isOptional: boolean;
44
+ tags?: readonly string[] | undefined;
45
45
  }>]>;
46
46
  };
47
- readonly uiPage: {
48
- readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderUIPage, undefined>;
47
+ readonly optionSelectMap: {
48
+ readonly runtime: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
49
+ type: "parameter";
50
+ id: string;
51
+ name: string;
52
+ }> | Readonly<Readonly<{
53
+ type: "select";
54
+ readonly options: readonly [string, ...string[]];
55
+ defaultValue: string | null;
56
+ isOptional: boolean;
57
+ optionLabels: {
58
+ [x: string]: string;
59
+ };
60
+ tags?: readonly string[] | undefined;
61
+ }>> | Readonly<Readonly<{
62
+ type: "toggle";
63
+ valueType: "string" | "number" | "boolean";
64
+ defaultValue: string | number | boolean | null;
65
+ isOptional: boolean;
66
+ tags?: readonly string[] | undefined;
67
+ }>>>>;
68
+ readonly serialised: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
69
+ type: "parameter";
70
+ id: string;
71
+ name: string;
72
+ }> | Readonly<Readonly<{
73
+ type: "select";
74
+ readonly options: readonly [string, ...string[]];
75
+ defaultValue: string | null;
76
+ isOptional: boolean;
77
+ optionLabels: {
78
+ [x: string]: string;
79
+ };
80
+ tags?: readonly string[] | undefined;
81
+ }>> | Readonly<Readonly<{
82
+ type: "toggle";
83
+ valueType: "string" | "number" | "boolean";
84
+ defaultValue: string | number | boolean | null;
85
+ isOptional: boolean;
86
+ tags?: readonly string[] | undefined;
87
+ }>>>>;
88
+ };
89
+ readonly optionWhen: {
90
+ readonly runtime: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<Readonly<{
91
+ type: "select";
92
+ readonly options: readonly [string, ...string[]];
93
+ defaultValue: string | null;
94
+ isOptional: boolean;
95
+ optionLabels: {
96
+ [x: string]: string;
97
+ };
98
+ tags?: readonly string[] | undefined;
99
+ }>> | Readonly<Readonly<{
100
+ type: "toggle";
101
+ valueType: "string" | "number" | "boolean";
102
+ defaultValue: string | number | boolean | null;
103
+ isOptional: boolean;
104
+ tags?: readonly string[] | undefined;
105
+ }>>>>;
106
+ readonly serialised: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<Readonly<{
107
+ type: "select";
108
+ readonly options: readonly [string, ...string[]];
109
+ defaultValue: string | null;
110
+ isOptional: boolean;
111
+ optionLabels: {
112
+ [x: string]: string;
113
+ };
114
+ tags?: readonly string[] | undefined;
115
+ }>> | Readonly<Readonly<{
116
+ type: "toggle";
117
+ valueType: "string" | "number" | "boolean";
118
+ defaultValue: string | number | boolean | null;
119
+ isOptional: boolean;
120
+ tags?: readonly string[] | undefined;
121
+ }>>>>;
122
+ };
123
+ readonly componentDetails: {
124
+ readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
49
125
  readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
50
- readonly type: v.LiteralSchema<"page", undefined>;
51
- readonly label: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
126
+ readonly fields: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
52
127
  readonly type: v.LiteralSchema<"parameter", undefined>;
53
128
  readonly id: v.StringSchema<undefined>;
54
129
  readonly name: v.StringSchema<undefined>;
@@ -62,8 +137,128 @@ export declare const entitiesMap: {
62
137
  }, undefined>, v.ReadonlyAction<{
63
138
  type: "ref";
64
139
  id: string;
65
- }>]>, v.StringSchema<undefined>], undefined>;
66
- readonly inputs: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
140
+ }>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
141
+ readonly type: v.LiteralSchema<"component-field", undefined>;
142
+ readonly name: v.StringSchema<undefined>;
143
+ readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
144
+ readonly isOptional: v.BooleanSchema<undefined>;
145
+ readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
146
+ }, undefined>, v.ReadonlyAction<{
147
+ type: "component-field";
148
+ name: string;
149
+ valueType: "string" | "number" | "boolean";
150
+ isOptional: boolean;
151
+ tags?: readonly string[] | undefined;
152
+ }>]>, undefined>, v.ReadonlyAction<Readonly<{
153
+ type: "component-field";
154
+ name: string;
155
+ valueType: "string" | "number" | "boolean";
156
+ isOptional: boolean;
157
+ tags?: readonly string[] | undefined;
158
+ }>[]>]>], undefined>;
159
+ readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
160
+ }, undefined>, v.ReadonlyAction<{
161
+ fields: Readonly<{
162
+ type: "parameter";
163
+ id: string;
164
+ name: string;
165
+ }> | Readonly<{
166
+ type: "ref";
167
+ id: string;
168
+ }> | readonly Readonly<{
169
+ type: "component-field";
170
+ name: string;
171
+ valueType: "string" | "number" | "boolean";
172
+ isOptional: boolean;
173
+ tags?: readonly string[] | undefined;
174
+ }>[];
175
+ tags?: readonly string[] | undefined;
176
+ }>]>;
177
+ };
178
+ readonly componentSelectMap: {
179
+ readonly runtime: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
180
+ type: "parameter";
181
+ id: string;
182
+ name: string;
183
+ }> | Readonly<{
184
+ fields: Readonly<{
185
+ type: "parameter";
186
+ id: string;
187
+ name: string;
188
+ }> | Readonly<{
189
+ type: "ref";
190
+ id: string;
191
+ }> | readonly Readonly<{
192
+ type: "component-field";
193
+ name: string;
194
+ valueType: "string" | "number" | "boolean";
195
+ isOptional: boolean;
196
+ tags?: readonly string[] | undefined;
197
+ }>[];
198
+ tags?: readonly string[] | undefined;
199
+ }>>>;
200
+ readonly serialised: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
201
+ type: "parameter";
202
+ id: string;
203
+ name: string;
204
+ }> | Readonly<{
205
+ fields: Readonly<{
206
+ type: "parameter";
207
+ id: string;
208
+ name: string;
209
+ }> | Readonly<{
210
+ type: "ref";
211
+ id: string;
212
+ }> | readonly Readonly<{
213
+ type: "component-field";
214
+ name: string;
215
+ valueType: "string" | "number" | "boolean";
216
+ isOptional: boolean;
217
+ tags?: readonly string[] | undefined;
218
+ }>[];
219
+ tags?: readonly string[] | undefined;
220
+ }>>>;
221
+ };
222
+ readonly componentWhen: {
223
+ readonly runtime: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
224
+ fields: Readonly<{
225
+ type: "parameter";
226
+ id: string;
227
+ name: string;
228
+ }> | Readonly<{
229
+ type: "ref";
230
+ id: string;
231
+ }> | readonly Readonly<{
232
+ type: "component-field";
233
+ name: string;
234
+ valueType: "string" | "number" | "boolean";
235
+ isOptional: boolean;
236
+ tags?: readonly string[] | undefined;
237
+ }>[];
238
+ tags?: readonly string[] | undefined;
239
+ }>>>;
240
+ readonly serialised: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
241
+ fields: Readonly<{
242
+ type: "parameter";
243
+ id: string;
244
+ name: string;
245
+ }> | Readonly<{
246
+ type: "ref";
247
+ id: string;
248
+ }> | readonly Readonly<{
249
+ type: "component-field";
250
+ name: string;
251
+ valueType: "string" | "number" | "boolean";
252
+ isOptional: boolean;
253
+ tags?: readonly string[] | undefined;
254
+ }>[];
255
+ tags?: readonly string[] | undefined;
256
+ }>>>;
257
+ };
258
+ readonly collectionConfig: {
259
+ readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderCollectionConfig, undefined>;
260
+ readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
261
+ readonly model: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
67
262
  readonly type: v.LiteralSchema<"parameter", undefined>;
68
263
  readonly id: v.StringSchema<undefined>;
69
264
  readonly name: v.StringSchema<undefined>;
@@ -77,7 +272,8 @@ export declare const entitiesMap: {
77
272
  }, undefined>, v.ReadonlyAction<{
78
273
  type: "ref";
79
274
  id: string;
80
- }>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
275
+ }>]>, v.LazySchema<v.GenericSchema<import("./index.js").BuilderModelSerialised>>], undefined>;
276
+ readonly min: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
81
277
  readonly type: v.LiteralSchema<"parameter", undefined>;
82
278
  readonly id: v.StringSchema<undefined>;
83
279
  readonly name: v.StringSchema<undefined>;
@@ -91,62 +287,278 @@ export declare const entitiesMap: {
91
287
  }, undefined>, v.ReadonlyAction<{
92
288
  type: "ref";
93
289
  id: string;
290
+ }>]>, v.NumberSchema<undefined>], undefined>;
291
+ readonly max: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
292
+ readonly type: v.LiteralSchema<"parameter", undefined>;
293
+ readonly id: v.StringSchema<undefined>;
294
+ readonly name: v.StringSchema<undefined>;
295
+ }, undefined>, v.ReadonlyAction<{
296
+ type: "parameter";
297
+ id: string;
298
+ name: string;
94
299
  }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
95
- readonly type: v.LiteralSchema<"input", undefined>;
96
- readonly path: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
97
- readonly type: v.LiteralSchema<"parameter", undefined>;
98
- readonly id: v.StringSchema<undefined>;
99
- readonly name: v.StringSchema<undefined>;
100
- }, undefined>, v.ReadonlyAction<{
101
- type: "parameter";
102
- id: string;
103
- name: string;
104
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
105
- readonly type: v.LiteralSchema<"ref", undefined>;
106
- readonly id: v.StringSchema<undefined>;
107
- }, undefined>, v.ReadonlyAction<{
108
- type: "ref";
109
- id: string;
110
- }>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>], undefined>;
111
- readonly displayName: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
112
- readonly type: v.LiteralSchema<"parameter", undefined>;
113
- readonly id: v.StringSchema<undefined>;
114
- readonly name: v.StringSchema<undefined>;
115
- }, undefined>, v.ReadonlyAction<{
116
- type: "parameter";
117
- id: string;
118
- name: string;
119
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
120
- readonly type: v.LiteralSchema<"ref", undefined>;
121
- readonly id: v.StringSchema<undefined>;
122
- }, undefined>, v.ReadonlyAction<{
123
- type: "ref";
124
- id: string;
125
- }>]>, v.StringSchema<undefined>], undefined>, undefined>;
126
- readonly kind: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
127
- readonly type: v.LiteralSchema<"parameter", undefined>;
128
- readonly id: v.StringSchema<undefined>;
129
- readonly name: v.StringSchema<undefined>;
130
- }, undefined>, v.ReadonlyAction<{
131
- type: "parameter";
132
- id: string;
133
- name: string;
134
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
135
- readonly type: v.LiteralSchema<"ref", undefined>;
136
- readonly id: v.StringSchema<undefined>;
137
- }, undefined>, v.ReadonlyAction<{
138
- type: "ref";
139
- id: string;
140
- }>]>, v.StringSchema<undefined>], undefined>, undefined>;
141
- readonly metadata: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
142
- readonly type: v.LiteralSchema<"parameter", undefined>;
143
- readonly id: v.StringSchema<undefined>;
144
- readonly name: v.StringSchema<undefined>;
145
- }, undefined>, v.ReadonlyAction<{
146
- type: "parameter";
147
- id: string;
148
- name: string;
149
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
300
+ readonly type: v.LiteralSchema<"ref", undefined>;
301
+ readonly id: v.StringSchema<undefined>;
302
+ }, undefined>, v.ReadonlyAction<{
303
+ type: "ref";
304
+ id: string;
305
+ }>]>, v.NumberSchema<undefined>], undefined>;
306
+ readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
307
+ }, undefined>, v.ReadonlyAction<{
308
+ model: Readonly<{
309
+ type: "parameter";
310
+ id: string;
311
+ name: string;
312
+ }> | Readonly<{
313
+ type: "ref";
314
+ id: string;
315
+ }> | import("./index.js").BuilderModelSerialised;
316
+ min: number | Readonly<{
317
+ type: "parameter";
318
+ id: string;
319
+ name: string;
320
+ }> | Readonly<{
321
+ type: "ref";
322
+ id: string;
323
+ }>;
324
+ max: number | Readonly<{
325
+ type: "parameter";
326
+ id: string;
327
+ name: string;
328
+ }> | Readonly<{
329
+ type: "ref";
330
+ id: string;
331
+ }>;
332
+ tags?: readonly string[] | undefined;
333
+ }>]>;
334
+ };
335
+ readonly collectionSelectMap: {
336
+ readonly runtime: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
337
+ type: "parameter";
338
+ id: string;
339
+ name: string;
340
+ }> | Readonly<{
341
+ model: Readonly<{
342
+ type: "parameter";
343
+ id: string;
344
+ name: string;
345
+ }> | Readonly<{
346
+ type: "ref";
347
+ id: string;
348
+ }> | import("./index.js").BuilderModelSerialised;
349
+ min: number | Readonly<{
350
+ type: "parameter";
351
+ id: string;
352
+ name: string;
353
+ }> | Readonly<{
354
+ type: "ref";
355
+ id: string;
356
+ }>;
357
+ max: number | Readonly<{
358
+ type: "parameter";
359
+ id: string;
360
+ name: string;
361
+ }> | Readonly<{
362
+ type: "ref";
363
+ id: string;
364
+ }>;
365
+ tags?: readonly string[] | undefined;
366
+ }>>>;
367
+ readonly serialised: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
368
+ type: "parameter";
369
+ id: string;
370
+ name: string;
371
+ }> | Readonly<{
372
+ model: Readonly<{
373
+ type: "parameter";
374
+ id: string;
375
+ name: string;
376
+ }> | Readonly<{
377
+ type: "ref";
378
+ id: string;
379
+ }> | import("./index.js").BuilderModelSerialised;
380
+ min: number | Readonly<{
381
+ type: "parameter";
382
+ id: string;
383
+ name: string;
384
+ }> | Readonly<{
385
+ type: "ref";
386
+ id: string;
387
+ }>;
388
+ max: number | Readonly<{
389
+ type: "parameter";
390
+ id: string;
391
+ name: string;
392
+ }> | Readonly<{
393
+ type: "ref";
394
+ id: string;
395
+ }>;
396
+ tags?: readonly string[] | undefined;
397
+ }>>>;
398
+ };
399
+ readonly collectionWhen: {
400
+ readonly runtime: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
401
+ model: Readonly<{
402
+ type: "parameter";
403
+ id: string;
404
+ name: string;
405
+ }> | Readonly<{
406
+ type: "ref";
407
+ id: string;
408
+ }> | import("./index.js").BuilderModelSerialised;
409
+ min: number | Readonly<{
410
+ type: "parameter";
411
+ id: string;
412
+ name: string;
413
+ }> | Readonly<{
414
+ type: "ref";
415
+ id: string;
416
+ }>;
417
+ max: number | Readonly<{
418
+ type: "parameter";
419
+ id: string;
420
+ name: string;
421
+ }> | Readonly<{
422
+ type: "ref";
423
+ id: string;
424
+ }>;
425
+ tags?: readonly string[] | undefined;
426
+ }>>>;
427
+ readonly serialised: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
428
+ model: Readonly<{
429
+ type: "parameter";
430
+ id: string;
431
+ name: string;
432
+ }> | Readonly<{
433
+ type: "ref";
434
+ id: string;
435
+ }> | import("./index.js").BuilderModelSerialised;
436
+ min: number | Readonly<{
437
+ type: "parameter";
438
+ id: string;
439
+ name: string;
440
+ }> | Readonly<{
441
+ type: "ref";
442
+ id: string;
443
+ }>;
444
+ max: number | Readonly<{
445
+ type: "parameter";
446
+ id: string;
447
+ name: string;
448
+ }> | Readonly<{
449
+ type: "ref";
450
+ id: string;
451
+ }>;
452
+ tags?: readonly string[] | undefined;
453
+ }>>>;
454
+ };
455
+ readonly ui: {
456
+ readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderUI, undefined>;
457
+ readonly serialised: v.GenericSchema<import("./index.js").BuilderUISerialised>;
458
+ };
459
+ readonly uiDescribe: {
460
+ readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderUIDescribe, undefined>;
461
+ readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
462
+ readonly type: v.LiteralSchema<"describe", undefined>;
463
+ readonly label: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
464
+ readonly type: v.LiteralSchema<"parameter", undefined>;
465
+ readonly id: v.StringSchema<undefined>;
466
+ readonly name: v.StringSchema<undefined>;
467
+ }, undefined>, v.ReadonlyAction<{
468
+ type: "parameter";
469
+ id: string;
470
+ name: string;
471
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
472
+ readonly type: v.LiteralSchema<"ref", undefined>;
473
+ readonly id: v.StringSchema<undefined>;
474
+ }, undefined>, v.ReadonlyAction<{
475
+ type: "ref";
476
+ id: string;
477
+ }>]>, v.StringSchema<undefined>], undefined>;
478
+ readonly inputs: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
479
+ readonly type: v.LiteralSchema<"parameter", undefined>;
480
+ readonly id: v.StringSchema<undefined>;
481
+ readonly name: v.StringSchema<undefined>;
482
+ }, undefined>, v.ReadonlyAction<{
483
+ type: "parameter";
484
+ id: string;
485
+ name: string;
486
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
487
+ readonly type: v.LiteralSchema<"ref", undefined>;
488
+ readonly id: v.StringSchema<undefined>;
489
+ }, undefined>, v.ReadonlyAction<{
490
+ type: "ref";
491
+ id: string;
492
+ }>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
493
+ readonly type: v.LiteralSchema<"parameter", undefined>;
494
+ readonly id: v.StringSchema<undefined>;
495
+ readonly name: v.StringSchema<undefined>;
496
+ }, undefined>, v.ReadonlyAction<{
497
+ type: "parameter";
498
+ id: string;
499
+ name: string;
500
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
501
+ readonly type: v.LiteralSchema<"ref", undefined>;
502
+ readonly id: v.StringSchema<undefined>;
503
+ }, undefined>, v.ReadonlyAction<{
504
+ type: "ref";
505
+ id: string;
506
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
507
+ readonly type: v.LiteralSchema<"input", undefined>;
508
+ readonly path: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
509
+ readonly type: v.LiteralSchema<"parameter", undefined>;
510
+ readonly id: v.StringSchema<undefined>;
511
+ readonly name: v.StringSchema<undefined>;
512
+ }, undefined>, v.ReadonlyAction<{
513
+ type: "parameter";
514
+ id: string;
515
+ name: string;
516
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
517
+ readonly type: v.LiteralSchema<"ref", undefined>;
518
+ readonly id: v.StringSchema<undefined>;
519
+ }, undefined>, v.ReadonlyAction<{
520
+ type: "ref";
521
+ id: string;
522
+ }>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>], undefined>;
523
+ readonly displayName: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
524
+ readonly type: v.LiteralSchema<"parameter", undefined>;
525
+ readonly id: v.StringSchema<undefined>;
526
+ readonly name: v.StringSchema<undefined>;
527
+ }, undefined>, v.ReadonlyAction<{
528
+ type: "parameter";
529
+ id: string;
530
+ name: string;
531
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
532
+ readonly type: v.LiteralSchema<"ref", undefined>;
533
+ readonly id: v.StringSchema<undefined>;
534
+ }, undefined>, v.ReadonlyAction<{
535
+ type: "ref";
536
+ id: string;
537
+ }>]>, v.StringSchema<undefined>], undefined>, undefined>;
538
+ readonly kind: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
539
+ readonly type: v.LiteralSchema<"parameter", undefined>;
540
+ readonly id: v.StringSchema<undefined>;
541
+ readonly name: v.StringSchema<undefined>;
542
+ }, undefined>, v.ReadonlyAction<{
543
+ type: "parameter";
544
+ id: string;
545
+ name: string;
546
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
547
+ readonly type: v.LiteralSchema<"ref", undefined>;
548
+ readonly id: v.StringSchema<undefined>;
549
+ }, undefined>, v.ReadonlyAction<{
550
+ type: "ref";
551
+ id: string;
552
+ }>]>, v.StringSchema<undefined>], undefined>, undefined>;
553
+ readonly metadata: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
554
+ readonly type: v.LiteralSchema<"parameter", undefined>;
555
+ readonly id: v.StringSchema<undefined>;
556
+ readonly name: v.StringSchema<undefined>;
557
+ }, undefined>, v.ReadonlyAction<{
558
+ type: "parameter";
559
+ id: string;
560
+ name: string;
561
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
150
562
  readonly type: v.LiteralSchema<"ref", undefined>;
151
563
  readonly id: v.StringSchema<undefined>;
152
564
  }, undefined>, v.ReadonlyAction<{
@@ -169,6 +581,7 @@ export declare const entitiesMap: {
169
581
  }>]>, v.UnknownSchema], undefined>, undefined>, v.ReadonlyAction<{
170
582
  [x: string]: unknown;
171
583
  }>]>], undefined>, undefined>;
584
+ readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
172
585
  }, undefined>, v.ReadonlyAction<{
173
586
  type: "input";
174
587
  path: readonly (string | number)[] | Readonly<{
@@ -205,6 +618,7 @@ export declare const entitiesMap: {
205
618
  }> | Readonly<{
206
619
  [x: string]: unknown;
207
620
  }> | undefined;
621
+ tags?: readonly string[] | undefined;
208
622
  }>]>], undefined>, undefined>, v.ReadonlyAction<(Readonly<{
209
623
  type: "parameter";
210
624
  id: string;
@@ -248,9 +662,11 @@ export declare const entitiesMap: {
248
662
  }> | Readonly<{
249
663
  [x: string]: unknown;
250
664
  }> | undefined;
665
+ tags?: readonly string[] | undefined;
251
666
  }>)[]>]>], undefined>;
667
+ readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
252
668
  }, undefined>, v.ReadonlyAction<{
253
- type: "page";
669
+ type: "describe";
254
670
  label: string | Readonly<{
255
671
  type: "parameter";
256
672
  id: string;
@@ -309,13 +725,61 @@ export declare const entitiesMap: {
309
725
  }> | Readonly<{
310
726
  [x: string]: unknown;
311
727
  }> | undefined;
728
+ tags?: readonly string[] | undefined;
312
729
  }>)[];
730
+ tags?: readonly string[] | undefined;
313
731
  }>]>;
314
732
  };
315
- readonly uiDescribe: {
316
- readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderUIDescribe, undefined>;
733
+ readonly uiItems: {
734
+ readonly runtime: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
735
+ readonly type: v.LiteralSchema<"parameter", undefined>;
736
+ readonly id: v.StringSchema<undefined>;
737
+ readonly name: v.StringSchema<undefined>;
738
+ }, undefined>, v.ReadonlyAction<{
739
+ type: "parameter";
740
+ id: string;
741
+ name: string;
742
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
743
+ readonly type: v.LiteralSchema<"ref", undefined>;
744
+ readonly id: v.StringSchema<undefined>;
745
+ }, undefined>, v.ReadonlyAction<{
746
+ type: "ref";
747
+ id: string;
748
+ }>]>, v.GenericSchema<import("./index.js").BuilderUIItemSerialised>], undefined>, undefined>, v.ReadonlyAction<(Readonly<{
749
+ type: "parameter";
750
+ id: string;
751
+ name: string;
752
+ }> | Readonly<{
753
+ type: "ref";
754
+ id: string;
755
+ }> | import("./index.js").BuilderUIItemSerialised)[]>]>;
756
+ readonly serialised: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
757
+ readonly type: v.LiteralSchema<"parameter", undefined>;
758
+ readonly id: v.StringSchema<undefined>;
759
+ readonly name: v.StringSchema<undefined>;
760
+ }, undefined>, v.ReadonlyAction<{
761
+ type: "parameter";
762
+ id: string;
763
+ name: string;
764
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
765
+ readonly type: v.LiteralSchema<"ref", undefined>;
766
+ readonly id: v.StringSchema<undefined>;
767
+ }, undefined>, v.ReadonlyAction<{
768
+ type: "ref";
769
+ id: string;
770
+ }>]>, v.GenericSchema<import("./index.js").BuilderUIItemSerialised>], undefined>, undefined>, v.ReadonlyAction<(Readonly<{
771
+ type: "parameter";
772
+ id: string;
773
+ name: string;
774
+ }> | Readonly<{
775
+ type: "ref";
776
+ id: string;
777
+ }> | import("./index.js").BuilderUIItemSerialised)[]>]>;
778
+ };
779
+ readonly uiPage: {
780
+ readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderUIPage, undefined>;
317
781
  readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
318
- readonly type: v.LiteralSchema<"describe", undefined>;
782
+ readonly type: v.LiteralSchema<"page", undefined>;
319
783
  readonly label: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
320
784
  readonly type: v.LiteralSchema<"parameter", undefined>;
321
785
  readonly id: v.StringSchema<undefined>;
@@ -437,6 +901,7 @@ export declare const entitiesMap: {
437
901
  }>]>, v.UnknownSchema], undefined>, undefined>, v.ReadonlyAction<{
438
902
  [x: string]: unknown;
439
903
  }>]>], undefined>, undefined>;
904
+ readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
440
905
  }, undefined>, v.ReadonlyAction<{
441
906
  type: "input";
442
907
  path: readonly (string | number)[] | Readonly<{
@@ -473,6 +938,7 @@ export declare const entitiesMap: {
473
938
  }> | Readonly<{
474
939
  [x: string]: unknown;
475
940
  }> | undefined;
941
+ tags?: readonly string[] | undefined;
476
942
  }>]>], undefined>, undefined>, v.ReadonlyAction<(Readonly<{
477
943
  type: "parameter";
478
944
  id: string;
@@ -516,9 +982,11 @@ export declare const entitiesMap: {
516
982
  }> | Readonly<{
517
983
  [x: string]: unknown;
518
984
  }> | undefined;
985
+ tags?: readonly string[] | undefined;
519
986
  }>)[]>]>], undefined>;
987
+ readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
520
988
  }, undefined>, v.ReadonlyAction<{
521
- type: "describe";
989
+ type: "page";
522
990
  label: string | Readonly<{
523
991
  type: "parameter";
524
992
  id: string;
@@ -577,7 +1045,9 @@ export declare const entitiesMap: {
577
1045
  }> | Readonly<{
578
1046
  [x: string]: unknown;
579
1047
  }> | undefined;
1048
+ tags?: readonly string[] | undefined;
580
1049
  }>)[];
1050
+ tags?: readonly string[] | undefined;
581
1051
  }>]>;
582
1052
  };
583
1053
  readonly uiPages: {
@@ -664,6 +1134,7 @@ export declare const entitiesMap: {
664
1134
  }>]>, v.UnknownSchema], undefined>, undefined>, v.ReadonlyAction<{
665
1135
  [x: string]: unknown;
666
1136
  }>]>], undefined>, undefined>;
1137
+ readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
667
1138
  }, undefined>, v.ReadonlyAction<{
668
1139
  type: "input";
669
1140
  path: readonly (string | number)[] | Readonly<{
@@ -700,131 +1171,16 @@ export declare const entitiesMap: {
700
1171
  }> | Readonly<{
701
1172
  [x: string]: unknown;
702
1173
  }> | undefined;
1174
+ tags?: readonly string[] | undefined;
703
1175
  }>]>;
704
1176
  };
705
- readonly componentDetails: {
706
- readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
707
- readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
708
- readonly fields: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
709
- readonly type: v.LiteralSchema<"parameter", undefined>;
710
- readonly id: v.StringSchema<undefined>;
711
- readonly name: v.StringSchema<undefined>;
712
- }, undefined>, v.ReadonlyAction<{
713
- type: "parameter";
714
- id: string;
715
- name: string;
716
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
717
- readonly type: v.LiteralSchema<"ref", undefined>;
718
- readonly id: v.StringSchema<undefined>;
719
- }, undefined>, v.ReadonlyAction<{
720
- type: "ref";
721
- id: string;
722
- }>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
723
- readonly type: v.LiteralSchema<"component-field", undefined>;
724
- readonly name: v.StringSchema<undefined>;
725
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
726
- readonly isOptional: v.BooleanSchema<undefined>;
727
- }, undefined>, v.ReadonlyAction<{
728
- type: "component-field";
729
- name: string;
730
- valueType: "string" | "number" | "boolean";
731
- isOptional: boolean;
732
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
733
- type: "component-field";
734
- name: string;
735
- valueType: "string" | "number" | "boolean";
736
- isOptional: boolean;
737
- }>[]>]>], undefined>;
738
- }, undefined>, v.ReadonlyAction<{
739
- fields: Readonly<{
740
- type: "parameter";
741
- id: string;
742
- name: string;
743
- }> | Readonly<{
744
- type: "ref";
745
- id: string;
746
- }> | readonly Readonly<{
747
- type: "component-field";
748
- name: string;
749
- valueType: "string" | "number" | "boolean";
750
- isOptional: boolean;
751
- }>[];
752
- }>]>;
1177
+ readonly pricing: {
1178
+ readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderPricing, undefined>;
1179
+ readonly serialised: v.GenericSchema<import("./index.js").BuilderPricingSerialised>;
753
1180
  };
754
- readonly collectionConfig: {
755
- readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderCollectionConfig, undefined>;
756
- readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
757
- readonly model: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
758
- readonly type: v.LiteralSchema<"parameter", undefined>;
759
- readonly id: v.StringSchema<undefined>;
760
- readonly name: v.StringSchema<undefined>;
761
- }, undefined>, v.ReadonlyAction<{
762
- type: "parameter";
763
- id: string;
764
- name: string;
765
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
766
- readonly type: v.LiteralSchema<"ref", undefined>;
767
- readonly id: v.StringSchema<undefined>;
768
- }, undefined>, v.ReadonlyAction<{
769
- type: "ref";
770
- id: string;
771
- }>]>, v.LazySchema<v.GenericSchema<import("./index.js").BuilderModelSerialised>>], undefined>;
772
- readonly min: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
773
- readonly type: v.LiteralSchema<"parameter", undefined>;
774
- readonly id: v.StringSchema<undefined>;
775
- readonly name: v.StringSchema<undefined>;
776
- }, undefined>, v.ReadonlyAction<{
777
- type: "parameter";
778
- id: string;
779
- name: string;
780
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
781
- readonly type: v.LiteralSchema<"ref", undefined>;
782
- readonly id: v.StringSchema<undefined>;
783
- }, undefined>, v.ReadonlyAction<{
784
- type: "ref";
785
- id: string;
786
- }>]>, v.NumberSchema<undefined>], undefined>;
787
- readonly max: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
788
- readonly type: v.LiteralSchema<"parameter", undefined>;
789
- readonly id: v.StringSchema<undefined>;
790
- readonly name: v.StringSchema<undefined>;
791
- }, undefined>, v.ReadonlyAction<{
792
- type: "parameter";
793
- id: string;
794
- name: string;
795
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
796
- readonly type: v.LiteralSchema<"ref", undefined>;
797
- readonly id: v.StringSchema<undefined>;
798
- }, undefined>, v.ReadonlyAction<{
799
- type: "ref";
800
- id: string;
801
- }>]>, v.NumberSchema<undefined>], undefined>;
802
- }, undefined>, v.ReadonlyAction<{
803
- model: Readonly<{
804
- type: "parameter";
805
- id: string;
806
- name: string;
807
- }> | Readonly<{
808
- type: "ref";
809
- id: string;
810
- }> | import("./index.js").BuilderModelSerialised;
811
- min: number | Readonly<{
812
- type: "parameter";
813
- id: string;
814
- name: string;
815
- }> | Readonly<{
816
- type: "ref";
817
- id: string;
818
- }>;
819
- max: number | Readonly<{
820
- type: "parameter";
821
- id: string;
822
- name: string;
823
- }> | Readonly<{
824
- type: "ref";
825
- id: string;
826
- }>;
827
- }>]>;
1181
+ readonly pricingRates: {
1182
+ readonly runtime: v.GenericSchema<import("./index.js").BuilderRates>;
1183
+ readonly serialised: v.GenericSchema<import("./index.js").BuilderRates>;
828
1184
  };
829
1185
  readonly expectations: {
830
1186
  readonly runtime: v.SchemaWithPipe<readonly [v.ArraySchema<v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>, undefined>, v.ReadonlyAction<import("./expectation.js").BuilderExpectation<string, unknown, "option" | "component" | "collection">[]>]>;
@@ -839,308 +1195,6 @@ export declare const entitiesMap: {
839
1195
  kind: "option" | "component" | "collection";
840
1196
  }>[]>]>;
841
1197
  };
842
- readonly uiItems: {
843
- readonly runtime: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
844
- readonly type: v.LiteralSchema<"parameter", undefined>;
845
- readonly id: v.StringSchema<undefined>;
846
- readonly name: v.StringSchema<undefined>;
847
- }, undefined>, v.ReadonlyAction<{
848
- type: "parameter";
849
- id: string;
850
- name: string;
851
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
852
- readonly type: v.LiteralSchema<"ref", undefined>;
853
- readonly id: v.StringSchema<undefined>;
854
- }, undefined>, v.ReadonlyAction<{
855
- type: "ref";
856
- id: string;
857
- }>]>, v.GenericSchema<import("./index.js").BuilderUIItemSerialised>], undefined>, undefined>, v.ReadonlyAction<(Readonly<{
858
- type: "parameter";
859
- id: string;
860
- name: string;
861
- }> | Readonly<{
862
- type: "ref";
863
- id: string;
864
- }> | import("./index.js").BuilderUIItemSerialised)[]>]>;
865
- readonly serialised: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
866
- readonly type: v.LiteralSchema<"parameter", undefined>;
867
- readonly id: v.StringSchema<undefined>;
868
- readonly name: v.StringSchema<undefined>;
869
- }, undefined>, v.ReadonlyAction<{
870
- type: "parameter";
871
- id: string;
872
- name: string;
873
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
874
- readonly type: v.LiteralSchema<"ref", undefined>;
875
- readonly id: v.StringSchema<undefined>;
876
- }, undefined>, v.ReadonlyAction<{
877
- type: "ref";
878
- id: string;
879
- }>]>, v.GenericSchema<import("./index.js").BuilderUIItemSerialised>], undefined>, undefined>, v.ReadonlyAction<(Readonly<{
880
- type: "parameter";
881
- id: string;
882
- name: string;
883
- }> | Readonly<{
884
- type: "ref";
885
- id: string;
886
- }> | import("./index.js").BuilderUIItemSerialised)[]>]>;
887
- };
888
- readonly optionWhen: {
889
- readonly runtime: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<Readonly<{
890
- type: "select";
891
- readonly options: readonly [string, ...string[]];
892
- defaultValue: string | null;
893
- isOptional: boolean;
894
- optionLabels: {
895
- [x: string]: string;
896
- };
897
- }>> | Readonly<Readonly<{
898
- type: "toggle";
899
- valueType: "string" | "number" | "boolean";
900
- defaultValue: string | number | boolean | null;
901
- isOptional: boolean;
902
- }>>>>;
903
- readonly serialised: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<Readonly<{
904
- type: "select";
905
- readonly options: readonly [string, ...string[]];
906
- defaultValue: string | null;
907
- isOptional: boolean;
908
- optionLabels: {
909
- [x: string]: string;
910
- };
911
- }>> | Readonly<Readonly<{
912
- type: "toggle";
913
- valueType: "string" | "number" | "boolean";
914
- defaultValue: string | number | boolean | null;
915
- isOptional: boolean;
916
- }>>>>;
917
- };
918
- readonly componentWhen: {
919
- readonly runtime: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
920
- fields: Readonly<{
921
- type: "parameter";
922
- id: string;
923
- name: string;
924
- }> | Readonly<{
925
- type: "ref";
926
- id: string;
927
- }> | readonly Readonly<{
928
- type: "component-field";
929
- name: string;
930
- valueType: "string" | "number" | "boolean";
931
- isOptional: boolean;
932
- }>[];
933
- }>>>;
934
- readonly serialised: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
935
- fields: Readonly<{
936
- type: "parameter";
937
- id: string;
938
- name: string;
939
- }> | Readonly<{
940
- type: "ref";
941
- id: string;
942
- }> | readonly Readonly<{
943
- type: "component-field";
944
- name: string;
945
- valueType: "string" | "number" | "boolean";
946
- isOptional: boolean;
947
- }>[];
948
- }>>>;
949
- };
950
- readonly collectionWhen: {
951
- readonly runtime: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
952
- model: Readonly<{
953
- type: "parameter";
954
- id: string;
955
- name: string;
956
- }> | Readonly<{
957
- type: "ref";
958
- id: string;
959
- }> | import("./index.js").BuilderModelSerialised;
960
- min: number | Readonly<{
961
- type: "parameter";
962
- id: string;
963
- name: string;
964
- }> | Readonly<{
965
- type: "ref";
966
- id: string;
967
- }>;
968
- max: number | Readonly<{
969
- type: "parameter";
970
- id: string;
971
- name: string;
972
- }> | Readonly<{
973
- type: "ref";
974
- id: string;
975
- }>;
976
- }>>>;
977
- readonly serialised: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
978
- model: Readonly<{
979
- type: "parameter";
980
- id: string;
981
- name: string;
982
- }> | Readonly<{
983
- type: "ref";
984
- id: string;
985
- }> | import("./index.js").BuilderModelSerialised;
986
- min: number | Readonly<{
987
- type: "parameter";
988
- id: string;
989
- name: string;
990
- }> | Readonly<{
991
- type: "ref";
992
- id: string;
993
- }>;
994
- max: number | Readonly<{
995
- type: "parameter";
996
- id: string;
997
- name: string;
998
- }> | Readonly<{
999
- type: "ref";
1000
- id: string;
1001
- }>;
1002
- }>>>;
1003
- };
1004
- readonly optionSelectMap: {
1005
- readonly runtime: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
1006
- type: "parameter";
1007
- id: string;
1008
- name: string;
1009
- }> | Readonly<Readonly<{
1010
- type: "select";
1011
- readonly options: readonly [string, ...string[]];
1012
- defaultValue: string | null;
1013
- isOptional: boolean;
1014
- optionLabels: {
1015
- [x: string]: string;
1016
- };
1017
- }>> | Readonly<Readonly<{
1018
- type: "toggle";
1019
- valueType: "string" | "number" | "boolean";
1020
- defaultValue: string | number | boolean | null;
1021
- isOptional: boolean;
1022
- }>>>>;
1023
- readonly serialised: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
1024
- type: "parameter";
1025
- id: string;
1026
- name: string;
1027
- }> | Readonly<Readonly<{
1028
- type: "select";
1029
- readonly options: readonly [string, ...string[]];
1030
- defaultValue: string | null;
1031
- isOptional: boolean;
1032
- optionLabels: {
1033
- [x: string]: string;
1034
- };
1035
- }>> | Readonly<Readonly<{
1036
- type: "toggle";
1037
- valueType: "string" | "number" | "boolean";
1038
- defaultValue: string | number | boolean | null;
1039
- isOptional: boolean;
1040
- }>>>>;
1041
- };
1042
- readonly componentSelectMap: {
1043
- readonly runtime: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
1044
- type: "parameter";
1045
- id: string;
1046
- name: string;
1047
- }> | Readonly<{
1048
- fields: Readonly<{
1049
- type: "parameter";
1050
- id: string;
1051
- name: string;
1052
- }> | Readonly<{
1053
- type: "ref";
1054
- id: string;
1055
- }> | readonly Readonly<{
1056
- type: "component-field";
1057
- name: string;
1058
- valueType: "string" | "number" | "boolean";
1059
- isOptional: boolean;
1060
- }>[];
1061
- }>>>;
1062
- readonly serialised: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
1063
- type: "parameter";
1064
- id: string;
1065
- name: string;
1066
- }> | Readonly<{
1067
- fields: Readonly<{
1068
- type: "parameter";
1069
- id: string;
1070
- name: string;
1071
- }> | Readonly<{
1072
- type: "ref";
1073
- id: string;
1074
- }> | readonly Readonly<{
1075
- type: "component-field";
1076
- name: string;
1077
- valueType: "string" | "number" | "boolean";
1078
- isOptional: boolean;
1079
- }>[];
1080
- }>>>;
1081
- };
1082
- readonly collectionSelectMap: {
1083
- readonly runtime: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
1084
- type: "parameter";
1085
- id: string;
1086
- name: string;
1087
- }> | Readonly<{
1088
- model: Readonly<{
1089
- type: "parameter";
1090
- id: string;
1091
- name: string;
1092
- }> | Readonly<{
1093
- type: "ref";
1094
- id: string;
1095
- }> | import("./index.js").BuilderModelSerialised;
1096
- min: number | Readonly<{
1097
- type: "parameter";
1098
- id: string;
1099
- name: string;
1100
- }> | Readonly<{
1101
- type: "ref";
1102
- id: string;
1103
- }>;
1104
- max: number | Readonly<{
1105
- type: "parameter";
1106
- id: string;
1107
- name: string;
1108
- }> | Readonly<{
1109
- type: "ref";
1110
- id: string;
1111
- }>;
1112
- }>>>;
1113
- readonly serialised: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
1114
- type: "parameter";
1115
- id: string;
1116
- name: string;
1117
- }> | Readonly<{
1118
- model: Readonly<{
1119
- type: "parameter";
1120
- id: string;
1121
- name: string;
1122
- }> | Readonly<{
1123
- type: "ref";
1124
- id: string;
1125
- }> | import("./index.js").BuilderModelSerialised;
1126
- min: number | Readonly<{
1127
- type: "parameter";
1128
- id: string;
1129
- name: string;
1130
- }> | Readonly<{
1131
- type: "ref";
1132
- id: string;
1133
- }>;
1134
- max: number | Readonly<{
1135
- type: "parameter";
1136
- id: string;
1137
- name: string;
1138
- }> | Readonly<{
1139
- type: "ref";
1140
- id: string;
1141
- }>;
1142
- }>>>;
1143
- };
1144
1198
  readonly paths: {
1145
1199
  readonly runtime: 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)[])[]>]>;
1146
1200
  readonly serialised: 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)[])[]>]>;