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