@builder-builder/builder 0.0.6 → 0.0.8

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 (216) hide show
  1. package/dist/check.d.ts +2 -1
  2. package/dist/check.js +6 -2
  3. package/dist/entities/builder/builder.d.ts +494 -0
  4. package/dist/entities/builder/builder.js +84 -0
  5. package/dist/entities/builder/builders.d.ts +20 -0
  6. package/dist/entities/builder/builders.js +18 -0
  7. package/dist/entities/builder/expectation.d.ts +12 -0
  8. package/dist/entities/builder/index.d.ts +7 -0
  9. package/dist/entities/builder/index.js +3 -0
  10. package/dist/entities/builder/methods.d.ts +58 -0
  11. package/dist/entities/builder/methods.js +30 -0
  12. package/dist/entities/builder/parameter.d.ts +61 -0
  13. package/dist/entities/builder/parameter.js +18 -0
  14. package/dist/entities/builder/state.d.ts +26 -0
  15. package/dist/entities/builder/validate.d.ts +3 -0
  16. package/dist/entities/builder/validate.js +108 -0
  17. package/dist/entities/collection/collection.d.ts +37 -0
  18. package/dist/entities/collection/collection.js +42 -0
  19. package/dist/entities/collection/config.d.ts +1094 -0
  20. package/dist/entities/collection/config.js +23 -0
  21. package/dist/entities/collection/expectation.d.ts +7 -0
  22. package/dist/entities/collection/expectation.js +4 -0
  23. package/dist/entities/collection/index.d.ts +8 -0
  24. package/dist/entities/collection/index.js +4 -0
  25. package/dist/entities/collection/when.d.ts +9 -0
  26. package/dist/entities/collection/when.js +2 -0
  27. package/dist/entities/component/component.d.ts +403 -0
  28. package/dist/entities/component/component.js +24 -0
  29. package/dist/entities/component/details.d.ts +82 -0
  30. package/dist/entities/component/details.js +17 -0
  31. package/dist/entities/component/expectation.d.ts +8 -0
  32. package/dist/entities/component/expectation.js +7 -0
  33. package/dist/entities/component/index.d.ts +8 -0
  34. package/dist/entities/component/index.js +4 -0
  35. package/dist/entities/component/when.d.ts +11 -0
  36. package/dist/entities/component/when.js +20 -0
  37. package/dist/entities/errors.d.ts +21 -0
  38. package/dist/entities/expectation.d.ts +44 -0
  39. package/dist/entities/expectation.js +23 -0
  40. package/dist/entities/index.d.ts +18 -0
  41. package/dist/entities/index.js +9 -0
  42. package/dist/entities/option/expectation.d.ts +2 -0
  43. package/dist/entities/option/expectation.js +4 -0
  44. package/dist/entities/option/index.d.ts +11 -0
  45. package/dist/entities/option/index.js +6 -0
  46. package/dist/entities/option/option.d.ts +347 -0
  47. package/dist/entities/option/option.js +24 -0
  48. package/dist/entities/option/select.d.ts +49 -0
  49. package/dist/entities/option/select.js +40 -0
  50. package/dist/entities/option/toggle.d.ts +39 -0
  51. package/dist/entities/option/toggle.js +42 -0
  52. package/dist/entities/option/values.d.ts +63 -0
  53. package/dist/entities/option/values.js +8 -0
  54. package/dist/entities/option/when.d.ts +9 -0
  55. package/dist/entities/option/when.js +2 -0
  56. package/dist/entities/serialise.d.ts +3801 -0
  57. package/dist/entities/serialise.js +41 -0
  58. package/dist/entities/ui/describe.d.ts +100 -0
  59. package/dist/entities/ui/describe.js +22 -0
  60. package/dist/entities/ui/index.d.ts +14 -0
  61. package/dist/entities/ui/index.js +7 -0
  62. package/dist/entities/ui/label.d.ts +18 -0
  63. package/dist/entities/ui/label.js +12 -0
  64. package/dist/entities/ui/page.d.ts +96 -0
  65. package/dist/entities/ui/page.js +20 -0
  66. package/dist/entities/ui/pages.d.ts +431 -0
  67. package/dist/entities/ui/pages.js +29 -0
  68. package/dist/entities/ui/parameter.d.ts +7 -0
  69. package/dist/entities/ui/parameter.js +29 -0
  70. package/dist/entities/ui/ui.d.ts +1582 -0
  71. package/dist/entities/ui/ui.js +53 -0
  72. package/dist/entities/ui/uis.d.ts +10 -0
  73. package/dist/entities/ui/uis.js +20 -0
  74. package/dist/entities/ui/validate.d.ts +8 -0
  75. package/dist/entities/ui/validate.js +21 -0
  76. package/dist/entities/validate.d.ts +28 -0
  77. package/dist/entities/validate.js +1 -0
  78. package/dist/entities/when.d.ts +176 -0
  79. package/dist/entities/when.js +47 -0
  80. package/dist/exception.d.ts +8 -0
  81. package/dist/exception.js +7 -0
  82. package/dist/index.d.ts +37 -13
  83. package/dist/index.js +22 -5
  84. package/dist/mappers/assert/builder.d.ts +2 -0
  85. package/dist/mappers/assert/builder.js +46 -0
  86. package/dist/mappers/assert/expectation.d.ts +2 -0
  87. package/dist/mappers/assert/expectation.js +23 -0
  88. package/dist/mappers/assert/index.d.ts +6 -0
  89. package/dist/mappers/assert/index.js +4 -0
  90. package/dist/mappers/assert/model.d.ts +13 -0
  91. package/dist/mappers/assert/model.js +47 -0
  92. package/dist/mappers/assert/models.d.ts +33 -0
  93. package/dist/mappers/assert/models.js +74 -0
  94. package/dist/mappers/assert/ui.d.ts +2 -0
  95. package/dist/mappers/assert/ui.js +22 -0
  96. package/dist/mappers/index.d.ts +7 -0
  97. package/dist/mappers/index.js +4 -0
  98. package/dist/mappers/instance/index.d.ts +1 -0
  99. package/dist/mappers/instance/index.js +1 -0
  100. package/dist/mappers/instance/instance.d.ts +4 -0
  101. package/dist/mappers/instance/instance.js +33 -0
  102. package/dist/mappers/models/component-graph.d.ts +9 -0
  103. package/dist/{core/component/graph.js → mappers/models/component-graph.js} +3 -3
  104. package/dist/{core → mappers/models}/graph.d.ts +4 -1
  105. package/dist/mappers/models/graph.js +17 -0
  106. package/dist/mappers/models/index.d.ts +1 -0
  107. package/dist/mappers/models/index.js +1 -0
  108. package/dist/mappers/models/models.d.ts +3 -0
  109. package/dist/mappers/models/models.js +37 -0
  110. package/dist/mappers/models/option-graph.d.ts +9 -0
  111. package/dist/mappers/models/option-graph.js +77 -0
  112. package/dist/mappers/order/index.d.ts +2 -0
  113. package/dist/mappers/order/index.js +1 -0
  114. package/dist/mappers/order/order.d.ts +14 -0
  115. package/dist/mappers/order/order.js +31 -0
  116. package/dist/mappers/render/index.d.ts +4 -0
  117. package/dist/mappers/render/index.js +2 -0
  118. package/dist/mappers/render/ordinal.d.ts +1 -0
  119. package/dist/mappers/render/ordinal.js +20 -0
  120. package/dist/mappers/render/pages.d.ts +15 -0
  121. package/dist/mappers/render/pages.js +1 -0
  122. package/dist/mappers/render/render.d.ts +8 -0
  123. package/dist/mappers/render/render.js +124 -0
  124. package/dist/mappers/resolve.d.ts +9 -0
  125. package/dist/mappers/resolve.js +57 -0
  126. package/dist/model.d.ts +8 -8
  127. package/dist/paths.d.ts +5 -16
  128. package/dist/paths.js +3 -0
  129. package/dist/primitive.d.ts +5 -0
  130. package/dist/{schemas/primitives.js → primitive.js} +0 -2
  131. package/dist/references.d.ts +60 -0
  132. package/dist/references.js +26 -0
  133. package/dist/serialisable.d.ts +10 -0
  134. package/dist/serialisable.js +5 -0
  135. package/dist/walker/index.d.ts +2 -0
  136. package/dist/walker/index.js +1 -0
  137. package/dist/walker/walkable.d.ts +4 -0
  138. package/dist/walker/walkable.js +4 -0
  139. package/dist/walker/walker.d.ts +18 -0
  140. package/dist/walker/walker.js +103 -0
  141. package/dist/walker/walkers.d.ts +8 -0
  142. package/dist/walker/walkers.js +51 -0
  143. package/package.json +10 -4
  144. package/dist/core/builder.d.ts +0 -70
  145. package/dist/core/builder.js +0 -124
  146. package/dist/core/collection/collection.d.ts +0 -32
  147. package/dist/core/collection/collection.js +0 -37
  148. package/dist/core/collection/index.d.ts +0 -4
  149. package/dist/core/collection/index.js +0 -2
  150. package/dist/core/collection/method.d.ts +0 -30
  151. package/dist/core/collection/method.js +0 -11
  152. package/dist/core/component/component.d.ts +0 -9
  153. package/dist/core/component/component.js +0 -10
  154. package/dist/core/component/graph.d.ts +0 -9
  155. package/dist/core/component/index.d.ts +0 -4
  156. package/dist/core/component/index.js +0 -2
  157. package/dist/core/component/method.d.ts +0 -11
  158. package/dist/core/expectation.d.ts +0 -45
  159. package/dist/core/expectation.js +0 -22
  160. package/dist/core/graph.js +0 -3
  161. package/dist/core/index.d.ts +0 -12
  162. package/dist/core/index.js +0 -6
  163. package/dist/core/option/graph.d.ts +0 -10
  164. package/dist/core/option/graph.js +0 -78
  165. package/dist/core/option/index.d.ts +0 -9
  166. package/dist/core/option/index.js +0 -5
  167. package/dist/core/option/method.d.ts +0 -70
  168. package/dist/core/option/method.js +0 -13
  169. package/dist/core/option/option.d.ts +0 -30
  170. package/dist/core/option/option.js +0 -42
  171. package/dist/core/option/select.d.ts +0 -22
  172. package/dist/core/option/select.js +0 -34
  173. package/dist/core/option/toggle.d.ts +0 -14
  174. package/dist/core/option/toggle.js +0 -27
  175. package/dist/core/parameter.d.ts +0 -48
  176. package/dist/core/parameter.js +0 -31
  177. package/dist/core/when/config.d.ts +0 -20
  178. package/dist/core/when/config.js +0 -4
  179. package/dist/core/when/constrain.d.ts +0 -14
  180. package/dist/core/when/index.d.ts +0 -5
  181. package/dist/core/when/index.js +0 -2
  182. package/dist/core/when/nullability.d.ts +0 -18
  183. package/dist/core/when/resolve.d.ts +0 -18
  184. package/dist/core/when/resolve.js +0 -22
  185. package/dist/resolve/index.d.ts +0 -9
  186. package/dist/resolve/index.js +0 -5
  187. package/dist/resolve/instance.d.ts +0 -3
  188. package/dist/resolve/instance.js +0 -26
  189. package/dist/resolve/models.d.ts +0 -3
  190. package/dist/resolve/models.js +0 -10
  191. package/dist/resolve/order.d.ts +0 -19
  192. package/dist/resolve/order.js +0 -24
  193. package/dist/resolve/render.d.ts +0 -21
  194. package/dist/resolve/render.js +0 -171
  195. package/dist/resolve/validate.d.ts +0 -33
  196. package/dist/resolve/validate.js +0 -51
  197. package/dist/schemas/description.d.ts +0 -5
  198. package/dist/schemas/description.js +0 -3
  199. package/dist/schemas/index.d.ts +0 -6
  200. package/dist/schemas/index.js +0 -3
  201. package/dist/schemas/primitives.d.ts +0 -9
  202. package/dist/schemas/ui.d.ts +0 -96
  203. package/dist/schemas/ui.js +0 -23
  204. package/dist/serialise/deserialise.d.ts +0 -9
  205. package/dist/serialise/deserialise.js +0 -113
  206. package/dist/serialise/index.d.ts +0 -4
  207. package/dist/serialise/index.js +0 -3
  208. package/dist/serialise/schemas.d.ts +0 -1885
  209. package/dist/serialise/schemas.js +0 -141
  210. package/dist/serialise/serialise.d.ts +0 -10
  211. package/dist/serialise/serialise.js +0 -140
  212. package/dist/ui.d.ts +0 -18
  213. package/dist/ui.js +0 -53
  214. /package/dist/{core/component/method.js → entities/builder/expectation.js} +0 -0
  215. /package/dist/{core/when/constrain.js → entities/builder/state.js} +0 -0
  216. /package/dist/{core/when/nullability.js → entities/errors.js} +0 -0
@@ -1,1885 +0,0 @@
1
- import type { BuilderOptionValues, BuilderOptionValuesMap } from '../core/option/option';
2
- import * as v from 'valibot';
3
- import { BuilderParameterSchema } from '../core/parameter.js';
4
- import { BuilderOptionValuesMapSchema, BuilderOptionValuesSchema } from '../core/option/option.js';
5
- import { BuilderPathSchema, BuilderPathsSchema } from '../schemas/primitives.js';
6
- export type { BuilderOptionValues, BuilderOptionValuesMap };
7
- export { BuilderOptionValuesMapSchema, BuilderOptionValuesSchema, BuilderParameterSchema };
8
- export type BuilderCollectionConfigSerialised = {
9
- readonly builder: BuilderSerialised;
10
- readonly min: number;
11
- readonly max: number;
12
- };
13
- export type BuilderCollectionEnableConfigSerialised = {
14
- readonly type: 'enable';
15
- readonly builder: BuilderSerialised;
16
- readonly min: number;
17
- readonly max: number;
18
- };
19
- export type BuilderCollectionMatchConfigSerialised = {
20
- readonly type: 'match';
21
- readonly matchPath: v.InferOutput<typeof BuilderPathSchema>;
22
- readonly selectMap: Record<string, BuilderCollectionConfigSerialised | null>;
23
- };
24
- export type BuilderCollectionUnlessConfigSerialised = {
25
- readonly type: 'unless';
26
- readonly unlessPath: v.InferOutput<typeof BuilderPathSchema>;
27
- readonly disabledValues: ReadonlyArray<string | boolean | number | null>;
28
- readonly builder: BuilderSerialised;
29
- readonly min: number;
30
- readonly max: number;
31
- };
32
- export type BuilderCollectionWhenConfigSerialised = BuilderCollectionEnableConfigSerialised | BuilderCollectionMatchConfigSerialised | BuilderCollectionUnlessConfigSerialised;
33
- export type BuilderCollectionSerialised = {
34
- readonly name: string;
35
- readonly builder: BuilderSerialised;
36
- readonly min: number;
37
- readonly max: number;
38
- readonly gatePaths: v.InferOutput<typeof BuilderPathsSchema>;
39
- readonly config: BuilderCollectionWhenConfigSerialised | null;
40
- };
41
- export type BuilderExpectationSerialised = {
42
- readonly name: string;
43
- readonly kind: 'option' | 'component' | 'collection';
44
- };
45
- export type BuilderSerialised = {
46
- readonly options: ReadonlyArray<BuilderOptionSerialised>;
47
- readonly components: ReadonlyArray<BuilderComponentSerialised>;
48
- readonly collections: ReadonlyArray<BuilderCollectionSerialised>;
49
- readonly expectations: ReadonlyArray<BuilderExpectationSerialised>;
50
- };
51
- export type BuilderUICollectionSerialised = {
52
- readonly type: 'collection';
53
- readonly name: string;
54
- readonly label: string;
55
- readonly items: BuilderUIItemsSerialised;
56
- };
57
- export type BuilderUIItemSerialised = BuilderUIPageSerialised | BuilderUIDescribeSerialised | BuilderUICollectionSerialised;
58
- export type BuilderUIItemsSerialised = ReadonlyArray<BuilderUIItemSerialised>;
59
- export type BuilderUISerialised = BuilderUIItemsSerialised;
60
- export declare const BuilderSelectTypeSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
61
- readonly type: v.LiteralSchema<"select", undefined>;
62
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
63
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
64
- readonly optional: v.BooleanSchema<undefined>;
65
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
66
- }, undefined>, v.ReadonlyAction<{
67
- type: "select";
68
- readonly options: readonly [string, ...string[]];
69
- defaultValue: string | null;
70
- optional: boolean;
71
- labels: {
72
- [x: string]: string;
73
- };
74
- }>]>;
75
- export type BuilderSelectTypeSerialised = v.InferOutput<typeof BuilderSelectTypeSerialisedSchema>;
76
- export declare const BuilderToggleTypeSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
77
- readonly type: v.LiteralSchema<"toggle", undefined>;
78
- readonly valueType: v.StringSchema<undefined>;
79
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
80
- readonly optional: v.BooleanSchema<undefined>;
81
- }, undefined>, v.ReadonlyAction<{
82
- type: "toggle";
83
- valueType: string;
84
- defaultValue: string | number | boolean | null;
85
- optional: boolean;
86
- }>]>;
87
- export type BuilderToggleTypeSerialised = v.InferOutput<typeof BuilderToggleTypeSerialisedSchema>;
88
- export declare const BuilderParameterSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
89
- readonly type: v.LiteralSchema<"parameter", undefined>;
90
- }, undefined>, v.ReadonlyAction<{
91
- type: "parameter";
92
- }>]>;
93
- export type BuilderParameterSerialised = v.InferOutput<typeof BuilderParameterSerialisedSchema>;
94
- export declare const BuilderValuesSerialisedSchema: v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
95
- readonly type: v.LiteralSchema<"select", undefined>;
96
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
97
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
98
- readonly optional: v.BooleanSchema<undefined>;
99
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
100
- }, undefined>, v.ReadonlyAction<{
101
- type: "select";
102
- readonly options: readonly [string, ...string[]];
103
- defaultValue: string | null;
104
- optional: boolean;
105
- labels: {
106
- [x: string]: string;
107
- };
108
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
109
- readonly type: v.LiteralSchema<"toggle", undefined>;
110
- readonly valueType: v.StringSchema<undefined>;
111
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
112
- readonly optional: v.BooleanSchema<undefined>;
113
- }, undefined>, v.ReadonlyAction<{
114
- type: "toggle";
115
- valueType: string;
116
- defaultValue: string | number | boolean | null;
117
- optional: boolean;
118
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
119
- type: "select";
120
- readonly options: readonly [string, ...string[]];
121
- defaultValue: string | null;
122
- optional: boolean;
123
- labels: {
124
- [x: string]: string;
125
- };
126
- }> | Readonly<{
127
- type: "toggle";
128
- valueType: string;
129
- defaultValue: string | number | boolean | null;
130
- optional: boolean;
131
- }>>]>;
132
- export type BuilderValuesSerialised = v.InferOutput<typeof BuilderValuesSerialisedSchema>;
133
- export declare const BuilderOptionEnableConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
134
- readonly type: v.LiteralSchema<"enable", undefined>;
135
- readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
136
- readonly type: v.LiteralSchema<"select", undefined>;
137
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
138
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
139
- readonly optional: v.BooleanSchema<undefined>;
140
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
141
- }, undefined>, v.ReadonlyAction<{
142
- type: "select";
143
- readonly options: readonly [string, ...string[]];
144
- defaultValue: string | null;
145
- optional: boolean;
146
- labels: {
147
- [x: string]: string;
148
- };
149
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
150
- readonly type: v.LiteralSchema<"toggle", undefined>;
151
- readonly valueType: v.StringSchema<undefined>;
152
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
153
- readonly optional: v.BooleanSchema<undefined>;
154
- }, undefined>, v.ReadonlyAction<{
155
- type: "toggle";
156
- valueType: string;
157
- defaultValue: string | number | boolean | null;
158
- optional: boolean;
159
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
160
- type: "select";
161
- readonly options: readonly [string, ...string[]];
162
- defaultValue: string | null;
163
- optional: boolean;
164
- labels: {
165
- [x: string]: string;
166
- };
167
- }> | Readonly<{
168
- type: "toggle";
169
- valueType: string;
170
- defaultValue: string | number | boolean | null;
171
- optional: boolean;
172
- }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
173
- readonly type: v.LiteralSchema<"parameter", undefined>;
174
- }, undefined>, v.ReadonlyAction<{
175
- type: "parameter";
176
- }>]>], undefined>;
177
- }, undefined>, v.ReadonlyAction<{
178
- type: "enable";
179
- values: Readonly<Readonly<{
180
- type: "select";
181
- readonly options: readonly [string, ...string[]];
182
- defaultValue: string | null;
183
- optional: boolean;
184
- labels: {
185
- [x: string]: string;
186
- };
187
- }>> | Readonly<Readonly<{
188
- type: "toggle";
189
- valueType: string;
190
- defaultValue: string | number | boolean | null;
191
- optional: boolean;
192
- }>> | Readonly<{
193
- type: "parameter";
194
- }>;
195
- }>]>;
196
- export type BuilderOptionEnableConfigSerialised = v.InferOutput<typeof BuilderOptionEnableConfigSerialisedSchema>;
197
- export declare const BuilderOptionMatchConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
198
- readonly type: v.LiteralSchema<"match", undefined>;
199
- readonly matchPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
200
- readonly selectMap: v.UnionSchema<[v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
201
- readonly type: v.LiteralSchema<"select", undefined>;
202
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
203
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
204
- readonly optional: v.BooleanSchema<undefined>;
205
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
206
- }, undefined>, v.ReadonlyAction<{
207
- type: "select";
208
- readonly options: readonly [string, ...string[]];
209
- defaultValue: string | null;
210
- optional: boolean;
211
- labels: {
212
- [x: string]: string;
213
- };
214
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
215
- readonly type: v.LiteralSchema<"toggle", undefined>;
216
- readonly valueType: v.StringSchema<undefined>;
217
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
218
- readonly optional: v.BooleanSchema<undefined>;
219
- }, undefined>, v.ReadonlyAction<{
220
- type: "toggle";
221
- valueType: string;
222
- defaultValue: string | number | boolean | null;
223
- optional: boolean;
224
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
225
- type: "select";
226
- readonly options: readonly [string, ...string[]];
227
- defaultValue: string | null;
228
- optional: boolean;
229
- labels: {
230
- [x: string]: string;
231
- };
232
- }> | Readonly<{
233
- type: "toggle";
234
- valueType: string;
235
- defaultValue: string | number | boolean | null;
236
- optional: boolean;
237
- }>>]>, undefined>, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
238
- readonly type: v.LiteralSchema<"parameter", undefined>;
239
- }, undefined>, v.ReadonlyAction<{
240
- type: "parameter";
241
- }>]>], undefined>;
242
- }, undefined>, v.ReadonlyAction<{
243
- type: "match";
244
- readonly matchPath: readonly (string | number)[];
245
- selectMap: Readonly<{
246
- type: "parameter";
247
- }> | {
248
- [x: string]: Readonly<Readonly<{
249
- type: "select";
250
- readonly options: readonly [string, ...string[]];
251
- defaultValue: string | null;
252
- optional: boolean;
253
- labels: {
254
- [x: string]: string;
255
- };
256
- }>> | Readonly<Readonly<{
257
- type: "toggle";
258
- valueType: string;
259
- defaultValue: string | number | boolean | null;
260
- optional: boolean;
261
- }>> | null;
262
- };
263
- }>]>;
264
- export type BuilderOptionMatchConfigSerialised = v.InferOutput<typeof BuilderOptionMatchConfigSerialisedSchema>;
265
- export declare const BuilderOptionUnlessConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
266
- readonly type: v.LiteralSchema<"unless", undefined>;
267
- readonly unlessPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
268
- readonly disabledValues: v.SchemaWithPipe<readonly [v.ArraySchema<v.NullableSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>, v.ReadonlyAction<(string | number | boolean | null)[]>]>;
269
- readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
270
- readonly type: v.LiteralSchema<"select", undefined>;
271
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
272
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
273
- readonly optional: v.BooleanSchema<undefined>;
274
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
275
- }, undefined>, v.ReadonlyAction<{
276
- type: "select";
277
- readonly options: readonly [string, ...string[]];
278
- defaultValue: string | null;
279
- optional: boolean;
280
- labels: {
281
- [x: string]: string;
282
- };
283
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
284
- readonly type: v.LiteralSchema<"toggle", undefined>;
285
- readonly valueType: v.StringSchema<undefined>;
286
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
287
- readonly optional: v.BooleanSchema<undefined>;
288
- }, undefined>, v.ReadonlyAction<{
289
- type: "toggle";
290
- valueType: string;
291
- defaultValue: string | number | boolean | null;
292
- optional: boolean;
293
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
294
- type: "select";
295
- readonly options: readonly [string, ...string[]];
296
- defaultValue: string | null;
297
- optional: boolean;
298
- labels: {
299
- [x: string]: string;
300
- };
301
- }> | Readonly<{
302
- type: "toggle";
303
- valueType: string;
304
- defaultValue: string | number | boolean | null;
305
- optional: boolean;
306
- }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
307
- readonly type: v.LiteralSchema<"parameter", undefined>;
308
- }, undefined>, v.ReadonlyAction<{
309
- type: "parameter";
310
- }>]>], undefined>;
311
- }, undefined>, v.ReadonlyAction<{
312
- type: "unless";
313
- readonly unlessPath: readonly (string | number)[];
314
- readonly disabledValues: readonly (string | number | boolean | null)[];
315
- values: Readonly<Readonly<{
316
- type: "select";
317
- readonly options: readonly [string, ...string[]];
318
- defaultValue: string | null;
319
- optional: boolean;
320
- labels: {
321
- [x: string]: string;
322
- };
323
- }>> | Readonly<Readonly<{
324
- type: "toggle";
325
- valueType: string;
326
- defaultValue: string | number | boolean | null;
327
- optional: boolean;
328
- }>> | Readonly<{
329
- type: "parameter";
330
- }>;
331
- }>]>;
332
- export type BuilderOptionUnlessConfigSerialised = v.InferOutput<typeof BuilderOptionUnlessConfigSerialisedSchema>;
333
- export declare const BuilderOptionWhenConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
334
- readonly type: v.LiteralSchema<"enable", undefined>;
335
- readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
336
- readonly type: v.LiteralSchema<"select", undefined>;
337
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
338
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
339
- readonly optional: v.BooleanSchema<undefined>;
340
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
341
- }, undefined>, v.ReadonlyAction<{
342
- type: "select";
343
- readonly options: readonly [string, ...string[]];
344
- defaultValue: string | null;
345
- optional: boolean;
346
- labels: {
347
- [x: string]: string;
348
- };
349
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
350
- readonly type: v.LiteralSchema<"toggle", undefined>;
351
- readonly valueType: v.StringSchema<undefined>;
352
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
353
- readonly optional: v.BooleanSchema<undefined>;
354
- }, undefined>, v.ReadonlyAction<{
355
- type: "toggle";
356
- valueType: string;
357
- defaultValue: string | number | boolean | null;
358
- optional: boolean;
359
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
360
- type: "select";
361
- readonly options: readonly [string, ...string[]];
362
- defaultValue: string | null;
363
- optional: boolean;
364
- labels: {
365
- [x: string]: string;
366
- };
367
- }> | Readonly<{
368
- type: "toggle";
369
- valueType: string;
370
- defaultValue: string | number | boolean | null;
371
- optional: boolean;
372
- }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
373
- readonly type: v.LiteralSchema<"parameter", undefined>;
374
- }, undefined>, v.ReadonlyAction<{
375
- type: "parameter";
376
- }>]>], undefined>;
377
- }, undefined>, v.ReadonlyAction<{
378
- type: "enable";
379
- values: Readonly<Readonly<{
380
- type: "select";
381
- readonly options: readonly [string, ...string[]];
382
- defaultValue: string | null;
383
- optional: boolean;
384
- labels: {
385
- [x: string]: string;
386
- };
387
- }>> | Readonly<Readonly<{
388
- type: "toggle";
389
- valueType: string;
390
- defaultValue: string | number | boolean | null;
391
- optional: boolean;
392
- }>> | Readonly<{
393
- type: "parameter";
394
- }>;
395
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
396
- readonly type: v.LiteralSchema<"match", undefined>;
397
- readonly matchPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
398
- readonly selectMap: v.UnionSchema<[v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
399
- readonly type: v.LiteralSchema<"select", undefined>;
400
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
401
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
402
- readonly optional: v.BooleanSchema<undefined>;
403
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
404
- }, undefined>, v.ReadonlyAction<{
405
- type: "select";
406
- readonly options: readonly [string, ...string[]];
407
- defaultValue: string | null;
408
- optional: boolean;
409
- labels: {
410
- [x: string]: string;
411
- };
412
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
413
- readonly type: v.LiteralSchema<"toggle", undefined>;
414
- readonly valueType: v.StringSchema<undefined>;
415
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
416
- readonly optional: v.BooleanSchema<undefined>;
417
- }, undefined>, v.ReadonlyAction<{
418
- type: "toggle";
419
- valueType: string;
420
- defaultValue: string | number | boolean | null;
421
- optional: boolean;
422
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
423
- type: "select";
424
- readonly options: readonly [string, ...string[]];
425
- defaultValue: string | null;
426
- optional: boolean;
427
- labels: {
428
- [x: string]: string;
429
- };
430
- }> | Readonly<{
431
- type: "toggle";
432
- valueType: string;
433
- defaultValue: string | number | boolean | null;
434
- optional: boolean;
435
- }>>]>, undefined>, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
436
- readonly type: v.LiteralSchema<"parameter", undefined>;
437
- }, undefined>, v.ReadonlyAction<{
438
- type: "parameter";
439
- }>]>], undefined>;
440
- }, undefined>, v.ReadonlyAction<{
441
- type: "match";
442
- readonly matchPath: readonly (string | number)[];
443
- selectMap: Readonly<{
444
- type: "parameter";
445
- }> | {
446
- [x: string]: Readonly<Readonly<{
447
- type: "select";
448
- readonly options: readonly [string, ...string[]];
449
- defaultValue: string | null;
450
- optional: boolean;
451
- labels: {
452
- [x: string]: string;
453
- };
454
- }>> | Readonly<Readonly<{
455
- type: "toggle";
456
- valueType: string;
457
- defaultValue: string | number | boolean | null;
458
- optional: boolean;
459
- }>> | null;
460
- };
461
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
462
- readonly type: v.LiteralSchema<"unless", undefined>;
463
- readonly unlessPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
464
- readonly disabledValues: v.SchemaWithPipe<readonly [v.ArraySchema<v.NullableSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>, v.ReadonlyAction<(string | number | boolean | null)[]>]>;
465
- readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
466
- readonly type: v.LiteralSchema<"select", undefined>;
467
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
468
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
469
- readonly optional: v.BooleanSchema<undefined>;
470
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
471
- }, undefined>, v.ReadonlyAction<{
472
- type: "select";
473
- readonly options: readonly [string, ...string[]];
474
- defaultValue: string | null;
475
- optional: boolean;
476
- labels: {
477
- [x: string]: string;
478
- };
479
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
480
- readonly type: v.LiteralSchema<"toggle", undefined>;
481
- readonly valueType: v.StringSchema<undefined>;
482
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
483
- readonly optional: v.BooleanSchema<undefined>;
484
- }, undefined>, v.ReadonlyAction<{
485
- type: "toggle";
486
- valueType: string;
487
- defaultValue: string | number | boolean | null;
488
- optional: boolean;
489
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
490
- type: "select";
491
- readonly options: readonly [string, ...string[]];
492
- defaultValue: string | null;
493
- optional: boolean;
494
- labels: {
495
- [x: string]: string;
496
- };
497
- }> | Readonly<{
498
- type: "toggle";
499
- valueType: string;
500
- defaultValue: string | number | boolean | null;
501
- optional: boolean;
502
- }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
503
- readonly type: v.LiteralSchema<"parameter", undefined>;
504
- }, undefined>, v.ReadonlyAction<{
505
- type: "parameter";
506
- }>]>], undefined>;
507
- }, undefined>, v.ReadonlyAction<{
508
- type: "unless";
509
- readonly unlessPath: readonly (string | number)[];
510
- readonly disabledValues: readonly (string | number | boolean | null)[];
511
- values: Readonly<Readonly<{
512
- type: "select";
513
- readonly options: readonly [string, ...string[]];
514
- defaultValue: string | null;
515
- optional: boolean;
516
- labels: {
517
- [x: string]: string;
518
- };
519
- }>> | Readonly<Readonly<{
520
- type: "toggle";
521
- valueType: string;
522
- defaultValue: string | number | boolean | null;
523
- optional: boolean;
524
- }>> | Readonly<{
525
- type: "parameter";
526
- }>;
527
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
528
- type: "enable";
529
- values: Readonly<Readonly<{
530
- type: "select";
531
- readonly options: readonly [string, ...string[]];
532
- defaultValue: string | null;
533
- optional: boolean;
534
- labels: {
535
- [x: string]: string;
536
- };
537
- }>> | Readonly<Readonly<{
538
- type: "toggle";
539
- valueType: string;
540
- defaultValue: string | number | boolean | null;
541
- optional: boolean;
542
- }>> | Readonly<{
543
- type: "parameter";
544
- }>;
545
- }> | Readonly<{
546
- type: "match";
547
- readonly matchPath: readonly (string | number)[];
548
- selectMap: Readonly<{
549
- type: "parameter";
550
- }> | {
551
- [x: string]: Readonly<Readonly<{
552
- type: "select";
553
- readonly options: readonly [string, ...string[]];
554
- defaultValue: string | null;
555
- optional: boolean;
556
- labels: {
557
- [x: string]: string;
558
- };
559
- }>> | Readonly<Readonly<{
560
- type: "toggle";
561
- valueType: string;
562
- defaultValue: string | number | boolean | null;
563
- optional: boolean;
564
- }>> | null;
565
- };
566
- }> | Readonly<{
567
- type: "unless";
568
- readonly unlessPath: readonly (string | number)[];
569
- readonly disabledValues: readonly (string | number | boolean | null)[];
570
- values: Readonly<Readonly<{
571
- type: "select";
572
- readonly options: readonly [string, ...string[]];
573
- defaultValue: string | null;
574
- optional: boolean;
575
- labels: {
576
- [x: string]: string;
577
- };
578
- }>> | Readonly<Readonly<{
579
- type: "toggle";
580
- valueType: string;
581
- defaultValue: string | number | boolean | null;
582
- optional: boolean;
583
- }>> | Readonly<{
584
- type: "parameter";
585
- }>;
586
- }>>]>;
587
- export type BuilderOptionWhenConfigSerialised = v.InferOutput<typeof BuilderOptionWhenConfigSerialisedSchema>;
588
- export declare const BuilderOptionSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
589
- readonly name: v.StringSchema<undefined>;
590
- readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
591
- readonly type: v.LiteralSchema<"select", undefined>;
592
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
593
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
594
- readonly optional: v.BooleanSchema<undefined>;
595
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
596
- }, undefined>, v.ReadonlyAction<{
597
- type: "select";
598
- readonly options: readonly [string, ...string[]];
599
- defaultValue: string | null;
600
- optional: boolean;
601
- labels: {
602
- [x: string]: string;
603
- };
604
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
605
- readonly type: v.LiteralSchema<"toggle", undefined>;
606
- readonly valueType: v.StringSchema<undefined>;
607
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
608
- readonly optional: v.BooleanSchema<undefined>;
609
- }, undefined>, v.ReadonlyAction<{
610
- type: "toggle";
611
- valueType: string;
612
- defaultValue: string | number | boolean | null;
613
- optional: boolean;
614
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
615
- type: "select";
616
- readonly options: readonly [string, ...string[]];
617
- defaultValue: string | null;
618
- optional: boolean;
619
- labels: {
620
- [x: string]: string;
621
- };
622
- }> | Readonly<{
623
- type: "toggle";
624
- valueType: string;
625
- defaultValue: string | number | boolean | null;
626
- optional: boolean;
627
- }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
628
- readonly type: v.LiteralSchema<"parameter", undefined>;
629
- }, undefined>, v.ReadonlyAction<{
630
- type: "parameter";
631
- }>]>], undefined>;
632
- readonly gatePaths: 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)[])[]>]>;
633
- readonly config: v.NullableSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
634
- readonly type: v.LiteralSchema<"enable", undefined>;
635
- readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
636
- readonly type: v.LiteralSchema<"select", undefined>;
637
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
638
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
639
- readonly optional: v.BooleanSchema<undefined>;
640
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
641
- }, undefined>, v.ReadonlyAction<{
642
- type: "select";
643
- readonly options: readonly [string, ...string[]];
644
- defaultValue: string | null;
645
- optional: boolean;
646
- labels: {
647
- [x: string]: string;
648
- };
649
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
650
- readonly type: v.LiteralSchema<"toggle", undefined>;
651
- readonly valueType: v.StringSchema<undefined>;
652
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
653
- readonly optional: v.BooleanSchema<undefined>;
654
- }, undefined>, v.ReadonlyAction<{
655
- type: "toggle";
656
- valueType: string;
657
- defaultValue: string | number | boolean | null;
658
- optional: boolean;
659
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
660
- type: "select";
661
- readonly options: readonly [string, ...string[]];
662
- defaultValue: string | null;
663
- optional: boolean;
664
- labels: {
665
- [x: string]: string;
666
- };
667
- }> | Readonly<{
668
- type: "toggle";
669
- valueType: string;
670
- defaultValue: string | number | boolean | null;
671
- optional: boolean;
672
- }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
673
- readonly type: v.LiteralSchema<"parameter", undefined>;
674
- }, undefined>, v.ReadonlyAction<{
675
- type: "parameter";
676
- }>]>], undefined>;
677
- }, undefined>, v.ReadonlyAction<{
678
- type: "enable";
679
- values: Readonly<Readonly<{
680
- type: "select";
681
- readonly options: readonly [string, ...string[]];
682
- defaultValue: string | null;
683
- optional: boolean;
684
- labels: {
685
- [x: string]: string;
686
- };
687
- }>> | Readonly<Readonly<{
688
- type: "toggle";
689
- valueType: string;
690
- defaultValue: string | number | boolean | null;
691
- optional: boolean;
692
- }>> | Readonly<{
693
- type: "parameter";
694
- }>;
695
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
696
- readonly type: v.LiteralSchema<"match", undefined>;
697
- readonly matchPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
698
- readonly selectMap: v.UnionSchema<[v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
699
- readonly type: v.LiteralSchema<"select", undefined>;
700
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
701
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
702
- readonly optional: v.BooleanSchema<undefined>;
703
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
704
- }, undefined>, v.ReadonlyAction<{
705
- type: "select";
706
- readonly options: readonly [string, ...string[]];
707
- defaultValue: string | null;
708
- optional: boolean;
709
- labels: {
710
- [x: string]: string;
711
- };
712
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
713
- readonly type: v.LiteralSchema<"toggle", undefined>;
714
- readonly valueType: v.StringSchema<undefined>;
715
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
716
- readonly optional: v.BooleanSchema<undefined>;
717
- }, undefined>, v.ReadonlyAction<{
718
- type: "toggle";
719
- valueType: string;
720
- defaultValue: string | number | boolean | null;
721
- optional: boolean;
722
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
723
- type: "select";
724
- readonly options: readonly [string, ...string[]];
725
- defaultValue: string | null;
726
- optional: boolean;
727
- labels: {
728
- [x: string]: string;
729
- };
730
- }> | Readonly<{
731
- type: "toggle";
732
- valueType: string;
733
- defaultValue: string | number | boolean | null;
734
- optional: boolean;
735
- }>>]>, undefined>, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
736
- readonly type: v.LiteralSchema<"parameter", undefined>;
737
- }, undefined>, v.ReadonlyAction<{
738
- type: "parameter";
739
- }>]>], undefined>;
740
- }, undefined>, v.ReadonlyAction<{
741
- type: "match";
742
- readonly matchPath: readonly (string | number)[];
743
- selectMap: Readonly<{
744
- type: "parameter";
745
- }> | {
746
- [x: string]: Readonly<Readonly<{
747
- type: "select";
748
- readonly options: readonly [string, ...string[]];
749
- defaultValue: string | null;
750
- optional: boolean;
751
- labels: {
752
- [x: string]: string;
753
- };
754
- }>> | Readonly<Readonly<{
755
- type: "toggle";
756
- valueType: string;
757
- defaultValue: string | number | boolean | null;
758
- optional: boolean;
759
- }>> | null;
760
- };
761
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
762
- readonly type: v.LiteralSchema<"unless", undefined>;
763
- readonly unlessPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
764
- readonly disabledValues: v.SchemaWithPipe<readonly [v.ArraySchema<v.NullableSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>, v.ReadonlyAction<(string | number | boolean | null)[]>]>;
765
- readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
766
- readonly type: v.LiteralSchema<"select", undefined>;
767
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
768
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
769
- readonly optional: v.BooleanSchema<undefined>;
770
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
771
- }, undefined>, v.ReadonlyAction<{
772
- type: "select";
773
- readonly options: readonly [string, ...string[]];
774
- defaultValue: string | null;
775
- optional: boolean;
776
- labels: {
777
- [x: string]: string;
778
- };
779
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
780
- readonly type: v.LiteralSchema<"toggle", undefined>;
781
- readonly valueType: v.StringSchema<undefined>;
782
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
783
- readonly optional: v.BooleanSchema<undefined>;
784
- }, undefined>, v.ReadonlyAction<{
785
- type: "toggle";
786
- valueType: string;
787
- defaultValue: string | number | boolean | null;
788
- optional: boolean;
789
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
790
- type: "select";
791
- readonly options: readonly [string, ...string[]];
792
- defaultValue: string | null;
793
- optional: boolean;
794
- labels: {
795
- [x: string]: string;
796
- };
797
- }> | Readonly<{
798
- type: "toggle";
799
- valueType: string;
800
- defaultValue: string | number | boolean | null;
801
- optional: boolean;
802
- }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
803
- readonly type: v.LiteralSchema<"parameter", undefined>;
804
- }, undefined>, v.ReadonlyAction<{
805
- type: "parameter";
806
- }>]>], undefined>;
807
- }, undefined>, v.ReadonlyAction<{
808
- type: "unless";
809
- readonly unlessPath: readonly (string | number)[];
810
- readonly disabledValues: readonly (string | number | boolean | null)[];
811
- values: Readonly<Readonly<{
812
- type: "select";
813
- readonly options: readonly [string, ...string[]];
814
- defaultValue: string | null;
815
- optional: boolean;
816
- labels: {
817
- [x: string]: string;
818
- };
819
- }>> | Readonly<Readonly<{
820
- type: "toggle";
821
- valueType: string;
822
- defaultValue: string | number | boolean | null;
823
- optional: boolean;
824
- }>> | Readonly<{
825
- type: "parameter";
826
- }>;
827
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
828
- type: "enable";
829
- values: Readonly<Readonly<{
830
- type: "select";
831
- readonly options: readonly [string, ...string[]];
832
- defaultValue: string | null;
833
- optional: boolean;
834
- labels: {
835
- [x: string]: string;
836
- };
837
- }>> | Readonly<Readonly<{
838
- type: "toggle";
839
- valueType: string;
840
- defaultValue: string | number | boolean | null;
841
- optional: boolean;
842
- }>> | Readonly<{
843
- type: "parameter";
844
- }>;
845
- }> | Readonly<{
846
- type: "match";
847
- readonly matchPath: readonly (string | number)[];
848
- selectMap: Readonly<{
849
- type: "parameter";
850
- }> | {
851
- [x: string]: Readonly<Readonly<{
852
- type: "select";
853
- readonly options: readonly [string, ...string[]];
854
- defaultValue: string | null;
855
- optional: boolean;
856
- labels: {
857
- [x: string]: string;
858
- };
859
- }>> | Readonly<Readonly<{
860
- type: "toggle";
861
- valueType: string;
862
- defaultValue: string | number | boolean | null;
863
- optional: boolean;
864
- }>> | null;
865
- };
866
- }> | Readonly<{
867
- type: "unless";
868
- readonly unlessPath: readonly (string | number)[];
869
- readonly disabledValues: readonly (string | number | boolean | null)[];
870
- values: Readonly<Readonly<{
871
- type: "select";
872
- readonly options: readonly [string, ...string[]];
873
- defaultValue: string | null;
874
- optional: boolean;
875
- labels: {
876
- [x: string]: string;
877
- };
878
- }>> | Readonly<Readonly<{
879
- type: "toggle";
880
- valueType: string;
881
- defaultValue: string | number | boolean | null;
882
- optional: boolean;
883
- }>> | Readonly<{
884
- type: "parameter";
885
- }>;
886
- }>>]>, undefined>;
887
- }, undefined>, v.ReadonlyAction<{
888
- name: string;
889
- values: Readonly<Readonly<{
890
- type: "select";
891
- readonly options: readonly [string, ...string[]];
892
- defaultValue: string | null;
893
- optional: boolean;
894
- labels: {
895
- [x: string]: string;
896
- };
897
- }>> | Readonly<Readonly<{
898
- type: "toggle";
899
- valueType: string;
900
- defaultValue: string | number | boolean | null;
901
- optional: boolean;
902
- }>> | Readonly<{
903
- type: "parameter";
904
- }>;
905
- readonly gatePaths: readonly (readonly (string | number)[])[];
906
- config: Readonly<Readonly<{
907
- type: "enable";
908
- values: Readonly<Readonly<{
909
- type: "select";
910
- readonly options: readonly [string, ...string[]];
911
- defaultValue: string | null;
912
- optional: boolean;
913
- labels: {
914
- [x: string]: string;
915
- };
916
- }>> | Readonly<Readonly<{
917
- type: "toggle";
918
- valueType: string;
919
- defaultValue: string | number | boolean | null;
920
- optional: boolean;
921
- }>> | Readonly<{
922
- type: "parameter";
923
- }>;
924
- }>> | Readonly<Readonly<{
925
- type: "match";
926
- readonly matchPath: readonly (string | number)[];
927
- selectMap: Readonly<{
928
- type: "parameter";
929
- }> | {
930
- [x: string]: Readonly<Readonly<{
931
- type: "select";
932
- readonly options: readonly [string, ...string[]];
933
- defaultValue: string | null;
934
- optional: boolean;
935
- labels: {
936
- [x: string]: string;
937
- };
938
- }>> | Readonly<Readonly<{
939
- type: "toggle";
940
- valueType: string;
941
- defaultValue: string | number | boolean | null;
942
- optional: boolean;
943
- }>> | null;
944
- };
945
- }>> | Readonly<Readonly<{
946
- type: "unless";
947
- readonly unlessPath: readonly (string | number)[];
948
- readonly disabledValues: readonly (string | number | boolean | null)[];
949
- values: Readonly<Readonly<{
950
- type: "select";
951
- readonly options: readonly [string, ...string[]];
952
- defaultValue: string | null;
953
- optional: boolean;
954
- labels: {
955
- [x: string]: string;
956
- };
957
- }>> | Readonly<Readonly<{
958
- type: "toggle";
959
- valueType: string;
960
- defaultValue: string | number | boolean | null;
961
- optional: boolean;
962
- }>> | Readonly<{
963
- type: "parameter";
964
- }>;
965
- }>> | null;
966
- }>]>;
967
- export type BuilderOptionSerialised = v.InferOutput<typeof BuilderOptionSerialisedSchema>;
968
- export declare const BuilderComponentSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
969
- readonly name: v.StringSchema<undefined>;
970
- readonly paths: 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)[])[]>]>;
971
- readonly dependencies: v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>;
972
- }, undefined>, v.ReadonlyAction<{
973
- name: string;
974
- readonly paths: readonly (readonly (string | number)[])[];
975
- readonly dependencies: readonly string[];
976
- }>]>;
977
- export type BuilderComponentSerialised = v.InferOutput<typeof BuilderComponentSerialisedSchema>;
978
- type SerialisedSchemaType = v.GenericSchema<BuilderSerialised, BuilderSerialised>;
979
- type UIItemsSerialisedSchemaType = v.GenericSchema<BuilderUIItemsSerialised, BuilderUIItemsSerialised>;
980
- export declare const BuilderCollectionConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
981
- readonly builder: v.LazySchema<SerialisedSchemaType>;
982
- readonly min: v.NumberSchema<undefined>;
983
- readonly max: v.NumberSchema<undefined>;
984
- }, undefined>, v.ReadonlyAction<{
985
- builder: BuilderSerialised;
986
- min: number;
987
- max: number;
988
- }>]>;
989
- export declare const BuilderCollectionEnableConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
990
- readonly type: v.LiteralSchema<"enable", undefined>;
991
- readonly builder: v.LazySchema<SerialisedSchemaType>;
992
- readonly min: v.NumberSchema<undefined>;
993
- readonly max: v.NumberSchema<undefined>;
994
- }, undefined>, v.ReadonlyAction<{
995
- type: "enable";
996
- builder: BuilderSerialised;
997
- min: number;
998
- max: number;
999
- }>]>;
1000
- export declare const BuilderCollectionMatchConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1001
- readonly type: v.LiteralSchema<"match", undefined>;
1002
- readonly matchPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
1003
- readonly selectMap: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.ObjectSchema<{
1004
- readonly builder: v.LazySchema<SerialisedSchemaType>;
1005
- readonly min: v.NumberSchema<undefined>;
1006
- readonly max: v.NumberSchema<undefined>;
1007
- }, undefined>, undefined>, undefined>;
1008
- }, undefined>, v.ReadonlyAction<{
1009
- type: "match";
1010
- readonly matchPath: readonly (string | number)[];
1011
- selectMap: {
1012
- [x: string]: {
1013
- builder: BuilderSerialised;
1014
- min: number;
1015
- max: number;
1016
- } | null;
1017
- };
1018
- }>]>;
1019
- export declare const BuilderCollectionUnlessConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1020
- readonly type: v.LiteralSchema<"unless", undefined>;
1021
- readonly unlessPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
1022
- readonly disabledValues: v.SchemaWithPipe<readonly [v.ArraySchema<v.NullableSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>, v.ReadonlyAction<(string | number | boolean | null)[]>]>;
1023
- readonly builder: v.LazySchema<SerialisedSchemaType>;
1024
- readonly min: v.NumberSchema<undefined>;
1025
- readonly max: v.NumberSchema<undefined>;
1026
- }, undefined>, v.ReadonlyAction<{
1027
- type: "unless";
1028
- readonly unlessPath: readonly (string | number)[];
1029
- readonly disabledValues: readonly (string | number | boolean | null)[];
1030
- builder: BuilderSerialised;
1031
- min: number;
1032
- max: number;
1033
- }>]>;
1034
- export declare const BuilderCollectionWhenConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.ObjectSchema<{
1035
- readonly type: v.LiteralSchema<"enable", undefined>;
1036
- readonly builder: v.LazySchema<SerialisedSchemaType>;
1037
- readonly min: v.NumberSchema<undefined>;
1038
- readonly max: v.NumberSchema<undefined>;
1039
- }, undefined>, v.ObjectSchema<{
1040
- readonly type: v.LiteralSchema<"match", undefined>;
1041
- readonly matchPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
1042
- readonly selectMap: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.ObjectSchema<{
1043
- readonly builder: v.LazySchema<SerialisedSchemaType>;
1044
- readonly min: v.NumberSchema<undefined>;
1045
- readonly max: v.NumberSchema<undefined>;
1046
- }, undefined>, undefined>, undefined>;
1047
- }, undefined>, v.ObjectSchema<{
1048
- readonly type: v.LiteralSchema<"unless", undefined>;
1049
- readonly unlessPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
1050
- readonly disabledValues: v.SchemaWithPipe<readonly [v.ArraySchema<v.NullableSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>, v.ReadonlyAction<(string | number | boolean | null)[]>]>;
1051
- readonly builder: v.LazySchema<SerialisedSchemaType>;
1052
- readonly min: v.NumberSchema<undefined>;
1053
- readonly max: v.NumberSchema<undefined>;
1054
- }, undefined>], undefined>, v.ReadonlyAction<{
1055
- type: "enable";
1056
- builder: BuilderSerialised;
1057
- min: number;
1058
- max: number;
1059
- } | {
1060
- type: "match";
1061
- readonly matchPath: readonly (string | number)[];
1062
- selectMap: {
1063
- [x: string]: {
1064
- builder: BuilderSerialised;
1065
- min: number;
1066
- max: number;
1067
- } | null;
1068
- };
1069
- } | {
1070
- type: "unless";
1071
- readonly unlessPath: readonly (string | number)[];
1072
- readonly disabledValues: readonly (string | number | boolean | null)[];
1073
- builder: BuilderSerialised;
1074
- min: number;
1075
- max: number;
1076
- }>]>;
1077
- export declare const BuilderCollectionSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1078
- readonly name: v.StringSchema<undefined>;
1079
- readonly builder: v.LazySchema<SerialisedSchemaType>;
1080
- readonly min: v.NumberSchema<undefined>;
1081
- readonly max: v.NumberSchema<undefined>;
1082
- readonly gatePaths: 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)[])[]>]>;
1083
- readonly config: v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
1084
- readonly type: v.LiteralSchema<"enable", undefined>;
1085
- readonly builder: v.LazySchema<SerialisedSchemaType>;
1086
- readonly min: v.NumberSchema<undefined>;
1087
- readonly max: v.NumberSchema<undefined>;
1088
- }, undefined>, v.ObjectSchema<{
1089
- readonly type: v.LiteralSchema<"match", undefined>;
1090
- readonly matchPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
1091
- readonly selectMap: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.ObjectSchema<{
1092
- readonly builder: v.LazySchema<SerialisedSchemaType>;
1093
- readonly min: v.NumberSchema<undefined>;
1094
- readonly max: v.NumberSchema<undefined>;
1095
- }, undefined>, undefined>, undefined>;
1096
- }, undefined>, v.ObjectSchema<{
1097
- readonly type: v.LiteralSchema<"unless", undefined>;
1098
- readonly unlessPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
1099
- readonly disabledValues: v.SchemaWithPipe<readonly [v.ArraySchema<v.NullableSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>, v.ReadonlyAction<(string | number | boolean | null)[]>]>;
1100
- readonly builder: v.LazySchema<SerialisedSchemaType>;
1101
- readonly min: v.NumberSchema<undefined>;
1102
- readonly max: v.NumberSchema<undefined>;
1103
- }, undefined>], undefined>, undefined>;
1104
- }, undefined>, v.ReadonlyAction<{
1105
- name: string;
1106
- builder: BuilderSerialised;
1107
- min: number;
1108
- max: number;
1109
- readonly gatePaths: readonly (readonly (string | number)[])[];
1110
- config: {
1111
- type: "enable";
1112
- builder: BuilderSerialised;
1113
- min: number;
1114
- max: number;
1115
- } | {
1116
- type: "match";
1117
- readonly matchPath: readonly (string | number)[];
1118
- selectMap: {
1119
- [x: string]: {
1120
- builder: BuilderSerialised;
1121
- min: number;
1122
- max: number;
1123
- } | null;
1124
- };
1125
- } | {
1126
- type: "unless";
1127
- readonly unlessPath: readonly (string | number)[];
1128
- readonly disabledValues: readonly (string | number | boolean | null)[];
1129
- builder: BuilderSerialised;
1130
- min: number;
1131
- max: number;
1132
- } | null;
1133
- }>]>;
1134
- export declare const BuilderExpectationSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1135
- readonly name: v.StringSchema<undefined>;
1136
- readonly kind: v.PicklistSchema<["option", "component", "collection"], undefined>;
1137
- }, undefined>, v.ReadonlyAction<{
1138
- name: string;
1139
- kind: "collection" | "option" | "component";
1140
- }>]>;
1141
- export declare const BuilderSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1142
- readonly options: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1143
- readonly name: v.StringSchema<undefined>;
1144
- readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
1145
- readonly type: v.LiteralSchema<"select", undefined>;
1146
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
1147
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1148
- readonly optional: v.BooleanSchema<undefined>;
1149
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
1150
- }, undefined>, v.ReadonlyAction<{
1151
- type: "select";
1152
- readonly options: readonly [string, ...string[]];
1153
- defaultValue: string | null;
1154
- optional: boolean;
1155
- labels: {
1156
- [x: string]: string;
1157
- };
1158
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1159
- readonly type: v.LiteralSchema<"toggle", undefined>;
1160
- readonly valueType: v.StringSchema<undefined>;
1161
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
1162
- readonly optional: v.BooleanSchema<undefined>;
1163
- }, undefined>, v.ReadonlyAction<{
1164
- type: "toggle";
1165
- valueType: string;
1166
- defaultValue: string | number | boolean | null;
1167
- optional: boolean;
1168
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
1169
- type: "select";
1170
- readonly options: readonly [string, ...string[]];
1171
- defaultValue: string | null;
1172
- optional: boolean;
1173
- labels: {
1174
- [x: string]: string;
1175
- };
1176
- }> | Readonly<{
1177
- type: "toggle";
1178
- valueType: string;
1179
- defaultValue: string | number | boolean | null;
1180
- optional: boolean;
1181
- }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1182
- readonly type: v.LiteralSchema<"parameter", undefined>;
1183
- }, undefined>, v.ReadonlyAction<{
1184
- type: "parameter";
1185
- }>]>], undefined>;
1186
- readonly gatePaths: 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)[])[]>]>;
1187
- readonly config: v.NullableSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
1188
- readonly type: v.LiteralSchema<"enable", undefined>;
1189
- readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
1190
- readonly type: v.LiteralSchema<"select", undefined>;
1191
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
1192
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1193
- readonly optional: v.BooleanSchema<undefined>;
1194
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
1195
- }, undefined>, v.ReadonlyAction<{
1196
- type: "select";
1197
- readonly options: readonly [string, ...string[]];
1198
- defaultValue: string | null;
1199
- optional: boolean;
1200
- labels: {
1201
- [x: string]: string;
1202
- };
1203
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1204
- readonly type: v.LiteralSchema<"toggle", undefined>;
1205
- readonly valueType: v.StringSchema<undefined>;
1206
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
1207
- readonly optional: v.BooleanSchema<undefined>;
1208
- }, undefined>, v.ReadonlyAction<{
1209
- type: "toggle";
1210
- valueType: string;
1211
- defaultValue: string | number | boolean | null;
1212
- optional: boolean;
1213
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
1214
- type: "select";
1215
- readonly options: readonly [string, ...string[]];
1216
- defaultValue: string | null;
1217
- optional: boolean;
1218
- labels: {
1219
- [x: string]: string;
1220
- };
1221
- }> | Readonly<{
1222
- type: "toggle";
1223
- valueType: string;
1224
- defaultValue: string | number | boolean | null;
1225
- optional: boolean;
1226
- }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1227
- readonly type: v.LiteralSchema<"parameter", undefined>;
1228
- }, undefined>, v.ReadonlyAction<{
1229
- type: "parameter";
1230
- }>]>], undefined>;
1231
- }, undefined>, v.ReadonlyAction<{
1232
- type: "enable";
1233
- values: Readonly<Readonly<{
1234
- type: "select";
1235
- readonly options: readonly [string, ...string[]];
1236
- defaultValue: string | null;
1237
- optional: boolean;
1238
- labels: {
1239
- [x: string]: string;
1240
- };
1241
- }>> | Readonly<Readonly<{
1242
- type: "toggle";
1243
- valueType: string;
1244
- defaultValue: string | number | boolean | null;
1245
- optional: boolean;
1246
- }>> | Readonly<{
1247
- type: "parameter";
1248
- }>;
1249
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1250
- readonly type: v.LiteralSchema<"match", undefined>;
1251
- readonly matchPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
1252
- readonly selectMap: v.UnionSchema<[v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
1253
- readonly type: v.LiteralSchema<"select", undefined>;
1254
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
1255
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1256
- readonly optional: v.BooleanSchema<undefined>;
1257
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
1258
- }, undefined>, v.ReadonlyAction<{
1259
- type: "select";
1260
- readonly options: readonly [string, ...string[]];
1261
- defaultValue: string | null;
1262
- optional: boolean;
1263
- labels: {
1264
- [x: string]: string;
1265
- };
1266
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1267
- readonly type: v.LiteralSchema<"toggle", undefined>;
1268
- readonly valueType: v.StringSchema<undefined>;
1269
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
1270
- readonly optional: v.BooleanSchema<undefined>;
1271
- }, undefined>, v.ReadonlyAction<{
1272
- type: "toggle";
1273
- valueType: string;
1274
- defaultValue: string | number | boolean | null;
1275
- optional: boolean;
1276
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
1277
- type: "select";
1278
- readonly options: readonly [string, ...string[]];
1279
- defaultValue: string | null;
1280
- optional: boolean;
1281
- labels: {
1282
- [x: string]: string;
1283
- };
1284
- }> | Readonly<{
1285
- type: "toggle";
1286
- valueType: string;
1287
- defaultValue: string | number | boolean | null;
1288
- optional: boolean;
1289
- }>>]>, undefined>, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1290
- readonly type: v.LiteralSchema<"parameter", undefined>;
1291
- }, undefined>, v.ReadonlyAction<{
1292
- type: "parameter";
1293
- }>]>], undefined>;
1294
- }, undefined>, v.ReadonlyAction<{
1295
- type: "match";
1296
- readonly matchPath: readonly (string | number)[];
1297
- selectMap: Readonly<{
1298
- type: "parameter";
1299
- }> | {
1300
- [x: string]: Readonly<Readonly<{
1301
- type: "select";
1302
- readonly options: readonly [string, ...string[]];
1303
- defaultValue: string | null;
1304
- optional: boolean;
1305
- labels: {
1306
- [x: string]: string;
1307
- };
1308
- }>> | Readonly<Readonly<{
1309
- type: "toggle";
1310
- valueType: string;
1311
- defaultValue: string | number | boolean | null;
1312
- optional: boolean;
1313
- }>> | null;
1314
- };
1315
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1316
- readonly type: v.LiteralSchema<"unless", undefined>;
1317
- readonly unlessPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
1318
- readonly disabledValues: v.SchemaWithPipe<readonly [v.ArraySchema<v.NullableSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>, v.ReadonlyAction<(string | number | boolean | null)[]>]>;
1319
- readonly values: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
1320
- readonly type: v.LiteralSchema<"select", undefined>;
1321
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
1322
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1323
- readonly optional: v.BooleanSchema<undefined>;
1324
- readonly labels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
1325
- }, undefined>, v.ReadonlyAction<{
1326
- type: "select";
1327
- readonly options: readonly [string, ...string[]];
1328
- defaultValue: string | null;
1329
- optional: boolean;
1330
- labels: {
1331
- [x: string]: string;
1332
- };
1333
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1334
- readonly type: v.LiteralSchema<"toggle", undefined>;
1335
- readonly valueType: v.StringSchema<undefined>;
1336
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
1337
- readonly optional: v.BooleanSchema<undefined>;
1338
- }, undefined>, v.ReadonlyAction<{
1339
- type: "toggle";
1340
- valueType: string;
1341
- defaultValue: string | number | boolean | null;
1342
- optional: boolean;
1343
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
1344
- type: "select";
1345
- readonly options: readonly [string, ...string[]];
1346
- defaultValue: string | null;
1347
- optional: boolean;
1348
- labels: {
1349
- [x: string]: string;
1350
- };
1351
- }> | Readonly<{
1352
- type: "toggle";
1353
- valueType: string;
1354
- defaultValue: string | number | boolean | null;
1355
- optional: boolean;
1356
- }>>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1357
- readonly type: v.LiteralSchema<"parameter", undefined>;
1358
- }, undefined>, v.ReadonlyAction<{
1359
- type: "parameter";
1360
- }>]>], undefined>;
1361
- }, undefined>, v.ReadonlyAction<{
1362
- type: "unless";
1363
- readonly unlessPath: readonly (string | number)[];
1364
- readonly disabledValues: readonly (string | number | boolean | null)[];
1365
- values: Readonly<Readonly<{
1366
- type: "select";
1367
- readonly options: readonly [string, ...string[]];
1368
- defaultValue: string | null;
1369
- optional: boolean;
1370
- labels: {
1371
- [x: string]: string;
1372
- };
1373
- }>> | Readonly<Readonly<{
1374
- type: "toggle";
1375
- valueType: string;
1376
- defaultValue: string | number | boolean | null;
1377
- optional: boolean;
1378
- }>> | Readonly<{
1379
- type: "parameter";
1380
- }>;
1381
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
1382
- type: "enable";
1383
- values: Readonly<Readonly<{
1384
- type: "select";
1385
- readonly options: readonly [string, ...string[]];
1386
- defaultValue: string | null;
1387
- optional: boolean;
1388
- labels: {
1389
- [x: string]: string;
1390
- };
1391
- }>> | Readonly<Readonly<{
1392
- type: "toggle";
1393
- valueType: string;
1394
- defaultValue: string | number | boolean | null;
1395
- optional: boolean;
1396
- }>> | Readonly<{
1397
- type: "parameter";
1398
- }>;
1399
- }> | Readonly<{
1400
- type: "match";
1401
- readonly matchPath: readonly (string | number)[];
1402
- selectMap: Readonly<{
1403
- type: "parameter";
1404
- }> | {
1405
- [x: string]: Readonly<Readonly<{
1406
- type: "select";
1407
- readonly options: readonly [string, ...string[]];
1408
- defaultValue: string | null;
1409
- optional: boolean;
1410
- labels: {
1411
- [x: string]: string;
1412
- };
1413
- }>> | Readonly<Readonly<{
1414
- type: "toggle";
1415
- valueType: string;
1416
- defaultValue: string | number | boolean | null;
1417
- optional: boolean;
1418
- }>> | null;
1419
- };
1420
- }> | Readonly<{
1421
- type: "unless";
1422
- readonly unlessPath: readonly (string | number)[];
1423
- readonly disabledValues: readonly (string | number | boolean | null)[];
1424
- values: Readonly<Readonly<{
1425
- type: "select";
1426
- readonly options: readonly [string, ...string[]];
1427
- defaultValue: string | null;
1428
- optional: boolean;
1429
- labels: {
1430
- [x: string]: string;
1431
- };
1432
- }>> | Readonly<Readonly<{
1433
- type: "toggle";
1434
- valueType: string;
1435
- defaultValue: string | number | boolean | null;
1436
- optional: boolean;
1437
- }>> | Readonly<{
1438
- type: "parameter";
1439
- }>;
1440
- }>>]>, undefined>;
1441
- }, undefined>, v.ReadonlyAction<{
1442
- name: string;
1443
- values: Readonly<Readonly<{
1444
- type: "select";
1445
- readonly options: readonly [string, ...string[]];
1446
- defaultValue: string | null;
1447
- optional: boolean;
1448
- labels: {
1449
- [x: string]: string;
1450
- };
1451
- }>> | Readonly<Readonly<{
1452
- type: "toggle";
1453
- valueType: string;
1454
- defaultValue: string | number | boolean | null;
1455
- optional: boolean;
1456
- }>> | Readonly<{
1457
- type: "parameter";
1458
- }>;
1459
- readonly gatePaths: readonly (readonly (string | number)[])[];
1460
- config: Readonly<Readonly<{
1461
- type: "enable";
1462
- values: Readonly<Readonly<{
1463
- type: "select";
1464
- readonly options: readonly [string, ...string[]];
1465
- defaultValue: string | null;
1466
- optional: boolean;
1467
- labels: {
1468
- [x: string]: string;
1469
- };
1470
- }>> | Readonly<Readonly<{
1471
- type: "toggle";
1472
- valueType: string;
1473
- defaultValue: string | number | boolean | null;
1474
- optional: boolean;
1475
- }>> | Readonly<{
1476
- type: "parameter";
1477
- }>;
1478
- }>> | Readonly<Readonly<{
1479
- type: "match";
1480
- readonly matchPath: readonly (string | number)[];
1481
- selectMap: Readonly<{
1482
- type: "parameter";
1483
- }> | {
1484
- [x: string]: Readonly<Readonly<{
1485
- type: "select";
1486
- readonly options: readonly [string, ...string[]];
1487
- defaultValue: string | null;
1488
- optional: boolean;
1489
- labels: {
1490
- [x: string]: string;
1491
- };
1492
- }>> | Readonly<Readonly<{
1493
- type: "toggle";
1494
- valueType: string;
1495
- defaultValue: string | number | boolean | null;
1496
- optional: boolean;
1497
- }>> | null;
1498
- };
1499
- }>> | Readonly<Readonly<{
1500
- type: "unless";
1501
- readonly unlessPath: readonly (string | number)[];
1502
- readonly disabledValues: readonly (string | number | boolean | null)[];
1503
- values: Readonly<Readonly<{
1504
- type: "select";
1505
- readonly options: readonly [string, ...string[]];
1506
- defaultValue: string | null;
1507
- optional: boolean;
1508
- labels: {
1509
- [x: string]: string;
1510
- };
1511
- }>> | Readonly<Readonly<{
1512
- type: "toggle";
1513
- valueType: string;
1514
- defaultValue: string | number | boolean | null;
1515
- optional: boolean;
1516
- }>> | Readonly<{
1517
- type: "parameter";
1518
- }>;
1519
- }>> | null;
1520
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1521
- name: string;
1522
- values: Readonly<Readonly<{
1523
- type: "select";
1524
- readonly options: readonly [string, ...string[]];
1525
- defaultValue: string | null;
1526
- optional: boolean;
1527
- labels: {
1528
- [x: string]: string;
1529
- };
1530
- }>> | Readonly<Readonly<{
1531
- type: "toggle";
1532
- valueType: string;
1533
- defaultValue: string | number | boolean | null;
1534
- optional: boolean;
1535
- }>> | Readonly<{
1536
- type: "parameter";
1537
- }>;
1538
- readonly gatePaths: readonly (readonly (string | number)[])[];
1539
- config: Readonly<Readonly<{
1540
- type: "enable";
1541
- values: Readonly<Readonly<{
1542
- type: "select";
1543
- readonly options: readonly [string, ...string[]];
1544
- defaultValue: string | null;
1545
- optional: boolean;
1546
- labels: {
1547
- [x: string]: string;
1548
- };
1549
- }>> | Readonly<Readonly<{
1550
- type: "toggle";
1551
- valueType: string;
1552
- defaultValue: string | number | boolean | null;
1553
- optional: boolean;
1554
- }>> | Readonly<{
1555
- type: "parameter";
1556
- }>;
1557
- }>> | Readonly<Readonly<{
1558
- type: "match";
1559
- readonly matchPath: readonly (string | number)[];
1560
- selectMap: Readonly<{
1561
- type: "parameter";
1562
- }> | {
1563
- [x: string]: Readonly<Readonly<{
1564
- type: "select";
1565
- readonly options: readonly [string, ...string[]];
1566
- defaultValue: string | null;
1567
- optional: boolean;
1568
- labels: {
1569
- [x: string]: string;
1570
- };
1571
- }>> | Readonly<Readonly<{
1572
- type: "toggle";
1573
- valueType: string;
1574
- defaultValue: string | number | boolean | null;
1575
- optional: boolean;
1576
- }>> | null;
1577
- };
1578
- }>> | Readonly<Readonly<{
1579
- type: "unless";
1580
- readonly unlessPath: readonly (string | number)[];
1581
- readonly disabledValues: readonly (string | number | boolean | null)[];
1582
- values: Readonly<Readonly<{
1583
- type: "select";
1584
- readonly options: readonly [string, ...string[]];
1585
- defaultValue: string | null;
1586
- optional: boolean;
1587
- labels: {
1588
- [x: string]: string;
1589
- };
1590
- }>> | Readonly<Readonly<{
1591
- type: "toggle";
1592
- valueType: string;
1593
- defaultValue: string | number | boolean | null;
1594
- optional: boolean;
1595
- }>> | Readonly<{
1596
- type: "parameter";
1597
- }>;
1598
- }>> | null;
1599
- }>[]>]>;
1600
- readonly components: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1601
- readonly name: v.StringSchema<undefined>;
1602
- readonly paths: 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)[])[]>]>;
1603
- readonly dependencies: v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>;
1604
- }, undefined>, v.ReadonlyAction<{
1605
- name: string;
1606
- readonly paths: readonly (readonly (string | number)[])[];
1607
- readonly dependencies: readonly string[];
1608
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1609
- name: string;
1610
- readonly paths: readonly (readonly (string | number)[])[];
1611
- readonly dependencies: readonly string[];
1612
- }>[]>]>;
1613
- readonly collections: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
1614
- readonly name: v.StringSchema<undefined>;
1615
- readonly builder: v.LazySchema<SerialisedSchemaType>;
1616
- readonly min: v.NumberSchema<undefined>;
1617
- readonly max: v.NumberSchema<undefined>;
1618
- readonly gatePaths: 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)[])[]>]>;
1619
- readonly config: v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
1620
- readonly type: v.LiteralSchema<"enable", undefined>;
1621
- readonly builder: v.LazySchema<SerialisedSchemaType>;
1622
- readonly min: v.NumberSchema<undefined>;
1623
- readonly max: v.NumberSchema<undefined>;
1624
- }, undefined>, v.ObjectSchema<{
1625
- readonly type: v.LiteralSchema<"match", undefined>;
1626
- readonly matchPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
1627
- readonly selectMap: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.ObjectSchema<{
1628
- readonly builder: v.LazySchema<SerialisedSchemaType>;
1629
- readonly min: v.NumberSchema<undefined>;
1630
- readonly max: v.NumberSchema<undefined>;
1631
- }, undefined>, undefined>, undefined>;
1632
- }, undefined>, v.ObjectSchema<{
1633
- readonly type: v.LiteralSchema<"unless", undefined>;
1634
- readonly unlessPath: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>;
1635
- readonly disabledValues: v.SchemaWithPipe<readonly [v.ArraySchema<v.NullableSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>, v.ReadonlyAction<(string | number | boolean | null)[]>]>;
1636
- readonly builder: v.LazySchema<SerialisedSchemaType>;
1637
- readonly min: v.NumberSchema<undefined>;
1638
- readonly max: v.NumberSchema<undefined>;
1639
- }, undefined>], undefined>, undefined>;
1640
- }, undefined>, undefined>, v.ReadonlyAction<{
1641
- name: string;
1642
- builder: BuilderSerialised;
1643
- min: number;
1644
- max: number;
1645
- readonly gatePaths: readonly (readonly (string | number)[])[];
1646
- config: {
1647
- type: "enable";
1648
- builder: BuilderSerialised;
1649
- min: number;
1650
- max: number;
1651
- } | {
1652
- type: "match";
1653
- readonly matchPath: readonly (string | number)[];
1654
- selectMap: {
1655
- [x: string]: {
1656
- builder: BuilderSerialised;
1657
- min: number;
1658
- max: number;
1659
- } | null;
1660
- };
1661
- } | {
1662
- type: "unless";
1663
- readonly unlessPath: readonly (string | number)[];
1664
- readonly disabledValues: readonly (string | number | boolean | null)[];
1665
- builder: BuilderSerialised;
1666
- min: number;
1667
- max: number;
1668
- } | null;
1669
- }[]>]>;
1670
- readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1671
- readonly name: v.StringSchema<undefined>;
1672
- readonly kind: v.PicklistSchema<["option", "component", "collection"], undefined>;
1673
- }, undefined>, v.ReadonlyAction<{
1674
- name: string;
1675
- kind: "collection" | "option" | "component";
1676
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1677
- name: string;
1678
- kind: "collection" | "option" | "component";
1679
- }>[]>]>;
1680
- }, undefined>, v.ReadonlyAction<{
1681
- readonly options: readonly Readonly<{
1682
- name: string;
1683
- values: Readonly<Readonly<{
1684
- type: "select";
1685
- readonly options: readonly [string, ...string[]];
1686
- defaultValue: string | null;
1687
- optional: boolean;
1688
- labels: {
1689
- [x: string]: string;
1690
- };
1691
- }>> | Readonly<Readonly<{
1692
- type: "toggle";
1693
- valueType: string;
1694
- defaultValue: string | number | boolean | null;
1695
- optional: boolean;
1696
- }>> | Readonly<{
1697
- type: "parameter";
1698
- }>;
1699
- readonly gatePaths: readonly (readonly (string | number)[])[];
1700
- config: Readonly<Readonly<{
1701
- type: "enable";
1702
- values: Readonly<Readonly<{
1703
- type: "select";
1704
- readonly options: readonly [string, ...string[]];
1705
- defaultValue: string | null;
1706
- optional: boolean;
1707
- labels: {
1708
- [x: string]: string;
1709
- };
1710
- }>> | Readonly<Readonly<{
1711
- type: "toggle";
1712
- valueType: string;
1713
- defaultValue: string | number | boolean | null;
1714
- optional: boolean;
1715
- }>> | Readonly<{
1716
- type: "parameter";
1717
- }>;
1718
- }>> | Readonly<Readonly<{
1719
- type: "match";
1720
- readonly matchPath: readonly (string | number)[];
1721
- selectMap: Readonly<{
1722
- type: "parameter";
1723
- }> | {
1724
- [x: string]: Readonly<Readonly<{
1725
- type: "select";
1726
- readonly options: readonly [string, ...string[]];
1727
- defaultValue: string | null;
1728
- optional: boolean;
1729
- labels: {
1730
- [x: string]: string;
1731
- };
1732
- }>> | Readonly<Readonly<{
1733
- type: "toggle";
1734
- valueType: string;
1735
- defaultValue: string | number | boolean | null;
1736
- optional: boolean;
1737
- }>> | null;
1738
- };
1739
- }>> | Readonly<Readonly<{
1740
- type: "unless";
1741
- readonly unlessPath: readonly (string | number)[];
1742
- readonly disabledValues: readonly (string | number | boolean | null)[];
1743
- values: Readonly<Readonly<{
1744
- type: "select";
1745
- readonly options: readonly [string, ...string[]];
1746
- defaultValue: string | null;
1747
- optional: boolean;
1748
- labels: {
1749
- [x: string]: string;
1750
- };
1751
- }>> | Readonly<Readonly<{
1752
- type: "toggle";
1753
- valueType: string;
1754
- defaultValue: string | number | boolean | null;
1755
- optional: boolean;
1756
- }>> | Readonly<{
1757
- type: "parameter";
1758
- }>;
1759
- }>> | null;
1760
- }>[];
1761
- readonly components: readonly Readonly<{
1762
- name: string;
1763
- readonly paths: readonly (readonly (string | number)[])[];
1764
- readonly dependencies: readonly string[];
1765
- }>[];
1766
- readonly collections: readonly {
1767
- name: string;
1768
- builder: BuilderSerialised;
1769
- min: number;
1770
- max: number;
1771
- readonly gatePaths: readonly (readonly (string | number)[])[];
1772
- config: {
1773
- type: "enable";
1774
- builder: BuilderSerialised;
1775
- min: number;
1776
- max: number;
1777
- } | {
1778
- type: "match";
1779
- readonly matchPath: readonly (string | number)[];
1780
- selectMap: {
1781
- [x: string]: {
1782
- builder: BuilderSerialised;
1783
- min: number;
1784
- max: number;
1785
- } | null;
1786
- };
1787
- } | {
1788
- type: "unless";
1789
- readonly unlessPath: readonly (string | number)[];
1790
- readonly disabledValues: readonly (string | number | boolean | null)[];
1791
- builder: BuilderSerialised;
1792
- min: number;
1793
- max: number;
1794
- } | null;
1795
- }[];
1796
- readonly expectations: readonly Readonly<{
1797
- name: string;
1798
- kind: "collection" | "option" | "component";
1799
- }>[];
1800
- }>]>;
1801
- export declare const BuilderUIPageSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1802
- readonly type: v.LiteralSchema<"page", undefined>;
1803
- readonly label: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1804
- readonly paths: 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)[])[]>]>;
1805
- }, undefined>, v.ReadonlyAction<{
1806
- type: "page";
1807
- label: string | null;
1808
- readonly paths: readonly (readonly (string | number)[])[];
1809
- }>]>;
1810
- export type BuilderUIPageSerialised = v.InferOutput<typeof BuilderUIPageSerialisedSchema>;
1811
- export declare const BuilderUIDescribeSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1812
- readonly type: v.LiteralSchema<"describe", undefined>;
1813
- readonly label: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1814
- readonly paths: 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)[])[]>]>;
1815
- }, undefined>, v.ReadonlyAction<{
1816
- type: "describe";
1817
- label: string | null;
1818
- readonly paths: readonly (readonly (string | number)[])[];
1819
- }>]>;
1820
- export type BuilderUIDescribeSerialised = v.InferOutput<typeof BuilderUIDescribeSerialisedSchema>;
1821
- export declare const BuilderUICollectionSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1822
- readonly type: v.LiteralSchema<"collection", undefined>;
1823
- readonly name: v.StringSchema<undefined>;
1824
- readonly label: v.StringSchema<undefined>;
1825
- readonly items: v.LazySchema<UIItemsSerialisedSchemaType>;
1826
- }, undefined>, v.ReadonlyAction<{
1827
- type: "collection";
1828
- name: string;
1829
- label: string;
1830
- items: BuilderUIItemsSerialised;
1831
- }>]>;
1832
- export declare const BuilderUIItemSerialisedSchema: v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.ObjectSchema<{
1833
- readonly type: v.LiteralSchema<"page", undefined>;
1834
- readonly label: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1835
- readonly paths: 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)[])[]>]>;
1836
- }, undefined>, v.ObjectSchema<{
1837
- readonly type: v.LiteralSchema<"describe", undefined>;
1838
- readonly label: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1839
- readonly paths: 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)[])[]>]>;
1840
- }, undefined>, v.ObjectSchema<{
1841
- readonly type: v.LiteralSchema<"collection", undefined>;
1842
- readonly name: v.StringSchema<undefined>;
1843
- readonly label: v.StringSchema<undefined>;
1844
- readonly items: v.LazySchema<UIItemsSerialisedSchemaType>;
1845
- }, undefined>], undefined>, v.ReadonlyAction<{
1846
- type: "page";
1847
- label: string | null;
1848
- readonly paths: readonly (readonly (string | number)[])[];
1849
- } | {
1850
- type: "describe";
1851
- label: string | null;
1852
- readonly paths: readonly (readonly (string | number)[])[];
1853
- } | {
1854
- type: "collection";
1855
- name: string;
1856
- label: string;
1857
- items: BuilderUIItemsSerialised;
1858
- }>]>;
1859
- export declare const BuilderUIItemsSerialisedSchema: v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1860
- readonly type: v.LiteralSchema<"page", undefined>;
1861
- readonly label: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1862
- readonly paths: 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)[])[]>]>;
1863
- }, undefined>, v.ObjectSchema<{
1864
- readonly type: v.LiteralSchema<"describe", undefined>;
1865
- readonly label: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1866
- readonly paths: 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)[])[]>]>;
1867
- }, undefined>, v.ObjectSchema<{
1868
- readonly type: v.LiteralSchema<"collection", undefined>;
1869
- readonly name: v.StringSchema<undefined>;
1870
- readonly label: v.StringSchema<undefined>;
1871
- readonly items: v.LazySchema<UIItemsSerialisedSchemaType>;
1872
- }, undefined>], undefined>, undefined>, v.ReadonlyAction<({
1873
- type: "page";
1874
- label: string | null;
1875
- readonly paths: readonly (readonly (string | number)[])[];
1876
- } | {
1877
- type: "describe";
1878
- label: string | null;
1879
- readonly paths: readonly (readonly (string | number)[])[];
1880
- } | {
1881
- type: "collection";
1882
- name: string;
1883
- label: string;
1884
- items: BuilderUIItemsSerialised;
1885
- })[]>]>;