@builder-builder/builder 0.0.9 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/dist/bb.d.ts +28 -0
  2. package/dist/bb.js +49 -0
  3. package/dist/check.d.ts +1 -1
  4. package/dist/check.js +4 -2
  5. package/dist/entities/builder/bind.d.ts +4 -0
  6. package/dist/entities/builder/builder.d.ts +17 -490
  7. package/dist/entities/builder/builder.js +19 -76
  8. package/dist/entities/builder/factory.d.ts +7 -0
  9. package/dist/entities/builder/factory.js +4 -0
  10. package/dist/entities/builder/index.d.ts +3 -6
  11. package/dist/entities/builder/index.js +1 -2
  12. package/dist/entities/collection/collection.d.ts +71 -20
  13. package/dist/entities/collection/collection.js +10 -27
  14. package/dist/entities/collection/config.d.ts +40 -1049
  15. package/dist/entities/collection/config.js +11 -11
  16. package/dist/entities/collection/expectation.d.ts +8 -4
  17. package/dist/entities/collection/index.d.ts +3 -3
  18. package/dist/entities/collection/index.js +1 -1
  19. package/dist/entities/collection/when.d.ts +6 -5
  20. package/dist/entities/component/component.d.ts +272 -300
  21. package/dist/entities/component/component.js +9 -8
  22. package/dist/entities/component/details.d.ts +35 -60
  23. package/dist/entities/component/details.js +9 -9
  24. package/dist/entities/component/expectation.d.ts +7 -4
  25. package/dist/entities/component/expectation.js +0 -3
  26. package/dist/entities/component/field.d.ts +50 -0
  27. package/dist/entities/component/field.js +41 -0
  28. package/dist/entities/component/index.d.ts +5 -3
  29. package/dist/entities/component/index.js +3 -2
  30. package/dist/entities/component/when.d.ts +5 -5
  31. package/dist/entities/component/when.js +2 -2
  32. package/dist/entities/entry.d.ts +4 -0
  33. package/dist/entities/expectation.d.ts +10 -22
  34. package/dist/entities/expectation.js +2 -7
  35. package/dist/entities/index.d.ts +21 -16
  36. package/dist/entities/index.js +10 -8
  37. package/dist/entities/kind.d.ts +9 -0
  38. package/dist/entities/kind.js +5 -0
  39. package/dist/entities/model/bind.d.ts +83 -0
  40. package/dist/entities/model/expectation.d.ts +16 -0
  41. package/dist/entities/model/index.d.ts +7 -0
  42. package/dist/entities/model/index.js +2 -0
  43. package/dist/entities/model/methods.d.ts +57 -0
  44. package/dist/entities/{builder → model}/methods.js +8 -8
  45. package/dist/entities/model/model.d.ts +39 -0
  46. package/dist/entities/model/model.js +73 -0
  47. package/dist/entities/model/models.d.ts +39 -0
  48. package/dist/entities/model/models.js +14 -0
  49. package/dist/entities/{builder → model}/state.d.ts +10 -10
  50. package/dist/entities/option/index.d.ts +2 -2
  51. package/dist/entities/option/index.js +2 -2
  52. package/dist/entities/option/option.d.ts +216 -214
  53. package/dist/entities/option/option.js +9 -8
  54. package/dist/entities/option/select.d.ts +2 -12
  55. package/dist/entities/option/select.js +6 -3
  56. package/dist/entities/option/toggle.d.ts +2 -9
  57. package/dist/entities/option/toggle.js +3 -3
  58. package/dist/entities/option/values.d.ts +4 -24
  59. package/dist/entities/option/values.js +10 -4
  60. package/dist/entities/option/when.d.ts +6 -5
  61. package/dist/entities/refs.d.ts +6 -0
  62. package/dist/entities/refs.js +1 -0
  63. package/dist/entities/serialise.d.ts +393 -3568
  64. package/dist/entities/serialise.js +160 -31
  65. package/dist/entities/ui/describe.d.ts +23 -57
  66. package/dist/entities/ui/describe.js +4 -5
  67. package/dist/entities/ui/index.d.ts +4 -9
  68. package/dist/entities/ui/index.js +2 -4
  69. package/dist/entities/ui/page.d.ts +23 -57
  70. package/dist/entities/ui/page.js +4 -5
  71. package/dist/entities/ui/pages.d.ts +18 -403
  72. package/dist/entities/ui/pages.js +7 -7
  73. package/dist/entities/ui/ui.d.ts +22 -1575
  74. package/dist/entities/ui/ui.js +15 -28
  75. package/dist/entities/ui/uis.d.ts +5 -9
  76. package/dist/entities/ui/uis.js +12 -19
  77. package/dist/entities/validated.d.ts +35 -0
  78. package/dist/entities/validated.js +1 -0
  79. package/dist/entities/when.d.ts +79 -70
  80. package/dist/entities/when.js +11 -7
  81. package/dist/environment.d.ts +5 -0
  82. package/dist/environment.js +2 -0
  83. package/dist/exception.d.ts +8 -3
  84. package/dist/exception.js +3 -0
  85. package/dist/index.d.ts +21 -24
  86. package/dist/index.js +5 -10
  87. package/dist/instance.d.ts +56 -0
  88. package/dist/instance.js +10 -0
  89. package/dist/mappers/index.d.ts +7 -5
  90. package/dist/mappers/index.js +5 -3
  91. package/dist/mappers/instance.d.ts +3 -0
  92. package/dist/mappers/instance.js +35 -0
  93. package/dist/mappers/order.d.ts +6 -0
  94. package/dist/mappers/order.js +22 -0
  95. package/dist/mappers/render/pages.d.ts +4 -4
  96. package/dist/mappers/render/render.d.ts +2 -3
  97. package/dist/mappers/render/render.js +83 -78
  98. package/dist/mappers/resolve.d.ts +5 -9
  99. package/dist/mappers/resolve.js +25 -33
  100. package/dist/mappers/variants/index.d.ts +1 -0
  101. package/dist/mappers/variants/index.js +1 -0
  102. package/dist/mappers/variants/option-graph.d.ts +19 -0
  103. package/dist/mappers/{models → variants}/option-graph.js +33 -22
  104. package/dist/mappers/variants/variants.d.ts +3 -0
  105. package/dist/mappers/variants/variants.js +57 -0
  106. package/dist/private.d.ts +4 -0
  107. package/dist/private.js +4 -0
  108. package/dist/references.d.ts +27 -36
  109. package/dist/references.js +19 -12
  110. package/dist/serialisable.d.ts +1 -9
  111. package/dist/serialisable.js +2 -3
  112. package/dist/validate/brand.d.ts +14 -0
  113. package/dist/validate/brand.js +17 -0
  114. package/dist/validate/builder.d.ts +4 -0
  115. package/dist/validate/builder.js +27 -0
  116. package/dist/validate/expectations.d.ts +10 -0
  117. package/dist/validate/expectations.js +12 -0
  118. package/dist/validate/index.d.ts +18 -0
  119. package/dist/validate/index.js +9 -0
  120. package/dist/validate/instance.d.ts +19 -0
  121. package/dist/validate/instance.js +46 -0
  122. package/dist/validate/model.d.ts +36 -0
  123. package/dist/validate/model.js +196 -0
  124. package/dist/validate/resolve.d.ts +16 -0
  125. package/dist/validate/resolve.js +91 -0
  126. package/dist/validate/result.d.ts +8 -0
  127. package/dist/validate/result.js +4 -0
  128. package/dist/validate/ui.d.ts +8 -0
  129. package/dist/validate/ui.js +77 -0
  130. package/dist/validate/variants.d.ts +59 -0
  131. package/dist/validate/variants.js +102 -0
  132. package/package.json +12 -9
  133. package/dist/entities/builder/builders.d.ts +0 -20
  134. package/dist/entities/builder/builders.js +0 -18
  135. package/dist/entities/builder/expectation.d.ts +0 -12
  136. package/dist/entities/builder/methods.d.ts +0 -58
  137. package/dist/entities/builder/parameter.d.ts +0 -62
  138. package/dist/entities/builder/parameter.js +0 -18
  139. package/dist/entities/builder/validate.d.ts +0 -3
  140. package/dist/entities/builder/validate.js +0 -108
  141. package/dist/entities/errors.d.ts +0 -21
  142. package/dist/entities/ui/label.d.ts +0 -18
  143. package/dist/entities/ui/label.js +0 -12
  144. package/dist/entities/ui/parameter.d.ts +0 -7
  145. package/dist/entities/ui/parameter.js +0 -29
  146. package/dist/entities/ui/validate.d.ts +0 -8
  147. package/dist/entities/ui/validate.js +0 -21
  148. package/dist/entities/validate.d.ts +0 -28
  149. package/dist/mappers/assert/builder.d.ts +0 -2
  150. package/dist/mappers/assert/builder.js +0 -46
  151. package/dist/mappers/assert/expectation.d.ts +0 -2
  152. package/dist/mappers/assert/expectation.js +0 -23
  153. package/dist/mappers/assert/index.d.ts +0 -6
  154. package/dist/mappers/assert/index.js +0 -4
  155. package/dist/mappers/assert/model.d.ts +0 -13
  156. package/dist/mappers/assert/model.js +0 -47
  157. package/dist/mappers/assert/models.d.ts +0 -33
  158. package/dist/mappers/assert/models.js +0 -74
  159. package/dist/mappers/assert/ui.d.ts +0 -2
  160. package/dist/mappers/assert/ui.js +0 -22
  161. package/dist/mappers/instance/index.d.ts +0 -1
  162. package/dist/mappers/instance/index.js +0 -1
  163. package/dist/mappers/instance/instance.d.ts +0 -4
  164. package/dist/mappers/instance/instance.js +0 -33
  165. package/dist/mappers/models/component-graph.d.ts +0 -9
  166. package/dist/mappers/models/component-graph.js +0 -51
  167. package/dist/mappers/models/graph.d.ts +0 -12
  168. package/dist/mappers/models/graph.js +0 -17
  169. package/dist/mappers/models/index.d.ts +0 -1
  170. package/dist/mappers/models/index.js +0 -1
  171. package/dist/mappers/models/models.d.ts +0 -3
  172. package/dist/mappers/models/models.js +0 -37
  173. package/dist/mappers/models/option-graph.d.ts +0 -9
  174. package/dist/mappers/order/index.d.ts +0 -2
  175. package/dist/mappers/order/index.js +0 -1
  176. package/dist/mappers/order/order.d.ts +0 -14
  177. package/dist/mappers/order/order.js +0 -31
  178. package/dist/model.d.ts +0 -14
  179. package/dist/walker/index.d.ts +0 -2
  180. package/dist/walker/index.js +0 -1
  181. package/dist/walker/walkable.d.ts +0 -4
  182. package/dist/walker/walkable.js +0 -4
  183. package/dist/walker/walker.d.ts +0 -18
  184. package/dist/walker/walker.js +0 -103
  185. package/dist/walker/walkers.d.ts +0 -8
  186. package/dist/walker/walkers.js +0 -51
  187. /package/dist/entities/builder/{expectation.js → bind.js} +0 -0
  188. /package/dist/entities/{builder/state.js → entry.js} +0 -0
  189. /package/dist/entities/{errors.js → model/bind.js} +0 -0
  190. /package/dist/entities/{validate.js → model/expectation.js} +0 -0
  191. /package/dist/{model.js → entities/model/state.js} +0 -0
@@ -1,1582 +1,29 @@
1
- import type { BuilderRefs, Refable } 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 './parameter';
7
- import type { BuilderUIItems } from './pages';
7
+ import type { BuilderUIItems, BuilderUIItemsSerialised } from './pages';
8
8
  import * as v from 'valibot';
9
- import { BuilderUIDescribe } from './describe.js';
10
- import { BuilderUILabel } from './label.js';
11
- import { BuilderUIPage } from './page.js';
12
- export declare class BuilderUI<BuilderType extends Refable<BuilderGeneric> = BuilderGeneric, Items extends BuilderUIItems = BuilderUIItems> {
13
- #private;
9
+ export type BuilderUIs = ReadonlyArray<Paramable<BuilderUI>>;
10
+ export type BuilderUIsSerialised = ReadonlyArray<ParamableSerialised<BuilderUISerialised>>;
11
+ export declare class BuilderUI<Model extends BuilderModelGeneric = BuilderModelGeneric> {
14
12
  readonly type: 'ui';
15
- readonly builder: BuilderType;
16
- readonly references: BuilderRefs;
17
- readonly items: Items;
13
+ readonly model: Model;
14
+ readonly uis: BuilderUIs;
15
+ readonly items: BuilderUIItems;
18
16
  readonly expectations: BuilderExpectations;
19
- readonly id: `${string}-${string}-${string}-${string}-${string}`;
20
- constructor(builder: BuilderType, references: BuilderRefs, items: Items, expectations: BuilderExpectations);
21
- expect<const Expectations extends readonly [BuilderExpectation, ...ReadonlyArray<BuilderExpectation>]>(...expectations: Expectations): BuilderUI<Builder<BuilderStateAsserted<BuilderStateOf<BuilderType>, Expectations>>>;
22
- page(label: Refable<string>, paths: Refable<BuilderValidPathsOf<BuilderType>>): BuilderUI<BuilderType>;
23
- describe(label: Refable<string>, paths: Refable<BuilderValidPathsOf<BuilderType>>): BuilderUI<BuilderType>;
24
- pages<const Name extends CollectionNamesOf<BuilderStateOf<BuilderType>>>(name: Name, label: Refable<string>, itemUI: Refable<BuilderUIGeneric>): BuilderUI<BuilderType>;
25
- bind(bindings: BuilderUIBindings): 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>;
26
22
  }
27
23
  export declare const BuilderUISchema: v.InstanceSchema<typeof BuilderUI, undefined>;
28
- export type BuilderUIGeneric = BuilderUI<Refable<BuilderGeneric>>;
29
- export declare const BuilderUISerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
30
- readonly builder: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
31
- readonly type: v.LiteralSchema<"ref", undefined>;
32
- readonly id: v.StringSchema<undefined>;
33
- readonly name: v.StringSchema<undefined>;
34
- }, undefined>, v.ReadonlyAction<{
35
- type: "ref";
36
- id: string;
37
- name: string;
38
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.LazySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
39
- readonly references: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
40
- readonly type: v.LiteralSchema<"ref", undefined>;
41
- readonly id: v.StringSchema<undefined>;
42
- readonly name: v.StringSchema<undefined>;
43
- }, undefined>, v.ReadonlyAction<{
44
- type: "ref";
45
- id: string;
46
- name: string;
47
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
48
- type: "ref";
49
- id: string;
50
- name: string;
51
- }>[]>]>;
52
- readonly options: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
53
- readonly name: v.StringSchema<undefined>;
54
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
55
- readonly type: v.LiteralSchema<"ref", undefined>;
56
- readonly id: v.StringSchema<undefined>;
57
- readonly name: v.StringSchema<undefined>;
58
- }, undefined>, v.ReadonlyAction<{
59
- type: "ref";
60
- id: string;
61
- name: string;
62
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
63
- readonly type: v.LiteralSchema<"select", undefined>;
64
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
65
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
66
- readonly isOptional: v.BooleanSchema<undefined>;
67
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
68
- }, undefined>, v.MetadataAction<{
69
- type: "select";
70
- readonly options: readonly [string, ...string[]];
71
- defaultValue: string | null;
72
- isOptional: boolean;
73
- optionLabels: {
74
- [x: string]: string;
75
- };
76
- }, {
77
- readonly serialisable: typeof import("..").BuilderSelectType;
78
- readonly instance: v.InstanceSchema<typeof import("..").BuilderSelectType, undefined>;
79
- }>, v.ReadonlyAction<{
80
- type: "select";
81
- readonly options: readonly [string, ...string[]];
82
- defaultValue: string | null;
83
- isOptional: boolean;
84
- optionLabels: {
85
- [x: string]: string;
86
- };
87
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
88
- readonly type: v.LiteralSchema<"toggle", undefined>;
89
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
90
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
91
- readonly isOptional: v.BooleanSchema<undefined>;
92
- }, undefined>, v.MetadataAction<{
93
- type: "toggle";
94
- valueType: "string" | "number" | "boolean";
95
- defaultValue: string | number | boolean | null;
96
- isOptional: boolean;
97
- }, {
98
- readonly serialisable: typeof import("..").BuilderToggleType;
99
- readonly instance: v.InstanceSchema<typeof import("..").BuilderToggleType, undefined>;
100
- }>, v.ReadonlyAction<{
101
- type: "toggle";
102
- valueType: "string" | "number" | "boolean";
103
- defaultValue: string | number | boolean | null;
104
- isOptional: boolean;
105
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
106
- type: "select";
107
- readonly options: readonly [string, ...string[]];
108
- defaultValue: string | null;
109
- isOptional: boolean;
110
- optionLabels: {
111
- [x: string]: string;
112
- };
113
- }> | Readonly<{
114
- type: "toggle";
115
- valueType: "string" | "number" | "boolean";
116
- defaultValue: string | number | boolean | null;
117
- isOptional: boolean;
118
- }>>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
119
- readonly refable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
120
- readonly type: v.LiteralSchema<"select", undefined>;
121
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
122
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
123
- readonly isOptional: v.BooleanSchema<undefined>;
124
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
125
- }, undefined>, v.MetadataAction<{
126
- type: "select";
127
- readonly options: readonly [string, ...string[]];
128
- defaultValue: string | null;
129
- isOptional: boolean;
130
- optionLabels: {
131
- [x: string]: string;
132
- };
133
- }, {
134
- readonly serialisable: typeof import("..").BuilderSelectType;
135
- readonly instance: v.InstanceSchema<typeof import("..").BuilderSelectType, undefined>;
136
- }>, v.ReadonlyAction<{
137
- type: "select";
138
- readonly options: readonly [string, ...string[]];
139
- defaultValue: string | null;
140
- isOptional: boolean;
141
- optionLabels: {
142
- [x: string]: string;
143
- };
144
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
145
- readonly type: v.LiteralSchema<"toggle", undefined>;
146
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
147
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
148
- readonly isOptional: v.BooleanSchema<undefined>;
149
- }, undefined>, v.MetadataAction<{
150
- type: "toggle";
151
- valueType: "string" | "number" | "boolean";
152
- defaultValue: string | number | boolean | null;
153
- isOptional: boolean;
154
- }, {
155
- readonly serialisable: typeof import("..").BuilderToggleType;
156
- readonly instance: v.InstanceSchema<typeof import("..").BuilderToggleType, undefined>;
157
- }>, v.ReadonlyAction<{
158
- type: "toggle";
159
- valueType: "string" | "number" | "boolean";
160
- defaultValue: string | number | boolean | null;
161
- isOptional: boolean;
162
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
163
- type: "select";
164
- readonly options: readonly [string, ...string[]];
165
- defaultValue: string | null;
166
- isOptional: boolean;
167
- optionLabels: {
168
- [x: string]: string;
169
- };
170
- }> | Readonly<{
171
- type: "toggle";
172
- valueType: "string" | "number" | "boolean";
173
- defaultValue: string | number | boolean | null;
174
- isOptional: boolean;
175
- }>>]>, v.GenericSchema], undefined>;
176
- }>]>;
177
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
178
- readonly type: v.LiteralSchema<"ref", undefined>;
179
- readonly id: v.StringSchema<undefined>;
180
- readonly name: v.StringSchema<undefined>;
181
- }, undefined>, v.ReadonlyAction<{
182
- type: "ref";
183
- id: string;
184
- name: string;
185
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
186
- type: "ref";
187
- id: string;
188
- name: string;
189
- }>, {
190
- readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
191
- }>]>, undefined>;
192
- }, undefined>, v.MetadataAction<{
193
- name: string;
194
- payload: unknown;
195
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
196
- type: "ref";
197
- id: string;
198
- name: string;
199
- }> | undefined;
200
- }, {
201
- readonly serialisable: typeof import("..").BuilderOption;
202
- readonly instance: v.InstanceSchema<typeof import("..").BuilderOption, undefined>;
203
- }>, v.ReadonlyAction<{
204
- name: string;
205
- payload: unknown;
206
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
207
- type: "ref";
208
- id: string;
209
- name: string;
210
- }> | undefined;
211
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
212
- name: string;
213
- payload: unknown;
214
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
215
- type: "ref";
216
- id: string;
217
- name: string;
218
- }> | undefined;
219
- }>[]>]>;
220
- readonly components: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
221
- readonly name: v.StringSchema<undefined>;
222
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
223
- readonly type: v.LiteralSchema<"ref", undefined>;
224
- readonly id: v.StringSchema<undefined>;
225
- readonly name: v.StringSchema<undefined>;
226
- }, undefined>, v.ReadonlyAction<{
227
- type: "ref";
228
- id: string;
229
- name: string;
230
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
231
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
232
- readonly type: v.LiteralSchema<"ref", undefined>;
233
- readonly id: v.StringSchema<undefined>;
234
- readonly name: v.StringSchema<undefined>;
235
- }, undefined>, v.ReadonlyAction<{
236
- type: "ref";
237
- id: string;
238
- name: string;
239
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
240
- readonly name: v.StringSchema<undefined>;
241
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
242
- }, undefined>, v.MetadataAction<{
243
- name: string;
244
- kind: "option" | "component" | "collection" | "detail";
245
- }, {
246
- readonly serialisable: typeof BuilderExpectation;
247
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
248
- }>, v.ReadonlyAction<{
249
- name: string;
250
- kind: "option" | "component" | "collection" | "detail";
251
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
252
- name: string;
253
- kind: "option" | "component" | "collection" | "detail";
254
- }>[]>]>], undefined>, v.MetadataAction<import("../..").BuilderRef | Readonly<{
255
- type: "ref";
256
- id: string;
257
- name: string;
258
- }> | readonly Readonly<{
259
- name: string;
260
- kind: "option" | "component" | "collection" | "detail";
261
- }>[], {
262
- readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
263
- readonly name: v.StringSchema<undefined>;
264
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
265
- }, undefined>, v.MetadataAction<{
266
- name: string;
267
- kind: "option" | "component" | "collection" | "detail";
268
- }, {
269
- readonly serialisable: typeof BuilderExpectation;
270
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
271
- }>, v.ReadonlyAction<{
272
- name: string;
273
- kind: "option" | "component" | "collection" | "detail";
274
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
275
- name: string;
276
- kind: "option" | "component" | "collection" | "detail";
277
- }>[]>]>;
278
- }>]>;
279
- }, undefined>, v.MetadataAction<{
280
- expectations: import("../..").BuilderRef | Readonly<{
281
- type: "ref";
282
- id: string;
283
- name: string;
284
- }> | readonly Readonly<{
285
- name: string;
286
- kind: "option" | "component" | "collection" | "detail";
287
- }>[];
288
- }, {
289
- readonly serialisable: typeof import("..").BuilderComponentDetails;
290
- readonly instance: v.InstanceSchema<typeof import("..").BuilderComponentDetails, undefined>;
291
- }>, v.ReadonlyAction<{
292
- expectations: import("../..").BuilderRef | Readonly<{
293
- type: "ref";
294
- id: string;
295
- name: string;
296
- }> | readonly Readonly<{
297
- name: string;
298
- kind: "option" | "component" | "collection" | "detail";
299
- }>[];
300
- }>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
301
- readonly refable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
302
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
303
- readonly type: v.LiteralSchema<"ref", undefined>;
304
- readonly id: v.StringSchema<undefined>;
305
- readonly name: v.StringSchema<undefined>;
306
- }, undefined>, v.ReadonlyAction<{
307
- type: "ref";
308
- id: string;
309
- name: string;
310
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
311
- readonly name: v.StringSchema<undefined>;
312
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
313
- }, undefined>, v.MetadataAction<{
314
- name: string;
315
- kind: "option" | "component" | "collection" | "detail";
316
- }, {
317
- readonly serialisable: typeof BuilderExpectation;
318
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
319
- }>, v.ReadonlyAction<{
320
- name: string;
321
- kind: "option" | "component" | "collection" | "detail";
322
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
323
- name: string;
324
- kind: "option" | "component" | "collection" | "detail";
325
- }>[]>]>], undefined>, v.MetadataAction<import("../..").BuilderRef | Readonly<{
326
- type: "ref";
327
- id: string;
328
- name: string;
329
- }> | readonly Readonly<{
330
- name: string;
331
- kind: "option" | "component" | "collection" | "detail";
332
- }>[], {
333
- readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
334
- readonly name: v.StringSchema<undefined>;
335
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
336
- }, undefined>, v.MetadataAction<{
337
- name: string;
338
- kind: "option" | "component" | "collection" | "detail";
339
- }, {
340
- readonly serialisable: typeof BuilderExpectation;
341
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
342
- }>, v.ReadonlyAction<{
343
- name: string;
344
- kind: "option" | "component" | "collection" | "detail";
345
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
346
- name: string;
347
- kind: "option" | "component" | "collection" | "detail";
348
- }>[]>]>;
349
- }>]>;
350
- }, undefined>, v.MetadataAction<{
351
- expectations: import("../..").BuilderRef | Readonly<{
352
- type: "ref";
353
- id: string;
354
- name: string;
355
- }> | readonly Readonly<{
356
- name: string;
357
- kind: "option" | "component" | "collection" | "detail";
358
- }>[];
359
- }, {
360
- readonly serialisable: typeof import("..").BuilderComponentDetails;
361
- readonly instance: v.InstanceSchema<typeof import("..").BuilderComponentDetails, undefined>;
362
- }>, v.ReadonlyAction<{
363
- expectations: import("../..").BuilderRef | Readonly<{
364
- type: "ref";
365
- id: string;
366
- name: string;
367
- }> | readonly Readonly<{
368
- name: string;
369
- kind: "option" | "component" | "collection" | "detail";
370
- }>[];
371
- }>]>, v.GenericSchema], undefined>;
372
- }>]>;
373
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
374
- readonly type: v.LiteralSchema<"ref", undefined>;
375
- readonly id: v.StringSchema<undefined>;
376
- readonly name: v.StringSchema<undefined>;
377
- }, undefined>, v.ReadonlyAction<{
378
- type: "ref";
379
- id: string;
380
- name: string;
381
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
382
- type: "ref";
383
- id: string;
384
- name: string;
385
- }>, {
386
- readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
387
- }>]>, undefined>;
388
- }, undefined>, v.MetadataAction<{
389
- name: string;
390
- payload: unknown;
391
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
392
- type: "ref";
393
- id: string;
394
- name: string;
395
- }> | undefined;
396
- }, {
397
- readonly serialisable: typeof import("..").BuilderComponent;
398
- readonly instance: v.InstanceSchema<typeof import("..").BuilderComponent, undefined>;
399
- }>, v.ReadonlyAction<{
400
- name: string;
401
- payload: unknown;
402
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
403
- type: "ref";
404
- id: string;
405
- name: string;
406
- }> | undefined;
407
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
408
- name: string;
409
- payload: unknown;
410
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
411
- type: "ref";
412
- id: string;
413
- name: string;
414
- }> | undefined;
415
- }>[]>]>;
416
- readonly collections: v.SchemaWithPipe<readonly [v.ArraySchema<v.GenericSchema<import("..").BuilderCollectionSerialised>, undefined>, v.ReadonlyAction<import("..").BuilderCollectionSerialised[]>]>;
417
- readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
418
- readonly name: v.StringSchema<undefined>;
419
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
420
- }, undefined>, v.MetadataAction<{
421
- name: string;
422
- kind: "option" | "component" | "collection" | "detail";
423
- }, {
424
- readonly serialisable: typeof BuilderExpectation;
425
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
426
- }>, v.ReadonlyAction<{
427
- name: string;
428
- kind: "option" | "component" | "collection" | "detail";
429
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
430
- name: string;
431
- kind: "option" | "component" | "collection" | "detail";
432
- }>[]>]>;
433
- }, undefined>, v.MetadataAction<{
434
- readonly references: readonly Readonly<{
435
- type: "ref";
436
- id: string;
437
- name: string;
438
- }>[];
439
- readonly options: readonly Readonly<{
440
- name: string;
441
- payload: unknown;
442
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
443
- type: "ref";
444
- id: string;
445
- name: string;
446
- }> | undefined;
447
- }>[];
448
- readonly components: readonly Readonly<{
449
- name: string;
450
- payload: unknown;
451
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
452
- type: "ref";
453
- id: string;
454
- name: string;
455
- }> | undefined;
456
- }>[];
457
- readonly collections: readonly import("..").BuilderCollectionSerialised[];
458
- readonly expectations: readonly Readonly<{
459
- name: string;
460
- kind: "option" | "component" | "collection" | "detail";
461
- }>[];
462
- }, {
463
- readonly serialisable: typeof Builder;
464
- readonly instance: v.InstanceSchema<typeof Builder, undefined>;
465
- }>, v.ReadonlyAction<{
466
- readonly references: readonly Readonly<{
467
- type: "ref";
468
- id: string;
469
- name: string;
470
- }>[];
471
- readonly options: readonly Readonly<{
472
- name: string;
473
- payload: unknown;
474
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
475
- type: "ref";
476
- id: string;
477
- name: string;
478
- }> | undefined;
479
- }>[];
480
- readonly components: readonly Readonly<{
481
- name: string;
482
- payload: unknown;
483
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
484
- type: "ref";
485
- id: string;
486
- name: string;
487
- }> | undefined;
488
- }>[];
489
- readonly collections: readonly import("..").BuilderCollectionSerialised[];
490
- readonly expectations: readonly Readonly<{
491
- name: string;
492
- kind: "option" | "component" | "collection" | "detail";
493
- }>[];
494
- }>]>>], undefined>, v.MetadataAction<import("../..").BuilderRef | Readonly<{
495
- type: "ref";
496
- id: string;
497
- name: string;
498
- }> | Readonly<{
499
- readonly references: readonly Readonly<{
500
- type: "ref";
501
- id: string;
502
- name: string;
503
- }>[];
504
- readonly options: readonly Readonly<{
505
- name: string;
506
- payload: unknown;
507
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
508
- type: "ref";
509
- id: string;
510
- name: string;
511
- }> | undefined;
512
- }>[];
513
- readonly components: readonly Readonly<{
514
- name: string;
515
- payload: unknown;
516
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
517
- type: "ref";
518
- id: string;
519
- name: string;
520
- }> | undefined;
521
- }>[];
522
- readonly collections: readonly import("..").BuilderCollectionSerialised[];
523
- readonly expectations: readonly Readonly<{
524
- name: string;
525
- kind: "option" | "component" | "collection" | "detail";
526
- }>[];
527
- }>, {
528
- readonly refable: v.LazySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
529
- readonly references: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
530
- readonly type: v.LiteralSchema<"ref", undefined>;
531
- readonly id: v.StringSchema<undefined>;
532
- readonly name: v.StringSchema<undefined>;
533
- }, undefined>, v.ReadonlyAction<{
534
- type: "ref";
535
- id: string;
536
- name: string;
537
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
538
- type: "ref";
539
- id: string;
540
- name: string;
541
- }>[]>]>;
542
- readonly options: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
543
- readonly name: v.StringSchema<undefined>;
544
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
545
- readonly type: v.LiteralSchema<"ref", undefined>;
546
- readonly id: v.StringSchema<undefined>;
547
- readonly name: v.StringSchema<undefined>;
548
- }, undefined>, v.ReadonlyAction<{
549
- type: "ref";
550
- id: string;
551
- name: string;
552
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
553
- readonly type: v.LiteralSchema<"select", undefined>;
554
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
555
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
556
- readonly isOptional: v.BooleanSchema<undefined>;
557
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
558
- }, undefined>, v.MetadataAction<{
559
- type: "select";
560
- readonly options: readonly [string, ...string[]];
561
- defaultValue: string | null;
562
- isOptional: boolean;
563
- optionLabels: {
564
- [x: string]: string;
565
- };
566
- }, {
567
- readonly serialisable: typeof import("..").BuilderSelectType;
568
- readonly instance: v.InstanceSchema<typeof import("..").BuilderSelectType, undefined>;
569
- }>, v.ReadonlyAction<{
570
- type: "select";
571
- readonly options: readonly [string, ...string[]];
572
- defaultValue: string | null;
573
- isOptional: boolean;
574
- optionLabels: {
575
- [x: string]: string;
576
- };
577
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
578
- readonly type: v.LiteralSchema<"toggle", undefined>;
579
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
580
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
581
- readonly isOptional: v.BooleanSchema<undefined>;
582
- }, undefined>, v.MetadataAction<{
583
- type: "toggle";
584
- valueType: "string" | "number" | "boolean";
585
- defaultValue: string | number | boolean | null;
586
- isOptional: boolean;
587
- }, {
588
- readonly serialisable: typeof import("..").BuilderToggleType;
589
- readonly instance: v.InstanceSchema<typeof import("..").BuilderToggleType, undefined>;
590
- }>, v.ReadonlyAction<{
591
- type: "toggle";
592
- valueType: "string" | "number" | "boolean";
593
- defaultValue: string | number | boolean | null;
594
- isOptional: boolean;
595
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
596
- type: "select";
597
- readonly options: readonly [string, ...string[]];
598
- defaultValue: string | null;
599
- isOptional: boolean;
600
- optionLabels: {
601
- [x: string]: string;
602
- };
603
- }> | Readonly<{
604
- type: "toggle";
605
- valueType: "string" | "number" | "boolean";
606
- defaultValue: string | number | boolean | null;
607
- isOptional: boolean;
608
- }>>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
609
- readonly refable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
610
- readonly type: v.LiteralSchema<"select", undefined>;
611
- readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
612
- readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
613
- readonly isOptional: v.BooleanSchema<undefined>;
614
- readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
615
- }, undefined>, v.MetadataAction<{
616
- type: "select";
617
- readonly options: readonly [string, ...string[]];
618
- defaultValue: string | null;
619
- isOptional: boolean;
620
- optionLabels: {
621
- [x: string]: string;
622
- };
623
- }, {
624
- readonly serialisable: typeof import("..").BuilderSelectType;
625
- readonly instance: v.InstanceSchema<typeof import("..").BuilderSelectType, undefined>;
626
- }>, v.ReadonlyAction<{
627
- type: "select";
628
- readonly options: readonly [string, ...string[]];
629
- defaultValue: string | null;
630
- isOptional: boolean;
631
- optionLabels: {
632
- [x: string]: string;
633
- };
634
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
635
- readonly type: v.LiteralSchema<"toggle", undefined>;
636
- readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
637
- readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
638
- readonly isOptional: v.BooleanSchema<undefined>;
639
- }, undefined>, v.MetadataAction<{
640
- type: "toggle";
641
- valueType: "string" | "number" | "boolean";
642
- defaultValue: string | number | boolean | null;
643
- isOptional: boolean;
644
- }, {
645
- readonly serialisable: typeof import("..").BuilderToggleType;
646
- readonly instance: v.InstanceSchema<typeof import("..").BuilderToggleType, undefined>;
647
- }>, v.ReadonlyAction<{
648
- type: "toggle";
649
- valueType: "string" | "number" | "boolean";
650
- defaultValue: string | number | boolean | null;
651
- isOptional: boolean;
652
- }>]>], undefined>, v.ReadonlyAction<Readonly<{
653
- type: "select";
654
- readonly options: readonly [string, ...string[]];
655
- defaultValue: string | null;
656
- isOptional: boolean;
657
- optionLabels: {
658
- [x: string]: string;
659
- };
660
- }> | Readonly<{
661
- type: "toggle";
662
- valueType: "string" | "number" | "boolean";
663
- defaultValue: string | number | boolean | null;
664
- isOptional: boolean;
665
- }>>]>, v.GenericSchema], undefined>;
666
- }>]>;
667
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
668
- readonly type: v.LiteralSchema<"ref", undefined>;
669
- readonly id: v.StringSchema<undefined>;
670
- readonly name: v.StringSchema<undefined>;
671
- }, undefined>, v.ReadonlyAction<{
672
- type: "ref";
673
- id: string;
674
- name: string;
675
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
676
- type: "ref";
677
- id: string;
678
- name: string;
679
- }>, {
680
- readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
681
- }>]>, undefined>;
682
- }, undefined>, v.MetadataAction<{
683
- name: string;
684
- payload: unknown;
685
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
686
- type: "ref";
687
- id: string;
688
- name: string;
689
- }> | undefined;
690
- }, {
691
- readonly serialisable: typeof import("..").BuilderOption;
692
- readonly instance: v.InstanceSchema<typeof import("..").BuilderOption, undefined>;
693
- }>, v.ReadonlyAction<{
694
- name: string;
695
- payload: unknown;
696
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
697
- type: "ref";
698
- id: string;
699
- name: string;
700
- }> | undefined;
701
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
702
- name: string;
703
- payload: unknown;
704
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
705
- type: "ref";
706
- id: string;
707
- name: string;
708
- }> | undefined;
709
- }>[]>]>;
710
- readonly components: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
711
- readonly name: v.StringSchema<undefined>;
712
- readonly payload: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
713
- readonly type: v.LiteralSchema<"ref", undefined>;
714
- readonly id: v.StringSchema<undefined>;
715
- readonly name: v.StringSchema<undefined>;
716
- }, undefined>, v.ReadonlyAction<{
717
- type: "ref";
718
- id: string;
719
- name: string;
720
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
721
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
722
- readonly type: v.LiteralSchema<"ref", undefined>;
723
- readonly id: v.StringSchema<undefined>;
724
- readonly name: v.StringSchema<undefined>;
725
- }, undefined>, v.ReadonlyAction<{
726
- type: "ref";
727
- id: string;
728
- name: string;
729
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
730
- readonly name: v.StringSchema<undefined>;
731
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
732
- }, undefined>, v.MetadataAction<{
733
- name: string;
734
- kind: "option" | "component" | "collection" | "detail";
735
- }, {
736
- readonly serialisable: typeof BuilderExpectation;
737
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
738
- }>, v.ReadonlyAction<{
739
- name: string;
740
- kind: "option" | "component" | "collection" | "detail";
741
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
742
- name: string;
743
- kind: "option" | "component" | "collection" | "detail";
744
- }>[]>]>], undefined>, v.MetadataAction<import("../..").BuilderRef | Readonly<{
745
- type: "ref";
746
- id: string;
747
- name: string;
748
- }> | readonly Readonly<{
749
- name: string;
750
- kind: "option" | "component" | "collection" | "detail";
751
- }>[], {
752
- readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
753
- readonly name: v.StringSchema<undefined>;
754
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
755
- }, undefined>, v.MetadataAction<{
756
- name: string;
757
- kind: "option" | "component" | "collection" | "detail";
758
- }, {
759
- readonly serialisable: typeof BuilderExpectation;
760
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
761
- }>, v.ReadonlyAction<{
762
- name: string;
763
- kind: "option" | "component" | "collection" | "detail";
764
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
765
- name: string;
766
- kind: "option" | "component" | "collection" | "detail";
767
- }>[]>]>;
768
- }>]>;
769
- }, undefined>, v.MetadataAction<{
770
- expectations: import("../..").BuilderRef | Readonly<{
771
- type: "ref";
772
- id: string;
773
- name: string;
774
- }> | readonly Readonly<{
775
- name: string;
776
- kind: "option" | "component" | "collection" | "detail";
777
- }>[];
778
- }, {
779
- readonly serialisable: typeof import("..").BuilderComponentDetails;
780
- readonly instance: v.InstanceSchema<typeof import("..").BuilderComponentDetails, undefined>;
781
- }>, v.ReadonlyAction<{
782
- expectations: import("../..").BuilderRef | Readonly<{
783
- type: "ref";
784
- id: string;
785
- name: string;
786
- }> | readonly Readonly<{
787
- name: string;
788
- kind: "option" | "component" | "collection" | "detail";
789
- }>[];
790
- }>]>, v.GenericSchema], undefined>], undefined>, v.MetadataAction<unknown, {
791
- readonly refable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
792
- readonly expectations: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
793
- readonly type: v.LiteralSchema<"ref", undefined>;
794
- readonly id: v.StringSchema<undefined>;
795
- readonly name: v.StringSchema<undefined>;
796
- }, undefined>, v.ReadonlyAction<{
797
- type: "ref";
798
- id: string;
799
- name: string;
800
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
801
- readonly name: v.StringSchema<undefined>;
802
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
803
- }, undefined>, v.MetadataAction<{
804
- name: string;
805
- kind: "option" | "component" | "collection" | "detail";
806
- }, {
807
- readonly serialisable: typeof BuilderExpectation;
808
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
809
- }>, v.ReadonlyAction<{
810
- name: string;
811
- kind: "option" | "component" | "collection" | "detail";
812
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
813
- name: string;
814
- kind: "option" | "component" | "collection" | "detail";
815
- }>[]>]>], undefined>, v.MetadataAction<import("../..").BuilderRef | Readonly<{
816
- type: "ref";
817
- id: string;
818
- name: string;
819
- }> | readonly Readonly<{
820
- name: string;
821
- kind: "option" | "component" | "collection" | "detail";
822
- }>[], {
823
- readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
824
- readonly name: v.StringSchema<undefined>;
825
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
826
- }, undefined>, v.MetadataAction<{
827
- name: string;
828
- kind: "option" | "component" | "collection" | "detail";
829
- }, {
830
- readonly serialisable: typeof BuilderExpectation;
831
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
832
- }>, v.ReadonlyAction<{
833
- name: string;
834
- kind: "option" | "component" | "collection" | "detail";
835
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
836
- name: string;
837
- kind: "option" | "component" | "collection" | "detail";
838
- }>[]>]>;
839
- }>]>;
840
- }, undefined>, v.MetadataAction<{
841
- expectations: import("../..").BuilderRef | Readonly<{
842
- type: "ref";
843
- id: string;
844
- name: string;
845
- }> | readonly Readonly<{
846
- name: string;
847
- kind: "option" | "component" | "collection" | "detail";
848
- }>[];
849
- }, {
850
- readonly serialisable: typeof import("..").BuilderComponentDetails;
851
- readonly instance: v.InstanceSchema<typeof import("..").BuilderComponentDetails, undefined>;
852
- }>, v.ReadonlyAction<{
853
- expectations: import("../..").BuilderRef | Readonly<{
854
- type: "ref";
855
- id: string;
856
- name: string;
857
- }> | readonly Readonly<{
858
- name: string;
859
- kind: "option" | "component" | "collection" | "detail";
860
- }>[];
861
- }>]>, v.GenericSchema], undefined>;
862
- }>]>;
863
- readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
864
- readonly type: v.LiteralSchema<"ref", undefined>;
865
- readonly id: v.StringSchema<undefined>;
866
- readonly name: v.StringSchema<undefined>;
867
- }, undefined>, v.ReadonlyAction<{
868
- type: "ref";
869
- id: string;
870
- name: string;
871
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
872
- type: "ref";
873
- id: string;
874
- name: string;
875
- }>, {
876
- readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
877
- }>]>, undefined>;
878
- }, undefined>, v.MetadataAction<{
879
- name: string;
880
- payload: unknown;
881
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
882
- type: "ref";
883
- id: string;
884
- name: string;
885
- }> | undefined;
886
- }, {
887
- readonly serialisable: typeof import("..").BuilderComponent;
888
- readonly instance: v.InstanceSchema<typeof import("..").BuilderComponent, undefined>;
889
- }>, v.ReadonlyAction<{
890
- name: string;
891
- payload: unknown;
892
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
893
- type: "ref";
894
- id: string;
895
- name: string;
896
- }> | undefined;
897
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
898
- name: string;
899
- payload: unknown;
900
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
901
- type: "ref";
902
- id: string;
903
- name: string;
904
- }> | undefined;
905
- }>[]>]>;
906
- readonly collections: v.SchemaWithPipe<readonly [v.ArraySchema<v.GenericSchema<import("..").BuilderCollectionSerialised>, undefined>, v.ReadonlyAction<import("..").BuilderCollectionSerialised[]>]>;
907
- readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
908
- readonly name: v.StringSchema<undefined>;
909
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
910
- }, undefined>, v.MetadataAction<{
911
- name: string;
912
- kind: "option" | "component" | "collection" | "detail";
913
- }, {
914
- readonly serialisable: typeof BuilderExpectation;
915
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
916
- }>, v.ReadonlyAction<{
917
- name: string;
918
- kind: "option" | "component" | "collection" | "detail";
919
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
920
- name: string;
921
- kind: "option" | "component" | "collection" | "detail";
922
- }>[]>]>;
923
- }, undefined>, v.MetadataAction<{
924
- readonly references: readonly Readonly<{
925
- type: "ref";
926
- id: string;
927
- name: string;
928
- }>[];
929
- readonly options: readonly Readonly<{
930
- name: string;
931
- payload: unknown;
932
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
933
- type: "ref";
934
- id: string;
935
- name: string;
936
- }> | undefined;
937
- }>[];
938
- readonly components: readonly Readonly<{
939
- name: string;
940
- payload: unknown;
941
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
942
- type: "ref";
943
- id: string;
944
- name: string;
945
- }> | undefined;
946
- }>[];
947
- readonly collections: readonly import("..").BuilderCollectionSerialised[];
948
- readonly expectations: readonly Readonly<{
949
- name: string;
950
- kind: "option" | "component" | "collection" | "detail";
951
- }>[];
952
- }, {
953
- readonly serialisable: typeof Builder;
954
- readonly instance: v.InstanceSchema<typeof Builder, undefined>;
955
- }>, v.ReadonlyAction<{
956
- readonly references: readonly Readonly<{
957
- type: "ref";
958
- id: string;
959
- name: string;
960
- }>[];
961
- readonly options: readonly Readonly<{
962
- name: string;
963
- payload: unknown;
964
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
965
- type: "ref";
966
- id: string;
967
- name: string;
968
- }> | undefined;
969
- }>[];
970
- readonly components: readonly Readonly<{
971
- name: string;
972
- payload: unknown;
973
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
974
- type: "ref";
975
- id: string;
976
- name: string;
977
- }> | undefined;
978
- }>[];
979
- readonly collections: readonly import("..").BuilderCollectionSerialised[];
980
- readonly expectations: readonly Readonly<{
981
- name: string;
982
- kind: "option" | "component" | "collection" | "detail";
983
- }>[];
984
- }>]>>;
985
- }>]>;
986
- readonly references: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
987
- readonly type: v.LiteralSchema<"ref", undefined>;
988
- readonly id: v.StringSchema<undefined>;
989
- readonly name: v.StringSchema<undefined>;
990
- }, undefined>, v.ReadonlyAction<{
991
- type: "ref";
992
- id: string;
993
- name: string;
994
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
995
- type: "ref";
996
- id: string;
997
- name: string;
998
- }>[]>]>;
999
- readonly items: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1000
- readonly type: v.LiteralSchema<"ref", undefined>;
1001
- readonly id: v.StringSchema<undefined>;
1002
- readonly name: v.StringSchema<undefined>;
1003
- }, undefined>, v.ReadonlyAction<{
1004
- type: "ref";
1005
- id: string;
1006
- name: string;
1007
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1008
- readonly type: v.LiteralSchema<"page", undefined>;
1009
- readonly label: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1010
- readonly type: v.LiteralSchema<"ref", undefined>;
1011
- readonly id: v.StringSchema<undefined>;
1012
- readonly name: v.StringSchema<undefined>;
1013
- }, undefined>, v.ReadonlyAction<{
1014
- type: "ref";
1015
- id: string;
1016
- name: string;
1017
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1018
- readonly label: v.StringSchema<undefined>;
1019
- }, undefined>, v.MetadataAction<{
1020
- label: string;
1021
- }, {
1022
- readonly serialisable: typeof BuilderUILabel;
1023
- readonly instance: v.InstanceSchema<typeof BuilderUILabel, undefined>;
1024
- }>, v.ReadonlyAction<{
1025
- label: string;
1026
- }>]>], undefined>, v.MetadataAction<import("../..").BuilderRef | Readonly<{
1027
- type: "ref";
1028
- id: string;
1029
- name: string;
1030
- }> | Readonly<{
1031
- label: string;
1032
- }>, {
1033
- readonly refable: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1034
- readonly label: v.StringSchema<undefined>;
1035
- }, undefined>, v.MetadataAction<{
1036
- label: string;
1037
- }, {
1038
- readonly serialisable: typeof BuilderUILabel;
1039
- readonly instance: v.InstanceSchema<typeof BuilderUILabel, undefined>;
1040
- }>, v.ReadonlyAction<{
1041
- label: string;
1042
- }>]>;
1043
- }>]>;
1044
- readonly paths: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1045
- readonly type: v.LiteralSchema<"ref", undefined>;
1046
- readonly id: v.StringSchema<undefined>;
1047
- readonly name: v.StringSchema<undefined>;
1048
- }, undefined>, v.ReadonlyAction<{
1049
- type: "ref";
1050
- id: string;
1051
- name: string;
1052
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1053
- type: "ref";
1054
- id: string;
1055
- name: string;
1056
- }>, {
1057
- readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
1058
- }>]>;
1059
- }, undefined>, v.MetadataAction<{
1060
- type: "page";
1061
- label: import("../..").BuilderRef | Readonly<{
1062
- type: "ref";
1063
- id: string;
1064
- name: string;
1065
- }> | Readonly<{
1066
- label: string;
1067
- }>;
1068
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1069
- type: "ref";
1070
- id: string;
1071
- name: string;
1072
- }>;
1073
- }, {
1074
- readonly serialisable: typeof BuilderUIPage;
1075
- readonly instance: v.InstanceSchema<typeof BuilderUIPage, undefined>;
1076
- }>, v.ReadonlyAction<{
1077
- type: "page";
1078
- label: import("../..").BuilderRef | Readonly<{
1079
- type: "ref";
1080
- id: string;
1081
- name: string;
1082
- }> | Readonly<{
1083
- label: string;
1084
- }>;
1085
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1086
- type: "ref";
1087
- id: string;
1088
- name: string;
1089
- }>;
1090
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1091
- readonly type: v.LiteralSchema<"describe", undefined>;
1092
- readonly label: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1093
- readonly type: v.LiteralSchema<"ref", undefined>;
1094
- readonly id: v.StringSchema<undefined>;
1095
- readonly name: v.StringSchema<undefined>;
1096
- }, undefined>, v.ReadonlyAction<{
1097
- type: "ref";
1098
- id: string;
1099
- name: string;
1100
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1101
- readonly label: v.StringSchema<undefined>;
1102
- }, undefined>, v.MetadataAction<{
1103
- label: string;
1104
- }, {
1105
- readonly serialisable: typeof BuilderUILabel;
1106
- readonly instance: v.InstanceSchema<typeof BuilderUILabel, undefined>;
1107
- }>, v.ReadonlyAction<{
1108
- label: string;
1109
- }>]>], undefined>, v.MetadataAction<import("../..").BuilderRef | Readonly<{
1110
- type: "ref";
1111
- id: string;
1112
- name: string;
1113
- }> | Readonly<{
1114
- label: string;
1115
- }>, {
1116
- readonly refable: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1117
- readonly label: v.StringSchema<undefined>;
1118
- }, undefined>, v.MetadataAction<{
1119
- label: string;
1120
- }, {
1121
- readonly serialisable: typeof BuilderUILabel;
1122
- readonly instance: v.InstanceSchema<typeof BuilderUILabel, undefined>;
1123
- }>, v.ReadonlyAction<{
1124
- label: string;
1125
- }>]>;
1126
- }>]>;
1127
- readonly paths: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1128
- readonly type: v.LiteralSchema<"ref", undefined>;
1129
- readonly id: v.StringSchema<undefined>;
1130
- readonly name: v.StringSchema<undefined>;
1131
- }, undefined>, v.ReadonlyAction<{
1132
- type: "ref";
1133
- id: string;
1134
- name: string;
1135
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1136
- type: "ref";
1137
- id: string;
1138
- name: string;
1139
- }>, {
1140
- readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
1141
- }>]>;
1142
- }, undefined>, v.MetadataAction<{
1143
- type: "describe";
1144
- label: import("../..").BuilderRef | Readonly<{
1145
- type: "ref";
1146
- id: string;
1147
- name: string;
1148
- }> | Readonly<{
1149
- label: string;
1150
- }>;
1151
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1152
- type: "ref";
1153
- id: string;
1154
- name: string;
1155
- }>;
1156
- }, {
1157
- readonly serialisable: typeof BuilderUIDescribe;
1158
- readonly instance: v.InstanceSchema<typeof BuilderUIDescribe, undefined>;
1159
- }>, v.ReadonlyAction<{
1160
- type: "describe";
1161
- label: import("../..").BuilderRef | Readonly<{
1162
- type: "ref";
1163
- id: string;
1164
- name: string;
1165
- }> | Readonly<{
1166
- label: string;
1167
- }>;
1168
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1169
- type: "ref";
1170
- id: string;
1171
- name: string;
1172
- }>;
1173
- }>]>, v.GenericSchema<import("./pages").BuilderUIPagesSerialised>], undefined>], undefined>, v.MetadataAction<import("../..").BuilderRef | Readonly<{
1174
- type: "ref";
1175
- id: string;
1176
- name: string;
1177
- }> | Readonly<{
1178
- type: "describe";
1179
- label: import("../..").BuilderRef | Readonly<{
1180
- type: "ref";
1181
- id: string;
1182
- name: string;
1183
- }> | Readonly<{
1184
- label: string;
1185
- }>;
1186
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1187
- type: "ref";
1188
- id: string;
1189
- name: string;
1190
- }>;
1191
- }> | Readonly<{
1192
- type: "page";
1193
- label: import("../..").BuilderRef | Readonly<{
1194
- type: "ref";
1195
- id: string;
1196
- name: string;
1197
- }> | Readonly<{
1198
- label: string;
1199
- }>;
1200
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1201
- type: "ref";
1202
- id: string;
1203
- name: string;
1204
- }>;
1205
- }> | import("./pages").BuilderUIPagesSerialised, {
1206
- readonly refable: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1207
- readonly type: v.LiteralSchema<"page", undefined>;
1208
- readonly label: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1209
- readonly type: v.LiteralSchema<"ref", undefined>;
1210
- readonly id: v.StringSchema<undefined>;
1211
- readonly name: v.StringSchema<undefined>;
1212
- }, undefined>, v.ReadonlyAction<{
1213
- type: "ref";
1214
- id: string;
1215
- name: string;
1216
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1217
- readonly label: v.StringSchema<undefined>;
1218
- }, undefined>, v.MetadataAction<{
1219
- label: string;
1220
- }, {
1221
- readonly serialisable: typeof BuilderUILabel;
1222
- readonly instance: v.InstanceSchema<typeof BuilderUILabel, undefined>;
1223
- }>, v.ReadonlyAction<{
1224
- label: string;
1225
- }>]>], undefined>, v.MetadataAction<import("../..").BuilderRef | Readonly<{
1226
- type: "ref";
1227
- id: string;
1228
- name: string;
1229
- }> | Readonly<{
1230
- label: string;
1231
- }>, {
1232
- readonly refable: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1233
- readonly label: v.StringSchema<undefined>;
1234
- }, undefined>, v.MetadataAction<{
1235
- label: string;
1236
- }, {
1237
- readonly serialisable: typeof BuilderUILabel;
1238
- readonly instance: v.InstanceSchema<typeof BuilderUILabel, undefined>;
1239
- }>, v.ReadonlyAction<{
1240
- label: string;
1241
- }>]>;
1242
- }>]>;
1243
- readonly paths: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1244
- readonly type: v.LiteralSchema<"ref", undefined>;
1245
- readonly id: v.StringSchema<undefined>;
1246
- readonly name: v.StringSchema<undefined>;
1247
- }, undefined>, v.ReadonlyAction<{
1248
- type: "ref";
1249
- id: string;
1250
- name: string;
1251
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1252
- type: "ref";
1253
- id: string;
1254
- name: string;
1255
- }>, {
1256
- readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
1257
- }>]>;
1258
- }, undefined>, v.MetadataAction<{
1259
- type: "page";
1260
- label: import("../..").BuilderRef | Readonly<{
1261
- type: "ref";
1262
- id: string;
1263
- name: string;
1264
- }> | Readonly<{
1265
- label: string;
1266
- }>;
1267
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1268
- type: "ref";
1269
- id: string;
1270
- name: string;
1271
- }>;
1272
- }, {
1273
- readonly serialisable: typeof BuilderUIPage;
1274
- readonly instance: v.InstanceSchema<typeof BuilderUIPage, undefined>;
1275
- }>, v.ReadonlyAction<{
1276
- type: "page";
1277
- label: import("../..").BuilderRef | Readonly<{
1278
- type: "ref";
1279
- id: string;
1280
- name: string;
1281
- }> | Readonly<{
1282
- label: string;
1283
- }>;
1284
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1285
- type: "ref";
1286
- id: string;
1287
- name: string;
1288
- }>;
1289
- }>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1290
- readonly type: v.LiteralSchema<"describe", undefined>;
1291
- readonly label: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1292
- readonly type: v.LiteralSchema<"ref", undefined>;
1293
- readonly id: v.StringSchema<undefined>;
1294
- readonly name: v.StringSchema<undefined>;
1295
- }, undefined>, v.ReadonlyAction<{
1296
- type: "ref";
1297
- id: string;
1298
- name: string;
1299
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1300
- readonly label: v.StringSchema<undefined>;
1301
- }, undefined>, v.MetadataAction<{
1302
- label: string;
1303
- }, {
1304
- readonly serialisable: typeof BuilderUILabel;
1305
- readonly instance: v.InstanceSchema<typeof BuilderUILabel, undefined>;
1306
- }>, v.ReadonlyAction<{
1307
- label: string;
1308
- }>]>], undefined>, v.MetadataAction<import("../..").BuilderRef | Readonly<{
1309
- type: "ref";
1310
- id: string;
1311
- name: string;
1312
- }> | Readonly<{
1313
- label: string;
1314
- }>, {
1315
- readonly refable: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1316
- readonly label: v.StringSchema<undefined>;
1317
- }, undefined>, v.MetadataAction<{
1318
- label: string;
1319
- }, {
1320
- readonly serialisable: typeof BuilderUILabel;
1321
- readonly instance: v.InstanceSchema<typeof BuilderUILabel, undefined>;
1322
- }>, v.ReadonlyAction<{
1323
- label: string;
1324
- }>]>;
1325
- }>]>;
1326
- readonly paths: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1327
- readonly type: v.LiteralSchema<"ref", undefined>;
1328
- readonly id: v.StringSchema<undefined>;
1329
- readonly name: v.StringSchema<undefined>;
1330
- }, undefined>, v.ReadonlyAction<{
1331
- type: "ref";
1332
- id: string;
1333
- name: string;
1334
- }>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>], undefined>, v.MetadataAction<readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1335
- type: "ref";
1336
- id: string;
1337
- name: string;
1338
- }>, {
1339
- readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, v.ReadonlyAction<(string | number)[]>]>, undefined>, v.ReadonlyAction<(readonly (string | number)[])[]>]>;
1340
- }>]>;
1341
- }, undefined>, v.MetadataAction<{
1342
- type: "describe";
1343
- label: import("../..").BuilderRef | Readonly<{
1344
- type: "ref";
1345
- id: string;
1346
- name: string;
1347
- }> | Readonly<{
1348
- label: string;
1349
- }>;
1350
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1351
- type: "ref";
1352
- id: string;
1353
- name: string;
1354
- }>;
1355
- }, {
1356
- readonly serialisable: typeof BuilderUIDescribe;
1357
- readonly instance: v.InstanceSchema<typeof BuilderUIDescribe, undefined>;
1358
- }>, v.ReadonlyAction<{
1359
- type: "describe";
1360
- label: import("../..").BuilderRef | Readonly<{
1361
- type: "ref";
1362
- id: string;
1363
- name: string;
1364
- }> | Readonly<{
1365
- label: string;
1366
- }>;
1367
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1368
- type: "ref";
1369
- id: string;
1370
- name: string;
1371
- }>;
1372
- }>]>, v.GenericSchema<import("./pages").BuilderUIPagesSerialised>], undefined>;
1373
- }>]>, undefined>, v.ReadonlyAction<(import("../..").BuilderRef | Readonly<{
1374
- type: "ref";
1375
- id: string;
1376
- name: string;
1377
- }> | Readonly<{
1378
- type: "describe";
1379
- label: import("../..").BuilderRef | Readonly<{
1380
- type: "ref";
1381
- id: string;
1382
- name: string;
1383
- }> | Readonly<{
1384
- label: string;
1385
- }>;
1386
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1387
- type: "ref";
1388
- id: string;
1389
- name: string;
1390
- }>;
1391
- }> | Readonly<{
1392
- type: "page";
1393
- label: import("../..").BuilderRef | Readonly<{
1394
- type: "ref";
1395
- id: string;
1396
- name: string;
1397
- }> | Readonly<{
1398
- label: string;
1399
- }>;
1400
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1401
- type: "ref";
1402
- id: string;
1403
- name: string;
1404
- }>;
1405
- }> | import("./pages").BuilderUIPagesSerialised)[]>]>;
1406
- readonly expectations: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1407
- readonly name: v.StringSchema<undefined>;
1408
- readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
1409
- }, undefined>, v.MetadataAction<{
1410
- name: string;
1411
- kind: "option" | "component" | "collection" | "detail";
1412
- }, {
1413
- readonly serialisable: typeof BuilderExpectation;
1414
- readonly instance: v.InstanceSchema<typeof BuilderExpectation, undefined>;
1415
- }>, v.ReadonlyAction<{
1416
- name: string;
1417
- kind: "option" | "component" | "collection" | "detail";
1418
- }>]>, undefined>, v.ReadonlyAction<Readonly<{
1419
- name: string;
1420
- kind: "option" | "component" | "collection" | "detail";
1421
- }>[]>]>;
1422
- }, undefined>, v.MetadataAction<{
1423
- builder: import("../..").BuilderRef | Readonly<{
1424
- type: "ref";
1425
- id: string;
1426
- name: string;
1427
- }> | Readonly<{
1428
- readonly references: readonly Readonly<{
1429
- type: "ref";
1430
- id: string;
1431
- name: string;
1432
- }>[];
1433
- readonly options: readonly Readonly<{
1434
- name: string;
1435
- payload: unknown;
1436
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1437
- type: "ref";
1438
- id: string;
1439
- name: string;
1440
- }> | undefined;
1441
- }>[];
1442
- readonly components: readonly Readonly<{
1443
- name: string;
1444
- payload: unknown;
1445
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1446
- type: "ref";
1447
- id: string;
1448
- name: string;
1449
- }> | undefined;
1450
- }>[];
1451
- readonly collections: readonly import("..").BuilderCollectionSerialised[];
1452
- readonly expectations: readonly Readonly<{
1453
- name: string;
1454
- kind: "option" | "component" | "collection" | "detail";
1455
- }>[];
1456
- }>;
1457
- readonly references: readonly Readonly<{
1458
- type: "ref";
1459
- id: string;
1460
- name: string;
1461
- }>[];
1462
- readonly items: readonly (import("../..").BuilderRef | Readonly<{
1463
- type: "ref";
1464
- id: string;
1465
- name: string;
1466
- }> | Readonly<{
1467
- type: "describe";
1468
- label: import("../..").BuilderRef | Readonly<{
1469
- type: "ref";
1470
- id: string;
1471
- name: string;
1472
- }> | Readonly<{
1473
- label: string;
1474
- }>;
1475
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1476
- type: "ref";
1477
- id: string;
1478
- name: string;
1479
- }>;
1480
- }> | Readonly<{
1481
- type: "page";
1482
- label: import("../..").BuilderRef | Readonly<{
1483
- type: "ref";
1484
- id: string;
1485
- name: string;
1486
- }> | Readonly<{
1487
- label: string;
1488
- }>;
1489
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1490
- type: "ref";
1491
- id: string;
1492
- name: string;
1493
- }>;
1494
- }> | import("./pages").BuilderUIPagesSerialised)[];
1495
- readonly expectations: readonly Readonly<{
1496
- name: string;
1497
- kind: "option" | "component" | "collection" | "detail";
1498
- }>[];
1499
- }, {
1500
- readonly serialisable: typeof BuilderUI;
1501
- readonly instance: v.InstanceSchema<typeof BuilderUI, undefined>;
1502
- }>, v.ReadonlyAction<{
1503
- builder: import("../..").BuilderRef | Readonly<{
1504
- type: "ref";
1505
- id: string;
1506
- name: string;
1507
- }> | Readonly<{
1508
- readonly references: readonly Readonly<{
1509
- type: "ref";
1510
- id: string;
1511
- name: string;
1512
- }>[];
1513
- readonly options: readonly Readonly<{
1514
- name: string;
1515
- payload: unknown;
1516
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1517
- type: "ref";
1518
- id: string;
1519
- name: string;
1520
- }> | undefined;
1521
- }>[];
1522
- readonly components: readonly Readonly<{
1523
- name: string;
1524
- payload: unknown;
1525
- gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1526
- type: "ref";
1527
- id: string;
1528
- name: string;
1529
- }> | undefined;
1530
- }>[];
1531
- readonly collections: readonly import("..").BuilderCollectionSerialised[];
1532
- readonly expectations: readonly Readonly<{
1533
- name: string;
1534
- kind: "option" | "component" | "collection" | "detail";
1535
- }>[];
1536
- }>;
1537
- readonly references: readonly Readonly<{
1538
- type: "ref";
1539
- id: string;
1540
- name: string;
1541
- }>[];
1542
- readonly items: readonly (import("../..").BuilderRef | Readonly<{
1543
- type: "ref";
1544
- id: string;
1545
- name: string;
1546
- }> | Readonly<{
1547
- type: "describe";
1548
- label: import("../..").BuilderRef | Readonly<{
1549
- type: "ref";
1550
- id: string;
1551
- name: string;
1552
- }> | Readonly<{
1553
- label: string;
1554
- }>;
1555
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1556
- type: "ref";
1557
- id: string;
1558
- name: string;
1559
- }>;
1560
- }> | Readonly<{
1561
- type: "page";
1562
- label: import("../..").BuilderRef | Readonly<{
1563
- type: "ref";
1564
- id: string;
1565
- name: string;
1566
- }> | Readonly<{
1567
- label: string;
1568
- }>;
1569
- paths: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
1570
- type: "ref";
1571
- id: string;
1572
- name: string;
1573
- }>;
1574
- }> | import("./pages").BuilderUIPagesSerialised)[];
1575
- readonly expectations: readonly Readonly<{
1576
- name: string;
1577
- kind: "option" | "component" | "collection" | "detail";
1578
- }>[];
1579
- }>]>;
1580
- export type BuilderUISerialised = v.InferOutput<typeof BuilderUISerialisedSchema>;
1581
- export type BuilderUIReference = Refable<BuilderUIGeneric>;
1582
- export type BuilderUIReferences = ReadonlyArray<BuilderUIReference>;
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>;