@builder-builder/builder 0.0.15 → 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.
- package/dist/bb.d.ts +7 -5
- package/dist/bb.js +11 -9
- package/dist/entities/builder/builder.d.ts +14 -10
- package/dist/entities/builder/builder.js +9 -6
- package/dist/entities/builder/index.d.ts +1 -2
- package/dist/entities/builder/index.js +1 -2
- package/dist/entities/index.d.ts +2 -2
- package/dist/entities/index.js +1 -1
- package/dist/entities/kind.d.ts +1 -1
- package/dist/entities/model/methods.d.ts +3 -3
- package/dist/entities/pricing/expression.d.ts +70 -0
- package/dist/entities/pricing/expression.js +43 -0
- package/dist/entities/pricing/index.d.ts +6 -0
- package/dist/entities/pricing/index.js +3 -0
- package/dist/entities/pricing/pricing.d.ts +17 -0
- package/dist/entities/pricing/pricing.js +21 -0
- package/dist/entities/pricing/rates.d.ts +3 -0
- package/dist/entities/pricing/rates.js +3 -0
- package/dist/entities/serialise.d.ts +519 -543
- package/dist/entities/serialise.js +38 -33
- package/dist/entities/validated.d.ts +3 -3
- package/dist/environment.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/mappers/index.d.ts +2 -2
- package/dist/mappers/index.js +1 -1
- package/dist/mappers/price.d.ts +3 -0
- package/dist/mappers/price.js +111 -0
- package/dist/validate/builder.js +15 -10
- package/dist/validate/errors.d.ts +13 -3
- package/dist/validate/errors.js +11 -3
- package/dist/validate/index.d.ts +1 -1
- package/dist/validate/model.js +5 -62
- package/dist/validate/paths.d.ts +5 -0
- package/dist/validate/paths.js +68 -0
- package/dist/validate/pricing.d.ts +5 -3
- package/dist/validate/pricing.js +95 -39
- package/dist/validate/ui.js +60 -1
- package/dist/validate/variants.js +4 -0
- package/package.json +1 -10
- package/dist/cli.d.ts +0 -2
- package/dist/cli.js +0 -53
- package/dist/codegen/index.d.ts +0 -7
- package/dist/codegen/index.js +0 -212
- package/dist/codegen/template.d.ts +0 -5
- package/dist/codegen/template.js +0 -17
- package/dist/entities/builder/factory.d.ts +0 -7
- package/dist/entities/builder/factory.js +0 -4
- package/dist/entities/pricing.d.ts +0 -64
- package/dist/entities/pricing.js +0 -48
- package/dist/mappers/pricing.d.ts +0 -3
- package/dist/mappers/pricing.js +0 -101
|
@@ -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<{
|
|
@@ -48,11 +44,86 @@ export declare const entitiesMap: {
|
|
|
48
44
|
tags?: readonly string[] | undefined;
|
|
49
45
|
}>]>;
|
|
50
46
|
};
|
|
51
|
-
readonly
|
|
52
|
-
readonly runtime: v.
|
|
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>;
|
|
53
125
|
readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
54
|
-
readonly
|
|
55
|
-
readonly label: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
126
|
+
readonly fields: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
56
127
|
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
57
128
|
readonly id: v.StringSchema<undefined>;
|
|
58
129
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -66,8 +137,128 @@ export declare const entitiesMap: {
|
|
|
66
137
|
}, undefined>, v.ReadonlyAction<{
|
|
67
138
|
type: "ref";
|
|
68
139
|
id: string;
|
|
69
|
-
}>]>, v.
|
|
70
|
-
|
|
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<{
|
|
71
262
|
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
72
263
|
readonly id: v.StringSchema<undefined>;
|
|
73
264
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -81,7 +272,8 @@ export declare const entitiesMap: {
|
|
|
81
272
|
}, undefined>, v.ReadonlyAction<{
|
|
82
273
|
type: "ref";
|
|
83
274
|
id: string;
|
|
84
|
-
}>]>, v.
|
|
275
|
+
}>]>, v.LazySchema<v.GenericSchema<import("./index.js").BuilderModelSerialised>>], undefined>;
|
|
276
|
+
readonly min: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
85
277
|
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
86
278
|
readonly id: v.StringSchema<undefined>;
|
|
87
279
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -95,40 +287,256 @@ export declare const entitiesMap: {
|
|
|
95
287
|
}, undefined>, v.ReadonlyAction<{
|
|
96
288
|
type: "ref";
|
|
97
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;
|
|
98
299
|
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
99
|
-
readonly type: v.LiteralSchema<"
|
|
100
|
-
readonly
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
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>;
|
|
132
540
|
readonly id: v.StringSchema<undefined>;
|
|
133
541
|
readonly name: v.StringSchema<undefined>;
|
|
134
542
|
}, undefined>, v.ReadonlyAction<{
|
|
@@ -258,7 +666,7 @@ export declare const entitiesMap: {
|
|
|
258
666
|
}>)[]>]>], undefined>;
|
|
259
667
|
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
|
|
260
668
|
}, undefined>, v.ReadonlyAction<{
|
|
261
|
-
type: "
|
|
669
|
+
type: "describe";
|
|
262
670
|
label: string | Readonly<{
|
|
263
671
|
type: "parameter";
|
|
264
672
|
id: string;
|
|
@@ -322,20 +730,66 @@ export declare const entitiesMap: {
|
|
|
322
730
|
tags?: readonly string[] | undefined;
|
|
323
731
|
}>]>;
|
|
324
732
|
};
|
|
325
|
-
readonly
|
|
326
|
-
readonly runtime: v.
|
|
327
|
-
|
|
328
|
-
readonly
|
|
329
|
-
readonly
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
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>;
|
|
781
|
+
readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
782
|
+
readonly type: v.LiteralSchema<"page", undefined>;
|
|
783
|
+
readonly label: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
784
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
785
|
+
readonly id: v.StringSchema<undefined>;
|
|
786
|
+
readonly name: v.StringSchema<undefined>;
|
|
787
|
+
}, undefined>, v.ReadonlyAction<{
|
|
788
|
+
type: "parameter";
|
|
789
|
+
id: string;
|
|
790
|
+
name: string;
|
|
791
|
+
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
792
|
+
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
339
793
|
readonly id: v.StringSchema<undefined>;
|
|
340
794
|
}, undefined>, v.ReadonlyAction<{
|
|
341
795
|
type: "ref";
|
|
@@ -532,7 +986,7 @@ export declare const entitiesMap: {
|
|
|
532
986
|
}>)[]>]>], undefined>;
|
|
533
987
|
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
|
|
534
988
|
}, undefined>, v.ReadonlyAction<{
|
|
535
|
-
type: "
|
|
989
|
+
type: "page";
|
|
536
990
|
label: string | Readonly<{
|
|
537
991
|
type: "parameter";
|
|
538
992
|
id: string;
|
|
@@ -721,168 +1175,12 @@ export declare const entitiesMap: {
|
|
|
721
1175
|
}>]>;
|
|
722
1176
|
};
|
|
723
1177
|
readonly pricing: {
|
|
724
|
-
readonly runtime: v.
|
|
725
|
-
|
|
726
|
-
[x: string]: {
|
|
727
|
-
[x: string]: number;
|
|
728
|
-
};
|
|
729
|
-
}>]>;
|
|
730
|
-
readonly formula: v.GenericSchema<import("./pricing.js").BuilderPricingExpression>;
|
|
731
|
-
}, undefined>, v.ReadonlyAction<{
|
|
732
|
-
readonly rates: Readonly<{
|
|
733
|
-
[x: string]: {
|
|
734
|
-
[x: string]: number;
|
|
735
|
-
};
|
|
736
|
-
}>;
|
|
737
|
-
formula: import("./pricing.js").BuilderPricingExpression;
|
|
738
|
-
}>]>;
|
|
739
|
-
readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
740
|
-
readonly rates: v.SchemaWithPipe<readonly [v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>, v.ReadonlyAction<{
|
|
741
|
-
[x: string]: {
|
|
742
|
-
[x: string]: number;
|
|
743
|
-
};
|
|
744
|
-
}>]>;
|
|
745
|
-
readonly formula: v.GenericSchema<import("./pricing.js").BuilderPricingExpression>;
|
|
746
|
-
}, undefined>, v.ReadonlyAction<{
|
|
747
|
-
readonly rates: Readonly<{
|
|
748
|
-
[x: string]: {
|
|
749
|
-
[x: string]: number;
|
|
750
|
-
};
|
|
751
|
-
}>;
|
|
752
|
-
formula: import("./pricing.js").BuilderPricingExpression;
|
|
753
|
-
}>]>;
|
|
754
|
-
};
|
|
755
|
-
readonly componentDetails: {
|
|
756
|
-
readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
|
|
757
|
-
readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
758
|
-
readonly fields: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
759
|
-
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
760
|
-
readonly id: v.StringSchema<undefined>;
|
|
761
|
-
readonly name: v.StringSchema<undefined>;
|
|
762
|
-
}, undefined>, v.ReadonlyAction<{
|
|
763
|
-
type: "parameter";
|
|
764
|
-
id: string;
|
|
765
|
-
name: string;
|
|
766
|
-
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
767
|
-
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
768
|
-
readonly id: v.StringSchema<undefined>;
|
|
769
|
-
}, undefined>, v.ReadonlyAction<{
|
|
770
|
-
type: "ref";
|
|
771
|
-
id: string;
|
|
772
|
-
}>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
773
|
-
readonly type: v.LiteralSchema<"component-field", undefined>;
|
|
774
|
-
readonly name: v.StringSchema<undefined>;
|
|
775
|
-
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
776
|
-
readonly isOptional: v.BooleanSchema<undefined>;
|
|
777
|
-
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
|
|
778
|
-
}, undefined>, v.ReadonlyAction<{
|
|
779
|
-
type: "component-field";
|
|
780
|
-
name: string;
|
|
781
|
-
valueType: "string" | "number" | "boolean";
|
|
782
|
-
isOptional: boolean;
|
|
783
|
-
tags?: readonly string[] | undefined;
|
|
784
|
-
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
785
|
-
type: "component-field";
|
|
786
|
-
name: string;
|
|
787
|
-
valueType: "string" | "number" | "boolean";
|
|
788
|
-
isOptional: boolean;
|
|
789
|
-
tags?: readonly string[] | undefined;
|
|
790
|
-
}>[]>]>], undefined>;
|
|
791
|
-
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
|
|
792
|
-
}, undefined>, v.ReadonlyAction<{
|
|
793
|
-
fields: Readonly<{
|
|
794
|
-
type: "parameter";
|
|
795
|
-
id: string;
|
|
796
|
-
name: string;
|
|
797
|
-
}> | Readonly<{
|
|
798
|
-
type: "ref";
|
|
799
|
-
id: string;
|
|
800
|
-
}> | readonly Readonly<{
|
|
801
|
-
type: "component-field";
|
|
802
|
-
name: string;
|
|
803
|
-
valueType: "string" | "number" | "boolean";
|
|
804
|
-
isOptional: boolean;
|
|
805
|
-
tags?: readonly string[] | undefined;
|
|
806
|
-
}>[];
|
|
807
|
-
tags?: readonly string[] | undefined;
|
|
808
|
-
}>]>;
|
|
1178
|
+
readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderPricing, undefined>;
|
|
1179
|
+
readonly serialised: v.GenericSchema<import("./index.js").BuilderPricingSerialised>;
|
|
809
1180
|
};
|
|
810
|
-
readonly
|
|
811
|
-
readonly runtime: v.
|
|
812
|
-
readonly serialised: v.
|
|
813
|
-
readonly model: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
814
|
-
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
815
|
-
readonly id: v.StringSchema<undefined>;
|
|
816
|
-
readonly name: v.StringSchema<undefined>;
|
|
817
|
-
}, undefined>, v.ReadonlyAction<{
|
|
818
|
-
type: "parameter";
|
|
819
|
-
id: string;
|
|
820
|
-
name: string;
|
|
821
|
-
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
822
|
-
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
823
|
-
readonly id: v.StringSchema<undefined>;
|
|
824
|
-
}, undefined>, v.ReadonlyAction<{
|
|
825
|
-
type: "ref";
|
|
826
|
-
id: string;
|
|
827
|
-
}>]>, v.LazySchema<v.GenericSchema<import("./index.js").BuilderModelSerialised>>], undefined>;
|
|
828
|
-
readonly min: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
829
|
-
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
830
|
-
readonly id: v.StringSchema<undefined>;
|
|
831
|
-
readonly name: v.StringSchema<undefined>;
|
|
832
|
-
}, undefined>, v.ReadonlyAction<{
|
|
833
|
-
type: "parameter";
|
|
834
|
-
id: string;
|
|
835
|
-
name: string;
|
|
836
|
-
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
837
|
-
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
838
|
-
readonly id: v.StringSchema<undefined>;
|
|
839
|
-
}, undefined>, v.ReadonlyAction<{
|
|
840
|
-
type: "ref";
|
|
841
|
-
id: string;
|
|
842
|
-
}>]>, v.NumberSchema<undefined>], undefined>;
|
|
843
|
-
readonly max: 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.NumberSchema<undefined>], undefined>;
|
|
858
|
-
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
|
|
859
|
-
}, undefined>, v.ReadonlyAction<{
|
|
860
|
-
model: Readonly<{
|
|
861
|
-
type: "parameter";
|
|
862
|
-
id: string;
|
|
863
|
-
name: string;
|
|
864
|
-
}> | Readonly<{
|
|
865
|
-
type: "ref";
|
|
866
|
-
id: string;
|
|
867
|
-
}> | import("./index.js").BuilderModelSerialised;
|
|
868
|
-
min: number | Readonly<{
|
|
869
|
-
type: "parameter";
|
|
870
|
-
id: string;
|
|
871
|
-
name: string;
|
|
872
|
-
}> | Readonly<{
|
|
873
|
-
type: "ref";
|
|
874
|
-
id: string;
|
|
875
|
-
}>;
|
|
876
|
-
max: number | Readonly<{
|
|
877
|
-
type: "parameter";
|
|
878
|
-
id: string;
|
|
879
|
-
name: string;
|
|
880
|
-
}> | Readonly<{
|
|
881
|
-
type: "ref";
|
|
882
|
-
id: string;
|
|
883
|
-
}>;
|
|
884
|
-
tags?: readonly string[] | undefined;
|
|
885
|
-
}>]>;
|
|
1181
|
+
readonly pricingRates: {
|
|
1182
|
+
readonly runtime: v.GenericSchema<import("./index.js").BuilderRates>;
|
|
1183
|
+
readonly serialised: v.GenericSchema<import("./index.js").BuilderRates>;
|
|
886
1184
|
};
|
|
887
1185
|
readonly expectations: {
|
|
888
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">[]>]>;
|
|
@@ -897,328 +1195,6 @@ export declare const entitiesMap: {
|
|
|
897
1195
|
kind: "option" | "component" | "collection";
|
|
898
1196
|
}>[]>]>;
|
|
899
1197
|
};
|
|
900
|
-
readonly uiItems: {
|
|
901
|
-
readonly runtime: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
902
|
-
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
903
|
-
readonly id: v.StringSchema<undefined>;
|
|
904
|
-
readonly name: v.StringSchema<undefined>;
|
|
905
|
-
}, undefined>, v.ReadonlyAction<{
|
|
906
|
-
type: "parameter";
|
|
907
|
-
id: string;
|
|
908
|
-
name: string;
|
|
909
|
-
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
910
|
-
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
911
|
-
readonly id: v.StringSchema<undefined>;
|
|
912
|
-
}, undefined>, v.ReadonlyAction<{
|
|
913
|
-
type: "ref";
|
|
914
|
-
id: string;
|
|
915
|
-
}>]>, v.GenericSchema<import("./index.js").BuilderUIItemSerialised>], undefined>, undefined>, v.ReadonlyAction<(Readonly<{
|
|
916
|
-
type: "parameter";
|
|
917
|
-
id: string;
|
|
918
|
-
name: string;
|
|
919
|
-
}> | Readonly<{
|
|
920
|
-
type: "ref";
|
|
921
|
-
id: string;
|
|
922
|
-
}> | import("./index.js").BuilderUIItemSerialised)[]>]>;
|
|
923
|
-
readonly serialised: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
924
|
-
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
925
|
-
readonly id: v.StringSchema<undefined>;
|
|
926
|
-
readonly name: v.StringSchema<undefined>;
|
|
927
|
-
}, undefined>, v.ReadonlyAction<{
|
|
928
|
-
type: "parameter";
|
|
929
|
-
id: string;
|
|
930
|
-
name: string;
|
|
931
|
-
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
932
|
-
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
933
|
-
readonly id: v.StringSchema<undefined>;
|
|
934
|
-
}, undefined>, v.ReadonlyAction<{
|
|
935
|
-
type: "ref";
|
|
936
|
-
id: string;
|
|
937
|
-
}>]>, v.GenericSchema<import("./index.js").BuilderUIItemSerialised>], undefined>, undefined>, v.ReadonlyAction<(Readonly<{
|
|
938
|
-
type: "parameter";
|
|
939
|
-
id: string;
|
|
940
|
-
name: string;
|
|
941
|
-
}> | Readonly<{
|
|
942
|
-
type: "ref";
|
|
943
|
-
id: string;
|
|
944
|
-
}> | import("./index.js").BuilderUIItemSerialised)[]>]>;
|
|
945
|
-
};
|
|
946
|
-
readonly optionWhen: {
|
|
947
|
-
readonly runtime: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<Readonly<{
|
|
948
|
-
type: "select";
|
|
949
|
-
readonly options: readonly [string, ...string[]];
|
|
950
|
-
defaultValue: string | null;
|
|
951
|
-
isOptional: boolean;
|
|
952
|
-
optionLabels: {
|
|
953
|
-
[x: string]: string;
|
|
954
|
-
};
|
|
955
|
-
tags?: readonly string[] | undefined;
|
|
956
|
-
}>> | Readonly<Readonly<{
|
|
957
|
-
type: "toggle";
|
|
958
|
-
valueType: "string" | "number" | "boolean";
|
|
959
|
-
defaultValue: string | number | boolean | null;
|
|
960
|
-
isOptional: boolean;
|
|
961
|
-
tags?: readonly string[] | undefined;
|
|
962
|
-
}>>>>;
|
|
963
|
-
readonly serialised: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<Readonly<{
|
|
964
|
-
type: "select";
|
|
965
|
-
readonly options: readonly [string, ...string[]];
|
|
966
|
-
defaultValue: string | null;
|
|
967
|
-
isOptional: boolean;
|
|
968
|
-
optionLabels: {
|
|
969
|
-
[x: string]: string;
|
|
970
|
-
};
|
|
971
|
-
tags?: readonly string[] | undefined;
|
|
972
|
-
}>> | Readonly<Readonly<{
|
|
973
|
-
type: "toggle";
|
|
974
|
-
valueType: "string" | "number" | "boolean";
|
|
975
|
-
defaultValue: string | number | boolean | null;
|
|
976
|
-
isOptional: boolean;
|
|
977
|
-
tags?: readonly string[] | undefined;
|
|
978
|
-
}>>>>;
|
|
979
|
-
};
|
|
980
|
-
readonly componentWhen: {
|
|
981
|
-
readonly runtime: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
|
|
982
|
-
fields: Readonly<{
|
|
983
|
-
type: "parameter";
|
|
984
|
-
id: string;
|
|
985
|
-
name: string;
|
|
986
|
-
}> | Readonly<{
|
|
987
|
-
type: "ref";
|
|
988
|
-
id: string;
|
|
989
|
-
}> | readonly Readonly<{
|
|
990
|
-
type: "component-field";
|
|
991
|
-
name: string;
|
|
992
|
-
valueType: "string" | "number" | "boolean";
|
|
993
|
-
isOptional: boolean;
|
|
994
|
-
tags?: readonly string[] | undefined;
|
|
995
|
-
}>[];
|
|
996
|
-
tags?: readonly string[] | undefined;
|
|
997
|
-
}>>>;
|
|
998
|
-
readonly serialised: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
|
|
999
|
-
fields: Readonly<{
|
|
1000
|
-
type: "parameter";
|
|
1001
|
-
id: string;
|
|
1002
|
-
name: string;
|
|
1003
|
-
}> | Readonly<{
|
|
1004
|
-
type: "ref";
|
|
1005
|
-
id: string;
|
|
1006
|
-
}> | readonly Readonly<{
|
|
1007
|
-
type: "component-field";
|
|
1008
|
-
name: string;
|
|
1009
|
-
valueType: "string" | "number" | "boolean";
|
|
1010
|
-
isOptional: boolean;
|
|
1011
|
-
tags?: readonly string[] | undefined;
|
|
1012
|
-
}>[];
|
|
1013
|
-
tags?: readonly string[] | undefined;
|
|
1014
|
-
}>>>;
|
|
1015
|
-
};
|
|
1016
|
-
readonly collectionWhen: {
|
|
1017
|
-
readonly runtime: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
|
|
1018
|
-
model: Readonly<{
|
|
1019
|
-
type: "parameter";
|
|
1020
|
-
id: string;
|
|
1021
|
-
name: string;
|
|
1022
|
-
}> | Readonly<{
|
|
1023
|
-
type: "ref";
|
|
1024
|
-
id: string;
|
|
1025
|
-
}> | import("./index.js").BuilderModelSerialised;
|
|
1026
|
-
min: number | Readonly<{
|
|
1027
|
-
type: "parameter";
|
|
1028
|
-
id: string;
|
|
1029
|
-
name: string;
|
|
1030
|
-
}> | Readonly<{
|
|
1031
|
-
type: "ref";
|
|
1032
|
-
id: string;
|
|
1033
|
-
}>;
|
|
1034
|
-
max: number | Readonly<{
|
|
1035
|
-
type: "parameter";
|
|
1036
|
-
id: string;
|
|
1037
|
-
name: string;
|
|
1038
|
-
}> | Readonly<{
|
|
1039
|
-
type: "ref";
|
|
1040
|
-
id: string;
|
|
1041
|
-
}>;
|
|
1042
|
-
tags?: readonly string[] | undefined;
|
|
1043
|
-
}>>>;
|
|
1044
|
-
readonly serialised: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
|
|
1045
|
-
model: Readonly<{
|
|
1046
|
-
type: "parameter";
|
|
1047
|
-
id: string;
|
|
1048
|
-
name: string;
|
|
1049
|
-
}> | Readonly<{
|
|
1050
|
-
type: "ref";
|
|
1051
|
-
id: string;
|
|
1052
|
-
}> | import("./index.js").BuilderModelSerialised;
|
|
1053
|
-
min: number | Readonly<{
|
|
1054
|
-
type: "parameter";
|
|
1055
|
-
id: string;
|
|
1056
|
-
name: string;
|
|
1057
|
-
}> | Readonly<{
|
|
1058
|
-
type: "ref";
|
|
1059
|
-
id: string;
|
|
1060
|
-
}>;
|
|
1061
|
-
max: number | Readonly<{
|
|
1062
|
-
type: "parameter";
|
|
1063
|
-
id: string;
|
|
1064
|
-
name: string;
|
|
1065
|
-
}> | Readonly<{
|
|
1066
|
-
type: "ref";
|
|
1067
|
-
id: string;
|
|
1068
|
-
}>;
|
|
1069
|
-
tags?: readonly string[] | undefined;
|
|
1070
|
-
}>>>;
|
|
1071
|
-
};
|
|
1072
|
-
readonly optionSelectMap: {
|
|
1073
|
-
readonly runtime: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
|
|
1074
|
-
type: "parameter";
|
|
1075
|
-
id: string;
|
|
1076
|
-
name: string;
|
|
1077
|
-
}> | Readonly<Readonly<{
|
|
1078
|
-
type: "select";
|
|
1079
|
-
readonly options: readonly [string, ...string[]];
|
|
1080
|
-
defaultValue: string | null;
|
|
1081
|
-
isOptional: boolean;
|
|
1082
|
-
optionLabels: {
|
|
1083
|
-
[x: string]: string;
|
|
1084
|
-
};
|
|
1085
|
-
tags?: readonly string[] | undefined;
|
|
1086
|
-
}>> | Readonly<Readonly<{
|
|
1087
|
-
type: "toggle";
|
|
1088
|
-
valueType: "string" | "number" | "boolean";
|
|
1089
|
-
defaultValue: string | number | boolean | null;
|
|
1090
|
-
isOptional: boolean;
|
|
1091
|
-
tags?: readonly string[] | undefined;
|
|
1092
|
-
}>>>>;
|
|
1093
|
-
readonly serialised: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
|
|
1094
|
-
type: "parameter";
|
|
1095
|
-
id: string;
|
|
1096
|
-
name: string;
|
|
1097
|
-
}> | Readonly<Readonly<{
|
|
1098
|
-
type: "select";
|
|
1099
|
-
readonly options: readonly [string, ...string[]];
|
|
1100
|
-
defaultValue: string | null;
|
|
1101
|
-
isOptional: boolean;
|
|
1102
|
-
optionLabels: {
|
|
1103
|
-
[x: string]: string;
|
|
1104
|
-
};
|
|
1105
|
-
tags?: readonly string[] | undefined;
|
|
1106
|
-
}>> | Readonly<Readonly<{
|
|
1107
|
-
type: "toggle";
|
|
1108
|
-
valueType: "string" | "number" | "boolean";
|
|
1109
|
-
defaultValue: string | number | boolean | null;
|
|
1110
|
-
isOptional: boolean;
|
|
1111
|
-
tags?: readonly string[] | undefined;
|
|
1112
|
-
}>>>>;
|
|
1113
|
-
};
|
|
1114
|
-
readonly componentSelectMap: {
|
|
1115
|
-
readonly runtime: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
|
|
1116
|
-
type: "parameter";
|
|
1117
|
-
id: string;
|
|
1118
|
-
name: string;
|
|
1119
|
-
}> | Readonly<{
|
|
1120
|
-
fields: Readonly<{
|
|
1121
|
-
type: "parameter";
|
|
1122
|
-
id: string;
|
|
1123
|
-
name: string;
|
|
1124
|
-
}> | Readonly<{
|
|
1125
|
-
type: "ref";
|
|
1126
|
-
id: string;
|
|
1127
|
-
}> | readonly Readonly<{
|
|
1128
|
-
type: "component-field";
|
|
1129
|
-
name: string;
|
|
1130
|
-
valueType: "string" | "number" | "boolean";
|
|
1131
|
-
isOptional: boolean;
|
|
1132
|
-
tags?: readonly string[] | undefined;
|
|
1133
|
-
}>[];
|
|
1134
|
-
tags?: readonly string[] | undefined;
|
|
1135
|
-
}>>>;
|
|
1136
|
-
readonly serialised: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
|
|
1137
|
-
type: "parameter";
|
|
1138
|
-
id: string;
|
|
1139
|
-
name: string;
|
|
1140
|
-
}> | Readonly<{
|
|
1141
|
-
fields: Readonly<{
|
|
1142
|
-
type: "parameter";
|
|
1143
|
-
id: string;
|
|
1144
|
-
name: string;
|
|
1145
|
-
}> | Readonly<{
|
|
1146
|
-
type: "ref";
|
|
1147
|
-
id: string;
|
|
1148
|
-
}> | readonly Readonly<{
|
|
1149
|
-
type: "component-field";
|
|
1150
|
-
name: string;
|
|
1151
|
-
valueType: "string" | "number" | "boolean";
|
|
1152
|
-
isOptional: boolean;
|
|
1153
|
-
tags?: readonly string[] | undefined;
|
|
1154
|
-
}>[];
|
|
1155
|
-
tags?: readonly string[] | undefined;
|
|
1156
|
-
}>>>;
|
|
1157
|
-
};
|
|
1158
|
-
readonly collectionSelectMap: {
|
|
1159
|
-
readonly runtime: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
|
|
1160
|
-
type: "parameter";
|
|
1161
|
-
id: string;
|
|
1162
|
-
name: string;
|
|
1163
|
-
}> | Readonly<{
|
|
1164
|
-
model: Readonly<{
|
|
1165
|
-
type: "parameter";
|
|
1166
|
-
id: string;
|
|
1167
|
-
name: string;
|
|
1168
|
-
}> | Readonly<{
|
|
1169
|
-
type: "ref";
|
|
1170
|
-
id: string;
|
|
1171
|
-
}> | import("./index.js").BuilderModelSerialised;
|
|
1172
|
-
min: number | Readonly<{
|
|
1173
|
-
type: "parameter";
|
|
1174
|
-
id: string;
|
|
1175
|
-
name: string;
|
|
1176
|
-
}> | Readonly<{
|
|
1177
|
-
type: "ref";
|
|
1178
|
-
id: string;
|
|
1179
|
-
}>;
|
|
1180
|
-
max: number | Readonly<{
|
|
1181
|
-
type: "parameter";
|
|
1182
|
-
id: string;
|
|
1183
|
-
name: string;
|
|
1184
|
-
}> | Readonly<{
|
|
1185
|
-
type: "ref";
|
|
1186
|
-
id: string;
|
|
1187
|
-
}>;
|
|
1188
|
-
tags?: readonly string[] | undefined;
|
|
1189
|
-
}>>>;
|
|
1190
|
-
readonly serialised: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
|
|
1191
|
-
type: "parameter";
|
|
1192
|
-
id: string;
|
|
1193
|
-
name: string;
|
|
1194
|
-
}> | Readonly<{
|
|
1195
|
-
model: Readonly<{
|
|
1196
|
-
type: "parameter";
|
|
1197
|
-
id: string;
|
|
1198
|
-
name: string;
|
|
1199
|
-
}> | Readonly<{
|
|
1200
|
-
type: "ref";
|
|
1201
|
-
id: string;
|
|
1202
|
-
}> | import("./index.js").BuilderModelSerialised;
|
|
1203
|
-
min: number | Readonly<{
|
|
1204
|
-
type: "parameter";
|
|
1205
|
-
id: string;
|
|
1206
|
-
name: string;
|
|
1207
|
-
}> | Readonly<{
|
|
1208
|
-
type: "ref";
|
|
1209
|
-
id: string;
|
|
1210
|
-
}>;
|
|
1211
|
-
max: number | Readonly<{
|
|
1212
|
-
type: "parameter";
|
|
1213
|
-
id: string;
|
|
1214
|
-
name: string;
|
|
1215
|
-
}> | Readonly<{
|
|
1216
|
-
type: "ref";
|
|
1217
|
-
id: string;
|
|
1218
|
-
}>;
|
|
1219
|
-
tags?: readonly string[] | undefined;
|
|
1220
|
-
}>>>;
|
|
1221
|
-
};
|
|
1222
1198
|
readonly paths: {
|
|
1223
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)[])[]>]>;
|
|
1224
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)[])[]>]>;
|