@builder-builder/builder 0.0.9 → 0.0.11

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