@builder-builder/builder 0.0.10 → 0.0.12

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 (191) hide show
  1. package/dist/bb.d.ts +28 -0
  2. package/dist/bb.js +49 -0
  3. package/dist/check.d.ts +1 -1
  4. package/dist/check.js +4 -2
  5. package/dist/entities/builder/bind.d.ts +4 -85
  6. package/dist/entities/builder/bind.js +1 -9
  7. package/dist/entities/builder/builder.d.ts +17 -509
  8. package/dist/entities/builder/builder.js +19 -79
  9. package/dist/entities/builder/factory.d.ts +7 -0
  10. package/dist/entities/builder/factory.js +4 -0
  11. package/dist/entities/builder/index.d.ts +3 -6
  12. package/dist/entities/builder/index.js +1 -2
  13. package/dist/entities/collection/collection.d.ts +69 -19
  14. package/dist/entities/collection/collection.js +7 -25
  15. package/dist/entities/collection/config.d.ts +38 -1095
  16. package/dist/entities/collection/config.js +8 -8
  17. package/dist/entities/collection/expectation.d.ts +8 -4
  18. package/dist/entities/collection/index.d.ts +2 -2
  19. package/dist/entities/collection/when.d.ts +5 -4
  20. package/dist/entities/component/component.d.ts +264 -293
  21. package/dist/entities/component/component.js +5 -5
  22. package/dist/entities/component/details.d.ts +32 -57
  23. package/dist/entities/component/details.js +8 -8
  24. package/dist/entities/component/expectation.d.ts +7 -4
  25. package/dist/entities/component/expectation.js +0 -3
  26. package/dist/entities/component/field.d.ts +50 -0
  27. package/dist/entities/component/field.js +41 -0
  28. package/dist/entities/component/index.d.ts +4 -2
  29. package/dist/entities/component/index.js +2 -1
  30. package/dist/entities/component/when.d.ts +1 -1
  31. package/dist/entities/component/when.js +2 -2
  32. package/dist/entities/entry.d.ts +4 -0
  33. package/dist/entities/expectation.d.ts +10 -22
  34. package/dist/entities/expectation.js +2 -7
  35. package/dist/entities/index.d.ts +20 -17
  36. package/dist/entities/index.js +9 -8
  37. package/dist/entities/kind.d.ts +8 -5
  38. package/dist/entities/kind.js +3 -4
  39. package/dist/entities/model/bind.d.ts +83 -0
  40. package/dist/entities/model/expectation.d.ts +16 -0
  41. package/dist/entities/model/index.d.ts +7 -0
  42. package/dist/entities/model/index.js +2 -0
  43. package/dist/entities/model/methods.d.ts +57 -0
  44. package/dist/entities/{builder → model}/methods.js +8 -8
  45. package/dist/entities/model/model.d.ts +39 -0
  46. package/dist/entities/model/model.js +73 -0
  47. package/dist/entities/model/models.d.ts +39 -0
  48. package/dist/entities/model/models.js +14 -0
  49. package/dist/entities/{builder → model}/state.d.ts +10 -10
  50. package/dist/entities/option/index.d.ts +1 -1
  51. package/dist/entities/option/index.js +1 -1
  52. package/dist/entities/option/option.d.ts +210 -209
  53. package/dist/entities/option/option.js +5 -5
  54. package/dist/entities/option/select.d.ts +2 -12
  55. package/dist/entities/option/select.js +6 -3
  56. package/dist/entities/option/toggle.d.ts +2 -9
  57. package/dist/entities/option/toggle.js +3 -3
  58. package/dist/entities/option/values.d.ts +3 -21
  59. package/dist/entities/option/values.js +8 -2
  60. package/dist/entities/option/when.d.ts +5 -4
  61. package/dist/entities/refs.d.ts +6 -0
  62. package/dist/entities/refs.js +1 -0
  63. package/dist/entities/serialise.d.ts +388 -2919
  64. package/dist/entities/serialise.js +116 -17
  65. package/dist/entities/ui/describe.d.ts +22 -31
  66. package/dist/entities/ui/describe.js +1 -1
  67. package/dist/entities/ui/index.d.ts +2 -5
  68. package/dist/entities/ui/index.js +1 -2
  69. package/dist/entities/ui/page.d.ts +22 -31
  70. package/dist/entities/ui/page.js +1 -1
  71. package/dist/entities/ui/pages.d.ts +11 -8
  72. package/dist/entities/ui/pages.js +1 -1
  73. package/dist/entities/ui/ui.d.ts +22 -1194
  74. package/dist/entities/ui/ui.js +16 -28
  75. package/dist/entities/ui/uis.d.ts +5 -15
  76. package/dist/entities/ui/uis.js +12 -18
  77. package/dist/entities/validated.d.ts +35 -0
  78. package/dist/entities/validated.js +1 -0
  79. package/dist/entities/when.d.ts +62 -54
  80. package/dist/entities/when.js +1 -0
  81. package/dist/environment.d.ts +5 -0
  82. package/dist/environment.js +2 -0
  83. package/dist/exception.d.ts +8 -3
  84. package/dist/exception.js +3 -0
  85. package/dist/index.d.ts +21 -28
  86. package/dist/index.js +5 -13
  87. package/dist/instance.d.ts +56 -0
  88. package/dist/instance.js +10 -0
  89. package/dist/mappers/index.d.ts +7 -7
  90. package/dist/mappers/index.js +5 -4
  91. package/dist/mappers/instance.d.ts +3 -0
  92. package/dist/mappers/instance.js +36 -0
  93. package/dist/mappers/order.d.ts +6 -0
  94. package/dist/mappers/order.js +22 -0
  95. package/dist/mappers/render/pages.d.ts +5 -4
  96. package/dist/mappers/render/render.d.ts +2 -3
  97. package/dist/mappers/render/render.js +97 -78
  98. package/dist/mappers/resolve.d.ts +5 -9
  99. package/dist/mappers/resolve.js +25 -33
  100. package/dist/mappers/variants/index.d.ts +1 -0
  101. package/dist/mappers/variants/index.js +1 -0
  102. package/dist/mappers/variants/option-graph.d.ts +19 -0
  103. package/dist/mappers/{models → variants}/option-graph.js +33 -22
  104. package/dist/mappers/variants/variants.d.ts +3 -0
  105. package/dist/mappers/variants/variants.js +57 -0
  106. package/dist/private.d.ts +4 -0
  107. package/dist/private.js +4 -0
  108. package/dist/references.d.ts +13 -48
  109. package/dist/references.js +6 -14
  110. package/dist/serialisable.d.ts +1 -9
  111. package/dist/serialisable.js +2 -3
  112. package/dist/validate/brand.d.ts +14 -0
  113. package/dist/validate/brand.js +17 -0
  114. package/dist/validate/builder.d.ts +4 -0
  115. package/dist/validate/builder.js +27 -0
  116. package/dist/validate/expectations.d.ts +10 -0
  117. package/dist/validate/expectations.js +12 -0
  118. package/dist/validate/index.d.ts +18 -0
  119. package/dist/validate/index.js +9 -0
  120. package/dist/validate/instance.d.ts +19 -0
  121. package/dist/validate/instance.js +46 -0
  122. package/dist/validate/model.d.ts +36 -0
  123. package/dist/validate/model.js +220 -0
  124. package/dist/validate/resolve.d.ts +16 -0
  125. package/dist/validate/resolve.js +91 -0
  126. package/dist/validate/result.d.ts +8 -0
  127. package/dist/validate/result.js +4 -0
  128. package/dist/validate/ui.d.ts +8 -0
  129. package/dist/validate/ui.js +77 -0
  130. package/dist/validate/variants.d.ts +59 -0
  131. package/dist/validate/variants.js +102 -0
  132. package/package.json +5 -4
  133. package/dist/entities/bind.d.ts +0 -4
  134. package/dist/entities/bind.js +0 -44
  135. package/dist/entities/builder/builders.d.ts +0 -35
  136. package/dist/entities/builder/builders.js +0 -19
  137. package/dist/entities/builder/expectation.d.ts +0 -12
  138. package/dist/entities/builder/methods.d.ts +0 -58
  139. package/dist/entities/builder/validate.d.ts +0 -3
  140. package/dist/entities/builder/validate.js +0 -108
  141. package/dist/entities/errors.d.ts +0 -21
  142. package/dist/entities/ui/bind.d.ts +0 -10
  143. package/dist/entities/ui/bind.js +0 -9
  144. package/dist/entities/ui/validate.d.ts +0 -8
  145. package/dist/entities/ui/validate.js +0 -21
  146. package/dist/entities/validate.d.ts +0 -28
  147. package/dist/mappers/assert/builder.d.ts +0 -2
  148. package/dist/mappers/assert/builder.js +0 -46
  149. package/dist/mappers/assert/expectation.d.ts +0 -2
  150. package/dist/mappers/assert/expectation.js +0 -23
  151. package/dist/mappers/assert/index.d.ts +0 -6
  152. package/dist/mappers/assert/index.js +0 -4
  153. package/dist/mappers/assert/model.d.ts +0 -13
  154. package/dist/mappers/assert/model.js +0 -47
  155. package/dist/mappers/assert/models.d.ts +0 -33
  156. package/dist/mappers/assert/models.js +0 -74
  157. package/dist/mappers/assert/ui.d.ts +0 -2
  158. package/dist/mappers/assert/ui.js +0 -22
  159. package/dist/mappers/instance/index.d.ts +0 -1
  160. package/dist/mappers/instance/index.js +0 -1
  161. package/dist/mappers/instance/instance.d.ts +0 -4
  162. package/dist/mappers/instance/instance.js +0 -33
  163. package/dist/mappers/models/component-graph.d.ts +0 -9
  164. package/dist/mappers/models/component-graph.js +0 -51
  165. package/dist/mappers/models/graph.d.ts +0 -12
  166. package/dist/mappers/models/graph.js +0 -17
  167. package/dist/mappers/models/index.d.ts +0 -1
  168. package/dist/mappers/models/index.js +0 -1
  169. package/dist/mappers/models/models.d.ts +0 -3
  170. package/dist/mappers/models/models.js +0 -37
  171. package/dist/mappers/models/option-graph.d.ts +0 -9
  172. package/dist/mappers/order/index.d.ts +0 -2
  173. package/dist/mappers/order/index.js +0 -1
  174. package/dist/mappers/order/order.d.ts +0 -14
  175. package/dist/mappers/order/order.js +0 -31
  176. package/dist/mappers/refs.d.ts +0 -12
  177. package/dist/mappers/refs.js +0 -36
  178. package/dist/model.d.ts +0 -35
  179. package/dist/model.js +0 -9
  180. package/dist/walker/index.d.ts +0 -2
  181. package/dist/walker/index.js +0 -1
  182. package/dist/walker/walkable.d.ts +0 -4
  183. package/dist/walker/walkable.js +0 -4
  184. package/dist/walker/walker.d.ts +0 -26
  185. package/dist/walker/walker.js +0 -115
  186. package/dist/walker/walkers.d.ts +0 -9
  187. package/dist/walker/walkers.js +0 -55
  188. /package/dist/entities/{builder/expectation.js → entry.js} +0 -0
  189. /package/dist/entities/{builder/state.js → model/bind.js} +0 -0
  190. /package/dist/entities/{errors.js → model/expectation.js} +0 -0
  191. /package/dist/entities/{validate.js → model/state.js} +0 -0
@@ -1,1658 +1,16 @@
1
1
  import * as v from 'valibot';
2
- export declare const entitiesByKind: {
2
+ export declare const entitiesMap: {
3
3
  readonly builder: {
4
4
  readonly runtime: v.InstanceSchema<typeof import("./index.js").Builder, undefined>;
5
- readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
6
- readonly parameters: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
7
- readonly type: v.LiteralSchema<"parameter", undefined>;
8
- readonly id: v.StringSchema<undefined>;
9
- readonly name: v.StringSchema<undefined>;
10
- }, undefined>, v.ReadonlyAction<{
11
- type: "parameter";
12
- id: string;
13
- name: string;
14
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
15
- type: "parameter";
16
- id: string;
17
- name: string;
18
- }>[]>]>;
19
- readonly options: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
20
- readonly name: v.StringSchema<undefined>;
21
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
22
- readonly type: v.LiteralSchema<"parameter", undefined>;
23
- readonly id: v.StringSchema<undefined>;
24
- readonly name: v.StringSchema<undefined>;
25
- }, undefined>, v.ReadonlyAction<{
26
- type: "parameter";
27
- id: string;
28
- name: string;
29
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
30
- readonly type: v.LiteralSchema<"select", undefined>;
31
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
32
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
33
- readonly isOptional: v.BooleanSchema<undefined>;
34
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
35
- }, undefined>, v.MetadataAction<{
36
- type: "select";
37
- readonly options: readonly [string, ...string[]];
38
- defaultValue: string | null;
39
- isOptional: boolean;
40
- optionLabels: {
41
- [x: string]: string;
42
- };
43
- }, {
44
- readonly serialisable: typeof import("./index.js").BuilderSelectType;
45
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderSelectType, undefined>;
46
- }>, v.ReadonlyAction<{
47
- type: "select";
48
- readonly options: readonly [string, ...string[]];
49
- defaultValue: string | null;
50
- isOptional: boolean;
51
- optionLabels: {
52
- [x: string]: string;
53
- };
54
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
55
- readonly type: v.LiteralSchema<"toggle", undefined>;
56
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
57
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
58
- readonly isOptional: v.BooleanSchema<undefined>;
59
- }, undefined>, v.MetadataAction<{
60
- type: "toggle";
61
- valueType: "string" | "number" | "boolean";
62
- defaultValue: string | number | boolean | null;
63
- isOptional: boolean;
64
- }, {
65
- readonly serialisable: typeof import("./index.js").BuilderToggleType;
66
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderToggleType, undefined>;
67
- }>, v.ReadonlyAction<{
68
- type: "toggle";
69
- valueType: "string" | "number" | "boolean";
70
- defaultValue: string | number | boolean | null;
71
- isOptional: boolean;
72
- }>]>], undefined>, v.ReadonlyAction<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
- }> | Readonly<{
81
- type: "toggle";
82
- valueType: "string" | "number" | "boolean";
83
- defaultValue: string | number | boolean | null;
84
- isOptional: boolean;
85
- }>>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
86
- readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
87
- readonly type: v.LiteralSchema<"select", undefined>;
88
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
89
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
90
- readonly isOptional: v.BooleanSchema<undefined>;
91
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
92
- }, undefined>, v.MetadataAction<{
93
- type: "select";
94
- readonly options: readonly [string, ...string[]];
95
- defaultValue: string | null;
96
- isOptional: boolean;
97
- optionLabels: {
98
- [x: string]: string;
99
- };
100
- }, {
101
- readonly serialisable: typeof import("./index.js").BuilderSelectType;
102
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderSelectType, undefined>;
103
- }>, v.ReadonlyAction<{
104
- type: "select";
105
- readonly options: readonly [string, ...string[]];
106
- defaultValue: string | null;
107
- isOptional: boolean;
108
- optionLabels: {
109
- [x: string]: string;
110
- };
111
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
112
- readonly type: v.LiteralSchema<"toggle", undefined>;
113
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
114
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
115
- readonly isOptional: v.BooleanSchema<undefined>;
116
- }, undefined>, v.MetadataAction<{
117
- type: "toggle";
118
- valueType: "string" | "number" | "boolean";
119
- defaultValue: string | number | boolean | null;
120
- isOptional: boolean;
121
- }, {
122
- readonly serialisable: typeof import("./index.js").BuilderToggleType;
123
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderToggleType, undefined>;
124
- }>, v.ReadonlyAction<{
125
- type: "toggle";
126
- valueType: "string" | "number" | "boolean";
127
- defaultValue: string | number | boolean | null;
128
- isOptional: boolean;
129
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
130
- type: "select";
131
- readonly options: readonly [string, ...string[]];
132
- defaultValue: string | null;
133
- isOptional: boolean;
134
- optionLabels: {
135
- [x: string]: string;
136
- };
137
- }> | Readonly<{
138
- type: "toggle";
139
- valueType: "string" | "number" | "boolean";
140
- defaultValue: string | number | boolean | null;
141
- isOptional: boolean;
142
- }>>]>, v.GenericSchema], undefined>;
143
- }>]>;
144
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
145
- readonly type: v.LiteralSchema<"parameter", undefined>;
146
- readonly id: v.StringSchema<undefined>;
147
- readonly name: v.StringSchema<undefined>;
148
- }, undefined>, v.ReadonlyAction<{
149
- type: "parameter";
150
- id: string;
151
- name: string;
152
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
153
- type: "parameter";
154
- id: string;
155
- name: string;
156
- }> | import("../references.js").BuilderParameter<string>, {
157
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
158
- }>]>, undefined>;
159
- }, undefined>, v.MetadataAction<{
160
- name: string;
161
- payload: unknown;
162
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
163
- type: "parameter";
164
- id: string;
165
- name: string;
166
- }> | import("../references.js").BuilderParameter<string> | undefined;
167
- }, {
168
- readonly serialisable: typeof import("./index.js").BuilderOption;
169
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderOption, undefined>;
170
- }>, v.ReadonlyAction<{
171
- name: string;
172
- payload: unknown;
173
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
174
- type: "parameter";
175
- id: string;
176
- name: string;
177
- }> | import("../references.js").BuilderParameter<string> | undefined;
178
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
179
- name: string;
180
- payload: unknown;
181
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
182
- type: "parameter";
183
- id: string;
184
- name: string;
185
- }> | import("../references.js").BuilderParameter<string> | undefined;
186
- }>[]>]>;
187
- readonly components: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
188
- readonly name: v.StringSchema<undefined>;
189
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
190
- readonly type: v.LiteralSchema<"parameter", undefined>;
191
- readonly id: v.StringSchema<undefined>;
192
- readonly name: v.StringSchema<undefined>;
193
- }, undefined>, v.ReadonlyAction<{
194
- type: "parameter";
195
- id: string;
196
- name: string;
197
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
198
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
199
- readonly type: v.LiteralSchema<"parameter", undefined>;
200
- readonly id: v.StringSchema<undefined>;
201
- readonly name: v.StringSchema<undefined>;
202
- }, undefined>, v.ReadonlyAction<{
203
- type: "parameter";
204
- id: string;
205
- name: string;
206
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
207
- readonly name: v.StringSchema<undefined>;
208
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
209
- }, undefined>, v.MetadataAction<{
210
- name: string;
211
- kind: "option" | "component" | "collection" | "detail";
212
- }, {
213
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
214
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
215
- }>, v.ReadonlyAction<{
216
- name: string;
217
- kind: "option" | "component" | "collection" | "detail";
218
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
219
- name: string;
220
- kind: "option" | "component" | "collection" | "detail";
221
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
222
- type: "parameter";
223
- id: string;
224
- name: string;
225
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
226
- name: string;
227
- kind: "option" | "component" | "collection" | "detail";
228
- }>[], {
229
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
230
- readonly name: v.StringSchema<undefined>;
231
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
232
- }, undefined>, v.MetadataAction<{
233
- name: string;
234
- kind: "option" | "component" | "collection" | "detail";
235
- }, {
236
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
237
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
238
- }>, v.ReadonlyAction<{
239
- name: string;
240
- kind: "option" | "component" | "collection" | "detail";
241
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
242
- name: string;
243
- kind: "option" | "component" | "collection" | "detail";
244
- }>[]>]>;
245
- }>]>;
246
- }, undefined>, v.MetadataAction<{
247
- expectations: Readonly<{
248
- type: "parameter";
249
- id: string;
250
- name: string;
251
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
252
- name: string;
253
- kind: "option" | "component" | "collection" | "detail";
254
- }>[];
255
- }, {
256
- readonly serialisable: typeof import("./index.js").BuilderComponentDetails;
257
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
258
- }>, v.ReadonlyAction<{
259
- expectations: Readonly<{
260
- type: "parameter";
261
- id: string;
262
- name: string;
263
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
264
- name: string;
265
- kind: "option" | "component" | "collection" | "detail";
266
- }>[];
267
- }>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
268
- readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
269
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
270
- readonly type: v.LiteralSchema<"parameter", undefined>;
271
- readonly id: v.StringSchema<undefined>;
272
- readonly name: v.StringSchema<undefined>;
273
- }, undefined>, v.ReadonlyAction<{
274
- type: "parameter";
275
- id: string;
276
- name: string;
277
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
278
- readonly name: v.StringSchema<undefined>;
279
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
280
- }, undefined>, v.MetadataAction<{
281
- name: string;
282
- kind: "option" | "component" | "collection" | "detail";
283
- }, {
284
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
285
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
286
- }>, v.ReadonlyAction<{
287
- name: string;
288
- kind: "option" | "component" | "collection" | "detail";
289
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
290
- name: string;
291
- kind: "option" | "component" | "collection" | "detail";
292
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
293
- type: "parameter";
294
- id: string;
295
- name: string;
296
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
297
- name: string;
298
- kind: "option" | "component" | "collection" | "detail";
299
- }>[], {
300
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
301
- readonly name: v.StringSchema<undefined>;
302
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
303
- }, undefined>, v.MetadataAction<{
304
- name: string;
305
- kind: "option" | "component" | "collection" | "detail";
306
- }, {
307
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
308
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
309
- }>, v.ReadonlyAction<{
310
- name: string;
311
- kind: "option" | "component" | "collection" | "detail";
312
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
313
- name: string;
314
- kind: "option" | "component" | "collection" | "detail";
315
- }>[]>]>;
316
- }>]>;
317
- }, undefined>, v.MetadataAction<{
318
- expectations: Readonly<{
319
- type: "parameter";
320
- id: string;
321
- name: string;
322
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
323
- name: string;
324
- kind: "option" | "component" | "collection" | "detail";
325
- }>[];
326
- }, {
327
- readonly serialisable: typeof import("./index.js").BuilderComponentDetails;
328
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
329
- }>, v.ReadonlyAction<{
330
- expectations: Readonly<{
331
- type: "parameter";
332
- id: string;
333
- name: string;
334
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
335
- name: string;
336
- kind: "option" | "component" | "collection" | "detail";
337
- }>[];
338
- }>]>, v.GenericSchema], undefined>;
339
- }>]>;
340
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
341
- readonly type: v.LiteralSchema<"parameter", undefined>;
342
- readonly id: v.StringSchema<undefined>;
343
- readonly name: v.StringSchema<undefined>;
344
- }, undefined>, v.ReadonlyAction<{
345
- type: "parameter";
346
- id: string;
347
- name: string;
348
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
349
- type: "parameter";
350
- id: string;
351
- name: string;
352
- }> | import("../references.js").BuilderParameter<string>, {
353
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
354
- }>]>, undefined>;
355
- }, undefined>, v.MetadataAction<{
356
- name: string;
357
- payload: unknown;
358
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
359
- type: "parameter";
360
- id: string;
361
- name: string;
362
- }> | import("../references.js").BuilderParameter<string> | undefined;
363
- }, {
364
- readonly serialisable: typeof import("./index.js").BuilderComponent;
365
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponent, undefined>;
366
- }>, v.ReadonlyAction<{
367
- name: string;
368
- payload: unknown;
369
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
370
- type: "parameter";
371
- id: string;
372
- name: string;
373
- }> | import("../references.js").BuilderParameter<string> | undefined;
374
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
375
- name: string;
376
- payload: unknown;
377
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
378
- type: "parameter";
379
- id: string;
380
- name: string;
381
- }> | import("../references.js").BuilderParameter<string> | undefined;
382
- }>[]>]>;
383
- readonly collections: v.SchemaWithPipe<readonly [v.ArraySchema<v.GenericSchema<import("./index.js").BuilderCollectionSerialised>, undefined>, v.ReadonlyAction<import("./index.js").BuilderCollectionSerialised[]>]>;
384
- readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
385
- readonly name: v.StringSchema<undefined>;
386
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
387
- }, undefined>, v.MetadataAction<{
388
- name: string;
389
- kind: "option" | "component" | "collection" | "detail";
390
- }, {
391
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
392
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
393
- }>, v.ReadonlyAction<{
394
- name: string;
395
- kind: "option" | "component" | "collection" | "detail";
396
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
397
- name: string;
398
- kind: "option" | "component" | "collection" | "detail";
399
- }>[]>]>;
400
- readonly references: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
401
- readonly parameter: v.StringSchema<undefined>;
402
- readonly id: v.StringSchema<undefined>;
403
- }, undefined>, v.ReadonlyAction<{
404
- parameter: string;
405
- id: string;
406
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
407
- parameter: string;
408
- id: string;
409
- }>[]>]>;
410
- }, undefined>, v.MetadataAction<{
411
- readonly parameters: readonly Readonly<{
412
- type: "parameter";
413
- id: string;
414
- name: string;
415
- }>[];
416
- readonly options: readonly Readonly<{
417
- name: string;
418
- payload: unknown;
419
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
420
- type: "parameter";
421
- id: string;
422
- name: string;
423
- }> | import("../references.js").BuilderParameter<string> | undefined;
424
- }>[];
425
- readonly components: readonly Readonly<{
426
- name: string;
427
- payload: unknown;
428
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
429
- type: "parameter";
430
- id: string;
431
- name: string;
432
- }> | import("../references.js").BuilderParameter<string> | undefined;
433
- }>[];
434
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
435
- readonly expectations: readonly Readonly<{
436
- name: string;
437
- kind: "option" | "component" | "collection" | "detail";
438
- }>[];
439
- readonly references: readonly Readonly<{
440
- parameter: string;
441
- id: string;
442
- }>[];
443
- }, {
444
- readonly serialisable: typeof import("./index.js").Builder;
445
- readonly instance: v.InstanceSchema<typeof import("./index.js").Builder, undefined>;
446
- }>, v.ReadonlyAction<{
447
- readonly parameters: readonly Readonly<{
448
- type: "parameter";
449
- id: string;
450
- name: string;
451
- }>[];
452
- readonly options: readonly Readonly<{
453
- name: string;
454
- payload: unknown;
455
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
456
- type: "parameter";
457
- id: string;
458
- name: string;
459
- }> | import("../references.js").BuilderParameter<string> | undefined;
460
- }>[];
461
- readonly components: readonly Readonly<{
462
- name: string;
463
- payload: unknown;
464
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
465
- type: "parameter";
466
- id: string;
467
- name: string;
468
- }> | import("../references.js").BuilderParameter<string> | undefined;
469
- }>[];
470
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
471
- readonly expectations: readonly Readonly<{
472
- name: string;
473
- kind: "option" | "component" | "collection" | "detail";
474
- }>[];
475
- readonly references: readonly Readonly<{
476
- parameter: string;
477
- id: string;
478
- }>[];
479
- }>]>;
5
+ readonly serialised: v.GenericSchema<import("./index.js").BuilderSerialised>;
6
+ };
7
+ readonly model: {
8
+ readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderModel, undefined>;
9
+ readonly serialised: v.GenericSchema<import("./index.js").BuilderModelSerialised>;
480
10
  };
481
11
  readonly ui: {
482
12
  readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderUI, undefined>;
483
- readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
484
- readonly builder: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
485
- readonly type: v.LiteralSchema<"parameter", undefined>;
486
- readonly id: v.StringSchema<undefined>;
487
- readonly name: v.StringSchema<undefined>;
488
- }, undefined>, v.ReadonlyAction<{
489
- type: "parameter";
490
- id: string;
491
- name: string;
492
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.LazySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
493
- readonly parameters: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
494
- readonly type: v.LiteralSchema<"parameter", undefined>;
495
- readonly id: v.StringSchema<undefined>;
496
- readonly name: v.StringSchema<undefined>;
497
- }, undefined>, v.ReadonlyAction<{
498
- type: "parameter";
499
- id: string;
500
- name: string;
501
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
502
- type: "parameter";
503
- id: string;
504
- name: string;
505
- }>[]>]>;
506
- readonly options: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
507
- readonly name: v.StringSchema<undefined>;
508
- readonly payload: v.SchemaWithPipe<readonly [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.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
517
- readonly type: v.LiteralSchema<"select", undefined>;
518
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
519
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
520
- readonly isOptional: v.BooleanSchema<undefined>;
521
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
522
- }, undefined>, v.MetadataAction<{
523
- type: "select";
524
- readonly options: readonly [string, ...string[]];
525
- defaultValue: string | null;
526
- isOptional: boolean;
527
- optionLabels: {
528
- [x: string]: string;
529
- };
530
- }, {
531
- readonly serialisable: typeof import("./index.js").BuilderSelectType;
532
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderSelectType, undefined>;
533
- }>, v.ReadonlyAction<{
534
- type: "select";
535
- readonly options: readonly [string, ...string[]];
536
- defaultValue: string | null;
537
- isOptional: boolean;
538
- optionLabels: {
539
- [x: string]: string;
540
- };
541
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
542
- readonly type: v.LiteralSchema<"toggle", undefined>;
543
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
544
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
545
- readonly isOptional: v.BooleanSchema<undefined>;
546
- }, undefined>, v.MetadataAction<{
547
- type: "toggle";
548
- valueType: "string" | "number" | "boolean";
549
- defaultValue: string | number | boolean | null;
550
- isOptional: boolean;
551
- }, {
552
- readonly serialisable: typeof import("./index.js").BuilderToggleType;
553
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderToggleType, undefined>;
554
- }>, v.ReadonlyAction<{
555
- type: "toggle";
556
- valueType: "string" | "number" | "boolean";
557
- defaultValue: string | number | boolean | null;
558
- isOptional: boolean;
559
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
560
- type: "select";
561
- readonly options: readonly [string, ...string[]];
562
- defaultValue: string | null;
563
- isOptional: boolean;
564
- optionLabels: {
565
- [x: string]: string;
566
- };
567
- }> | Readonly<{
568
- type: "toggle";
569
- valueType: "string" | "number" | "boolean";
570
- defaultValue: string | number | boolean | null;
571
- isOptional: boolean;
572
- }>>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
573
- readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
574
- readonly type: v.LiteralSchema<"select", undefined>;
575
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
576
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
577
- readonly isOptional: v.BooleanSchema<undefined>;
578
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
579
- }, undefined>, v.MetadataAction<{
580
- type: "select";
581
- readonly options: readonly [string, ...string[]];
582
- defaultValue: string | null;
583
- isOptional: boolean;
584
- optionLabels: {
585
- [x: string]: string;
586
- };
587
- }, {
588
- readonly serialisable: typeof import("./index.js").BuilderSelectType;
589
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderSelectType, undefined>;
590
- }>, v.ReadonlyAction<{
591
- type: "select";
592
- readonly options: readonly [string, ...string[]];
593
- defaultValue: string | null;
594
- isOptional: boolean;
595
- optionLabels: {
596
- [x: string]: string;
597
- };
598
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
599
- readonly type: v.LiteralSchema<"toggle", undefined>;
600
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
601
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
602
- readonly isOptional: v.BooleanSchema<undefined>;
603
- }, undefined>, v.MetadataAction<{
604
- type: "toggle";
605
- valueType: "string" | "number" | "boolean";
606
- defaultValue: string | number | boolean | null;
607
- isOptional: boolean;
608
- }, {
609
- readonly serialisable: typeof import("./index.js").BuilderToggleType;
610
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderToggleType, undefined>;
611
- }>, v.ReadonlyAction<{
612
- type: "toggle";
613
- valueType: "string" | "number" | "boolean";
614
- defaultValue: string | number | boolean | null;
615
- isOptional: boolean;
616
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
617
- type: "select";
618
- readonly options: readonly [string, ...string[]];
619
- defaultValue: string | null;
620
- isOptional: boolean;
621
- optionLabels: {
622
- [x: string]: string;
623
- };
624
- }> | Readonly<{
625
- type: "toggle";
626
- valueType: "string" | "number" | "boolean";
627
- defaultValue: string | number | boolean | null;
628
- isOptional: boolean;
629
- }>>]>, v.GenericSchema], undefined>;
630
- }>]>;
631
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
632
- readonly type: v.LiteralSchema<"parameter", undefined>;
633
- readonly id: v.StringSchema<undefined>;
634
- readonly name: v.StringSchema<undefined>;
635
- }, undefined>, v.ReadonlyAction<{
636
- type: "parameter";
637
- id: string;
638
- name: string;
639
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
640
- type: "parameter";
641
- id: string;
642
- name: string;
643
- }> | import("../references.js").BuilderParameter<string>, {
644
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
645
- }>]>, undefined>;
646
- }, undefined>, v.MetadataAction<{
647
- name: string;
648
- payload: unknown;
649
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
650
- type: "parameter";
651
- id: string;
652
- name: string;
653
- }> | import("../references.js").BuilderParameter<string> | undefined;
654
- }, {
655
- readonly serialisable: typeof import("./index.js").BuilderOption;
656
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderOption, undefined>;
657
- }>, v.ReadonlyAction<{
658
- name: string;
659
- payload: unknown;
660
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
661
- type: "parameter";
662
- id: string;
663
- name: string;
664
- }> | import("../references.js").BuilderParameter<string> | undefined;
665
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
666
- name: string;
667
- payload: unknown;
668
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
669
- type: "parameter";
670
- id: string;
671
- name: string;
672
- }> | import("../references.js").BuilderParameter<string> | undefined;
673
- }>[]>]>;
674
- readonly components: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
675
- readonly name: v.StringSchema<undefined>;
676
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
677
- readonly type: v.LiteralSchema<"parameter", undefined>;
678
- readonly id: v.StringSchema<undefined>;
679
- readonly name: v.StringSchema<undefined>;
680
- }, undefined>, v.ReadonlyAction<{
681
- type: "parameter";
682
- id: string;
683
- name: string;
684
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
685
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
686
- readonly type: v.LiteralSchema<"parameter", undefined>;
687
- readonly id: v.StringSchema<undefined>;
688
- readonly name: v.StringSchema<undefined>;
689
- }, undefined>, v.ReadonlyAction<{
690
- type: "parameter";
691
- id: string;
692
- name: string;
693
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
694
- readonly name: v.StringSchema<undefined>;
695
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
696
- }, undefined>, v.MetadataAction<{
697
- name: string;
698
- kind: "option" | "component" | "collection" | "detail";
699
- }, {
700
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
701
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
702
- }>, v.ReadonlyAction<{
703
- name: string;
704
- kind: "option" | "component" | "collection" | "detail";
705
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
706
- name: string;
707
- kind: "option" | "component" | "collection" | "detail";
708
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
709
- type: "parameter";
710
- id: string;
711
- name: string;
712
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
713
- name: string;
714
- kind: "option" | "component" | "collection" | "detail";
715
- }>[], {
716
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
717
- readonly name: v.StringSchema<undefined>;
718
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
719
- }, undefined>, v.MetadataAction<{
720
- name: string;
721
- kind: "option" | "component" | "collection" | "detail";
722
- }, {
723
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
724
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
725
- }>, v.ReadonlyAction<{
726
- name: string;
727
- kind: "option" | "component" | "collection" | "detail";
728
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
729
- name: string;
730
- kind: "option" | "component" | "collection" | "detail";
731
- }>[]>]>;
732
- }>]>;
733
- }, undefined>, v.MetadataAction<{
734
- expectations: Readonly<{
735
- type: "parameter";
736
- id: string;
737
- name: string;
738
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
739
- name: string;
740
- kind: "option" | "component" | "collection" | "detail";
741
- }>[];
742
- }, {
743
- readonly serialisable: typeof import("./index.js").BuilderComponentDetails;
744
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
745
- }>, v.ReadonlyAction<{
746
- expectations: Readonly<{
747
- type: "parameter";
748
- id: string;
749
- name: string;
750
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
751
- name: string;
752
- kind: "option" | "component" | "collection" | "detail";
753
- }>[];
754
- }>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
755
- readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
756
- readonly expectations: v.SchemaWithPipe<readonly [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.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
765
- readonly name: v.StringSchema<undefined>;
766
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
767
- }, undefined>, v.MetadataAction<{
768
- name: string;
769
- kind: "option" | "component" | "collection" | "detail";
770
- }, {
771
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
772
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
773
- }>, v.ReadonlyAction<{
774
- name: string;
775
- kind: "option" | "component" | "collection" | "detail";
776
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
777
- name: string;
778
- kind: "option" | "component" | "collection" | "detail";
779
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
780
- type: "parameter";
781
- id: string;
782
- name: string;
783
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
784
- name: string;
785
- kind: "option" | "component" | "collection" | "detail";
786
- }>[], {
787
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
788
- readonly name: v.StringSchema<undefined>;
789
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
790
- }, undefined>, v.MetadataAction<{
791
- name: string;
792
- kind: "option" | "component" | "collection" | "detail";
793
- }, {
794
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
795
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
796
- }>, v.ReadonlyAction<{
797
- name: string;
798
- kind: "option" | "component" | "collection" | "detail";
799
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
800
- name: string;
801
- kind: "option" | "component" | "collection" | "detail";
802
- }>[]>]>;
803
- }>]>;
804
- }, undefined>, v.MetadataAction<{
805
- expectations: Readonly<{
806
- type: "parameter";
807
- id: string;
808
- name: string;
809
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
810
- name: string;
811
- kind: "option" | "component" | "collection" | "detail";
812
- }>[];
813
- }, {
814
- readonly serialisable: typeof import("./index.js").BuilderComponentDetails;
815
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
816
- }>, v.ReadonlyAction<{
817
- expectations: Readonly<{
818
- type: "parameter";
819
- id: string;
820
- name: string;
821
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
822
- name: string;
823
- kind: "option" | "component" | "collection" | "detail";
824
- }>[];
825
- }>]>, v.GenericSchema], undefined>;
826
- }>]>;
827
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
828
- readonly type: v.LiteralSchema<"parameter", undefined>;
829
- readonly id: v.StringSchema<undefined>;
830
- readonly name: v.StringSchema<undefined>;
831
- }, undefined>, v.ReadonlyAction<{
832
- type: "parameter";
833
- id: string;
834
- name: string;
835
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
836
- type: "parameter";
837
- id: string;
838
- name: string;
839
- }> | import("../references.js").BuilderParameter<string>, {
840
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
841
- }>]>, undefined>;
842
- }, undefined>, v.MetadataAction<{
843
- name: string;
844
- payload: unknown;
845
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
846
- type: "parameter";
847
- id: string;
848
- name: string;
849
- }> | import("../references.js").BuilderParameter<string> | undefined;
850
- }, {
851
- readonly serialisable: typeof import("./index.js").BuilderComponent;
852
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponent, undefined>;
853
- }>, v.ReadonlyAction<{
854
- name: string;
855
- payload: unknown;
856
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
857
- type: "parameter";
858
- id: string;
859
- name: string;
860
- }> | import("../references.js").BuilderParameter<string> | undefined;
861
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
862
- name: string;
863
- payload: unknown;
864
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
865
- type: "parameter";
866
- id: string;
867
- name: string;
868
- }> | import("../references.js").BuilderParameter<string> | undefined;
869
- }>[]>]>;
870
- readonly collections: v.SchemaWithPipe<readonly [v.ArraySchema<v.GenericSchema<import("./index.js").BuilderCollectionSerialised>, undefined>, v.ReadonlyAction<import("./index.js").BuilderCollectionSerialised[]>]>;
871
- readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
872
- readonly name: v.StringSchema<undefined>;
873
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
874
- }, undefined>, v.MetadataAction<{
875
- name: string;
876
- kind: "option" | "component" | "collection" | "detail";
877
- }, {
878
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
879
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
880
- }>, v.ReadonlyAction<{
881
- name: string;
882
- kind: "option" | "component" | "collection" | "detail";
883
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
884
- name: string;
885
- kind: "option" | "component" | "collection" | "detail";
886
- }>[]>]>;
887
- readonly references: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
888
- readonly parameter: v.StringSchema<undefined>;
889
- readonly id: v.StringSchema<undefined>;
890
- }, undefined>, v.ReadonlyAction<{
891
- parameter: string;
892
- id: string;
893
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
894
- parameter: string;
895
- id: string;
896
- }>[]>]>;
897
- }, undefined>, v.MetadataAction<{
898
- readonly parameters: readonly Readonly<{
899
- type: "parameter";
900
- id: string;
901
- name: string;
902
- }>[];
903
- readonly options: readonly Readonly<{
904
- name: string;
905
- payload: unknown;
906
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
907
- type: "parameter";
908
- id: string;
909
- name: string;
910
- }> | import("../references.js").BuilderParameter<string> | undefined;
911
- }>[];
912
- readonly components: readonly Readonly<{
913
- name: string;
914
- payload: unknown;
915
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
916
- type: "parameter";
917
- id: string;
918
- name: string;
919
- }> | import("../references.js").BuilderParameter<string> | undefined;
920
- }>[];
921
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
922
- readonly expectations: readonly Readonly<{
923
- name: string;
924
- kind: "option" | "component" | "collection" | "detail";
925
- }>[];
926
- readonly references: readonly Readonly<{
927
- parameter: string;
928
- id: string;
929
- }>[];
930
- }, {
931
- readonly serialisable: typeof import("./index.js").Builder;
932
- readonly instance: v.InstanceSchema<typeof import("./index.js").Builder, undefined>;
933
- }>, v.ReadonlyAction<{
934
- readonly parameters: readonly Readonly<{
935
- type: "parameter";
936
- id: string;
937
- name: string;
938
- }>[];
939
- readonly options: readonly Readonly<{
940
- name: string;
941
- payload: unknown;
942
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
943
- type: "parameter";
944
- id: string;
945
- name: string;
946
- }> | import("../references.js").BuilderParameter<string> | undefined;
947
- }>[];
948
- readonly components: readonly Readonly<{
949
- name: string;
950
- payload: unknown;
951
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
952
- type: "parameter";
953
- id: string;
954
- name: string;
955
- }> | import("../references.js").BuilderParameter<string> | undefined;
956
- }>[];
957
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
958
- readonly expectations: readonly Readonly<{
959
- name: string;
960
- kind: "option" | "component" | "collection" | "detail";
961
- }>[];
962
- readonly references: readonly Readonly<{
963
- parameter: string;
964
- id: string;
965
- }>[];
966
- }>]>>], undefined>, v.MetadataAction<Readonly<{
967
- type: "parameter";
968
- id: string;
969
- name: string;
970
- }> | import("../references.js").BuilderParameter<string> | Readonly<{
971
- readonly parameters: readonly Readonly<{
972
- type: "parameter";
973
- id: string;
974
- name: string;
975
- }>[];
976
- readonly options: readonly Readonly<{
977
- name: string;
978
- payload: unknown;
979
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
980
- type: "parameter";
981
- id: string;
982
- name: string;
983
- }> | import("../references.js").BuilderParameter<string> | undefined;
984
- }>[];
985
- readonly components: readonly Readonly<{
986
- name: string;
987
- payload: unknown;
988
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
989
- type: "parameter";
990
- id: string;
991
- name: string;
992
- }> | import("../references.js").BuilderParameter<string> | undefined;
993
- }>[];
994
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
995
- readonly expectations: readonly Readonly<{
996
- name: string;
997
- kind: "option" | "component" | "collection" | "detail";
998
- }>[];
999
- readonly references: readonly Readonly<{
1000
- parameter: string;
1001
- id: string;
1002
- }>[];
1003
- }>, {
1004
- readonly paramable: v.LazySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1005
- readonly parameters: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1006
- readonly type: v.LiteralSchema<"parameter", undefined>;
1007
- readonly id: v.StringSchema<undefined>;
1008
- readonly name: v.StringSchema<undefined>;
1009
- }, undefined>, v.ReadonlyAction<{
1010
- type: "parameter";
1011
- id: string;
1012
- name: string;
1013
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1014
- type: "parameter";
1015
- id: string;
1016
- name: string;
1017
- }>[]>]>;
1018
- readonly options: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1019
- readonly name: v.StringSchema<undefined>;
1020
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1021
- readonly type: v.LiteralSchema<"parameter", undefined>;
1022
- readonly id: v.StringSchema<undefined>;
1023
- readonly name: v.StringSchema<undefined>;
1024
- }, undefined>, v.ReadonlyAction<{
1025
- type: "parameter";
1026
- id: string;
1027
- name: string;
1028
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
1029
- readonly type: v.LiteralSchema<"select", undefined>;
1030
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
1031
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1032
- readonly isOptional: v.BooleanSchema<undefined>;
1033
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
1034
- }, undefined>, v.MetadataAction<{
1035
- type: "select";
1036
- readonly options: readonly [string, ...string[]];
1037
- defaultValue: string | null;
1038
- isOptional: boolean;
1039
- optionLabels: {
1040
- [x: string]: string;
1041
- };
1042
- }, {
1043
- readonly serialisable: typeof import("./index.js").BuilderSelectType;
1044
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderSelectType, undefined>;
1045
- }>, v.ReadonlyAction<{
1046
- type: "select";
1047
- readonly options: readonly [string, ...string[]];
1048
- defaultValue: string | null;
1049
- isOptional: boolean;
1050
- optionLabels: {
1051
- [x: string]: string;
1052
- };
1053
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1054
- readonly type: v.LiteralSchema<"toggle", undefined>;
1055
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
1056
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
1057
- readonly isOptional: v.BooleanSchema<undefined>;
1058
- }, undefined>, v.MetadataAction<{
1059
- type: "toggle";
1060
- valueType: "string" | "number" | "boolean";
1061
- defaultValue: string | number | boolean | null;
1062
- isOptional: boolean;
1063
- }, {
1064
- readonly serialisable: typeof import("./index.js").BuilderToggleType;
1065
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderToggleType, undefined>;
1066
- }>, v.ReadonlyAction<{
1067
- type: "toggle";
1068
- valueType: "string" | "number" | "boolean";
1069
- defaultValue: string | number | boolean | null;
1070
- isOptional: boolean;
1071
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
1072
- type: "select";
1073
- readonly options: readonly [string, ...string[]];
1074
- defaultValue: string | null;
1075
- isOptional: boolean;
1076
- optionLabels: {
1077
- [x: string]: string;
1078
- };
1079
- }> | Readonly<{
1080
- type: "toggle";
1081
- valueType: "string" | "number" | "boolean";
1082
- defaultValue: string | number | boolean | null;
1083
- isOptional: boolean;
1084
- }>>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
1085
- readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
1086
- readonly type: v.LiteralSchema<"select", undefined>;
1087
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
1088
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1089
- readonly isOptional: v.BooleanSchema<undefined>;
1090
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
1091
- }, undefined>, v.MetadataAction<{
1092
- type: "select";
1093
- readonly options: readonly [string, ...string[]];
1094
- defaultValue: string | null;
1095
- isOptional: boolean;
1096
- optionLabels: {
1097
- [x: string]: string;
1098
- };
1099
- }, {
1100
- readonly serialisable: typeof import("./index.js").BuilderSelectType;
1101
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderSelectType, undefined>;
1102
- }>, v.ReadonlyAction<{
1103
- type: "select";
1104
- readonly options: readonly [string, ...string[]];
1105
- defaultValue: string | null;
1106
- isOptional: boolean;
1107
- optionLabels: {
1108
- [x: string]: string;
1109
- };
1110
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1111
- readonly type: v.LiteralSchema<"toggle", undefined>;
1112
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
1113
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
1114
- readonly isOptional: v.BooleanSchema<undefined>;
1115
- }, undefined>, v.MetadataAction<{
1116
- type: "toggle";
1117
- valueType: "string" | "number" | "boolean";
1118
- defaultValue: string | number | boolean | null;
1119
- isOptional: boolean;
1120
- }, {
1121
- readonly serialisable: typeof import("./index.js").BuilderToggleType;
1122
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderToggleType, undefined>;
1123
- }>, v.ReadonlyAction<{
1124
- type: "toggle";
1125
- valueType: "string" | "number" | "boolean";
1126
- defaultValue: string | number | boolean | null;
1127
- isOptional: boolean;
1128
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
1129
- type: "select";
1130
- readonly options: readonly [string, ...string[]];
1131
- defaultValue: string | null;
1132
- isOptional: boolean;
1133
- optionLabels: {
1134
- [x: string]: string;
1135
- };
1136
- }> | Readonly<{
1137
- type: "toggle";
1138
- valueType: "string" | "number" | "boolean";
1139
- defaultValue: string | number | boolean | null;
1140
- isOptional: boolean;
1141
- }>>]>, v.GenericSchema], undefined>;
1142
- }>]>;
1143
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1144
- readonly type: v.LiteralSchema<"parameter", undefined>;
1145
- readonly id: v.StringSchema<undefined>;
1146
- readonly name: v.StringSchema<undefined>;
1147
- }, undefined>, v.ReadonlyAction<{
1148
- type: "parameter";
1149
- id: string;
1150
- name: string;
1151
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
1152
- type: "parameter";
1153
- id: string;
1154
- name: string;
1155
- }> | import("../references.js").BuilderParameter<string>, {
1156
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
1157
- }>]>, undefined>;
1158
- }, undefined>, v.MetadataAction<{
1159
- name: string;
1160
- payload: unknown;
1161
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1162
- type: "parameter";
1163
- id: string;
1164
- name: string;
1165
- }> | import("../references.js").BuilderParameter<string> | undefined;
1166
- }, {
1167
- readonly serialisable: typeof import("./index.js").BuilderOption;
1168
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderOption, undefined>;
1169
- }>, v.ReadonlyAction<{
1170
- name: string;
1171
- payload: unknown;
1172
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1173
- type: "parameter";
1174
- id: string;
1175
- name: string;
1176
- }> | import("../references.js").BuilderParameter<string> | undefined;
1177
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1178
- name: string;
1179
- payload: unknown;
1180
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1181
- type: "parameter";
1182
- id: string;
1183
- name: string;
1184
- }> | import("../references.js").BuilderParameter<string> | undefined;
1185
- }>[]>]>;
1186
- readonly components: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1187
- readonly name: v.StringSchema<undefined>;
1188
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1189
- readonly type: v.LiteralSchema<"parameter", undefined>;
1190
- readonly id: v.StringSchema<undefined>;
1191
- readonly name: v.StringSchema<undefined>;
1192
- }, undefined>, v.ReadonlyAction<{
1193
- type: "parameter";
1194
- id: string;
1195
- name: string;
1196
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1197
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1198
- readonly type: v.LiteralSchema<"parameter", undefined>;
1199
- readonly id: v.StringSchema<undefined>;
1200
- readonly name: v.StringSchema<undefined>;
1201
- }, undefined>, v.ReadonlyAction<{
1202
- type: "parameter";
1203
- id: string;
1204
- name: string;
1205
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1206
- readonly name: v.StringSchema<undefined>;
1207
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
1208
- }, undefined>, v.MetadataAction<{
1209
- name: string;
1210
- kind: "option" | "component" | "collection" | "detail";
1211
- }, {
1212
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
1213
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
1214
- }>, v.ReadonlyAction<{
1215
- name: string;
1216
- kind: "option" | "component" | "collection" | "detail";
1217
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1218
- name: string;
1219
- kind: "option" | "component" | "collection" | "detail";
1220
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
1221
- type: "parameter";
1222
- id: string;
1223
- name: string;
1224
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
1225
- name: string;
1226
- kind: "option" | "component" | "collection" | "detail";
1227
- }>[], {
1228
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1229
- readonly name: v.StringSchema<undefined>;
1230
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
1231
- }, undefined>, v.MetadataAction<{
1232
- name: string;
1233
- kind: "option" | "component" | "collection" | "detail";
1234
- }, {
1235
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
1236
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
1237
- }>, v.ReadonlyAction<{
1238
- name: string;
1239
- kind: "option" | "component" | "collection" | "detail";
1240
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1241
- name: string;
1242
- kind: "option" | "component" | "collection" | "detail";
1243
- }>[]>]>;
1244
- }>]>;
1245
- }, undefined>, v.MetadataAction<{
1246
- expectations: Readonly<{
1247
- type: "parameter";
1248
- id: string;
1249
- name: string;
1250
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
1251
- name: string;
1252
- kind: "option" | "component" | "collection" | "detail";
1253
- }>[];
1254
- }, {
1255
- readonly serialisable: typeof import("./index.js").BuilderComponentDetails;
1256
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
1257
- }>, v.ReadonlyAction<{
1258
- expectations: Readonly<{
1259
- type: "parameter";
1260
- id: string;
1261
- name: string;
1262
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
1263
- name: string;
1264
- kind: "option" | "component" | "collection" | "detail";
1265
- }>[];
1266
- }>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
1267
- readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1268
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1269
- readonly type: v.LiteralSchema<"parameter", undefined>;
1270
- readonly id: v.StringSchema<undefined>;
1271
- readonly name: v.StringSchema<undefined>;
1272
- }, undefined>, v.ReadonlyAction<{
1273
- type: "parameter";
1274
- id: string;
1275
- name: string;
1276
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1277
- readonly name: v.StringSchema<undefined>;
1278
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
1279
- }, undefined>, v.MetadataAction<{
1280
- name: string;
1281
- kind: "option" | "component" | "collection" | "detail";
1282
- }, {
1283
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
1284
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
1285
- }>, v.ReadonlyAction<{
1286
- name: string;
1287
- kind: "option" | "component" | "collection" | "detail";
1288
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1289
- name: string;
1290
- kind: "option" | "component" | "collection" | "detail";
1291
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
1292
- type: "parameter";
1293
- id: string;
1294
- name: string;
1295
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
1296
- name: string;
1297
- kind: "option" | "component" | "collection" | "detail";
1298
- }>[], {
1299
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1300
- readonly name: v.StringSchema<undefined>;
1301
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
1302
- }, undefined>, v.MetadataAction<{
1303
- name: string;
1304
- kind: "option" | "component" | "collection" | "detail";
1305
- }, {
1306
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
1307
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
1308
- }>, v.ReadonlyAction<{
1309
- name: string;
1310
- kind: "option" | "component" | "collection" | "detail";
1311
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1312
- name: string;
1313
- kind: "option" | "component" | "collection" | "detail";
1314
- }>[]>]>;
1315
- }>]>;
1316
- }, undefined>, v.MetadataAction<{
1317
- expectations: Readonly<{
1318
- type: "parameter";
1319
- id: string;
1320
- name: string;
1321
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
1322
- name: string;
1323
- kind: "option" | "component" | "collection" | "detail";
1324
- }>[];
1325
- }, {
1326
- readonly serialisable: typeof import("./index.js").BuilderComponentDetails;
1327
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
1328
- }>, v.ReadonlyAction<{
1329
- expectations: Readonly<{
1330
- type: "parameter";
1331
- id: string;
1332
- name: string;
1333
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
1334
- name: string;
1335
- kind: "option" | "component" | "collection" | "detail";
1336
- }>[];
1337
- }>]>, v.GenericSchema], undefined>;
1338
- }>]>;
1339
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1340
- readonly type: v.LiteralSchema<"parameter", undefined>;
1341
- readonly id: v.StringSchema<undefined>;
1342
- readonly name: v.StringSchema<undefined>;
1343
- }, undefined>, v.ReadonlyAction<{
1344
- type: "parameter";
1345
- id: string;
1346
- name: string;
1347
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
1348
- type: "parameter";
1349
- id: string;
1350
- name: string;
1351
- }> | import("../references.js").BuilderParameter<string>, {
1352
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
1353
- }>]>, undefined>;
1354
- }, undefined>, v.MetadataAction<{
1355
- name: string;
1356
- payload: unknown;
1357
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1358
- type: "parameter";
1359
- id: string;
1360
- name: string;
1361
- }> | import("../references.js").BuilderParameter<string> | undefined;
1362
- }, {
1363
- readonly serialisable: typeof import("./index.js").BuilderComponent;
1364
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponent, undefined>;
1365
- }>, v.ReadonlyAction<{
1366
- name: string;
1367
- payload: unknown;
1368
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1369
- type: "parameter";
1370
- id: string;
1371
- name: string;
1372
- }> | import("../references.js").BuilderParameter<string> | undefined;
1373
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1374
- name: string;
1375
- payload: unknown;
1376
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1377
- type: "parameter";
1378
- id: string;
1379
- name: string;
1380
- }> | import("../references.js").BuilderParameter<string> | undefined;
1381
- }>[]>]>;
1382
- readonly collections: v.SchemaWithPipe<readonly [v.ArraySchema<v.GenericSchema<import("./index.js").BuilderCollectionSerialised>, undefined>, v.ReadonlyAction<import("./index.js").BuilderCollectionSerialised[]>]>;
1383
- readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1384
- readonly name: v.StringSchema<undefined>;
1385
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
1386
- }, undefined>, v.MetadataAction<{
1387
- name: string;
1388
- kind: "option" | "component" | "collection" | "detail";
1389
- }, {
1390
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
1391
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
1392
- }>, v.ReadonlyAction<{
1393
- name: string;
1394
- kind: "option" | "component" | "collection" | "detail";
1395
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1396
- name: string;
1397
- kind: "option" | "component" | "collection" | "detail";
1398
- }>[]>]>;
1399
- readonly references: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1400
- readonly parameter: v.StringSchema<undefined>;
1401
- readonly id: v.StringSchema<undefined>;
1402
- }, undefined>, v.ReadonlyAction<{
1403
- parameter: string;
1404
- id: string;
1405
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1406
- parameter: string;
1407
- id: string;
1408
- }>[]>]>;
1409
- }, undefined>, v.MetadataAction<{
1410
- readonly parameters: readonly Readonly<{
1411
- type: "parameter";
1412
- id: string;
1413
- name: string;
1414
- }>[];
1415
- readonly options: readonly Readonly<{
1416
- name: string;
1417
- payload: unknown;
1418
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1419
- type: "parameter";
1420
- id: string;
1421
- name: string;
1422
- }> | import("../references.js").BuilderParameter<string> | undefined;
1423
- }>[];
1424
- readonly components: readonly Readonly<{
1425
- name: string;
1426
- payload: unknown;
1427
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1428
- type: "parameter";
1429
- id: string;
1430
- name: string;
1431
- }> | import("../references.js").BuilderParameter<string> | undefined;
1432
- }>[];
1433
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
1434
- readonly expectations: readonly Readonly<{
1435
- name: string;
1436
- kind: "option" | "component" | "collection" | "detail";
1437
- }>[];
1438
- readonly references: readonly Readonly<{
1439
- parameter: string;
1440
- id: string;
1441
- }>[];
1442
- }, {
1443
- readonly serialisable: typeof import("./index.js").Builder;
1444
- readonly instance: v.InstanceSchema<typeof import("./index.js").Builder, undefined>;
1445
- }>, v.ReadonlyAction<{
1446
- readonly parameters: readonly Readonly<{
1447
- type: "parameter";
1448
- id: string;
1449
- name: string;
1450
- }>[];
1451
- readonly options: readonly Readonly<{
1452
- name: string;
1453
- payload: unknown;
1454
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1455
- type: "parameter";
1456
- id: string;
1457
- name: string;
1458
- }> | import("../references.js").BuilderParameter<string> | undefined;
1459
- }>[];
1460
- readonly components: readonly Readonly<{
1461
- name: string;
1462
- payload: unknown;
1463
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1464
- type: "parameter";
1465
- id: string;
1466
- name: string;
1467
- }> | import("../references.js").BuilderParameter<string> | undefined;
1468
- }>[];
1469
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
1470
- readonly expectations: readonly Readonly<{
1471
- name: string;
1472
- kind: "option" | "component" | "collection" | "detail";
1473
- }>[];
1474
- readonly references: readonly Readonly<{
1475
- parameter: string;
1476
- id: string;
1477
- }>[];
1478
- }>]>>;
1479
- }>]>;
1480
- readonly parameters: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1481
- readonly type: v.LiteralSchema<"parameter", undefined>;
1482
- readonly id: v.StringSchema<undefined>;
1483
- readonly name: v.StringSchema<undefined>;
1484
- }, undefined>, v.ReadonlyAction<{
1485
- type: "parameter";
1486
- id: string;
1487
- name: string;
1488
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1489
- type: "parameter";
1490
- id: string;
1491
- name: string;
1492
- }>[]>]>;
1493
- readonly items: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1494
- readonly type: v.LiteralSchema<"parameter", undefined>;
1495
- readonly id: v.StringSchema<undefined>;
1496
- readonly name: v.StringSchema<undefined>;
1497
- }, undefined>, v.ReadonlyAction<{
1498
- type: "parameter";
1499
- id: string;
1500
- name: string;
1501
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.GenericSchema<import("./index.js").BuilderUIItemSerialised>], undefined>, v.MetadataAction<Readonly<{
1502
- type: "parameter";
1503
- id: string;
1504
- name: string;
1505
- }> | import("../references.js").BuilderParameter<string> | import("./index.js").BuilderUIItemSerialised, {
1506
- readonly paramable: v.GenericSchema<import("./index.js").BuilderUIItemSerialised>;
1507
- }>]>, undefined>, v.ReadonlyAction<(Readonly<{
1508
- type: "parameter";
1509
- id: string;
1510
- name: string;
1511
- }> | import("../references.js").BuilderParameter<string> | import("./index.js").BuilderUIItemSerialised)[]>]>;
1512
- readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1513
- readonly name: v.StringSchema<undefined>;
1514
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
1515
- }, undefined>, v.MetadataAction<{
1516
- name: string;
1517
- kind: "option" | "component" | "collection" | "detail";
1518
- }, {
1519
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
1520
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
1521
- }>, v.ReadonlyAction<{
1522
- name: string;
1523
- kind: "option" | "component" | "collection" | "detail";
1524
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1525
- name: string;
1526
- kind: "option" | "component" | "collection" | "detail";
1527
- }>[]>]>;
1528
- readonly references: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1529
- readonly parameter: v.StringSchema<undefined>;
1530
- readonly id: v.StringSchema<undefined>;
1531
- }, undefined>, v.ReadonlyAction<{
1532
- parameter: string;
1533
- id: string;
1534
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1535
- parameter: string;
1536
- id: string;
1537
- }>[]>]>;
1538
- }, undefined>, v.MetadataAction<{
1539
- builder: Readonly<{
1540
- type: "parameter";
1541
- id: string;
1542
- name: string;
1543
- }> | import("../references.js").BuilderParameter<string> | Readonly<{
1544
- readonly parameters: readonly Readonly<{
1545
- type: "parameter";
1546
- id: string;
1547
- name: string;
1548
- }>[];
1549
- readonly options: readonly Readonly<{
1550
- name: string;
1551
- payload: unknown;
1552
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1553
- type: "parameter";
1554
- id: string;
1555
- name: string;
1556
- }> | import("../references.js").BuilderParameter<string> | undefined;
1557
- }>[];
1558
- readonly components: readonly Readonly<{
1559
- name: string;
1560
- payload: unknown;
1561
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1562
- type: "parameter";
1563
- id: string;
1564
- name: string;
1565
- }> | import("../references.js").BuilderParameter<string> | undefined;
1566
- }>[];
1567
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
1568
- readonly expectations: readonly Readonly<{
1569
- name: string;
1570
- kind: "option" | "component" | "collection" | "detail";
1571
- }>[];
1572
- readonly references: readonly Readonly<{
1573
- parameter: string;
1574
- id: string;
1575
- }>[];
1576
- }>;
1577
- readonly parameters: readonly Readonly<{
1578
- type: "parameter";
1579
- id: string;
1580
- name: string;
1581
- }>[];
1582
- readonly items: readonly (Readonly<{
1583
- type: "parameter";
1584
- id: string;
1585
- name: string;
1586
- }> | import("../references.js").BuilderParameter<string> | import("./index.js").BuilderUIItemSerialised)[];
1587
- readonly expectations: readonly Readonly<{
1588
- name: string;
1589
- kind: "option" | "component" | "collection" | "detail";
1590
- }>[];
1591
- readonly references: readonly Readonly<{
1592
- parameter: string;
1593
- id: string;
1594
- }>[];
1595
- }, {
1596
- readonly serialisable: typeof import("./index.js").BuilderUI;
1597
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderUI, undefined>;
1598
- }>, v.ReadonlyAction<{
1599
- builder: Readonly<{
1600
- type: "parameter";
1601
- id: string;
1602
- name: string;
1603
- }> | import("../references.js").BuilderParameter<string> | Readonly<{
1604
- readonly parameters: readonly Readonly<{
1605
- type: "parameter";
1606
- id: string;
1607
- name: string;
1608
- }>[];
1609
- readonly options: readonly Readonly<{
1610
- name: string;
1611
- payload: unknown;
1612
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1613
- type: "parameter";
1614
- id: string;
1615
- name: string;
1616
- }> | import("../references.js").BuilderParameter<string> | undefined;
1617
- }>[];
1618
- readonly components: readonly Readonly<{
1619
- name: string;
1620
- payload: unknown;
1621
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1622
- type: "parameter";
1623
- id: string;
1624
- name: string;
1625
- }> | import("../references.js").BuilderParameter<string> | undefined;
1626
- }>[];
1627
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
1628
- readonly expectations: readonly Readonly<{
1629
- name: string;
1630
- kind: "option" | "component" | "collection" | "detail";
1631
- }>[];
1632
- readonly references: readonly Readonly<{
1633
- parameter: string;
1634
- id: string;
1635
- }>[];
1636
- }>;
1637
- readonly parameters: readonly Readonly<{
1638
- type: "parameter";
1639
- id: string;
1640
- name: string;
1641
- }>[];
1642
- readonly items: readonly (Readonly<{
1643
- type: "parameter";
1644
- id: string;
1645
- name: string;
1646
- }> | import("../references.js").BuilderParameter<string> | import("./index.js").BuilderUIItemSerialised)[];
1647
- readonly expectations: readonly Readonly<{
1648
- name: string;
1649
- kind: "option" | "component" | "collection" | "detail";
1650
- }>[];
1651
- readonly references: readonly Readonly<{
1652
- parameter: string;
1653
- id: string;
1654
- }>[];
1655
- }>]>;
13
+ readonly serialised: v.GenericSchema<import("./index.js").BuilderUISerialised>;
1656
14
  };
1657
15
  readonly select: {
1658
16
  readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderSelectType, undefined>;
@@ -1662,18 +20,7 @@ export declare const entitiesByKind: {
1662
20
  readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1663
21
  readonly isOptional: v.BooleanSchema<undefined>;
1664
22
  readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
1665
- }, undefined>, v.MetadataAction<{
1666
- type: "select";
1667
- readonly options: readonly [string, ...string[]];
1668
- defaultValue: string | null;
1669
- isOptional: boolean;
1670
- optionLabels: {
1671
- [x: string]: string;
1672
- };
1673
- }, {
1674
- readonly serialisable: typeof import("./index.js").BuilderSelectType;
1675
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderSelectType, undefined>;
1676
- }>, v.ReadonlyAction<{
23
+ }, undefined>, v.ReadonlyAction<{
1677
24
  type: "select";
1678
25
  readonly options: readonly [string, ...string[]];
1679
26
  defaultValue: string | null;
@@ -1690,15 +37,7 @@ export declare const entitiesByKind: {
1690
37
  readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
1691
38
  readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
1692
39
  readonly isOptional: v.BooleanSchema<undefined>;
1693
- }, undefined>, v.MetadataAction<{
1694
- type: "toggle";
1695
- valueType: "string" | "number" | "boolean";
1696
- defaultValue: string | number | boolean | null;
1697
- isOptional: boolean;
1698
- }, {
1699
- readonly serialisable: typeof import("./index.js").BuilderToggleType;
1700
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderToggleType, undefined>;
1701
- }>, v.ReadonlyAction<{
40
+ }, undefined>, v.ReadonlyAction<{
1702
41
  type: "toggle";
1703
42
  valueType: "string" | "number" | "boolean";
1704
43
  defaultValue: string | number | boolean | null;
@@ -1709,7 +48,7 @@ export declare const entitiesByKind: {
1709
48
  readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderUIPage, undefined>;
1710
49
  readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1711
50
  readonly type: v.LiteralSchema<"page", undefined>;
1712
- readonly label: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
51
+ readonly label: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1713
52
  readonly type: v.LiteralSchema<"parameter", undefined>;
1714
53
  readonly id: v.StringSchema<undefined>;
1715
54
  readonly name: v.StringSchema<undefined>;
@@ -1717,14 +56,14 @@ export declare const entitiesByKind: {
1717
56
  type: "parameter";
1718
57
  id: string;
1719
58
  name: string;
1720
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.StringSchema<undefined>], undefined>, v.MetadataAction<string | Readonly<{
1721
- type: "parameter";
59
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
60
+ readonly type: v.LiteralSchema<"ref", undefined>;
61
+ readonly id: v.StringSchema<undefined>;
62
+ }, undefined>, v.ReadonlyAction<{
63
+ type: "ref";
1722
64
  id: string;
1723
- name: string;
1724
- }> | import("../references.js").BuilderParameter<string>, {
1725
- readonly paramable: v.StringSchema<undefined>;
1726
- }>]>;
1727
- readonly paths: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
65
+ }>]>, v.StringSchema<undefined>], undefined>;
66
+ readonly paths: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1728
67
  readonly type: v.LiteralSchema<"parameter", undefined>;
1729
68
  readonly id: v.StringSchema<undefined>;
1730
69
  readonly name: v.StringSchema<undefined>;
@@ -1732,47 +71,38 @@ export declare const entitiesByKind: {
1732
71
  type: "parameter";
1733
72
  id: string;
1734
73
  name: string;
1735
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
1736
- type: "parameter";
74
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
75
+ readonly type: v.LiteralSchema<"ref", undefined>;
76
+ readonly id: v.StringSchema<undefined>;
77
+ }, undefined>, v.ReadonlyAction<{
78
+ type: "ref";
1737
79
  id: string;
1738
- name: string;
1739
- }> | import("../references.js").BuilderParameter<string>, {
1740
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
1741
- }>]>;
1742
- }, undefined>, v.MetadataAction<{
80
+ }>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>;
81
+ }, undefined>, v.ReadonlyAction<{
1743
82
  type: "page";
1744
83
  label: string | Readonly<{
1745
84
  type: "parameter";
1746
85
  id: string;
1747
86
  name: string;
1748
- }> | import("../references.js").BuilderParameter<string>;
1749
- paths: readonly (readonly (string | number)[])[] | Readonly<{
1750
- type: "parameter";
87
+ }> | Readonly<{
88
+ type: "ref";
1751
89
  id: string;
1752
- name: string;
1753
- }> | import("../references.js").BuilderParameter<string>;
1754
- }, {
1755
- readonly serialisable: typeof import("./index.js").BuilderUIPage;
1756
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderUIPage, undefined>;
1757
- }>, v.ReadonlyAction<{
1758
- type: "page";
1759
- label: string | Readonly<{
1760
- type: "parameter";
1761
- id: string;
1762
- name: string;
1763
- }> | import("../references.js").BuilderParameter<string>;
90
+ }>;
1764
91
  paths: readonly (readonly (string | number)[])[] | Readonly<{
1765
92
  type: "parameter";
1766
93
  id: string;
1767
94
  name: string;
1768
- }> | import("../references.js").BuilderParameter<string>;
95
+ }> | Readonly<{
96
+ type: "ref";
97
+ id: string;
98
+ }>;
1769
99
  }>]>;
1770
100
  };
1771
101
  readonly uiDescribe: {
1772
102
  readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderUIDescribe, undefined>;
1773
103
  readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1774
104
  readonly type: v.LiteralSchema<"describe", undefined>;
1775
- readonly label: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
105
+ readonly label: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1776
106
  readonly type: v.LiteralSchema<"parameter", undefined>;
1777
107
  readonly id: v.StringSchema<undefined>;
1778
108
  readonly name: v.StringSchema<undefined>;
@@ -1780,14 +110,14 @@ export declare const entitiesByKind: {
1780
110
  type: "parameter";
1781
111
  id: string;
1782
112
  name: string;
1783
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.StringSchema<undefined>], undefined>, v.MetadataAction<string | Readonly<{
1784
- type: "parameter";
113
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
114
+ readonly type: v.LiteralSchema<"ref", undefined>;
115
+ readonly id: v.StringSchema<undefined>;
116
+ }, undefined>, v.ReadonlyAction<{
117
+ type: "ref";
1785
118
  id: string;
1786
- name: string;
1787
- }> | import("../references.js").BuilderParameter<string>, {
1788
- readonly paramable: v.StringSchema<undefined>;
1789
- }>]>;
1790
- readonly paths: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
119
+ }>]>, v.StringSchema<undefined>], undefined>;
120
+ readonly paths: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1791
121
  readonly type: v.LiteralSchema<"parameter", undefined>;
1792
122
  readonly id: v.StringSchema<undefined>;
1793
123
  readonly name: v.StringSchema<undefined>;
@@ -1795,40 +125,31 @@ export declare const entitiesByKind: {
1795
125
  type: "parameter";
1796
126
  id: string;
1797
127
  name: string;
1798
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
1799
- type: "parameter";
128
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
129
+ readonly type: v.LiteralSchema<"ref", undefined>;
130
+ readonly id: v.StringSchema<undefined>;
131
+ }, undefined>, v.ReadonlyAction<{
132
+ type: "ref";
1800
133
  id: string;
1801
- name: string;
1802
- }> | import("../references.js").BuilderParameter<string>, {
1803
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
1804
- }>]>;
1805
- }, undefined>, v.MetadataAction<{
134
+ }>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>;
135
+ }, undefined>, v.ReadonlyAction<{
1806
136
  type: "describe";
1807
137
  label: string | Readonly<{
1808
138
  type: "parameter";
1809
139
  id: string;
1810
140
  name: string;
1811
- }> | import("../references.js").BuilderParameter<string>;
1812
- paths: readonly (readonly (string | number)[])[] | Readonly<{
1813
- type: "parameter";
1814
- id: string;
1815
- name: string;
1816
- }> | import("../references.js").BuilderParameter<string>;
1817
- }, {
1818
- readonly serialisable: typeof import("./index.js").BuilderUIDescribe;
1819
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderUIDescribe, undefined>;
1820
- }>, v.ReadonlyAction<{
1821
- type: "describe";
1822
- label: string | Readonly<{
1823
- type: "parameter";
141
+ }> | Readonly<{
142
+ type: "ref";
1824
143
  id: string;
1825
- name: string;
1826
- }> | import("../references.js").BuilderParameter<string>;
144
+ }>;
1827
145
  paths: readonly (readonly (string | number)[])[] | Readonly<{
1828
146
  type: "parameter";
1829
147
  id: string;
1830
148
  name: string;
1831
- }> | import("../references.js").BuilderParameter<string>;
149
+ }> | Readonly<{
150
+ type: "ref";
151
+ id: string;
152
+ }>;
1832
153
  }>]>;
1833
154
  };
1834
155
  readonly uiPages: {
@@ -1838,7 +159,7 @@ export declare const entitiesByKind: {
1838
159
  readonly componentDetails: {
1839
160
  readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
1840
161
  readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1841
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
162
+ readonly fields: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1842
163
  readonly type: v.LiteralSchema<"parameter", undefined>;
1843
164
  readonly id: v.StringSchema<undefined>;
1844
165
  readonly name: v.StringSchema<undefined>;
@@ -1846,73 +167,48 @@ export declare const entitiesByKind: {
1846
167
  type: "parameter";
1847
168
  id: string;
1848
169
  name: string;
1849
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
170
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
171
+ readonly type: v.LiteralSchema<"ref", undefined>;
172
+ readonly id: v.StringSchema<undefined>;
173
+ }, undefined>, v.ReadonlyAction<{
174
+ type: "ref";
175
+ id: string;
176
+ }>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
177
+ readonly type: v.LiteralSchema<"component-field", undefined>;
1850
178
  readonly name: v.StringSchema<undefined>;
1851
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
1852
- }, undefined>, v.MetadataAction<{
1853
- name: string;
1854
- kind: "option" | "component" | "collection" | "detail";
1855
- }, {
1856
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
1857
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
1858
- }>, v.ReadonlyAction<{
179
+ readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
180
+ readonly isOptional: v.BooleanSchema<undefined>;
181
+ }, undefined>, v.ReadonlyAction<{
182
+ type: "component-field";
1859
183
  name: string;
1860
- kind: "option" | "component" | "collection" | "detail";
184
+ valueType: "string" | "number" | "boolean";
185
+ isOptional: boolean;
1861
186
  }>]>, undefined>, v.ReadonlyAction<Readonly<{
187
+ type: "component-field";
1862
188
  name: string;
1863
- kind: "option" | "component" | "collection" | "detail";
1864
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
1865
- type: "parameter";
1866
- id: string;
1867
- name: string;
1868
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
1869
- name: string;
1870
- kind: "option" | "component" | "collection" | "detail";
1871
- }>[], {
1872
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1873
- readonly name: v.StringSchema<undefined>;
1874
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
1875
- }, undefined>, v.MetadataAction<{
1876
- name: string;
1877
- kind: "option" | "component" | "collection" | "detail";
1878
- }, {
1879
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
1880
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
1881
- }>, v.ReadonlyAction<{
1882
- name: string;
1883
- kind: "option" | "component" | "collection" | "detail";
1884
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1885
- name: string;
1886
- kind: "option" | "component" | "collection" | "detail";
1887
- }>[]>]>;
1888
- }>]>;
1889
- }, undefined>, v.MetadataAction<{
1890
- expectations: Readonly<{
189
+ valueType: "string" | "number" | "boolean";
190
+ isOptional: boolean;
191
+ }>[]>]>], undefined>;
192
+ }, undefined>, v.ReadonlyAction<{
193
+ fields: Readonly<{
1891
194
  type: "parameter";
1892
195
  id: string;
1893
196
  name: string;
1894
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
1895
- name: string;
1896
- kind: "option" | "component" | "collection" | "detail";
1897
- }>[];
1898
- }, {
1899
- readonly serialisable: typeof import("./index.js").BuilderComponentDetails;
1900
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
1901
- }>, v.ReadonlyAction<{
1902
- expectations: Readonly<{
1903
- type: "parameter";
197
+ }> | Readonly<{
198
+ type: "ref";
1904
199
  id: string;
200
+ }> | readonly Readonly<{
201
+ type: "component-field";
1905
202
  name: string;
1906
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
1907
- name: string;
1908
- kind: "option" | "component" | "collection" | "detail";
203
+ valueType: "string" | "number" | "boolean";
204
+ isOptional: boolean;
1909
205
  }>[];
1910
206
  }>]>;
1911
207
  };
1912
208
  readonly collectionConfig: {
1913
209
  readonly runtime: v.InstanceSchema<typeof import("./index.js").BuilderCollectionConfig, undefined>;
1914
210
  readonly serialised: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1915
- readonly builder: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
211
+ readonly model: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1916
212
  readonly type: v.LiteralSchema<"parameter", undefined>;
1917
213
  readonly id: v.StringSchema<undefined>;
1918
214
  readonly name: v.StringSchema<undefined>;
@@ -1920,995 +216,14 @@ export declare const entitiesByKind: {
1920
216
  type: "parameter";
1921
217
  id: string;
1922
218
  name: string;
1923
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.LazySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1924
- readonly parameters: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1925
- readonly type: v.LiteralSchema<"parameter", undefined>;
1926
- readonly id: v.StringSchema<undefined>;
1927
- readonly name: v.StringSchema<undefined>;
1928
- }, undefined>, v.ReadonlyAction<{
1929
- type: "parameter";
1930
- id: string;
1931
- name: string;
1932
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1933
- type: "parameter";
1934
- id: string;
1935
- name: string;
1936
- }>[]>]>;
1937
- readonly options: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1938
- readonly name: v.StringSchema<undefined>;
1939
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1940
- readonly type: v.LiteralSchema<"parameter", undefined>;
1941
- readonly id: v.StringSchema<undefined>;
1942
- readonly name: v.StringSchema<undefined>;
1943
- }, undefined>, v.ReadonlyAction<{
1944
- type: "parameter";
1945
- id: string;
1946
- name: string;
1947
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
1948
- readonly type: v.LiteralSchema<"select", undefined>;
1949
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
1950
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1951
- readonly isOptional: v.BooleanSchema<undefined>;
1952
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
1953
- }, undefined>, v.MetadataAction<{
1954
- type: "select";
1955
- readonly options: readonly [string, ...string[]];
1956
- defaultValue: string | null;
1957
- isOptional: boolean;
1958
- optionLabels: {
1959
- [x: string]: string;
1960
- };
1961
- }, {
1962
- readonly serialisable: typeof import("./index.js").BuilderSelectType;
1963
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderSelectType, undefined>;
1964
- }>, v.ReadonlyAction<{
1965
- type: "select";
1966
- readonly options: readonly [string, ...string[]];
1967
- defaultValue: string | null;
1968
- isOptional: boolean;
1969
- optionLabels: {
1970
- [x: string]: string;
1971
- };
1972
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1973
- readonly type: v.LiteralSchema<"toggle", undefined>;
1974
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
1975
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
1976
- readonly isOptional: v.BooleanSchema<undefined>;
1977
- }, undefined>, v.MetadataAction<{
1978
- type: "toggle";
1979
- valueType: "string" | "number" | "boolean";
1980
- defaultValue: string | number | boolean | null;
1981
- isOptional: boolean;
1982
- }, {
1983
- readonly serialisable: typeof import("./index.js").BuilderToggleType;
1984
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderToggleType, undefined>;
1985
- }>, v.ReadonlyAction<{
1986
- type: "toggle";
1987
- valueType: "string" | "number" | "boolean";
1988
- defaultValue: string | number | boolean | null;
1989
- isOptional: boolean;
1990
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
1991
- type: "select";
1992
- readonly options: readonly [string, ...string[]];
1993
- defaultValue: string | null;
1994
- isOptional: boolean;
1995
- optionLabels: {
1996
- [x: string]: string;
1997
- };
1998
- }> | Readonly<{
1999
- type: "toggle";
2000
- valueType: "string" | "number" | "boolean";
2001
- defaultValue: string | number | boolean | null;
2002
- isOptional: boolean;
2003
- }>>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
2004
- readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
2005
- readonly type: v.LiteralSchema<"select", undefined>;
2006
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
2007
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2008
- readonly isOptional: v.BooleanSchema<undefined>;
2009
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
2010
- }, undefined>, v.MetadataAction<{
2011
- type: "select";
2012
- readonly options: readonly [string, ...string[]];
2013
- defaultValue: string | null;
2014
- isOptional: boolean;
2015
- optionLabels: {
2016
- [x: string]: string;
2017
- };
2018
- }, {
2019
- readonly serialisable: typeof import("./index.js").BuilderSelectType;
2020
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderSelectType, undefined>;
2021
- }>, v.ReadonlyAction<{
2022
- type: "select";
2023
- readonly options: readonly [string, ...string[]];
2024
- defaultValue: string | null;
2025
- isOptional: boolean;
2026
- optionLabels: {
2027
- [x: string]: string;
2028
- };
2029
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2030
- readonly type: v.LiteralSchema<"toggle", undefined>;
2031
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
2032
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
2033
- readonly isOptional: v.BooleanSchema<undefined>;
2034
- }, undefined>, v.MetadataAction<{
2035
- type: "toggle";
2036
- valueType: "string" | "number" | "boolean";
2037
- defaultValue: string | number | boolean | null;
2038
- isOptional: boolean;
2039
- }, {
2040
- readonly serialisable: typeof import("./index.js").BuilderToggleType;
2041
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderToggleType, undefined>;
2042
- }>, v.ReadonlyAction<{
2043
- type: "toggle";
2044
- valueType: "string" | "number" | "boolean";
2045
- defaultValue: string | number | boolean | null;
2046
- isOptional: boolean;
2047
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
2048
- type: "select";
2049
- readonly options: readonly [string, ...string[]];
2050
- defaultValue: string | null;
2051
- isOptional: boolean;
2052
- optionLabels: {
2053
- [x: string]: string;
2054
- };
2055
- }> | Readonly<{
2056
- type: "toggle";
2057
- valueType: "string" | "number" | "boolean";
2058
- defaultValue: string | number | boolean | null;
2059
- isOptional: boolean;
2060
- }>>]>, v.GenericSchema], undefined>;
2061
- }>]>;
2062
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2063
- readonly type: v.LiteralSchema<"parameter", undefined>;
2064
- readonly id: v.StringSchema<undefined>;
2065
- readonly name: v.StringSchema<undefined>;
2066
- }, undefined>, v.ReadonlyAction<{
2067
- type: "parameter";
2068
- id: string;
2069
- name: string;
2070
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
2071
- type: "parameter";
2072
- id: string;
2073
- name: string;
2074
- }> | import("../references.js").BuilderParameter<string>, {
2075
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
2076
- }>]>, undefined>;
2077
- }, undefined>, v.MetadataAction<{
2078
- name: string;
2079
- payload: unknown;
2080
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2081
- type: "parameter";
2082
- id: string;
2083
- name: string;
2084
- }> | import("../references.js").BuilderParameter<string> | undefined;
2085
- }, {
2086
- readonly serialisable: typeof import("./index.js").BuilderOption;
2087
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderOption, undefined>;
2088
- }>, v.ReadonlyAction<{
2089
- name: string;
2090
- payload: unknown;
2091
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2092
- type: "parameter";
2093
- id: string;
2094
- name: string;
2095
- }> | import("../references.js").BuilderParameter<string> | undefined;
2096
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2097
- name: string;
2098
- payload: unknown;
2099
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2100
- type: "parameter";
2101
- id: string;
2102
- name: string;
2103
- }> | import("../references.js").BuilderParameter<string> | undefined;
2104
- }>[]>]>;
2105
- readonly components: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2106
- readonly name: v.StringSchema<undefined>;
2107
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2108
- readonly type: v.LiteralSchema<"parameter", undefined>;
2109
- readonly id: v.StringSchema<undefined>;
2110
- readonly name: v.StringSchema<undefined>;
2111
- }, undefined>, v.ReadonlyAction<{
2112
- type: "parameter";
2113
- id: string;
2114
- name: string;
2115
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2116
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2117
- readonly type: v.LiteralSchema<"parameter", undefined>;
2118
- readonly id: v.StringSchema<undefined>;
2119
- readonly name: v.StringSchema<undefined>;
2120
- }, undefined>, v.ReadonlyAction<{
2121
- type: "parameter";
2122
- id: string;
2123
- name: string;
2124
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2125
- readonly name: v.StringSchema<undefined>;
2126
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
2127
- }, undefined>, v.MetadataAction<{
2128
- name: string;
2129
- kind: "option" | "component" | "collection" | "detail";
2130
- }, {
2131
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
2132
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
2133
- }>, v.ReadonlyAction<{
2134
- name: string;
2135
- kind: "option" | "component" | "collection" | "detail";
2136
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2137
- name: string;
2138
- kind: "option" | "component" | "collection" | "detail";
2139
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
2140
- type: "parameter";
2141
- id: string;
2142
- name: string;
2143
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
2144
- name: string;
2145
- kind: "option" | "component" | "collection" | "detail";
2146
- }>[], {
2147
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2148
- readonly name: v.StringSchema<undefined>;
2149
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
2150
- }, undefined>, v.MetadataAction<{
2151
- name: string;
2152
- kind: "option" | "component" | "collection" | "detail";
2153
- }, {
2154
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
2155
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
2156
- }>, v.ReadonlyAction<{
2157
- name: string;
2158
- kind: "option" | "component" | "collection" | "detail";
2159
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2160
- name: string;
2161
- kind: "option" | "component" | "collection" | "detail";
2162
- }>[]>]>;
2163
- }>]>;
2164
- }, undefined>, v.MetadataAction<{
2165
- expectations: Readonly<{
2166
- type: "parameter";
2167
- id: string;
2168
- name: string;
2169
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
2170
- name: string;
2171
- kind: "option" | "component" | "collection" | "detail";
2172
- }>[];
2173
- }, {
2174
- readonly serialisable: typeof import("./index.js").BuilderComponentDetails;
2175
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
2176
- }>, v.ReadonlyAction<{
2177
- expectations: Readonly<{
2178
- type: "parameter";
2179
- id: string;
2180
- name: string;
2181
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
2182
- name: string;
2183
- kind: "option" | "component" | "collection" | "detail";
2184
- }>[];
2185
- }>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
2186
- readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2187
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2188
- readonly type: v.LiteralSchema<"parameter", undefined>;
2189
- readonly id: v.StringSchema<undefined>;
2190
- readonly name: v.StringSchema<undefined>;
2191
- }, undefined>, v.ReadonlyAction<{
2192
- type: "parameter";
2193
- id: string;
2194
- name: string;
2195
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2196
- readonly name: v.StringSchema<undefined>;
2197
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
2198
- }, undefined>, v.MetadataAction<{
2199
- name: string;
2200
- kind: "option" | "component" | "collection" | "detail";
2201
- }, {
2202
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
2203
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
2204
- }>, v.ReadonlyAction<{
2205
- name: string;
2206
- kind: "option" | "component" | "collection" | "detail";
2207
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2208
- name: string;
2209
- kind: "option" | "component" | "collection" | "detail";
2210
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
2211
- type: "parameter";
2212
- id: string;
2213
- name: string;
2214
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
2215
- name: string;
2216
- kind: "option" | "component" | "collection" | "detail";
2217
- }>[], {
2218
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2219
- readonly name: v.StringSchema<undefined>;
2220
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
2221
- }, undefined>, v.MetadataAction<{
2222
- name: string;
2223
- kind: "option" | "component" | "collection" | "detail";
2224
- }, {
2225
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
2226
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
2227
- }>, v.ReadonlyAction<{
2228
- name: string;
2229
- kind: "option" | "component" | "collection" | "detail";
2230
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2231
- name: string;
2232
- kind: "option" | "component" | "collection" | "detail";
2233
- }>[]>]>;
2234
- }>]>;
2235
- }, undefined>, v.MetadataAction<{
2236
- expectations: Readonly<{
2237
- type: "parameter";
2238
- id: string;
2239
- name: string;
2240
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
2241
- name: string;
2242
- kind: "option" | "component" | "collection" | "detail";
2243
- }>[];
2244
- }, {
2245
- readonly serialisable: typeof import("./index.js").BuilderComponentDetails;
2246
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
2247
- }>, v.ReadonlyAction<{
2248
- expectations: Readonly<{
2249
- type: "parameter";
2250
- id: string;
2251
- name: string;
2252
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
2253
- name: string;
2254
- kind: "option" | "component" | "collection" | "detail";
2255
- }>[];
2256
- }>]>, v.GenericSchema], undefined>;
2257
- }>]>;
2258
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2259
- readonly type: v.LiteralSchema<"parameter", undefined>;
2260
- readonly id: v.StringSchema<undefined>;
2261
- readonly name: v.StringSchema<undefined>;
2262
- }, undefined>, v.ReadonlyAction<{
2263
- type: "parameter";
2264
- id: string;
2265
- name: string;
2266
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
2267
- type: "parameter";
2268
- id: string;
2269
- name: string;
2270
- }> | import("../references.js").BuilderParameter<string>, {
2271
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
2272
- }>]>, undefined>;
2273
- }, undefined>, v.MetadataAction<{
2274
- name: string;
2275
- payload: unknown;
2276
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2277
- type: "parameter";
2278
- id: string;
2279
- name: string;
2280
- }> | import("../references.js").BuilderParameter<string> | undefined;
2281
- }, {
2282
- readonly serialisable: typeof import("./index.js").BuilderComponent;
2283
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponent, undefined>;
2284
- }>, v.ReadonlyAction<{
2285
- name: string;
2286
- payload: unknown;
2287
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2288
- type: "parameter";
2289
- id: string;
2290
- name: string;
2291
- }> | import("../references.js").BuilderParameter<string> | undefined;
2292
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2293
- name: string;
2294
- payload: unknown;
2295
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2296
- type: "parameter";
2297
- id: string;
2298
- name: string;
2299
- }> | import("../references.js").BuilderParameter<string> | undefined;
2300
- }>[]>]>;
2301
- readonly collections: v.SchemaWithPipe<readonly [v.ArraySchema<v.GenericSchema<import("./index.js").BuilderCollectionSerialised>, undefined>, v.ReadonlyAction<import("./index.js").BuilderCollectionSerialised[]>]>;
2302
- readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2303
- readonly name: v.StringSchema<undefined>;
2304
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
2305
- }, undefined>, v.MetadataAction<{
2306
- name: string;
2307
- kind: "option" | "component" | "collection" | "detail";
2308
- }, {
2309
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
2310
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
2311
- }>, v.ReadonlyAction<{
2312
- name: string;
2313
- kind: "option" | "component" | "collection" | "detail";
2314
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2315
- name: string;
2316
- kind: "option" | "component" | "collection" | "detail";
2317
- }>[]>]>;
2318
- readonly references: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2319
- readonly parameter: v.StringSchema<undefined>;
2320
- readonly id: v.StringSchema<undefined>;
2321
- }, undefined>, v.ReadonlyAction<{
2322
- parameter: string;
2323
- id: string;
2324
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2325
- parameter: string;
2326
- id: string;
2327
- }>[]>]>;
2328
- }, undefined>, v.MetadataAction<{
2329
- readonly parameters: readonly Readonly<{
2330
- type: "parameter";
2331
- id: string;
2332
- name: string;
2333
- }>[];
2334
- readonly options: readonly Readonly<{
2335
- name: string;
2336
- payload: unknown;
2337
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2338
- type: "parameter";
2339
- id: string;
2340
- name: string;
2341
- }> | import("../references.js").BuilderParameter<string> | undefined;
2342
- }>[];
2343
- readonly components: readonly Readonly<{
2344
- name: string;
2345
- payload: unknown;
2346
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2347
- type: "parameter";
2348
- id: string;
2349
- name: string;
2350
- }> | import("../references.js").BuilderParameter<string> | undefined;
2351
- }>[];
2352
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
2353
- readonly expectations: readonly Readonly<{
2354
- name: string;
2355
- kind: "option" | "component" | "collection" | "detail";
2356
- }>[];
2357
- readonly references: readonly Readonly<{
2358
- parameter: string;
2359
- id: string;
2360
- }>[];
2361
- }, {
2362
- readonly serialisable: typeof import("./index.js").Builder;
2363
- readonly instance: v.InstanceSchema<typeof import("./index.js").Builder, undefined>;
2364
- }>, v.ReadonlyAction<{
2365
- readonly parameters: readonly Readonly<{
2366
- type: "parameter";
2367
- id: string;
2368
- name: string;
2369
- }>[];
2370
- readonly options: readonly Readonly<{
2371
- name: string;
2372
- payload: unknown;
2373
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2374
- type: "parameter";
2375
- id: string;
2376
- name: string;
2377
- }> | import("../references.js").BuilderParameter<string> | undefined;
2378
- }>[];
2379
- readonly components: readonly Readonly<{
2380
- name: string;
2381
- payload: unknown;
2382
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2383
- type: "parameter";
2384
- id: string;
2385
- name: string;
2386
- }> | import("../references.js").BuilderParameter<string> | undefined;
2387
- }>[];
2388
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
2389
- readonly expectations: readonly Readonly<{
2390
- name: string;
2391
- kind: "option" | "component" | "collection" | "detail";
2392
- }>[];
2393
- readonly references: readonly Readonly<{
2394
- parameter: string;
2395
- id: string;
2396
- }>[];
2397
- }>]>>], undefined>, v.MetadataAction<Readonly<{
2398
- type: "parameter";
219
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
220
+ readonly type: v.LiteralSchema<"ref", undefined>;
221
+ readonly id: v.StringSchema<undefined>;
222
+ }, undefined>, v.ReadonlyAction<{
223
+ type: "ref";
2399
224
  id: string;
2400
- name: string;
2401
- }> | import("../references.js").BuilderParameter<string> | Readonly<{
2402
- readonly parameters: readonly Readonly<{
2403
- type: "parameter";
2404
- id: string;
2405
- name: string;
2406
- }>[];
2407
- readonly options: readonly Readonly<{
2408
- name: string;
2409
- payload: unknown;
2410
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2411
- type: "parameter";
2412
- id: string;
2413
- name: string;
2414
- }> | import("../references.js").BuilderParameter<string> | undefined;
2415
- }>[];
2416
- readonly components: readonly Readonly<{
2417
- name: string;
2418
- payload: unknown;
2419
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2420
- type: "parameter";
2421
- id: string;
2422
- name: string;
2423
- }> | import("../references.js").BuilderParameter<string> | undefined;
2424
- }>[];
2425
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
2426
- readonly expectations: readonly Readonly<{
2427
- name: string;
2428
- kind: "option" | "component" | "collection" | "detail";
2429
- }>[];
2430
- readonly references: readonly Readonly<{
2431
- parameter: string;
2432
- id: string;
2433
- }>[];
2434
- }>, {
2435
- readonly paramable: v.LazySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2436
- readonly parameters: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2437
- readonly type: v.LiteralSchema<"parameter", undefined>;
2438
- readonly id: v.StringSchema<undefined>;
2439
- readonly name: v.StringSchema<undefined>;
2440
- }, undefined>, v.ReadonlyAction<{
2441
- type: "parameter";
2442
- id: string;
2443
- name: string;
2444
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2445
- type: "parameter";
2446
- id: string;
2447
- name: string;
2448
- }>[]>]>;
2449
- readonly options: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2450
- readonly name: v.StringSchema<undefined>;
2451
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2452
- readonly type: v.LiteralSchema<"parameter", undefined>;
2453
- readonly id: v.StringSchema<undefined>;
2454
- readonly name: v.StringSchema<undefined>;
2455
- }, undefined>, v.ReadonlyAction<{
2456
- type: "parameter";
2457
- id: string;
2458
- name: string;
2459
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
2460
- readonly type: v.LiteralSchema<"select", undefined>;
2461
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
2462
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2463
- readonly isOptional: v.BooleanSchema<undefined>;
2464
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
2465
- }, undefined>, v.MetadataAction<{
2466
- type: "select";
2467
- readonly options: readonly [string, ...string[]];
2468
- defaultValue: string | null;
2469
- isOptional: boolean;
2470
- optionLabels: {
2471
- [x: string]: string;
2472
- };
2473
- }, {
2474
- readonly serialisable: typeof import("./index.js").BuilderSelectType;
2475
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderSelectType, undefined>;
2476
- }>, v.ReadonlyAction<{
2477
- type: "select";
2478
- readonly options: readonly [string, ...string[]];
2479
- defaultValue: string | null;
2480
- isOptional: boolean;
2481
- optionLabels: {
2482
- [x: string]: string;
2483
- };
2484
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2485
- readonly type: v.LiteralSchema<"toggle", undefined>;
2486
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
2487
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
2488
- readonly isOptional: v.BooleanSchema<undefined>;
2489
- }, undefined>, v.MetadataAction<{
2490
- type: "toggle";
2491
- valueType: "string" | "number" | "boolean";
2492
- defaultValue: string | number | boolean | null;
2493
- isOptional: boolean;
2494
- }, {
2495
- readonly serialisable: typeof import("./index.js").BuilderToggleType;
2496
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderToggleType, undefined>;
2497
- }>, v.ReadonlyAction<{
2498
- type: "toggle";
2499
- valueType: "string" | "number" | "boolean";
2500
- defaultValue: string | number | boolean | null;
2501
- isOptional: boolean;
2502
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
2503
- type: "select";
2504
- readonly options: readonly [string, ...string[]];
2505
- defaultValue: string | null;
2506
- isOptional: boolean;
2507
- optionLabels: {
2508
- [x: string]: string;
2509
- };
2510
- }> | Readonly<{
2511
- type: "toggle";
2512
- valueType: "string" | "number" | "boolean";
2513
- defaultValue: string | number | boolean | null;
2514
- isOptional: boolean;
2515
- }>>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
2516
- readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
2517
- readonly type: v.LiteralSchema<"select", undefined>;
2518
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
2519
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2520
- readonly isOptional: v.BooleanSchema<undefined>;
2521
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
2522
- }, undefined>, v.MetadataAction<{
2523
- type: "select";
2524
- readonly options: readonly [string, ...string[]];
2525
- defaultValue: string | null;
2526
- isOptional: boolean;
2527
- optionLabels: {
2528
- [x: string]: string;
2529
- };
2530
- }, {
2531
- readonly serialisable: typeof import("./index.js").BuilderSelectType;
2532
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderSelectType, undefined>;
2533
- }>, v.ReadonlyAction<{
2534
- type: "select";
2535
- readonly options: readonly [string, ...string[]];
2536
- defaultValue: string | null;
2537
- isOptional: boolean;
2538
- optionLabels: {
2539
- [x: string]: string;
2540
- };
2541
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2542
- readonly type: v.LiteralSchema<"toggle", undefined>;
2543
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
2544
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
2545
- readonly isOptional: v.BooleanSchema<undefined>;
2546
- }, undefined>, v.MetadataAction<{
2547
- type: "toggle";
2548
- valueType: "string" | "number" | "boolean";
2549
- defaultValue: string | number | boolean | null;
2550
- isOptional: boolean;
2551
- }, {
2552
- readonly serialisable: typeof import("./index.js").BuilderToggleType;
2553
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderToggleType, undefined>;
2554
- }>, v.ReadonlyAction<{
2555
- type: "toggle";
2556
- valueType: "string" | "number" | "boolean";
2557
- defaultValue: string | number | boolean | null;
2558
- isOptional: boolean;
2559
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
2560
- type: "select";
2561
- readonly options: readonly [string, ...string[]];
2562
- defaultValue: string | null;
2563
- isOptional: boolean;
2564
- optionLabels: {
2565
- [x: string]: string;
2566
- };
2567
- }> | Readonly<{
2568
- type: "toggle";
2569
- valueType: "string" | "number" | "boolean";
2570
- defaultValue: string | number | boolean | null;
2571
- isOptional: boolean;
2572
- }>>]>, v.GenericSchema], undefined>;
2573
- }>]>;
2574
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2575
- readonly type: v.LiteralSchema<"parameter", undefined>;
2576
- readonly id: v.StringSchema<undefined>;
2577
- readonly name: v.StringSchema<undefined>;
2578
- }, undefined>, v.ReadonlyAction<{
2579
- type: "parameter";
2580
- id: string;
2581
- name: string;
2582
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
2583
- type: "parameter";
2584
- id: string;
2585
- name: string;
2586
- }> | import("../references.js").BuilderParameter<string>, {
2587
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
2588
- }>]>, undefined>;
2589
- }, undefined>, v.MetadataAction<{
2590
- name: string;
2591
- payload: unknown;
2592
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2593
- type: "parameter";
2594
- id: string;
2595
- name: string;
2596
- }> | import("../references.js").BuilderParameter<string> | undefined;
2597
- }, {
2598
- readonly serialisable: typeof import("./index.js").BuilderOption;
2599
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderOption, undefined>;
2600
- }>, v.ReadonlyAction<{
2601
- name: string;
2602
- payload: unknown;
2603
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2604
- type: "parameter";
2605
- id: string;
2606
- name: string;
2607
- }> | import("../references.js").BuilderParameter<string> | undefined;
2608
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2609
- name: string;
2610
- payload: unknown;
2611
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2612
- type: "parameter";
2613
- id: string;
2614
- name: string;
2615
- }> | import("../references.js").BuilderParameter<string> | undefined;
2616
- }>[]>]>;
2617
- readonly components: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2618
- readonly name: v.StringSchema<undefined>;
2619
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2620
- readonly type: v.LiteralSchema<"parameter", undefined>;
2621
- readonly id: v.StringSchema<undefined>;
2622
- readonly name: v.StringSchema<undefined>;
2623
- }, undefined>, v.ReadonlyAction<{
2624
- type: "parameter";
2625
- id: string;
2626
- name: string;
2627
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2628
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2629
- readonly type: v.LiteralSchema<"parameter", undefined>;
2630
- readonly id: v.StringSchema<undefined>;
2631
- readonly name: v.StringSchema<undefined>;
2632
- }, undefined>, v.ReadonlyAction<{
2633
- type: "parameter";
2634
- id: string;
2635
- name: string;
2636
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2637
- readonly name: v.StringSchema<undefined>;
2638
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
2639
- }, undefined>, v.MetadataAction<{
2640
- name: string;
2641
- kind: "option" | "component" | "collection" | "detail";
2642
- }, {
2643
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
2644
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
2645
- }>, v.ReadonlyAction<{
2646
- name: string;
2647
- kind: "option" | "component" | "collection" | "detail";
2648
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2649
- name: string;
2650
- kind: "option" | "component" | "collection" | "detail";
2651
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
2652
- type: "parameter";
2653
- id: string;
2654
- name: string;
2655
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
2656
- name: string;
2657
- kind: "option" | "component" | "collection" | "detail";
2658
- }>[], {
2659
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2660
- readonly name: v.StringSchema<undefined>;
2661
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
2662
- }, undefined>, v.MetadataAction<{
2663
- name: string;
2664
- kind: "option" | "component" | "collection" | "detail";
2665
- }, {
2666
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
2667
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
2668
- }>, v.ReadonlyAction<{
2669
- name: string;
2670
- kind: "option" | "component" | "collection" | "detail";
2671
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2672
- name: string;
2673
- kind: "option" | "component" | "collection" | "detail";
2674
- }>[]>]>;
2675
- }>]>;
2676
- }, undefined>, v.MetadataAction<{
2677
- expectations: Readonly<{
2678
- type: "parameter";
2679
- id: string;
2680
- name: string;
2681
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
2682
- name: string;
2683
- kind: "option" | "component" | "collection" | "detail";
2684
- }>[];
2685
- }, {
2686
- readonly serialisable: typeof import("./index.js").BuilderComponentDetails;
2687
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
2688
- }>, v.ReadonlyAction<{
2689
- expectations: Readonly<{
2690
- type: "parameter";
2691
- id: string;
2692
- name: string;
2693
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
2694
- name: string;
2695
- kind: "option" | "component" | "collection" | "detail";
2696
- }>[];
2697
- }>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
2698
- readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2699
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2700
- readonly type: v.LiteralSchema<"parameter", undefined>;
2701
- readonly id: v.StringSchema<undefined>;
2702
- readonly name: v.StringSchema<undefined>;
2703
- }, undefined>, v.ReadonlyAction<{
2704
- type: "parameter";
2705
- id: string;
2706
- name: string;
2707
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2708
- readonly name: v.StringSchema<undefined>;
2709
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
2710
- }, undefined>, v.MetadataAction<{
2711
- name: string;
2712
- kind: "option" | "component" | "collection" | "detail";
2713
- }, {
2714
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
2715
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
2716
- }>, v.ReadonlyAction<{
2717
- name: string;
2718
- kind: "option" | "component" | "collection" | "detail";
2719
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2720
- name: string;
2721
- kind: "option" | "component" | "collection" | "detail";
2722
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
2723
- type: "parameter";
2724
- id: string;
2725
- name: string;
2726
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
2727
- name: string;
2728
- kind: "option" | "component" | "collection" | "detail";
2729
- }>[], {
2730
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2731
- readonly name: v.StringSchema<undefined>;
2732
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
2733
- }, undefined>, v.MetadataAction<{
2734
- name: string;
2735
- kind: "option" | "component" | "collection" | "detail";
2736
- }, {
2737
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
2738
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
2739
- }>, v.ReadonlyAction<{
2740
- name: string;
2741
- kind: "option" | "component" | "collection" | "detail";
2742
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2743
- name: string;
2744
- kind: "option" | "component" | "collection" | "detail";
2745
- }>[]>]>;
2746
- }>]>;
2747
- }, undefined>, v.MetadataAction<{
2748
- expectations: Readonly<{
2749
- type: "parameter";
2750
- id: string;
2751
- name: string;
2752
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
2753
- name: string;
2754
- kind: "option" | "component" | "collection" | "detail";
2755
- }>[];
2756
- }, {
2757
- readonly serialisable: typeof import("./index.js").BuilderComponentDetails;
2758
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponentDetails, undefined>;
2759
- }>, v.ReadonlyAction<{
2760
- expectations: Readonly<{
2761
- type: "parameter";
2762
- id: string;
2763
- name: string;
2764
- }> | import("../references.js").BuilderParameter<string> | readonly Readonly<{
2765
- name: string;
2766
- kind: "option" | "component" | "collection" | "detail";
2767
- }>[];
2768
- }>]>, v.GenericSchema], undefined>;
2769
- }>]>;
2770
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2771
- readonly type: v.LiteralSchema<"parameter", undefined>;
2772
- readonly id: v.StringSchema<undefined>;
2773
- readonly name: v.StringSchema<undefined>;
2774
- }, undefined>, v.ReadonlyAction<{
2775
- type: "parameter";
2776
- id: string;
2777
- name: string;
2778
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
2779
- type: "parameter";
2780
- id: string;
2781
- name: string;
2782
- }> | import("../references.js").BuilderParameter<string>, {
2783
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
2784
- }>]>, undefined>;
2785
- }, undefined>, v.MetadataAction<{
2786
- name: string;
2787
- payload: unknown;
2788
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2789
- type: "parameter";
2790
- id: string;
2791
- name: string;
2792
- }> | import("../references.js").BuilderParameter<string> | undefined;
2793
- }, {
2794
- readonly serialisable: typeof import("./index.js").BuilderComponent;
2795
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderComponent, undefined>;
2796
- }>, v.ReadonlyAction<{
2797
- name: string;
2798
- payload: unknown;
2799
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2800
- type: "parameter";
2801
- id: string;
2802
- name: string;
2803
- }> | import("../references.js").BuilderParameter<string> | undefined;
2804
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2805
- name: string;
2806
- payload: unknown;
2807
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2808
- type: "parameter";
2809
- id: string;
2810
- name: string;
2811
- }> | import("../references.js").BuilderParameter<string> | undefined;
2812
- }>[]>]>;
2813
- readonly collections: v.SchemaWithPipe<readonly [v.ArraySchema<v.GenericSchema<import("./index.js").BuilderCollectionSerialised>, undefined>, v.ReadonlyAction<import("./index.js").BuilderCollectionSerialised[]>]>;
2814
- readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2815
- readonly name: v.StringSchema<undefined>;
2816
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
2817
- }, undefined>, v.MetadataAction<{
2818
- name: string;
2819
- kind: "option" | "component" | "collection" | "detail";
2820
- }, {
2821
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
2822
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
2823
- }>, v.ReadonlyAction<{
2824
- name: string;
2825
- kind: "option" | "component" | "collection" | "detail";
2826
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2827
- name: string;
2828
- kind: "option" | "component" | "collection" | "detail";
2829
- }>[]>]>;
2830
- readonly references: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2831
- readonly parameter: v.StringSchema<undefined>;
2832
- readonly id: v.StringSchema<undefined>;
2833
- }, undefined>, v.ReadonlyAction<{
2834
- parameter: string;
2835
- id: string;
2836
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
2837
- parameter: string;
2838
- id: string;
2839
- }>[]>]>;
2840
- }, undefined>, v.MetadataAction<{
2841
- readonly parameters: readonly Readonly<{
2842
- type: "parameter";
2843
- id: string;
2844
- name: string;
2845
- }>[];
2846
- readonly options: readonly Readonly<{
2847
- name: string;
2848
- payload: unknown;
2849
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2850
- type: "parameter";
2851
- id: string;
2852
- name: string;
2853
- }> | import("../references.js").BuilderParameter<string> | undefined;
2854
- }>[];
2855
- readonly components: readonly Readonly<{
2856
- name: string;
2857
- payload: unknown;
2858
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2859
- type: "parameter";
2860
- id: string;
2861
- name: string;
2862
- }> | import("../references.js").BuilderParameter<string> | undefined;
2863
- }>[];
2864
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
2865
- readonly expectations: readonly Readonly<{
2866
- name: string;
2867
- kind: "option" | "component" | "collection" | "detail";
2868
- }>[];
2869
- readonly references: readonly Readonly<{
2870
- parameter: string;
2871
- id: string;
2872
- }>[];
2873
- }, {
2874
- readonly serialisable: typeof import("./index.js").Builder;
2875
- readonly instance: v.InstanceSchema<typeof import("./index.js").Builder, undefined>;
2876
- }>, v.ReadonlyAction<{
2877
- readonly parameters: readonly Readonly<{
2878
- type: "parameter";
2879
- id: string;
2880
- name: string;
2881
- }>[];
2882
- readonly options: readonly Readonly<{
2883
- name: string;
2884
- payload: unknown;
2885
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2886
- type: "parameter";
2887
- id: string;
2888
- name: string;
2889
- }> | import("../references.js").BuilderParameter<string> | undefined;
2890
- }>[];
2891
- readonly components: readonly Readonly<{
2892
- name: string;
2893
- payload: unknown;
2894
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2895
- type: "parameter";
2896
- id: string;
2897
- name: string;
2898
- }> | import("../references.js").BuilderParameter<string> | undefined;
2899
- }>[];
2900
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
2901
- readonly expectations: readonly Readonly<{
2902
- name: string;
2903
- kind: "option" | "component" | "collection" | "detail";
2904
- }>[];
2905
- readonly references: readonly Readonly<{
2906
- parameter: string;
2907
- id: string;
2908
- }>[];
2909
- }>]>>;
2910
- }>]>;
2911
- readonly min: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
225
+ }>]>, v.LazySchema<v.GenericSchema<import("./index.js").BuilderModelSerialised>>], undefined>;
226
+ readonly min: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2912
227
  readonly type: v.LiteralSchema<"parameter", undefined>;
2913
228
  readonly id: v.StringSchema<undefined>;
2914
229
  readonly name: v.StringSchema<undefined>;
@@ -2916,14 +231,14 @@ export declare const entitiesByKind: {
2916
231
  type: "parameter";
2917
232
  id: string;
2918
233
  name: string;
2919
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.NumberSchema<undefined>], undefined>, v.MetadataAction<number | Readonly<{
2920
- type: "parameter";
234
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
235
+ readonly type: v.LiteralSchema<"ref", undefined>;
236
+ readonly id: v.StringSchema<undefined>;
237
+ }, undefined>, v.ReadonlyAction<{
238
+ type: "ref";
2921
239
  id: string;
2922
- name: string;
2923
- }> | import("../references.js").BuilderParameter<string>, {
2924
- readonly paramable: v.NumberSchema<undefined>;
2925
- }>]>;
2926
- readonly max: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
240
+ }>]>, v.NumberSchema<undefined>], undefined>;
241
+ readonly max: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2927
242
  readonly type: v.LiteralSchema<"parameter", undefined>;
2928
243
  readonly id: v.StringSchema<undefined>;
2929
244
  readonly name: v.StringSchema<undefined>;
@@ -2931,137 +246,55 @@ export declare const entitiesByKind: {
2931
246
  type: "parameter";
2932
247
  id: string;
2933
248
  name: string;
2934
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.NumberSchema<undefined>], undefined>, v.MetadataAction<number | Readonly<{
2935
- type: "parameter";
249
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
250
+ readonly type: v.LiteralSchema<"ref", undefined>;
251
+ readonly id: v.StringSchema<undefined>;
252
+ }, undefined>, v.ReadonlyAction<{
253
+ type: "ref";
2936
254
  id: string;
2937
- name: string;
2938
- }> | import("../references.js").BuilderParameter<string>, {
2939
- readonly paramable: v.NumberSchema<undefined>;
2940
- }>]>;
2941
- }, undefined>, v.MetadataAction<{
2942
- builder: Readonly<{
255
+ }>]>, v.NumberSchema<undefined>], undefined>;
256
+ }, undefined>, v.ReadonlyAction<{
257
+ model: Readonly<{
2943
258
  type: "parameter";
2944
259
  id: string;
2945
260
  name: string;
2946
- }> | import("../references.js").BuilderParameter<string> | Readonly<{
2947
- readonly parameters: readonly Readonly<{
2948
- type: "parameter";
2949
- id: string;
2950
- name: string;
2951
- }>[];
2952
- readonly options: readonly Readonly<{
2953
- name: string;
2954
- payload: unknown;
2955
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2956
- type: "parameter";
2957
- id: string;
2958
- name: string;
2959
- }> | import("../references.js").BuilderParameter<string> | undefined;
2960
- }>[];
2961
- readonly components: readonly Readonly<{
2962
- name: string;
2963
- payload: unknown;
2964
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
2965
- type: "parameter";
2966
- id: string;
2967
- name: string;
2968
- }> | import("../references.js").BuilderParameter<string> | undefined;
2969
- }>[];
2970
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
2971
- readonly expectations: readonly Readonly<{
2972
- name: string;
2973
- kind: "option" | "component" | "collection" | "detail";
2974
- }>[];
2975
- readonly references: readonly Readonly<{
2976
- parameter: string;
2977
- id: string;
2978
- }>[];
2979
- }>;
2980
- min: number | Readonly<{
2981
- type: "parameter";
261
+ }> | Readonly<{
262
+ type: "ref";
2982
263
  id: string;
2983
- name: string;
2984
- }> | import("../references.js").BuilderParameter<string>;
2985
- max: number | Readonly<{
264
+ }> | import("./index.js").BuilderModelSerialised;
265
+ min: number | Readonly<{
2986
266
  type: "parameter";
2987
267
  id: string;
2988
268
  name: string;
2989
- }> | import("../references.js").BuilderParameter<string>;
2990
- }, {
2991
- readonly serialisable: typeof import("./index.js").BuilderCollectionConfig;
2992
- readonly instance: v.InstanceSchema<typeof import("./index.js").BuilderCollectionConfig, undefined>;
2993
- }>, v.ReadonlyAction<{
2994
- builder: Readonly<{
2995
- type: "parameter";
269
+ }> | Readonly<{
270
+ type: "ref";
2996
271
  id: string;
2997
- name: string;
2998
- }> | import("../references.js").BuilderParameter<string> | Readonly<{
2999
- readonly parameters: readonly Readonly<{
3000
- type: "parameter";
3001
- id: string;
3002
- name: string;
3003
- }>[];
3004
- readonly options: readonly Readonly<{
3005
- name: string;
3006
- payload: unknown;
3007
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
3008
- type: "parameter";
3009
- id: string;
3010
- name: string;
3011
- }> | import("../references.js").BuilderParameter<string> | undefined;
3012
- }>[];
3013
- readonly components: readonly Readonly<{
3014
- name: string;
3015
- payload: unknown;
3016
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
3017
- type: "parameter";
3018
- id: string;
3019
- name: string;
3020
- }> | import("../references.js").BuilderParameter<string> | undefined;
3021
- }>[];
3022
- readonly collections: readonly import("./index.js").BuilderCollectionSerialised[];
3023
- readonly expectations: readonly Readonly<{
3024
- name: string;
3025
- kind: "option" | "component" | "collection" | "detail";
3026
- }>[];
3027
- readonly references: readonly Readonly<{
3028
- parameter: string;
3029
- id: string;
3030
- }>[];
3031
272
  }>;
3032
- min: number | Readonly<{
3033
- type: "parameter";
3034
- id: string;
3035
- name: string;
3036
- }> | import("../references.js").BuilderParameter<string>;
3037
273
  max: number | Readonly<{
3038
274
  type: "parameter";
3039
275
  id: string;
3040
276
  name: string;
3041
- }> | import("../references.js").BuilderParameter<string>;
277
+ }> | Readonly<{
278
+ type: "ref";
279
+ id: string;
280
+ }>;
3042
281
  }>]>;
3043
282
  };
3044
283
  readonly expectations: {
3045
- 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" | "detail">[]>]>;
284
+ 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">[]>]>;
3046
285
  readonly serialised: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
3047
286
  readonly name: v.StringSchema<undefined>;
3048
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
3049
- }, undefined>, v.MetadataAction<{
3050
- name: string;
3051
- kind: "option" | "component" | "collection" | "detail";
3052
- }, {
3053
- readonly serialisable: typeof import("./expectation.js").BuilderExpectation;
3054
- readonly instance: v.InstanceSchema<typeof import("./expectation.js").BuilderExpectation, undefined>;
3055
- }>, v.ReadonlyAction<{
287
+ readonly kind: v.PicklistSchema<["option", "component", "collection"], undefined>;
288
+ }, undefined>, v.ReadonlyAction<{
3056
289
  name: string;
3057
- kind: "option" | "component" | "collection" | "detail";
290
+ kind: "option" | "component" | "collection";
3058
291
  }>]>, undefined>, v.ReadonlyAction<Readonly<{
3059
292
  name: string;
3060
- kind: "option" | "component" | "collection" | "detail";
293
+ kind: "option" | "component" | "collection";
3061
294
  }>[]>]>;
3062
295
  };
3063
296
  readonly uiItems: {
3064
- readonly runtime: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
297
+ readonly runtime: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3065
298
  readonly type: v.LiteralSchema<"parameter", undefined>;
3066
299
  readonly id: v.StringSchema<undefined>;
3067
300
  readonly name: v.StringSchema<undefined>;
@@ -3069,18 +302,21 @@ export declare const entitiesByKind: {
3069
302
  type: "parameter";
3070
303
  id: string;
3071
304
  name: string;
3072
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.GenericSchema<import("./index.js").BuilderUIItemSerialised>], undefined>, v.MetadataAction<Readonly<{
3073
- type: "parameter";
305
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
306
+ readonly type: v.LiteralSchema<"ref", undefined>;
307
+ readonly id: v.StringSchema<undefined>;
308
+ }, undefined>, v.ReadonlyAction<{
309
+ type: "ref";
3074
310
  id: string;
3075
- name: string;
3076
- }> | import("../references.js").BuilderParameter<string> | import("./index.js").BuilderUIItemSerialised, {
3077
- readonly paramable: v.GenericSchema<import("./index.js").BuilderUIItemSerialised>;
3078
- }>]>, undefined>, v.ReadonlyAction<(Readonly<{
311
+ }>]>, v.GenericSchema<import("./index.js").BuilderUIItemSerialised>], undefined>, undefined>, v.ReadonlyAction<(Readonly<{
3079
312
  type: "parameter";
3080
313
  id: string;
3081
314
  name: string;
3082
- }> | import("../references.js").BuilderParameter<string> | import("./index.js").BuilderUIItemSerialised)[]>]>;
3083
- readonly serialised: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
315
+ }> | Readonly<{
316
+ type: "ref";
317
+ id: string;
318
+ }> | import("./index.js").BuilderUIItemSerialised)[]>]>;
319
+ readonly serialised: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3084
320
  readonly type: v.LiteralSchema<"parameter", undefined>;
3085
321
  readonly id: v.StringSchema<undefined>;
3086
322
  readonly name: v.StringSchema<undefined>;
@@ -3088,41 +324,276 @@ export declare const entitiesByKind: {
3088
324
  type: "parameter";
3089
325
  id: string;
3090
326
  name: string;
3091
- }>]>, v.InstanceSchema<typeof import("../references.js").BuilderParameter, undefined>, v.GenericSchema<import("./index.js").BuilderUIItemSerialised>], undefined>, v.MetadataAction<Readonly<{
3092
- type: "parameter";
327
+ }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
328
+ readonly type: v.LiteralSchema<"ref", undefined>;
329
+ readonly id: v.StringSchema<undefined>;
330
+ }, undefined>, v.ReadonlyAction<{
331
+ type: "ref";
3093
332
  id: string;
3094
- name: string;
3095
- }> | import("../references.js").BuilderParameter<string> | import("./index.js").BuilderUIItemSerialised, {
3096
- readonly paramable: v.GenericSchema<import("./index.js").BuilderUIItemSerialised>;
3097
- }>]>, undefined>, v.ReadonlyAction<(Readonly<{
333
+ }>]>, v.GenericSchema<import("./index.js").BuilderUIItemSerialised>], undefined>, undefined>, v.ReadonlyAction<(Readonly<{
3098
334
  type: "parameter";
3099
335
  id: string;
3100
336
  name: string;
3101
- }> | import("../references.js").BuilderParameter<string> | import("./index.js").BuilderUIItemSerialised)[]>]>;
337
+ }> | Readonly<{
338
+ type: "ref";
339
+ id: string;
340
+ }> | import("./index.js").BuilderUIItemSerialised)[]>]>;
3102
341
  };
3103
342
  readonly optionWhen: {
3104
- readonly runtime: v.GenericSchema;
3105
- readonly serialised: v.GenericSchema;
343
+ readonly runtime: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<Readonly<{
344
+ type: "select";
345
+ readonly options: readonly [string, ...string[]];
346
+ defaultValue: string | null;
347
+ isOptional: boolean;
348
+ optionLabels: {
349
+ [x: string]: string;
350
+ };
351
+ }>> | Readonly<Readonly<{
352
+ type: "toggle";
353
+ valueType: "string" | "number" | "boolean";
354
+ defaultValue: string | number | boolean | null;
355
+ isOptional: boolean;
356
+ }>>>>;
357
+ readonly serialised: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<Readonly<{
358
+ type: "select";
359
+ readonly options: readonly [string, ...string[]];
360
+ defaultValue: string | null;
361
+ isOptional: boolean;
362
+ optionLabels: {
363
+ [x: string]: string;
364
+ };
365
+ }>> | Readonly<Readonly<{
366
+ type: "toggle";
367
+ valueType: "string" | "number" | "boolean";
368
+ defaultValue: string | number | boolean | null;
369
+ isOptional: boolean;
370
+ }>>>>;
3106
371
  };
3107
372
  readonly componentWhen: {
3108
- readonly runtime: v.GenericSchema;
3109
- readonly serialised: v.GenericSchema;
373
+ readonly runtime: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
374
+ fields: Readonly<{
375
+ type: "parameter";
376
+ id: string;
377
+ name: string;
378
+ }> | Readonly<{
379
+ type: "ref";
380
+ id: string;
381
+ }> | readonly Readonly<{
382
+ type: "component-field";
383
+ name: string;
384
+ valueType: "string" | "number" | "boolean";
385
+ isOptional: boolean;
386
+ }>[];
387
+ }>>>;
388
+ readonly serialised: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
389
+ fields: Readonly<{
390
+ type: "parameter";
391
+ id: string;
392
+ name: string;
393
+ }> | Readonly<{
394
+ type: "ref";
395
+ id: string;
396
+ }> | readonly Readonly<{
397
+ type: "component-field";
398
+ name: string;
399
+ valueType: "string" | "number" | "boolean";
400
+ isOptional: boolean;
401
+ }>[];
402
+ }>>>;
3110
403
  };
3111
404
  readonly collectionWhen: {
3112
- readonly runtime: v.GenericSchema;
3113
- readonly serialised: v.GenericSchema;
405
+ readonly runtime: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
406
+ model: Readonly<{
407
+ type: "parameter";
408
+ id: string;
409
+ name: string;
410
+ }> | Readonly<{
411
+ type: "ref";
412
+ id: string;
413
+ }> | import("./index.js").BuilderModelSerialised;
414
+ min: number | Readonly<{
415
+ type: "parameter";
416
+ id: string;
417
+ name: string;
418
+ }> | Readonly<{
419
+ type: "ref";
420
+ id: string;
421
+ }>;
422
+ max: number | Readonly<{
423
+ type: "parameter";
424
+ id: string;
425
+ name: string;
426
+ }> | Readonly<{
427
+ type: "ref";
428
+ id: string;
429
+ }>;
430
+ }>>>;
431
+ readonly serialised: v.GenericSchema<import("./when.js").BuilderWhenSerialised<Readonly<{
432
+ model: Readonly<{
433
+ type: "parameter";
434
+ id: string;
435
+ name: string;
436
+ }> | Readonly<{
437
+ type: "ref";
438
+ id: string;
439
+ }> | import("./index.js").BuilderModelSerialised;
440
+ min: number | Readonly<{
441
+ type: "parameter";
442
+ id: string;
443
+ name: string;
444
+ }> | Readonly<{
445
+ type: "ref";
446
+ id: string;
447
+ }>;
448
+ max: number | Readonly<{
449
+ type: "parameter";
450
+ id: string;
451
+ name: string;
452
+ }> | Readonly<{
453
+ type: "ref";
454
+ id: string;
455
+ }>;
456
+ }>>>;
3114
457
  };
3115
458
  readonly optionSelectMap: {
3116
- readonly runtime: v.GenericSchema;
3117
- readonly serialised: v.GenericSchema;
459
+ readonly runtime: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
460
+ type: "parameter";
461
+ id: string;
462
+ name: string;
463
+ }> | Readonly<Readonly<{
464
+ type: "select";
465
+ readonly options: readonly [string, ...string[]];
466
+ defaultValue: string | null;
467
+ isOptional: boolean;
468
+ optionLabels: {
469
+ [x: string]: string;
470
+ };
471
+ }>> | Readonly<Readonly<{
472
+ type: "toggle";
473
+ valueType: "string" | "number" | "boolean";
474
+ defaultValue: string | number | boolean | null;
475
+ isOptional: boolean;
476
+ }>>>>;
477
+ readonly serialised: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
478
+ type: "parameter";
479
+ id: string;
480
+ name: string;
481
+ }> | Readonly<Readonly<{
482
+ type: "select";
483
+ readonly options: readonly [string, ...string[]];
484
+ defaultValue: string | null;
485
+ isOptional: boolean;
486
+ optionLabels: {
487
+ [x: string]: string;
488
+ };
489
+ }>> | Readonly<Readonly<{
490
+ type: "toggle";
491
+ valueType: "string" | "number" | "boolean";
492
+ defaultValue: string | number | boolean | null;
493
+ isOptional: boolean;
494
+ }>>>>;
3118
495
  };
3119
496
  readonly componentSelectMap: {
3120
- readonly runtime: v.GenericSchema;
3121
- readonly serialised: v.GenericSchema;
497
+ readonly runtime: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
498
+ type: "parameter";
499
+ id: string;
500
+ name: string;
501
+ }> | Readonly<{
502
+ fields: Readonly<{
503
+ type: "parameter";
504
+ id: string;
505
+ name: string;
506
+ }> | Readonly<{
507
+ type: "ref";
508
+ id: string;
509
+ }> | readonly Readonly<{
510
+ type: "component-field";
511
+ name: string;
512
+ valueType: "string" | "number" | "boolean";
513
+ isOptional: boolean;
514
+ }>[];
515
+ }>>>;
516
+ readonly serialised: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
517
+ type: "parameter";
518
+ id: string;
519
+ name: string;
520
+ }> | Readonly<{
521
+ fields: Readonly<{
522
+ type: "parameter";
523
+ id: string;
524
+ name: string;
525
+ }> | Readonly<{
526
+ type: "ref";
527
+ id: string;
528
+ }> | readonly Readonly<{
529
+ type: "component-field";
530
+ name: string;
531
+ valueType: "string" | "number" | "boolean";
532
+ isOptional: boolean;
533
+ }>[];
534
+ }>>>;
3122
535
  };
3123
536
  readonly collectionSelectMap: {
3124
- readonly runtime: v.GenericSchema;
3125
- readonly serialised: v.GenericSchema;
537
+ readonly runtime: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
538
+ type: "parameter";
539
+ id: string;
540
+ name: string;
541
+ }> | Readonly<{
542
+ model: Readonly<{
543
+ type: "parameter";
544
+ id: string;
545
+ name: string;
546
+ }> | Readonly<{
547
+ type: "ref";
548
+ id: string;
549
+ }> | import("./index.js").BuilderModelSerialised;
550
+ min: number | Readonly<{
551
+ type: "parameter";
552
+ id: string;
553
+ name: string;
554
+ }> | Readonly<{
555
+ type: "ref";
556
+ id: string;
557
+ }>;
558
+ max: number | Readonly<{
559
+ type: "parameter";
560
+ id: string;
561
+ name: string;
562
+ }> | Readonly<{
563
+ type: "ref";
564
+ id: string;
565
+ }>;
566
+ }>>>;
567
+ readonly serialised: v.GenericSchema<import("./when.js").BuilderMatchSelectMap<Readonly<{
568
+ type: "parameter";
569
+ id: string;
570
+ name: string;
571
+ }> | Readonly<{
572
+ model: Readonly<{
573
+ type: "parameter";
574
+ id: string;
575
+ name: string;
576
+ }> | Readonly<{
577
+ type: "ref";
578
+ id: string;
579
+ }> | import("./index.js").BuilderModelSerialised;
580
+ min: number | Readonly<{
581
+ type: "parameter";
582
+ id: string;
583
+ name: string;
584
+ }> | Readonly<{
585
+ type: "ref";
586
+ id: string;
587
+ }>;
588
+ max: number | Readonly<{
589
+ type: "parameter";
590
+ id: string;
591
+ name: string;
592
+ }> | Readonly<{
593
+ type: "ref";
594
+ id: string;
595
+ }>;
596
+ }>>>;
3126
597
  };
3127
598
  readonly paths: {
3128
599
  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)[])[]>]>;
@@ -3145,13 +616,11 @@ export declare const entitiesByKind: {
3145
616
  readonly serialised: v.BooleanSchema<undefined>;
3146
617
  };
3147
618
  };
3148
- type Entities = typeof entitiesByKind;
619
+ export type EntitiesMap = typeof entitiesMap;
620
+ export type EntitiesSerialisedSchemas = EntitiesMap[keyof EntitiesMap]['serialised'];
3149
621
  type SerialiseMap = {
3150
- readonly [K in keyof Entities]: (input: v.InferOutput<Entities[K]['runtime']>) => v.InferOutput<Entities[K]['serialised']>;
3151
- };
3152
- type DeserialiseMap = {
3153
- readonly [K in keyof Entities]: (data: unknown) => v.InferOutput<Entities[K]['runtime']>;
622
+ readonly [EntityKind in keyof EntitiesMap]: (input: v.InferOutput<EntitiesMap[EntityKind]['runtime']>) => v.InferOutput<EntitiesMap[EntityKind]['serialised']>;
3154
623
  };
3155
624
  export declare const serialise: SerialiseMap;
3156
- export declare const deserialise: DeserialiseMap;
625
+ export declare function serialiseValue(value: unknown): unknown;
3157
626
  export {};