@builder-builder/builder 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/dist/bb.d.ts +28 -0
  2. package/dist/bb.js +49 -0
  3. package/dist/check.d.ts +1 -1
  4. package/dist/check.js +4 -2
  5. package/dist/entities/builder/bind.d.ts +4 -85
  6. package/dist/entities/builder/bind.js +1 -9
  7. package/dist/entities/builder/builder.d.ts +17 -509
  8. package/dist/entities/builder/builder.js +19 -79
  9. package/dist/entities/builder/factory.d.ts +7 -0
  10. package/dist/entities/builder/factory.js +4 -0
  11. package/dist/entities/builder/index.d.ts +3 -6
  12. package/dist/entities/builder/index.js +1 -2
  13. package/dist/entities/collection/collection.d.ts +69 -19
  14. package/dist/entities/collection/collection.js +7 -25
  15. package/dist/entities/collection/config.d.ts +38 -1095
  16. package/dist/entities/collection/config.js +8 -8
  17. package/dist/entities/collection/expectation.d.ts +8 -4
  18. package/dist/entities/collection/index.d.ts +2 -2
  19. package/dist/entities/collection/when.d.ts +5 -4
  20. package/dist/entities/component/component.d.ts +264 -293
  21. package/dist/entities/component/component.js +5 -5
  22. package/dist/entities/component/details.d.ts +32 -57
  23. package/dist/entities/component/details.js +8 -8
  24. package/dist/entities/component/expectation.d.ts +7 -4
  25. package/dist/entities/component/expectation.js +0 -3
  26. package/dist/entities/component/field.d.ts +50 -0
  27. package/dist/entities/component/field.js +41 -0
  28. package/dist/entities/component/index.d.ts +4 -2
  29. package/dist/entities/component/index.js +2 -1
  30. package/dist/entities/component/when.d.ts +1 -1
  31. package/dist/entities/component/when.js +2 -2
  32. package/dist/entities/entry.d.ts +4 -0
  33. package/dist/entities/expectation.d.ts +10 -22
  34. package/dist/entities/expectation.js +2 -7
  35. package/dist/entities/index.d.ts +20 -17
  36. package/dist/entities/index.js +9 -8
  37. package/dist/entities/kind.d.ts +8 -5
  38. package/dist/entities/kind.js +3 -4
  39. package/dist/entities/model/bind.d.ts +83 -0
  40. package/dist/entities/model/expectation.d.ts +16 -0
  41. package/dist/entities/model/index.d.ts +7 -0
  42. package/dist/entities/model/index.js +2 -0
  43. package/dist/entities/model/methods.d.ts +57 -0
  44. package/dist/entities/{builder → model}/methods.js +8 -8
  45. package/dist/entities/model/model.d.ts +39 -0
  46. package/dist/entities/model/model.js +73 -0
  47. package/dist/entities/model/models.d.ts +39 -0
  48. package/dist/entities/model/models.js +14 -0
  49. package/dist/entities/{builder → model}/state.d.ts +10 -10
  50. package/dist/entities/option/index.d.ts +1 -1
  51. package/dist/entities/option/index.js +1 -1
  52. package/dist/entities/option/option.d.ts +210 -209
  53. package/dist/entities/option/option.js +5 -5
  54. package/dist/entities/option/select.d.ts +2 -12
  55. package/dist/entities/option/select.js +6 -3
  56. package/dist/entities/option/toggle.d.ts +2 -9
  57. package/dist/entities/option/toggle.js +3 -3
  58. package/dist/entities/option/values.d.ts +3 -21
  59. package/dist/entities/option/values.js +8 -2
  60. package/dist/entities/option/when.d.ts +5 -4
  61. package/dist/entities/refs.d.ts +6 -0
  62. package/dist/entities/refs.js +1 -0
  63. package/dist/entities/serialise.d.ts +388 -2919
  64. package/dist/entities/serialise.js +116 -17
  65. package/dist/entities/ui/describe.d.ts +22 -31
  66. package/dist/entities/ui/describe.js +1 -1
  67. package/dist/entities/ui/index.d.ts +2 -5
  68. package/dist/entities/ui/index.js +1 -2
  69. package/dist/entities/ui/page.d.ts +22 -31
  70. package/dist/entities/ui/page.js +1 -1
  71. package/dist/entities/ui/pages.d.ts +11 -8
  72. package/dist/entities/ui/pages.js +1 -1
  73. package/dist/entities/ui/ui.d.ts +22 -1194
  74. package/dist/entities/ui/ui.js +16 -28
  75. package/dist/entities/ui/uis.d.ts +5 -15
  76. package/dist/entities/ui/uis.js +12 -18
  77. package/dist/entities/validated.d.ts +35 -0
  78. package/dist/entities/validated.js +1 -0
  79. package/dist/entities/when.d.ts +64 -56
  80. package/dist/entities/when.js +1 -0
  81. package/dist/environment.d.ts +5 -0
  82. package/dist/environment.js +2 -0
  83. package/dist/exception.d.ts +8 -3
  84. package/dist/exception.js +3 -0
  85. package/dist/index.d.ts +21 -28
  86. package/dist/index.js +5 -13
  87. package/dist/instance.d.ts +56 -0
  88. package/dist/instance.js +10 -0
  89. package/dist/mappers/index.d.ts +7 -7
  90. package/dist/mappers/index.js +5 -4
  91. package/dist/mappers/instance.d.ts +3 -0
  92. package/dist/mappers/instance.js +35 -0
  93. package/dist/mappers/order.d.ts +6 -0
  94. package/dist/mappers/order.js +22 -0
  95. package/dist/mappers/render/pages.d.ts +4 -4
  96. package/dist/mappers/render/render.d.ts +2 -3
  97. package/dist/mappers/render/render.js +83 -78
  98. package/dist/mappers/resolve.d.ts +5 -9
  99. package/dist/mappers/resolve.js +25 -33
  100. package/dist/mappers/variants/index.d.ts +1 -0
  101. package/dist/mappers/variants/index.js +1 -0
  102. package/dist/mappers/variants/option-graph.d.ts +19 -0
  103. package/dist/mappers/{models → variants}/option-graph.js +33 -22
  104. package/dist/mappers/variants/variants.d.ts +3 -0
  105. package/dist/mappers/variants/variants.js +57 -0
  106. package/dist/private.d.ts +4 -0
  107. package/dist/private.js +4 -0
  108. package/dist/references.d.ts +13 -48
  109. package/dist/references.js +6 -14
  110. package/dist/serialisable.d.ts +1 -9
  111. package/dist/serialisable.js +2 -3
  112. package/dist/validate/brand.d.ts +14 -0
  113. package/dist/validate/brand.js +17 -0
  114. package/dist/validate/builder.d.ts +4 -0
  115. package/dist/validate/builder.js +27 -0
  116. package/dist/validate/expectations.d.ts +10 -0
  117. package/dist/validate/expectations.js +12 -0
  118. package/dist/validate/index.d.ts +18 -0
  119. package/dist/validate/index.js +9 -0
  120. package/dist/validate/instance.d.ts +19 -0
  121. package/dist/validate/instance.js +46 -0
  122. package/dist/validate/model.d.ts +36 -0
  123. package/dist/validate/model.js +196 -0
  124. package/dist/validate/resolve.d.ts +16 -0
  125. package/dist/validate/resolve.js +91 -0
  126. package/dist/validate/result.d.ts +8 -0
  127. package/dist/validate/result.js +4 -0
  128. package/dist/validate/ui.d.ts +8 -0
  129. package/dist/validate/ui.js +77 -0
  130. package/dist/validate/variants.d.ts +59 -0
  131. package/dist/validate/variants.js +102 -0
  132. package/package.json +5 -4
  133. package/dist/entities/bind.d.ts +0 -4
  134. package/dist/entities/bind.js +0 -44
  135. package/dist/entities/builder/builders.d.ts +0 -35
  136. package/dist/entities/builder/builders.js +0 -19
  137. package/dist/entities/builder/expectation.d.ts +0 -12
  138. package/dist/entities/builder/methods.d.ts +0 -58
  139. package/dist/entities/builder/validate.d.ts +0 -3
  140. package/dist/entities/builder/validate.js +0 -108
  141. package/dist/entities/errors.d.ts +0 -21
  142. package/dist/entities/ui/bind.d.ts +0 -10
  143. package/dist/entities/ui/bind.js +0 -9
  144. package/dist/entities/ui/validate.d.ts +0 -8
  145. package/dist/entities/ui/validate.js +0 -21
  146. package/dist/entities/validate.d.ts +0 -28
  147. package/dist/mappers/assert/builder.d.ts +0 -2
  148. package/dist/mappers/assert/builder.js +0 -46
  149. package/dist/mappers/assert/expectation.d.ts +0 -2
  150. package/dist/mappers/assert/expectation.js +0 -23
  151. package/dist/mappers/assert/index.d.ts +0 -6
  152. package/dist/mappers/assert/index.js +0 -4
  153. package/dist/mappers/assert/model.d.ts +0 -13
  154. package/dist/mappers/assert/model.js +0 -47
  155. package/dist/mappers/assert/models.d.ts +0 -33
  156. package/dist/mappers/assert/models.js +0 -74
  157. package/dist/mappers/assert/ui.d.ts +0 -2
  158. package/dist/mappers/assert/ui.js +0 -22
  159. package/dist/mappers/instance/index.d.ts +0 -1
  160. package/dist/mappers/instance/index.js +0 -1
  161. package/dist/mappers/instance/instance.d.ts +0 -4
  162. package/dist/mappers/instance/instance.js +0 -33
  163. package/dist/mappers/models/component-graph.d.ts +0 -9
  164. package/dist/mappers/models/component-graph.js +0 -51
  165. package/dist/mappers/models/graph.d.ts +0 -12
  166. package/dist/mappers/models/graph.js +0 -17
  167. package/dist/mappers/models/index.d.ts +0 -1
  168. package/dist/mappers/models/index.js +0 -1
  169. package/dist/mappers/models/models.d.ts +0 -3
  170. package/dist/mappers/models/models.js +0 -37
  171. package/dist/mappers/models/option-graph.d.ts +0 -9
  172. package/dist/mappers/order/index.d.ts +0 -2
  173. package/dist/mappers/order/index.js +0 -1
  174. package/dist/mappers/order/order.d.ts +0 -14
  175. package/dist/mappers/order/order.js +0 -31
  176. package/dist/mappers/refs.d.ts +0 -12
  177. package/dist/mappers/refs.js +0 -36
  178. package/dist/model.d.ts +0 -35
  179. package/dist/model.js +0 -9
  180. package/dist/walker/index.d.ts +0 -2
  181. package/dist/walker/index.js +0 -1
  182. package/dist/walker/walkable.d.ts +0 -4
  183. package/dist/walker/walkable.js +0 -4
  184. package/dist/walker/walker.d.ts +0 -26
  185. package/dist/walker/walker.js +0 -115
  186. package/dist/walker/walkers.d.ts +0 -9
  187. package/dist/walker/walkers.js +0 -55
  188. /package/dist/entities/{builder/expectation.js → entry.js} +0 -0
  189. /package/dist/entities/{builder/state.js → model/bind.js} +0 -0
  190. /package/dist/entities/{errors.js → model/expectation.js} +0 -0
  191. /package/dist/entities/{validate.js → model/state.js} +0 -0
@@ -1,1201 +1,29 @@
1
- import type { BuilderParameters, BuilderReferences, Paramable } from '../../references';
2
- import type { Builder, BuilderGeneric, BuilderStateAsserted, BuilderStateOf } from '../builder/index';
1
+ import type { Paramable, ParamableSerialised } from '../../references';
2
+ import type { BuilderExpectation, BuilderExpectations, BuilderExpectationsSerialised } from '../expectation';
3
3
  import type { CollectionNamesOf } from '../collection/index';
4
- import type { BuilderExpectation, BuilderExpectations } from '../expectation';
4
+ import type { BuilderModel, BuilderModelGeneric, BuilderModelStateOf } from '../model/model';
5
+ import type { BuilderModelStateAsserted } from '../model/expectation';
5
6
  import type { BuilderValidPathsOf } from '../when';
6
- import type { BuilderUIBindings } from './bind';
7
- import type { BuilderUIItems } from './pages';
7
+ import type { BuilderUIItems, BuilderUIItemsSerialised } from './pages';
8
8
  import * as v from 'valibot';
9
- export declare class BuilderUI<BuilderType extends Paramable<BuilderGeneric> = BuilderGeneric, Items extends BuilderUIItems = BuilderUIItems> {
9
+ export type BuilderUIs = ReadonlyArray<Paramable<BuilderUI>>;
10
+ export type BuilderUIsSerialised = ReadonlyArray<ParamableSerialised<BuilderUISerialised>>;
11
+ export declare class BuilderUI<Model extends BuilderModelGeneric = BuilderModelGeneric> {
10
12
  readonly type: 'ui';
11
- readonly builder: BuilderType;
12
- readonly parameters: BuilderParameters;
13
- readonly items: Items;
13
+ readonly model: Model;
14
+ readonly uis: BuilderUIs;
15
+ readonly items: BuilderUIItems;
14
16
  readonly expectations: BuilderExpectations;
15
- readonly references: BuilderReferences;
16
- readonly id: `${string}-${string}-${string}-${string}-${string}`;
17
- constructor(builder: BuilderType, parameters: BuilderParameters, items: Items, expectations: BuilderExpectations, references?: BuilderReferences);
18
- expect<const Expectations extends readonly [BuilderExpectation, ...ReadonlyArray<BuilderExpectation>]>(...expectations: Expectations): BuilderUI<Builder<BuilderStateAsserted<BuilderStateOf<BuilderType>, Expectations>>>;
19
- page(label: Paramable<string>, paths: Paramable<BuilderValidPathsOf<BuilderType>>): BuilderUI<BuilderType>;
20
- describe(label: Paramable<string>, paths: Paramable<BuilderValidPathsOf<BuilderType>>): BuilderUI<BuilderType>;
21
- pages<const Name extends CollectionNamesOf<BuilderStateOf<BuilderType>>>(name: Name, label: Paramable<string>, itemUI: Paramable<BuilderUIGeneric>): BuilderUI<BuilderType>;
22
- bind(bindings: BuilderUIBindings<BuilderType>): BuilderUI<BuilderType>;
17
+ constructor(uis: BuilderUIs, items: BuilderUIItems, expectations: BuilderExpectations);
18
+ expect<const Exps extends readonly [BuilderExpectation, ...ReadonlyArray<BuilderExpectation>]>(...expectations: Exps): BuilderUI<BuilderModel<BuilderModelStateAsserted<BuilderModelStateOf<Model>, Exps>>>;
19
+ page(label: Paramable<string>, paths: Paramable<BuilderValidPathsOf<Model>>): BuilderUI<Model>;
20
+ describe(label: Paramable<string>, paths: Paramable<BuilderValidPathsOf<Model>>): BuilderUI<Model>;
21
+ pages<const Name extends CollectionNamesOf<BuilderModelStateOf<Model>>>(name: Name, label: Paramable<string>, itemUI: Paramable<BuilderUI<BuilderModelGeneric>>): BuilderUI<Model>;
23
22
  }
24
23
  export declare const BuilderUISchema: v.InstanceSchema<typeof BuilderUI, undefined>;
25
- export type BuilderUIGeneric = BuilderUI<Paramable<BuilderGeneric>>;
26
- export declare const BuilderUISerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
27
- readonly builder: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
28
- readonly type: v.LiteralSchema<"parameter", undefined>;
29
- readonly id: v.StringSchema<undefined>;
30
- readonly name: v.StringSchema<undefined>;
31
- }, undefined>, v.ReadonlyAction<{
32
- type: "parameter";
33
- id: string;
34
- name: string;
35
- }>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.LazySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
36
- readonly parameters: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
37
- readonly type: v.LiteralSchema<"parameter", undefined>;
38
- readonly id: v.StringSchema<undefined>;
39
- readonly name: v.StringSchema<undefined>;
40
- }, undefined>, v.ReadonlyAction<{
41
- type: "parameter";
42
- id: string;
43
- name: string;
44
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
45
- type: "parameter";
46
- id: string;
47
- name: string;
48
- }>[]>]>;
49
- readonly options: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
50
- readonly name: v.StringSchema<undefined>;
51
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
52
- readonly type: v.LiteralSchema<"parameter", undefined>;
53
- readonly id: v.StringSchema<undefined>;
54
- readonly name: v.StringSchema<undefined>;
55
- }, undefined>, v.ReadonlyAction<{
56
- type: "parameter";
57
- id: string;
58
- name: string;
59
- }>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
60
- readonly type: v.LiteralSchema<"select", undefined>;
61
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
62
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
63
- readonly isOptional: v.BooleanSchema<undefined>;
64
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
65
- }, undefined>, v.MetadataAction<{
66
- type: "select";
67
- readonly options: readonly [string, ...string[]];
68
- defaultValue: string | null;
69
- isOptional: boolean;
70
- optionLabels: {
71
- [x: string]: string;
72
- };
73
- }, {
74
- readonly serialisable: typeof import("..").BuilderSelectType;
75
- readonly instance: v.InstanceSchema<typeof import("..").BuilderSelectType, undefined>;
76
- }>, v.ReadonlyAction<{
77
- type: "select";
78
- readonly options: readonly [string, ...string[]];
79
- defaultValue: string | null;
80
- isOptional: boolean;
81
- optionLabels: {
82
- [x: string]: string;
83
- };
84
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
85
- readonly type: v.LiteralSchema<"toggle", undefined>;
86
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
87
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
88
- readonly isOptional: v.BooleanSchema<undefined>;
89
- }, undefined>, v.MetadataAction<{
90
- type: "toggle";
91
- valueType: "string" | "number" | "boolean";
92
- defaultValue: string | number | boolean | null;
93
- isOptional: boolean;
94
- }, {
95
- readonly serialisable: typeof import("..").BuilderToggleType;
96
- readonly instance: v.InstanceSchema<typeof import("..").BuilderToggleType, undefined>;
97
- }>, v.ReadonlyAction<{
98
- type: "toggle";
99
- valueType: "string" | "number" | "boolean";
100
- defaultValue: string | number | boolean | null;
101
- isOptional: boolean;
102
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
103
- type: "select";
104
- readonly options: readonly [string, ...string[]];
105
- defaultValue: string | null;
106
- isOptional: boolean;
107
- optionLabels: {
108
- [x: string]: string;
109
- };
110
- }> | Readonly<{
111
- type: "toggle";
112
- valueType: "string" | "number" | "boolean";
113
- defaultValue: string | number | boolean | null;
114
- isOptional: boolean;
115
- }>>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
116
- readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
117
- readonly type: v.LiteralSchema<"select", undefined>;
118
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
119
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
120
- readonly isOptional: v.BooleanSchema<undefined>;
121
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
122
- }, undefined>, v.MetadataAction<{
123
- type: "select";
124
- readonly options: readonly [string, ...string[]];
125
- defaultValue: string | null;
126
- isOptional: boolean;
127
- optionLabels: {
128
- [x: string]: string;
129
- };
130
- }, {
131
- readonly serialisable: typeof import("..").BuilderSelectType;
132
- readonly instance: v.InstanceSchema<typeof import("..").BuilderSelectType, undefined>;
133
- }>, v.ReadonlyAction<{
134
- type: "select";
135
- readonly options: readonly [string, ...string[]];
136
- defaultValue: string | null;
137
- isOptional: boolean;
138
- optionLabels: {
139
- [x: string]: string;
140
- };
141
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
142
- readonly type: v.LiteralSchema<"toggle", undefined>;
143
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
144
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
145
- readonly isOptional: v.BooleanSchema<undefined>;
146
- }, undefined>, v.MetadataAction<{
147
- type: "toggle";
148
- valueType: "string" | "number" | "boolean";
149
- defaultValue: string | number | boolean | null;
150
- isOptional: boolean;
151
- }, {
152
- readonly serialisable: typeof import("..").BuilderToggleType;
153
- readonly instance: v.InstanceSchema<typeof import("..").BuilderToggleType, undefined>;
154
- }>, v.ReadonlyAction<{
155
- type: "toggle";
156
- valueType: "string" | "number" | "boolean";
157
- defaultValue: string | number | boolean | null;
158
- isOptional: boolean;
159
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
160
- type: "select";
161
- readonly options: readonly [string, ...string[]];
162
- defaultValue: string | null;
163
- isOptional: boolean;
164
- optionLabels: {
165
- [x: string]: string;
166
- };
167
- }> | Readonly<{
168
- type: "toggle";
169
- valueType: "string" | "number" | "boolean";
170
- defaultValue: string | number | boolean | null;
171
- isOptional: boolean;
172
- }>>]>, v.GenericSchema], undefined>;
173
- }>]>;
174
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
175
- readonly type: v.LiteralSchema<"parameter", undefined>;
176
- readonly id: v.StringSchema<undefined>;
177
- readonly name: v.StringSchema<undefined>;
178
- }, undefined>, v.ReadonlyAction<{
179
- type: "parameter";
180
- id: string;
181
- name: string;
182
- }>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
183
- type: "parameter";
184
- id: string;
185
- name: string;
186
- }> | import("../..").BuilderParameter<string>, {
187
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
188
- }>]>, undefined>;
189
- }, undefined>, v.MetadataAction<{
190
- name: string;
191
- payload: unknown;
192
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
193
- type: "parameter";
194
- id: string;
195
- name: string;
196
- }> | import("../..").BuilderParameter<string> | undefined;
197
- }, {
198
- readonly serialisable: typeof import("..").BuilderOption;
199
- readonly instance: v.InstanceSchema<typeof import("..").BuilderOption, undefined>;
200
- }>, v.ReadonlyAction<{
201
- name: string;
202
- payload: unknown;
203
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
204
- type: "parameter";
205
- id: string;
206
- name: string;
207
- }> | import("../..").BuilderParameter<string> | undefined;
208
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
209
- name: string;
210
- payload: unknown;
211
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
212
- type: "parameter";
213
- id: string;
214
- name: string;
215
- }> | import("../..").BuilderParameter<string> | undefined;
216
- }>[]>]>;
217
- readonly components: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
218
- readonly name: v.StringSchema<undefined>;
219
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
220
- readonly type: v.LiteralSchema<"parameter", undefined>;
221
- readonly id: v.StringSchema<undefined>;
222
- readonly name: v.StringSchema<undefined>;
223
- }, undefined>, v.ReadonlyAction<{
224
- type: "parameter";
225
- id: string;
226
- name: string;
227
- }>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
228
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
229
- readonly type: v.LiteralSchema<"parameter", undefined>;
230
- readonly id: v.StringSchema<undefined>;
231
- readonly name: v.StringSchema<undefined>;
232
- }, undefined>, v.ReadonlyAction<{
233
- type: "parameter";
234
- id: string;
235
- name: string;
236
- }>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
237
- readonly name: v.StringSchema<undefined>;
238
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
239
- }, undefined>, v.MetadataAction<{
240
- name: string;
241
- kind: "option" | "component" | "collection" | "detail";
242
- }, {
243
- readonly serialisable: typeof BuilderExpectation;
244
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
245
- }>, v.ReadonlyAction<{
246
- name: string;
247
- kind: "option" | "component" | "collection" | "detail";
248
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
249
- name: string;
250
- kind: "option" | "component" | "collection" | "detail";
251
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
252
- type: "parameter";
253
- id: string;
254
- name: string;
255
- }> | import("../..").BuilderParameter<string> | readonly Readonly<{
256
- name: string;
257
- kind: "option" | "component" | "collection" | "detail";
258
- }>[], {
259
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
260
- readonly name: v.StringSchema<undefined>;
261
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
262
- }, undefined>, v.MetadataAction<{
263
- name: string;
264
- kind: "option" | "component" | "collection" | "detail";
265
- }, {
266
- readonly serialisable: typeof BuilderExpectation;
267
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
268
- }>, v.ReadonlyAction<{
269
- name: string;
270
- kind: "option" | "component" | "collection" | "detail";
271
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
272
- name: string;
273
- kind: "option" | "component" | "collection" | "detail";
274
- }>[]>]>;
275
- }>]>;
276
- }, undefined>, v.MetadataAction<{
277
- expectations: Readonly<{
278
- type: "parameter";
279
- id: string;
280
- name: string;
281
- }> | import("../..").BuilderParameter<string> | readonly Readonly<{
282
- name: string;
283
- kind: "option" | "component" | "collection" | "detail";
284
- }>[];
285
- }, {
286
- readonly serialisable: typeof import("..").BuilderComponentDetails;
287
- readonly instance: v.InstanceSchema<typeof import("..").BuilderComponentDetails, undefined>;
288
- }>, v.ReadonlyAction<{
289
- expectations: Readonly<{
290
- type: "parameter";
291
- id: string;
292
- name: string;
293
- }> | import("../..").BuilderParameter<string> | readonly Readonly<{
294
- name: string;
295
- kind: "option" | "component" | "collection" | "detail";
296
- }>[];
297
- }>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
298
- readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
299
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
300
- readonly type: v.LiteralSchema<"parameter", undefined>;
301
- readonly id: v.StringSchema<undefined>;
302
- readonly name: v.StringSchema<undefined>;
303
- }, undefined>, v.ReadonlyAction<{
304
- type: "parameter";
305
- id: string;
306
- name: string;
307
- }>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
308
- readonly name: v.StringSchema<undefined>;
309
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
310
- }, undefined>, v.MetadataAction<{
311
- name: string;
312
- kind: "option" | "component" | "collection" | "detail";
313
- }, {
314
- readonly serialisable: typeof BuilderExpectation;
315
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
316
- }>, v.ReadonlyAction<{
317
- name: string;
318
- kind: "option" | "component" | "collection" | "detail";
319
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
320
- name: string;
321
- kind: "option" | "component" | "collection" | "detail";
322
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
323
- type: "parameter";
324
- id: string;
325
- name: string;
326
- }> | import("../..").BuilderParameter<string> | readonly Readonly<{
327
- name: string;
328
- kind: "option" | "component" | "collection" | "detail";
329
- }>[], {
330
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
331
- readonly name: v.StringSchema<undefined>;
332
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
333
- }, undefined>, v.MetadataAction<{
334
- name: string;
335
- kind: "option" | "component" | "collection" | "detail";
336
- }, {
337
- readonly serialisable: typeof BuilderExpectation;
338
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
339
- }>, v.ReadonlyAction<{
340
- name: string;
341
- kind: "option" | "component" | "collection" | "detail";
342
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
343
- name: string;
344
- kind: "option" | "component" | "collection" | "detail";
345
- }>[]>]>;
346
- }>]>;
347
- }, undefined>, v.MetadataAction<{
348
- expectations: Readonly<{
349
- type: "parameter";
350
- id: string;
351
- name: string;
352
- }> | import("../..").BuilderParameter<string> | readonly Readonly<{
353
- name: string;
354
- kind: "option" | "component" | "collection" | "detail";
355
- }>[];
356
- }, {
357
- readonly serialisable: typeof import("..").BuilderComponentDetails;
358
- readonly instance: v.InstanceSchema<typeof import("..").BuilderComponentDetails, undefined>;
359
- }>, v.ReadonlyAction<{
360
- expectations: Readonly<{
361
- type: "parameter";
362
- id: string;
363
- name: string;
364
- }> | import("../..").BuilderParameter<string> | readonly Readonly<{
365
- name: string;
366
- kind: "option" | "component" | "collection" | "detail";
367
- }>[];
368
- }>]>, v.GenericSchema], undefined>;
369
- }>]>;
370
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
371
- readonly type: v.LiteralSchema<"parameter", undefined>;
372
- readonly id: v.StringSchema<undefined>;
373
- readonly name: v.StringSchema<undefined>;
374
- }, undefined>, v.ReadonlyAction<{
375
- type: "parameter";
376
- id: string;
377
- name: string;
378
- }>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
379
- type: "parameter";
380
- id: string;
381
- name: string;
382
- }> | import("../..").BuilderParameter<string>, {
383
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
384
- }>]>, undefined>;
385
- }, undefined>, v.MetadataAction<{
386
- name: string;
387
- payload: unknown;
388
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
389
- type: "parameter";
390
- id: string;
391
- name: string;
392
- }> | import("../..").BuilderParameter<string> | undefined;
393
- }, {
394
- readonly serialisable: typeof import("..").BuilderComponent;
395
- readonly instance: v.InstanceSchema<typeof import("..").BuilderComponent, undefined>;
396
- }>, v.ReadonlyAction<{
397
- name: string;
398
- payload: unknown;
399
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
400
- type: "parameter";
401
- id: string;
402
- name: string;
403
- }> | import("../..").BuilderParameter<string> | undefined;
404
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
405
- name: string;
406
- payload: unknown;
407
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
408
- type: "parameter";
409
- id: string;
410
- name: string;
411
- }> | import("../..").BuilderParameter<string> | undefined;
412
- }>[]>]>;
413
- readonly collections: v.SchemaWithPipe<readonly [v.ArraySchema<v.GenericSchema<import("..").BuilderCollectionSerialised>, undefined>, v.ReadonlyAction<import("..").BuilderCollectionSerialised[]>]>;
414
- readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
415
- readonly name: v.StringSchema<undefined>;
416
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
417
- }, undefined>, v.MetadataAction<{
418
- name: string;
419
- kind: "option" | "component" | "collection" | "detail";
420
- }, {
421
- readonly serialisable: typeof BuilderExpectation;
422
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
423
- }>, v.ReadonlyAction<{
424
- name: string;
425
- kind: "option" | "component" | "collection" | "detail";
426
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
427
- name: string;
428
- kind: "option" | "component" | "collection" | "detail";
429
- }>[]>]>;
430
- readonly references: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
431
- readonly parameter: v.StringSchema<undefined>;
432
- readonly id: v.StringSchema<undefined>;
433
- }, undefined>, v.ReadonlyAction<{
434
- parameter: string;
435
- id: string;
436
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
437
- parameter: string;
438
- id: string;
439
- }>[]>]>;
440
- }, undefined>, v.MetadataAction<{
441
- readonly parameters: readonly Readonly<{
442
- type: "parameter";
443
- id: string;
444
- name: string;
445
- }>[];
446
- readonly options: readonly Readonly<{
447
- name: string;
448
- payload: unknown;
449
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
450
- type: "parameter";
451
- id: string;
452
- name: string;
453
- }> | import("../..").BuilderParameter<string> | undefined;
454
- }>[];
455
- readonly components: readonly Readonly<{
456
- name: string;
457
- payload: unknown;
458
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
459
- type: "parameter";
460
- id: string;
461
- name: string;
462
- }> | import("../..").BuilderParameter<string> | undefined;
463
- }>[];
464
- readonly collections: readonly import("..").BuilderCollectionSerialised[];
465
- readonly expectations: readonly Readonly<{
466
- name: string;
467
- kind: "option" | "component" | "collection" | "detail";
468
- }>[];
469
- readonly references: readonly Readonly<{
470
- parameter: string;
471
- id: string;
472
- }>[];
473
- }, {
474
- readonly serialisable: typeof Builder;
475
- readonly instance: v.InstanceSchema<typeof Builder, undefined>;
476
- }>, v.ReadonlyAction<{
477
- readonly parameters: readonly Readonly<{
478
- type: "parameter";
479
- id: string;
480
- name: string;
481
- }>[];
482
- readonly options: readonly Readonly<{
483
- name: string;
484
- payload: unknown;
485
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
486
- type: "parameter";
487
- id: string;
488
- name: string;
489
- }> | import("../..").BuilderParameter<string> | undefined;
490
- }>[];
491
- readonly components: readonly Readonly<{
492
- name: string;
493
- payload: unknown;
494
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
495
- type: "parameter";
496
- id: string;
497
- name: string;
498
- }> | import("../..").BuilderParameter<string> | undefined;
499
- }>[];
500
- readonly collections: readonly import("..").BuilderCollectionSerialised[];
501
- readonly expectations: readonly Readonly<{
502
- name: string;
503
- kind: "option" | "component" | "collection" | "detail";
504
- }>[];
505
- readonly references: readonly Readonly<{
506
- parameter: string;
507
- id: string;
508
- }>[];
509
- }>]>>], undefined>, v.MetadataAction<Readonly<{
510
- type: "parameter";
511
- id: string;
512
- name: string;
513
- }> | import("../..").BuilderParameter<string> | Readonly<{
514
- readonly parameters: readonly Readonly<{
515
- type: "parameter";
516
- id: string;
517
- name: string;
518
- }>[];
519
- readonly options: readonly Readonly<{
520
- name: string;
521
- payload: unknown;
522
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
523
- type: "parameter";
524
- id: string;
525
- name: string;
526
- }> | import("../..").BuilderParameter<string> | undefined;
527
- }>[];
528
- readonly components: readonly Readonly<{
529
- name: string;
530
- payload: unknown;
531
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
532
- type: "parameter";
533
- id: string;
534
- name: string;
535
- }> | import("../..").BuilderParameter<string> | undefined;
536
- }>[];
537
- readonly collections: readonly import("..").BuilderCollectionSerialised[];
538
- readonly expectations: readonly Readonly<{
539
- name: string;
540
- kind: "option" | "component" | "collection" | "detail";
541
- }>[];
542
- readonly references: readonly Readonly<{
543
- parameter: string;
544
- id: string;
545
- }>[];
546
- }>, {
547
- readonly paramable: v.LazySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
548
- readonly parameters: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
549
- readonly type: v.LiteralSchema<"parameter", undefined>;
550
- readonly id: v.StringSchema<undefined>;
551
- readonly name: v.StringSchema<undefined>;
552
- }, undefined>, v.ReadonlyAction<{
553
- type: "parameter";
554
- id: string;
555
- name: string;
556
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
557
- type: "parameter";
558
- id: string;
559
- name: string;
560
- }>[]>]>;
561
- readonly options: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
562
- readonly name: v.StringSchema<undefined>;
563
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
564
- readonly type: v.LiteralSchema<"parameter", undefined>;
565
- readonly id: v.StringSchema<undefined>;
566
- readonly name: v.StringSchema<undefined>;
567
- }, undefined>, v.ReadonlyAction<{
568
- type: "parameter";
569
- id: string;
570
- name: string;
571
- }>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
572
- readonly type: v.LiteralSchema<"select", undefined>;
573
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
574
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
575
- readonly isOptional: v.BooleanSchema<undefined>;
576
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
577
- }, undefined>, v.MetadataAction<{
578
- type: "select";
579
- readonly options: readonly [string, ...string[]];
580
- defaultValue: string | null;
581
- isOptional: boolean;
582
- optionLabels: {
583
- [x: string]: string;
584
- };
585
- }, {
586
- readonly serialisable: typeof import("..").BuilderSelectType;
587
- readonly instance: v.InstanceSchema<typeof import("..").BuilderSelectType, undefined>;
588
- }>, v.ReadonlyAction<{
589
- type: "select";
590
- readonly options: readonly [string, ...string[]];
591
- defaultValue: string | null;
592
- isOptional: boolean;
593
- optionLabels: {
594
- [x: string]: string;
595
- };
596
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
597
- readonly type: v.LiteralSchema<"toggle", undefined>;
598
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
599
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
600
- readonly isOptional: v.BooleanSchema<undefined>;
601
- }, undefined>, v.MetadataAction<{
602
- type: "toggle";
603
- valueType: "string" | "number" | "boolean";
604
- defaultValue: string | number | boolean | null;
605
- isOptional: boolean;
606
- }, {
607
- readonly serialisable: typeof import("..").BuilderToggleType;
608
- readonly instance: v.InstanceSchema<typeof import("..").BuilderToggleType, undefined>;
609
- }>, v.ReadonlyAction<{
610
- type: "toggle";
611
- valueType: "string" | "number" | "boolean";
612
- defaultValue: string | number | boolean | null;
613
- isOptional: boolean;
614
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
615
- type: "select";
616
- readonly options: readonly [string, ...string[]];
617
- defaultValue: string | null;
618
- isOptional: boolean;
619
- optionLabels: {
620
- [x: string]: string;
621
- };
622
- }> | Readonly<{
623
- type: "toggle";
624
- valueType: "string" | "number" | "boolean";
625
- defaultValue: string | number | boolean | null;
626
- isOptional: boolean;
627
- }>>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
628
- readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
629
- readonly type: v.LiteralSchema<"select", undefined>;
630
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
631
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
632
- readonly isOptional: v.BooleanSchema<undefined>;
633
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
634
- }, undefined>, v.MetadataAction<{
635
- type: "select";
636
- readonly options: readonly [string, ...string[]];
637
- defaultValue: string | null;
638
- isOptional: boolean;
639
- optionLabels: {
640
- [x: string]: string;
641
- };
642
- }, {
643
- readonly serialisable: typeof import("..").BuilderSelectType;
644
- readonly instance: v.InstanceSchema<typeof import("..").BuilderSelectType, undefined>;
645
- }>, v.ReadonlyAction<{
646
- type: "select";
647
- readonly options: readonly [string, ...string[]];
648
- defaultValue: string | null;
649
- isOptional: boolean;
650
- optionLabels: {
651
- [x: string]: string;
652
- };
653
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
654
- readonly type: v.LiteralSchema<"toggle", undefined>;
655
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
656
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
657
- readonly isOptional: v.BooleanSchema<undefined>;
658
- }, undefined>, v.MetadataAction<{
659
- type: "toggle";
660
- valueType: "string" | "number" | "boolean";
661
- defaultValue: string | number | boolean | null;
662
- isOptional: boolean;
663
- }, {
664
- readonly serialisable: typeof import("..").BuilderToggleType;
665
- readonly instance: v.InstanceSchema<typeof import("..").BuilderToggleType, undefined>;
666
- }>, v.ReadonlyAction<{
667
- type: "toggle";
668
- valueType: "string" | "number" | "boolean";
669
- defaultValue: string | number | boolean | null;
670
- isOptional: boolean;
671
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
672
- type: "select";
673
- readonly options: readonly [string, ...string[]];
674
- defaultValue: string | null;
675
- isOptional: boolean;
676
- optionLabels: {
677
- [x: string]: string;
678
- };
679
- }> | Readonly<{
680
- type: "toggle";
681
- valueType: "string" | "number" | "boolean";
682
- defaultValue: string | number | boolean | null;
683
- isOptional: boolean;
684
- }>>]>, v.GenericSchema], undefined>;
685
- }>]>;
686
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
687
- readonly type: v.LiteralSchema<"parameter", undefined>;
688
- readonly id: v.StringSchema<undefined>;
689
- readonly name: v.StringSchema<undefined>;
690
- }, undefined>, v.ReadonlyAction<{
691
- type: "parameter";
692
- id: string;
693
- name: string;
694
- }>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
695
- type: "parameter";
696
- id: string;
697
- name: string;
698
- }> | import("../..").BuilderParameter<string>, {
699
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
700
- }>]>, undefined>;
701
- }, undefined>, v.MetadataAction<{
702
- name: string;
703
- payload: unknown;
704
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
705
- type: "parameter";
706
- id: string;
707
- name: string;
708
- }> | import("../..").BuilderParameter<string> | undefined;
709
- }, {
710
- readonly serialisable: typeof import("..").BuilderOption;
711
- readonly instance: v.InstanceSchema<typeof import("..").BuilderOption, undefined>;
712
- }>, v.ReadonlyAction<{
713
- name: string;
714
- payload: unknown;
715
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
716
- type: "parameter";
717
- id: string;
718
- name: string;
719
- }> | import("../..").BuilderParameter<string> | undefined;
720
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
721
- name: string;
722
- payload: unknown;
723
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
724
- type: "parameter";
725
- id: string;
726
- name: string;
727
- }> | import("../..").BuilderParameter<string> | undefined;
728
- }>[]>]>;
729
- readonly components: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
730
- readonly name: v.StringSchema<undefined>;
731
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
732
- readonly type: v.LiteralSchema<"parameter", undefined>;
733
- readonly id: v.StringSchema<undefined>;
734
- readonly name: v.StringSchema<undefined>;
735
- }, undefined>, v.ReadonlyAction<{
736
- type: "parameter";
737
- id: string;
738
- name: string;
739
- }>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
740
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
741
- readonly type: v.LiteralSchema<"parameter", undefined>;
742
- readonly id: v.StringSchema<undefined>;
743
- readonly name: v.StringSchema<undefined>;
744
- }, undefined>, v.ReadonlyAction<{
745
- type: "parameter";
746
- id: string;
747
- name: string;
748
- }>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
749
- readonly name: v.StringSchema<undefined>;
750
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
751
- }, undefined>, v.MetadataAction<{
752
- name: string;
753
- kind: "option" | "component" | "collection" | "detail";
754
- }, {
755
- readonly serialisable: typeof BuilderExpectation;
756
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
757
- }>, v.ReadonlyAction<{
758
- name: string;
759
- kind: "option" | "component" | "collection" | "detail";
760
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
761
- name: string;
762
- kind: "option" | "component" | "collection" | "detail";
763
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
764
- type: "parameter";
765
- id: string;
766
- name: string;
767
- }> | import("../..").BuilderParameter<string> | readonly Readonly<{
768
- name: string;
769
- kind: "option" | "component" | "collection" | "detail";
770
- }>[], {
771
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
772
- readonly name: v.StringSchema<undefined>;
773
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
774
- }, undefined>, v.MetadataAction<{
775
- name: string;
776
- kind: "option" | "component" | "collection" | "detail";
777
- }, {
778
- readonly serialisable: typeof BuilderExpectation;
779
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
780
- }>, v.ReadonlyAction<{
781
- name: string;
782
- kind: "option" | "component" | "collection" | "detail";
783
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
784
- name: string;
785
- kind: "option" | "component" | "collection" | "detail";
786
- }>[]>]>;
787
- }>]>;
788
- }, undefined>, v.MetadataAction<{
789
- expectations: Readonly<{
790
- type: "parameter";
791
- id: string;
792
- name: string;
793
- }> | import("../..").BuilderParameter<string> | readonly Readonly<{
794
- name: string;
795
- kind: "option" | "component" | "collection" | "detail";
796
- }>[];
797
- }, {
798
- readonly serialisable: typeof import("..").BuilderComponentDetails;
799
- readonly instance: v.InstanceSchema<typeof import("..").BuilderComponentDetails, undefined>;
800
- }>, v.ReadonlyAction<{
801
- expectations: Readonly<{
802
- type: "parameter";
803
- id: string;
804
- name: string;
805
- }> | import("../..").BuilderParameter<string> | readonly Readonly<{
806
- name: string;
807
- kind: "option" | "component" | "collection" | "detail";
808
- }>[];
809
- }>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
810
- readonly paramable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
811
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
812
- readonly type: v.LiteralSchema<"parameter", undefined>;
813
- readonly id: v.StringSchema<undefined>;
814
- readonly name: v.StringSchema<undefined>;
815
- }, undefined>, v.ReadonlyAction<{
816
- type: "parameter";
817
- id: string;
818
- name: string;
819
- }>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
820
- readonly name: v.StringSchema<undefined>;
821
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
822
- }, undefined>, v.MetadataAction<{
823
- name: string;
824
- kind: "option" | "component" | "collection" | "detail";
825
- }, {
826
- readonly serialisable: typeof BuilderExpectation;
827
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
828
- }>, v.ReadonlyAction<{
829
- name: string;
830
- kind: "option" | "component" | "collection" | "detail";
831
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
832
- name: string;
833
- kind: "option" | "component" | "collection" | "detail";
834
- }>[]>]>], undefined>, v.MetadataAction<Readonly<{
835
- type: "parameter";
836
- id: string;
837
- name: string;
838
- }> | import("../..").BuilderParameter<string> | readonly Readonly<{
839
- name: string;
840
- kind: "option" | "component" | "collection" | "detail";
841
- }>[], {
842
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
843
- readonly name: v.StringSchema<undefined>;
844
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
845
- }, undefined>, v.MetadataAction<{
846
- name: string;
847
- kind: "option" | "component" | "collection" | "detail";
848
- }, {
849
- readonly serialisable: typeof BuilderExpectation;
850
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
851
- }>, v.ReadonlyAction<{
852
- name: string;
853
- kind: "option" | "component" | "collection" | "detail";
854
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
855
- name: string;
856
- kind: "option" | "component" | "collection" | "detail";
857
- }>[]>]>;
858
- }>]>;
859
- }, undefined>, v.MetadataAction<{
860
- expectations: Readonly<{
861
- type: "parameter";
862
- id: string;
863
- name: string;
864
- }> | import("../..").BuilderParameter<string> | readonly Readonly<{
865
- name: string;
866
- kind: "option" | "component" | "collection" | "detail";
867
- }>[];
868
- }, {
869
- readonly serialisable: typeof import("..").BuilderComponentDetails;
870
- readonly instance: v.InstanceSchema<typeof import("..").BuilderComponentDetails, undefined>;
871
- }>, v.ReadonlyAction<{
872
- expectations: Readonly<{
873
- type: "parameter";
874
- id: string;
875
- name: string;
876
- }> | import("../..").BuilderParameter<string> | readonly Readonly<{
877
- name: string;
878
- kind: "option" | "component" | "collection" | "detail";
879
- }>[];
880
- }>]>, v.GenericSchema], undefined>;
881
- }>]>;
882
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
883
- readonly type: v.LiteralSchema<"parameter", undefined>;
884
- readonly id: v.StringSchema<undefined>;
885
- readonly name: v.StringSchema<undefined>;
886
- }, undefined>, v.ReadonlyAction<{
887
- type: "parameter";
888
- id: string;
889
- name: string;
890
- }>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | Readonly<{
891
- type: "parameter";
892
- id: string;
893
- name: string;
894
- }> | import("../..").BuilderParameter<string>, {
895
- readonly paramable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
896
- }>]>, undefined>;
897
- }, undefined>, v.MetadataAction<{
898
- name: string;
899
- payload: unknown;
900
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
901
- type: "parameter";
902
- id: string;
903
- name: string;
904
- }> | import("../..").BuilderParameter<string> | undefined;
905
- }, {
906
- readonly serialisable: typeof import("..").BuilderComponent;
907
- readonly instance: v.InstanceSchema<typeof import("..").BuilderComponent, undefined>;
908
- }>, v.ReadonlyAction<{
909
- name: string;
910
- payload: unknown;
911
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
912
- type: "parameter";
913
- id: string;
914
- name: string;
915
- }> | import("../..").BuilderParameter<string> | undefined;
916
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
917
- name: string;
918
- payload: unknown;
919
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
920
- type: "parameter";
921
- id: string;
922
- name: string;
923
- }> | import("../..").BuilderParameter<string> | undefined;
924
- }>[]>]>;
925
- readonly collections: v.SchemaWithPipe<readonly [v.ArraySchema<v.GenericSchema<import("..").BuilderCollectionSerialised>, undefined>, v.ReadonlyAction<import("..").BuilderCollectionSerialised[]>]>;
926
- readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
927
- readonly name: v.StringSchema<undefined>;
928
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
929
- }, undefined>, v.MetadataAction<{
930
- name: string;
931
- kind: "option" | "component" | "collection" | "detail";
932
- }, {
933
- readonly serialisable: typeof BuilderExpectation;
934
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
935
- }>, v.ReadonlyAction<{
936
- name: string;
937
- kind: "option" | "component" | "collection" | "detail";
938
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
939
- name: string;
940
- kind: "option" | "component" | "collection" | "detail";
941
- }>[]>]>;
942
- readonly references: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
943
- readonly parameter: v.StringSchema<undefined>;
944
- readonly id: v.StringSchema<undefined>;
945
- }, undefined>, v.ReadonlyAction<{
946
- parameter: string;
947
- id: string;
948
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
949
- parameter: string;
950
- id: string;
951
- }>[]>]>;
952
- }, undefined>, v.MetadataAction<{
953
- readonly parameters: readonly Readonly<{
954
- type: "parameter";
955
- id: string;
956
- name: string;
957
- }>[];
958
- readonly options: readonly Readonly<{
959
- name: string;
960
- payload: unknown;
961
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
962
- type: "parameter";
963
- id: string;
964
- name: string;
965
- }> | import("../..").BuilderParameter<string> | undefined;
966
- }>[];
967
- readonly components: readonly Readonly<{
968
- name: string;
969
- payload: unknown;
970
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
971
- type: "parameter";
972
- id: string;
973
- name: string;
974
- }> | import("../..").BuilderParameter<string> | undefined;
975
- }>[];
976
- readonly collections: readonly import("..").BuilderCollectionSerialised[];
977
- readonly expectations: readonly Readonly<{
978
- name: string;
979
- kind: "option" | "component" | "collection" | "detail";
980
- }>[];
981
- readonly references: readonly Readonly<{
982
- parameter: string;
983
- id: string;
984
- }>[];
985
- }, {
986
- readonly serialisable: typeof Builder;
987
- readonly instance: v.InstanceSchema<typeof Builder, undefined>;
988
- }>, v.ReadonlyAction<{
989
- readonly parameters: readonly Readonly<{
990
- type: "parameter";
991
- id: string;
992
- name: string;
993
- }>[];
994
- readonly options: readonly Readonly<{
995
- name: string;
996
- payload: unknown;
997
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
998
- type: "parameter";
999
- id: string;
1000
- name: string;
1001
- }> | import("../..").BuilderParameter<string> | undefined;
1002
- }>[];
1003
- readonly components: readonly Readonly<{
1004
- name: string;
1005
- payload: unknown;
1006
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1007
- type: "parameter";
1008
- id: string;
1009
- name: string;
1010
- }> | import("../..").BuilderParameter<string> | undefined;
1011
- }>[];
1012
- readonly collections: readonly import("..").BuilderCollectionSerialised[];
1013
- readonly expectations: readonly Readonly<{
1014
- name: string;
1015
- kind: "option" | "component" | "collection" | "detail";
1016
- }>[];
1017
- readonly references: readonly Readonly<{
1018
- parameter: string;
1019
- id: string;
1020
- }>[];
1021
- }>]>>;
1022
- }>]>;
1023
- readonly parameters: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1024
- readonly type: v.LiteralSchema<"parameter", undefined>;
1025
- readonly id: v.StringSchema<undefined>;
1026
- readonly name: v.StringSchema<undefined>;
1027
- }, undefined>, v.ReadonlyAction<{
1028
- type: "parameter";
1029
- id: string;
1030
- name: string;
1031
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1032
- type: "parameter";
1033
- id: string;
1034
- name: string;
1035
- }>[]>]>;
1036
- readonly items: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1037
- readonly type: v.LiteralSchema<"parameter", undefined>;
1038
- readonly id: v.StringSchema<undefined>;
1039
- readonly name: v.StringSchema<undefined>;
1040
- }, undefined>, v.ReadonlyAction<{
1041
- type: "parameter";
1042
- id: string;
1043
- name: string;
1044
- }>]>, v.InstanceSchema<typeof import("../..").BuilderParameter, undefined>, v.GenericSchema<import("./pages").BuilderUIItemSerialised>], undefined>, v.MetadataAction<Readonly<{
1045
- type: "parameter";
1046
- id: string;
1047
- name: string;
1048
- }> | import("../..").BuilderParameter<string> | import("./pages").BuilderUIItemSerialised, {
1049
- readonly paramable: v.GenericSchema<import("./pages").BuilderUIItemSerialised>;
1050
- }>]>, undefined>, v.ReadonlyAction<(Readonly<{
1051
- type: "parameter";
1052
- id: string;
1053
- name: string;
1054
- }> | import("../..").BuilderParameter<string> | import("./pages").BuilderUIItemSerialised)[]>]>;
1055
- readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1056
- readonly name: v.StringSchema<undefined>;
1057
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
1058
- }, undefined>, v.MetadataAction<{
1059
- name: string;
1060
- kind: "option" | "component" | "collection" | "detail";
1061
- }, {
1062
- readonly serialisable: typeof BuilderExpectation;
1063
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
1064
- }>, v.ReadonlyAction<{
1065
- name: string;
1066
- kind: "option" | "component" | "collection" | "detail";
1067
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1068
- name: string;
1069
- kind: "option" | "component" | "collection" | "detail";
1070
- }>[]>]>;
1071
- readonly references: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1072
- readonly parameter: v.StringSchema<undefined>;
1073
- readonly id: v.StringSchema<undefined>;
1074
- }, undefined>, v.ReadonlyAction<{
1075
- parameter: string;
1076
- id: string;
1077
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1078
- parameter: string;
1079
- id: string;
1080
- }>[]>]>;
1081
- }, undefined>, v.MetadataAction<{
1082
- builder: Readonly<{
1083
- type: "parameter";
1084
- id: string;
1085
- name: string;
1086
- }> | import("../..").BuilderParameter<string> | Readonly<{
1087
- readonly parameters: readonly Readonly<{
1088
- type: "parameter";
1089
- id: string;
1090
- name: string;
1091
- }>[];
1092
- readonly options: readonly Readonly<{
1093
- name: string;
1094
- payload: unknown;
1095
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1096
- type: "parameter";
1097
- id: string;
1098
- name: string;
1099
- }> | import("../..").BuilderParameter<string> | undefined;
1100
- }>[];
1101
- readonly components: readonly Readonly<{
1102
- name: string;
1103
- payload: unknown;
1104
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1105
- type: "parameter";
1106
- id: string;
1107
- name: string;
1108
- }> | import("../..").BuilderParameter<string> | undefined;
1109
- }>[];
1110
- readonly collections: readonly import("..").BuilderCollectionSerialised[];
1111
- readonly expectations: readonly Readonly<{
1112
- name: string;
1113
- kind: "option" | "component" | "collection" | "detail";
1114
- }>[];
1115
- readonly references: readonly Readonly<{
1116
- parameter: string;
1117
- id: string;
1118
- }>[];
1119
- }>;
1120
- readonly parameters: readonly Readonly<{
1121
- type: "parameter";
1122
- id: string;
1123
- name: string;
1124
- }>[];
1125
- readonly items: readonly (Readonly<{
1126
- type: "parameter";
1127
- id: string;
1128
- name: string;
1129
- }> | import("../..").BuilderParameter<string> | import("./pages").BuilderUIItemSerialised)[];
1130
- readonly expectations: readonly Readonly<{
1131
- name: string;
1132
- kind: "option" | "component" | "collection" | "detail";
1133
- }>[];
1134
- readonly references: readonly Readonly<{
1135
- parameter: string;
1136
- id: string;
1137
- }>[];
1138
- }, {
1139
- readonly serialisable: typeof BuilderUI;
1140
- readonly instance: v.InstanceSchema<typeof BuilderUI, undefined>;
1141
- }>, v.ReadonlyAction<{
1142
- builder: Readonly<{
1143
- type: "parameter";
1144
- id: string;
1145
- name: string;
1146
- }> | import("../..").BuilderParameter<string> | Readonly<{
1147
- readonly parameters: readonly Readonly<{
1148
- type: "parameter";
1149
- id: string;
1150
- name: string;
1151
- }>[];
1152
- readonly options: readonly Readonly<{
1153
- name: string;
1154
- payload: unknown;
1155
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1156
- type: "parameter";
1157
- id: string;
1158
- name: string;
1159
- }> | import("../..").BuilderParameter<string> | undefined;
1160
- }>[];
1161
- readonly components: readonly Readonly<{
1162
- name: string;
1163
- payload: unknown;
1164
- gatePaths?: readonly (readonly (string | number)[])[] | Readonly<{
1165
- type: "parameter";
1166
- id: string;
1167
- name: string;
1168
- }> | import("../..").BuilderParameter<string> | undefined;
1169
- }>[];
1170
- readonly collections: readonly import("..").BuilderCollectionSerialised[];
1171
- readonly expectations: readonly Readonly<{
1172
- name: string;
1173
- kind: "option" | "component" | "collection" | "detail";
1174
- }>[];
1175
- readonly references: readonly Readonly<{
1176
- parameter: string;
1177
- id: string;
1178
- }>[];
1179
- }>;
1180
- readonly parameters: readonly Readonly<{
1181
- type: "parameter";
1182
- id: string;
1183
- name: string;
1184
- }>[];
1185
- readonly items: readonly (Readonly<{
1186
- type: "parameter";
1187
- id: string;
1188
- name: string;
1189
- }> | import("../..").BuilderParameter<string> | import("./pages").BuilderUIItemSerialised)[];
1190
- readonly expectations: readonly Readonly<{
1191
- name: string;
1192
- kind: "option" | "component" | "collection" | "detail";
1193
- }>[];
1194
- readonly references: readonly Readonly<{
1195
- parameter: string;
1196
- id: string;
1197
- }>[];
1198
- }>]>;
1199
- export type BuilderUISerialised = v.InferOutput<typeof BuilderUISerialisedSchema>;
1200
- export type BuilderUIPart = Paramable<BuilderUIGeneric>;
1201
- export type BuilderUIParts = ReadonlyArray<BuilderUIPart>;
24
+ export interface BuilderUISerialised {
25
+ readonly uis: BuilderUIsSerialised;
26
+ readonly items: BuilderUIItemsSerialised;
27
+ readonly expectations: BuilderExpectationsSerialised;
28
+ }
29
+ export declare const BuilderUISerialisedSchema: v.GenericSchema<BuilderUISerialised>;