@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.
- package/dist/bb.d.ts +28 -0
- package/dist/bb.js +49 -0
- package/dist/check.d.ts +1 -1
- package/dist/check.js +4 -2
- package/dist/entities/builder/bind.d.ts +4 -0
- package/dist/entities/builder/builder.d.ts +17 -490
- package/dist/entities/builder/builder.js +19 -76
- package/dist/entities/builder/factory.d.ts +7 -0
- package/dist/entities/builder/factory.js +4 -0
- package/dist/entities/builder/index.d.ts +3 -6
- package/dist/entities/builder/index.js +1 -2
- package/dist/entities/collection/collection.d.ts +71 -20
- package/dist/entities/collection/collection.js +10 -27
- package/dist/entities/collection/config.d.ts +40 -1049
- package/dist/entities/collection/config.js +11 -11
- package/dist/entities/collection/expectation.d.ts +8 -4
- package/dist/entities/collection/index.d.ts +3 -3
- package/dist/entities/collection/index.js +1 -1
- package/dist/entities/collection/when.d.ts +6 -5
- package/dist/entities/component/component.d.ts +272 -300
- package/dist/entities/component/component.js +9 -8
- package/dist/entities/component/details.d.ts +35 -60
- package/dist/entities/component/details.js +9 -9
- package/dist/entities/component/expectation.d.ts +7 -4
- package/dist/entities/component/expectation.js +0 -3
- package/dist/entities/component/field.d.ts +50 -0
- package/dist/entities/component/field.js +41 -0
- package/dist/entities/component/index.d.ts +5 -3
- package/dist/entities/component/index.js +3 -2
- package/dist/entities/component/when.d.ts +5 -5
- package/dist/entities/component/when.js +2 -2
- package/dist/entities/entry.d.ts +4 -0
- package/dist/entities/expectation.d.ts +10 -22
- package/dist/entities/expectation.js +2 -7
- package/dist/entities/index.d.ts +21 -16
- package/dist/entities/index.js +10 -8
- package/dist/entities/kind.d.ts +9 -0
- package/dist/entities/kind.js +5 -0
- package/dist/entities/model/bind.d.ts +83 -0
- package/dist/entities/model/expectation.d.ts +16 -0
- package/dist/entities/model/index.d.ts +7 -0
- package/dist/entities/model/index.js +2 -0
- package/dist/entities/model/methods.d.ts +57 -0
- package/dist/entities/{builder → model}/methods.js +8 -8
- package/dist/entities/model/model.d.ts +39 -0
- package/dist/entities/model/model.js +73 -0
- package/dist/entities/model/models.d.ts +39 -0
- package/dist/entities/model/models.js +14 -0
- package/dist/entities/{builder → model}/state.d.ts +10 -10
- package/dist/entities/option/index.d.ts +2 -2
- package/dist/entities/option/index.js +2 -2
- package/dist/entities/option/option.d.ts +216 -214
- package/dist/entities/option/option.js +9 -8
- package/dist/entities/option/select.d.ts +2 -12
- package/dist/entities/option/select.js +6 -3
- package/dist/entities/option/toggle.d.ts +2 -9
- package/dist/entities/option/toggle.js +3 -3
- package/dist/entities/option/values.d.ts +4 -24
- package/dist/entities/option/values.js +10 -4
- package/dist/entities/option/when.d.ts +6 -5
- package/dist/entities/refs.d.ts +6 -0
- package/dist/entities/refs.js +1 -0
- package/dist/entities/serialise.d.ts +393 -3568
- package/dist/entities/serialise.js +160 -31
- package/dist/entities/ui/describe.d.ts +23 -57
- package/dist/entities/ui/describe.js +4 -5
- package/dist/entities/ui/index.d.ts +4 -9
- package/dist/entities/ui/index.js +2 -4
- package/dist/entities/ui/page.d.ts +23 -57
- package/dist/entities/ui/page.js +4 -5
- package/dist/entities/ui/pages.d.ts +18 -403
- package/dist/entities/ui/pages.js +7 -7
- package/dist/entities/ui/ui.d.ts +22 -1575
- package/dist/entities/ui/ui.js +15 -28
- package/dist/entities/ui/uis.d.ts +5 -9
- package/dist/entities/ui/uis.js +12 -19
- package/dist/entities/validated.d.ts +35 -0
- package/dist/entities/validated.js +1 -0
- package/dist/entities/when.d.ts +79 -70
- package/dist/entities/when.js +11 -7
- package/dist/environment.d.ts +5 -0
- package/dist/environment.js +2 -0
- package/dist/exception.d.ts +8 -3
- package/dist/exception.js +3 -0
- package/dist/index.d.ts +21 -24
- package/dist/index.js +5 -10
- package/dist/instance.d.ts +56 -0
- package/dist/instance.js +10 -0
- package/dist/mappers/index.d.ts +7 -5
- package/dist/mappers/index.js +5 -3
- package/dist/mappers/instance.d.ts +3 -0
- package/dist/mappers/instance.js +35 -0
- package/dist/mappers/order.d.ts +6 -0
- package/dist/mappers/order.js +22 -0
- package/dist/mappers/render/pages.d.ts +4 -4
- package/dist/mappers/render/render.d.ts +2 -3
- package/dist/mappers/render/render.js +83 -78
- package/dist/mappers/resolve.d.ts +5 -9
- package/dist/mappers/resolve.js +25 -33
- package/dist/mappers/variants/index.d.ts +1 -0
- package/dist/mappers/variants/index.js +1 -0
- package/dist/mappers/variants/option-graph.d.ts +19 -0
- package/dist/mappers/{models → variants}/option-graph.js +33 -22
- package/dist/mappers/variants/variants.d.ts +3 -0
- package/dist/mappers/variants/variants.js +57 -0
- package/dist/private.d.ts +4 -0
- package/dist/private.js +4 -0
- package/dist/references.d.ts +27 -36
- package/dist/references.js +19 -12
- package/dist/serialisable.d.ts +1 -9
- package/dist/serialisable.js +2 -3
- package/dist/validate/brand.d.ts +14 -0
- package/dist/validate/brand.js +17 -0
- package/dist/validate/builder.d.ts +4 -0
- package/dist/validate/builder.js +27 -0
- package/dist/validate/expectations.d.ts +10 -0
- package/dist/validate/expectations.js +12 -0
- package/dist/validate/index.d.ts +18 -0
- package/dist/validate/index.js +9 -0
- package/dist/validate/instance.d.ts +19 -0
- package/dist/validate/instance.js +46 -0
- package/dist/validate/model.d.ts +36 -0
- package/dist/validate/model.js +196 -0
- package/dist/validate/resolve.d.ts +16 -0
- package/dist/validate/resolve.js +91 -0
- package/dist/validate/result.d.ts +8 -0
- package/dist/validate/result.js +4 -0
- package/dist/validate/ui.d.ts +8 -0
- package/dist/validate/ui.js +77 -0
- package/dist/validate/variants.d.ts +59 -0
- package/dist/validate/variants.js +102 -0
- package/package.json +12 -9
- package/dist/entities/builder/builders.d.ts +0 -20
- package/dist/entities/builder/builders.js +0 -18
- package/dist/entities/builder/expectation.d.ts +0 -12
- package/dist/entities/builder/methods.d.ts +0 -58
- package/dist/entities/builder/parameter.d.ts +0 -62
- package/dist/entities/builder/parameter.js +0 -18
- package/dist/entities/builder/validate.d.ts +0 -3
- package/dist/entities/builder/validate.js +0 -108
- package/dist/entities/errors.d.ts +0 -21
- package/dist/entities/ui/label.d.ts +0 -18
- package/dist/entities/ui/label.js +0 -12
- package/dist/entities/ui/parameter.d.ts +0 -7
- package/dist/entities/ui/parameter.js +0 -29
- package/dist/entities/ui/validate.d.ts +0 -8
- package/dist/entities/ui/validate.js +0 -21
- package/dist/entities/validate.d.ts +0 -28
- package/dist/mappers/assert/builder.d.ts +0 -2
- package/dist/mappers/assert/builder.js +0 -46
- package/dist/mappers/assert/expectation.d.ts +0 -2
- package/dist/mappers/assert/expectation.js +0 -23
- package/dist/mappers/assert/index.d.ts +0 -6
- package/dist/mappers/assert/index.js +0 -4
- package/dist/mappers/assert/model.d.ts +0 -13
- package/dist/mappers/assert/model.js +0 -47
- package/dist/mappers/assert/models.d.ts +0 -33
- package/dist/mappers/assert/models.js +0 -74
- package/dist/mappers/assert/ui.d.ts +0 -2
- package/dist/mappers/assert/ui.js +0 -22
- package/dist/mappers/instance/index.d.ts +0 -1
- package/dist/mappers/instance/index.js +0 -1
- package/dist/mappers/instance/instance.d.ts +0 -4
- package/dist/mappers/instance/instance.js +0 -33
- package/dist/mappers/models/component-graph.d.ts +0 -9
- package/dist/mappers/models/component-graph.js +0 -51
- package/dist/mappers/models/graph.d.ts +0 -12
- package/dist/mappers/models/graph.js +0 -17
- package/dist/mappers/models/index.d.ts +0 -1
- package/dist/mappers/models/index.js +0 -1
- package/dist/mappers/models/models.d.ts +0 -3
- package/dist/mappers/models/models.js +0 -37
- package/dist/mappers/models/option-graph.d.ts +0 -9
- package/dist/mappers/order/index.d.ts +0 -2
- package/dist/mappers/order/index.js +0 -1
- package/dist/mappers/order/order.d.ts +0 -14
- package/dist/mappers/order/order.js +0 -31
- package/dist/model.d.ts +0 -14
- package/dist/walker/index.d.ts +0 -2
- package/dist/walker/index.js +0 -1
- package/dist/walker/walkable.d.ts +0 -4
- package/dist/walker/walkable.js +0 -4
- package/dist/walker/walker.d.ts +0 -18
- package/dist/walker/walker.js +0 -103
- package/dist/walker/walkers.d.ts +0 -8
- package/dist/walker/walkers.js +0 -51
- /package/dist/entities/builder/{expectation.js → bind.js} +0 -0
- /package/dist/entities/{builder/state.js → entry.js} +0 -0
- /package/dist/entities/{errors.js → model/bind.js} +0 -0
- /package/dist/entities/{validate.js → model/expectation.js} +0 -0
- /package/dist/{model.js → entities/model/state.js} +0 -0
|
@@ -1,403 +1,375 @@
|
|
|
1
1
|
import type { BuilderPaths } from '../../paths';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
2
|
+
import type { Paramable } from '../../references';
|
|
3
|
+
import type { BuilderWhenSerialised } from '../when';
|
|
4
4
|
import type { BuilderComponentDetails, BuilderComponentDetailsSerialised } from './details';
|
|
5
|
+
import type { BuilderComponentWhen } from './when';
|
|
5
6
|
import * as v from 'valibot';
|
|
6
|
-
export type BuilderComponentPayload = BuilderComponentDetails |
|
|
7
|
-
export declare class BuilderComponent<const Name extends string = string, const Payload extends
|
|
7
|
+
export type BuilderComponentPayload = BuilderComponentDetails | BuilderComponentWhen;
|
|
8
|
+
export declare class BuilderComponent<const Name extends string = string, const Payload extends Paramable<BuilderComponentPayload> = Paramable<BuilderComponentPayload>, const Paths extends Paramable<BuilderPaths> = Paramable<BuilderPaths>> {
|
|
8
9
|
readonly type: 'component';
|
|
9
10
|
readonly name: Name;
|
|
10
11
|
readonly payload: Payload;
|
|
11
|
-
readonly
|
|
12
|
-
constructor(name: Name, payload: Payload,
|
|
12
|
+
readonly paths?: Paths;
|
|
13
|
+
constructor(name: Name, payload: Payload, paths?: Paths);
|
|
13
14
|
}
|
|
14
15
|
export declare const BuilderComponentSchema: v.InstanceSchema<typeof BuilderComponent, undefined>;
|
|
15
16
|
export type BuilderComponents = ReadonlyArray<BuilderComponent>;
|
|
16
|
-
export declare const BuilderComponentWhenSerialisedSchema: v.GenericSchema
|
|
17
|
-
|
|
17
|
+
export declare const BuilderComponentWhenSerialisedSchema: v.GenericSchema<BuilderWhenSerialised<Readonly<{
|
|
18
|
+
fields: Readonly<{
|
|
19
|
+
type: "parameter";
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
}> | Readonly<{
|
|
23
|
+
type: "ref";
|
|
24
|
+
id: string;
|
|
25
|
+
}> | readonly Readonly<{
|
|
26
|
+
type: "component-field";
|
|
27
|
+
name: string;
|
|
28
|
+
valueType: "string" | "number" | "boolean";
|
|
29
|
+
isOptional: boolean;
|
|
30
|
+
}>[];
|
|
31
|
+
}>>>;
|
|
32
|
+
export type BuilderComponentWhenSerialised = BuilderWhenSerialised<BuilderComponentDetailsSerialised>;
|
|
33
|
+
export declare const BuilderComponentSelectMapSerialisedSchema: v.GenericSchema<import("..").BuilderMatchSelectMap<Readonly<{
|
|
34
|
+
type: "parameter";
|
|
35
|
+
id: string;
|
|
36
|
+
name: string;
|
|
37
|
+
}> | Readonly<{
|
|
38
|
+
fields: Readonly<{
|
|
39
|
+
type: "parameter";
|
|
40
|
+
id: string;
|
|
41
|
+
name: string;
|
|
42
|
+
}> | Readonly<{
|
|
43
|
+
type: "ref";
|
|
44
|
+
id: string;
|
|
45
|
+
}> | readonly Readonly<{
|
|
46
|
+
type: "component-field";
|
|
47
|
+
name: string;
|
|
48
|
+
valueType: "string" | "number" | "boolean";
|
|
49
|
+
isOptional: boolean;
|
|
50
|
+
}>[];
|
|
51
|
+
}>>>;
|
|
18
52
|
export declare const BuilderComponentSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
19
53
|
readonly name: v.StringSchema<undefined>;
|
|
20
|
-
readonly payload: v.
|
|
21
|
-
readonly type: v.LiteralSchema<"
|
|
54
|
+
readonly payload: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
55
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
22
56
|
readonly id: v.StringSchema<undefined>;
|
|
23
57
|
readonly name: v.StringSchema<undefined>;
|
|
24
58
|
}, undefined>, v.ReadonlyAction<{
|
|
25
|
-
type: "
|
|
59
|
+
type: "parameter";
|
|
26
60
|
id: string;
|
|
27
61
|
name: string;
|
|
28
|
-
}>]>, v.
|
|
29
|
-
readonly
|
|
30
|
-
|
|
62
|
+
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
63
|
+
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
64
|
+
readonly id: v.StringSchema<undefined>;
|
|
65
|
+
}, undefined>, v.ReadonlyAction<{
|
|
66
|
+
type: "ref";
|
|
67
|
+
id: string;
|
|
68
|
+
}>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
69
|
+
readonly fields: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
70
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
31
71
|
readonly id: v.StringSchema<undefined>;
|
|
32
72
|
readonly name: v.StringSchema<undefined>;
|
|
33
73
|
}, undefined>, v.ReadonlyAction<{
|
|
34
|
-
type: "
|
|
74
|
+
type: "parameter";
|
|
35
75
|
id: string;
|
|
36
76
|
name: string;
|
|
37
|
-
}>]>, v.
|
|
77
|
+
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
78
|
+
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
79
|
+
readonly id: v.StringSchema<undefined>;
|
|
80
|
+
}, undefined>, v.ReadonlyAction<{
|
|
81
|
+
type: "ref";
|
|
82
|
+
id: string;
|
|
83
|
+
}>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
84
|
+
readonly type: v.LiteralSchema<"component-field", undefined>;
|
|
38
85
|
readonly name: v.StringSchema<undefined>;
|
|
39
|
-
readonly
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}, {
|
|
44
|
-
readonly serialisable: typeof import("..").BuilderExpectation;
|
|
45
|
-
readonly instance: v.InstanceSchema<typeof import("..").BuilderExpectation, undefined>;
|
|
46
|
-
}>, v.ReadonlyAction<{
|
|
86
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
87
|
+
readonly isOptional: v.BooleanSchema<undefined>;
|
|
88
|
+
}, undefined>, v.ReadonlyAction<{
|
|
89
|
+
type: "component-field";
|
|
47
90
|
name: string;
|
|
48
|
-
|
|
91
|
+
valueType: "string" | "number" | "boolean";
|
|
92
|
+
isOptional: boolean;
|
|
49
93
|
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
94
|
+
type: "component-field";
|
|
50
95
|
name: string;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
96
|
+
valueType: "string" | "number" | "boolean";
|
|
97
|
+
isOptional: boolean;
|
|
98
|
+
}>[]>]>], undefined>;
|
|
99
|
+
}, undefined>, v.ReadonlyAction<{
|
|
100
|
+
fields: Readonly<{
|
|
101
|
+
type: "parameter";
|
|
54
102
|
id: string;
|
|
55
103
|
name: string;
|
|
56
|
-
}> |
|
|
57
|
-
name: string;
|
|
58
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
59
|
-
}>[], {
|
|
60
|
-
readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
61
|
-
readonly name: v.StringSchema<undefined>;
|
|
62
|
-
readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
|
|
63
|
-
}, undefined>, v.MetadataAction<{
|
|
64
|
-
name: string;
|
|
65
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
66
|
-
}, {
|
|
67
|
-
readonly serialisable: typeof import("..").BuilderExpectation;
|
|
68
|
-
readonly instance: v.InstanceSchema<typeof import("..").BuilderExpectation, undefined>;
|
|
69
|
-
}>, v.ReadonlyAction<{
|
|
70
|
-
name: string;
|
|
71
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
72
|
-
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
73
|
-
name: string;
|
|
74
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
75
|
-
}>[]>]>;
|
|
76
|
-
}>]>;
|
|
77
|
-
}, undefined>, v.MetadataAction<{
|
|
78
|
-
expectations: import("../..").BuilderRef | Readonly<{
|
|
104
|
+
}> | Readonly<{
|
|
79
105
|
type: "ref";
|
|
80
106
|
id: string;
|
|
81
|
-
name: string;
|
|
82
107
|
}> | readonly Readonly<{
|
|
108
|
+
type: "component-field";
|
|
83
109
|
name: string;
|
|
84
|
-
|
|
110
|
+
valueType: "string" | "number" | "boolean";
|
|
111
|
+
isOptional: boolean;
|
|
85
112
|
}>[];
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}>, v.ReadonlyAction<{
|
|
90
|
-
expectations: import("../..").BuilderRef | Readonly<{
|
|
91
|
-
type: "ref";
|
|
113
|
+
}>]>, v.GenericSchema<BuilderWhenSerialised<Readonly<{
|
|
114
|
+
fields: Readonly<{
|
|
115
|
+
type: "parameter";
|
|
92
116
|
id: string;
|
|
93
117
|
name: string;
|
|
118
|
+
}> | Readonly<{
|
|
119
|
+
type: "ref";
|
|
120
|
+
id: string;
|
|
94
121
|
}> | readonly Readonly<{
|
|
122
|
+
type: "component-field";
|
|
95
123
|
name: string;
|
|
96
|
-
|
|
124
|
+
valueType: "string" | "number" | "boolean";
|
|
125
|
+
isOptional: boolean;
|
|
97
126
|
}>[];
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
102
|
-
readonly id: v.StringSchema<undefined>;
|
|
103
|
-
readonly name: v.StringSchema<undefined>;
|
|
104
|
-
}, undefined>, v.ReadonlyAction<{
|
|
105
|
-
type: "ref";
|
|
106
|
-
id: string;
|
|
107
|
-
name: string;
|
|
108
|
-
}>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
109
|
-
readonly name: v.StringSchema<undefined>;
|
|
110
|
-
readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
|
|
111
|
-
}, undefined>, v.MetadataAction<{
|
|
112
|
-
name: string;
|
|
113
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
114
|
-
}, {
|
|
115
|
-
readonly serialisable: typeof import("..").BuilderExpectation;
|
|
116
|
-
readonly instance: v.InstanceSchema<typeof import("..").BuilderExpectation, undefined>;
|
|
117
|
-
}>, v.ReadonlyAction<{
|
|
118
|
-
name: string;
|
|
119
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
120
|
-
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
121
|
-
name: string;
|
|
122
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
123
|
-
}>[]>]>], undefined>, v.MetadataAction<import("../..").BuilderRef | Readonly<{
|
|
124
|
-
type: "ref";
|
|
125
|
-
id: string;
|
|
126
|
-
name: string;
|
|
127
|
-
}> | readonly Readonly<{
|
|
128
|
-
name: string;
|
|
129
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
130
|
-
}>[], {
|
|
131
|
-
readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
132
|
-
readonly name: v.StringSchema<undefined>;
|
|
133
|
-
readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
|
|
134
|
-
}, undefined>, v.MetadataAction<{
|
|
135
|
-
name: string;
|
|
136
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
137
|
-
}, {
|
|
138
|
-
readonly serialisable: typeof import("..").BuilderExpectation;
|
|
139
|
-
readonly instance: v.InstanceSchema<typeof import("..").BuilderExpectation, undefined>;
|
|
140
|
-
}>, v.ReadonlyAction<{
|
|
141
|
-
name: string;
|
|
142
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
143
|
-
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
144
|
-
name: string;
|
|
145
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
146
|
-
}>[]>]>;
|
|
147
|
-
}>]>;
|
|
148
|
-
}, undefined>, v.MetadataAction<{
|
|
149
|
-
expectations: import("../..").BuilderRef | Readonly<{
|
|
150
|
-
type: "ref";
|
|
151
|
-
id: string;
|
|
152
|
-
name: string;
|
|
153
|
-
}> | readonly Readonly<{
|
|
154
|
-
name: string;
|
|
155
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
156
|
-
}>[];
|
|
157
|
-
}, {
|
|
158
|
-
readonly serialisable: typeof BuilderComponentDetails;
|
|
159
|
-
readonly instance: v.InstanceSchema<typeof BuilderComponentDetails, undefined>;
|
|
160
|
-
}>, v.ReadonlyAction<{
|
|
161
|
-
expectations: import("../..").BuilderRef | Readonly<{
|
|
162
|
-
type: "ref";
|
|
163
|
-
id: string;
|
|
164
|
-
name: string;
|
|
165
|
-
}> | readonly Readonly<{
|
|
166
|
-
name: string;
|
|
167
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
168
|
-
}>[];
|
|
169
|
-
}>]>, v.GenericSchema], undefined>;
|
|
170
|
-
}>]>;
|
|
171
|
-
readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
172
|
-
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
127
|
+
}>>>], undefined>], undefined>;
|
|
128
|
+
readonly paths: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
129
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
173
130
|
readonly id: v.StringSchema<undefined>;
|
|
174
131
|
readonly name: v.StringSchema<undefined>;
|
|
175
132
|
}, undefined>, v.ReadonlyAction<{
|
|
176
|
-
type: "
|
|
133
|
+
type: "parameter";
|
|
177
134
|
id: string;
|
|
178
135
|
name: string;
|
|
179
|
-
}>]>, v.
|
|
136
|
+
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
137
|
+
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
138
|
+
readonly id: v.StringSchema<undefined>;
|
|
139
|
+
}, undefined>, v.ReadonlyAction<{
|
|
180
140
|
type: "ref";
|
|
181
141
|
id: string;
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
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)[])[]>]>;
|
|
185
|
-
}>]>, undefined>;
|
|
186
|
-
}, undefined>, v.MetadataAction<{
|
|
142
|
+
}>]>, 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>, undefined>;
|
|
143
|
+
}, undefined>, v.ReadonlyAction<{
|
|
187
144
|
name: string;
|
|
188
|
-
payload:
|
|
189
|
-
|
|
190
|
-
type: "ref";
|
|
145
|
+
payload: Readonly<{
|
|
146
|
+
type: "parameter";
|
|
191
147
|
id: string;
|
|
192
148
|
name: string;
|
|
193
|
-
}> |
|
|
194
|
-
}, {
|
|
195
|
-
readonly serialisable: typeof BuilderComponent;
|
|
196
|
-
readonly instance: v.InstanceSchema<typeof BuilderComponent, undefined>;
|
|
197
|
-
}>, v.ReadonlyAction<{
|
|
198
|
-
name: string;
|
|
199
|
-
payload: unknown;
|
|
200
|
-
gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
|
|
149
|
+
}> | Readonly<{
|
|
201
150
|
type: "ref";
|
|
202
151
|
id: string;
|
|
152
|
+
}> | Readonly<{
|
|
153
|
+
fields: Readonly<{
|
|
154
|
+
type: "parameter";
|
|
155
|
+
id: string;
|
|
156
|
+
name: string;
|
|
157
|
+
}> | Readonly<{
|
|
158
|
+
type: "ref";
|
|
159
|
+
id: string;
|
|
160
|
+
}> | readonly Readonly<{
|
|
161
|
+
type: "component-field";
|
|
162
|
+
name: string;
|
|
163
|
+
valueType: "string" | "number" | "boolean";
|
|
164
|
+
isOptional: boolean;
|
|
165
|
+
}>[];
|
|
166
|
+
}> | BuilderWhenSerialised<Readonly<{
|
|
167
|
+
fields: Readonly<{
|
|
168
|
+
type: "parameter";
|
|
169
|
+
id: string;
|
|
170
|
+
name: string;
|
|
171
|
+
}> | Readonly<{
|
|
172
|
+
type: "ref";
|
|
173
|
+
id: string;
|
|
174
|
+
}> | readonly Readonly<{
|
|
175
|
+
type: "component-field";
|
|
176
|
+
name: string;
|
|
177
|
+
valueType: "string" | "number" | "boolean";
|
|
178
|
+
isOptional: boolean;
|
|
179
|
+
}>[];
|
|
180
|
+
}>>;
|
|
181
|
+
paths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
182
|
+
type: "parameter";
|
|
183
|
+
id: string;
|
|
203
184
|
name: string;
|
|
185
|
+
}> | Readonly<{
|
|
186
|
+
type: "ref";
|
|
187
|
+
id: string;
|
|
204
188
|
}> | undefined;
|
|
205
189
|
}>]>;
|
|
206
190
|
export type BuilderComponentSerialised = v.InferOutput<typeof BuilderComponentSerialisedSchema>;
|
|
207
191
|
export declare const BuilderComponentsSerialisedSchema: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
208
192
|
readonly name: v.StringSchema<undefined>;
|
|
209
|
-
readonly payload: v.
|
|
210
|
-
readonly type: v.LiteralSchema<"
|
|
193
|
+
readonly payload: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
194
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
211
195
|
readonly id: v.StringSchema<undefined>;
|
|
212
196
|
readonly name: v.StringSchema<undefined>;
|
|
213
197
|
}, undefined>, v.ReadonlyAction<{
|
|
214
|
-
type: "
|
|
198
|
+
type: "parameter";
|
|
215
199
|
id: string;
|
|
216
200
|
name: string;
|
|
217
|
-
}>]>, v.
|
|
218
|
-
readonly
|
|
219
|
-
|
|
201
|
+
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
202
|
+
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
203
|
+
readonly id: v.StringSchema<undefined>;
|
|
204
|
+
}, undefined>, v.ReadonlyAction<{
|
|
205
|
+
type: "ref";
|
|
206
|
+
id: string;
|
|
207
|
+
}>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
208
|
+
readonly fields: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
209
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
220
210
|
readonly id: v.StringSchema<undefined>;
|
|
221
211
|
readonly name: v.StringSchema<undefined>;
|
|
222
212
|
}, undefined>, v.ReadonlyAction<{
|
|
223
|
-
type: "
|
|
213
|
+
type: "parameter";
|
|
224
214
|
id: string;
|
|
225
215
|
name: string;
|
|
226
|
-
}>]>, v.
|
|
216
|
+
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
217
|
+
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
218
|
+
readonly id: v.StringSchema<undefined>;
|
|
219
|
+
}, undefined>, v.ReadonlyAction<{
|
|
220
|
+
type: "ref";
|
|
221
|
+
id: string;
|
|
222
|
+
}>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
223
|
+
readonly type: v.LiteralSchema<"component-field", undefined>;
|
|
227
224
|
readonly name: v.StringSchema<undefined>;
|
|
228
|
-
readonly
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}, {
|
|
233
|
-
readonly serialisable: typeof import("..").BuilderExpectation;
|
|
234
|
-
readonly instance: v.InstanceSchema<typeof import("..").BuilderExpectation, undefined>;
|
|
235
|
-
}>, v.ReadonlyAction<{
|
|
225
|
+
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
226
|
+
readonly isOptional: v.BooleanSchema<undefined>;
|
|
227
|
+
}, undefined>, v.ReadonlyAction<{
|
|
228
|
+
type: "component-field";
|
|
236
229
|
name: string;
|
|
237
|
-
|
|
230
|
+
valueType: "string" | "number" | "boolean";
|
|
231
|
+
isOptional: boolean;
|
|
238
232
|
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
233
|
+
type: "component-field";
|
|
239
234
|
name: string;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
235
|
+
valueType: "string" | "number" | "boolean";
|
|
236
|
+
isOptional: boolean;
|
|
237
|
+
}>[]>]>], undefined>;
|
|
238
|
+
}, undefined>, v.ReadonlyAction<{
|
|
239
|
+
fields: Readonly<{
|
|
240
|
+
type: "parameter";
|
|
243
241
|
id: string;
|
|
244
242
|
name: string;
|
|
245
|
-
}> |
|
|
246
|
-
name: string;
|
|
247
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
248
|
-
}>[], {
|
|
249
|
-
readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
250
|
-
readonly name: v.StringSchema<undefined>;
|
|
251
|
-
readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
|
|
252
|
-
}, undefined>, v.MetadataAction<{
|
|
253
|
-
name: string;
|
|
254
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
255
|
-
}, {
|
|
256
|
-
readonly serialisable: typeof import("..").BuilderExpectation;
|
|
257
|
-
readonly instance: v.InstanceSchema<typeof import("..").BuilderExpectation, undefined>;
|
|
258
|
-
}>, v.ReadonlyAction<{
|
|
259
|
-
name: string;
|
|
260
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
261
|
-
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
262
|
-
name: string;
|
|
263
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
264
|
-
}>[]>]>;
|
|
265
|
-
}>]>;
|
|
266
|
-
}, undefined>, v.MetadataAction<{
|
|
267
|
-
expectations: import("../..").BuilderRef | Readonly<{
|
|
243
|
+
}> | Readonly<{
|
|
268
244
|
type: "ref";
|
|
269
245
|
id: string;
|
|
270
|
-
name: string;
|
|
271
246
|
}> | readonly Readonly<{
|
|
247
|
+
type: "component-field";
|
|
272
248
|
name: string;
|
|
273
|
-
|
|
249
|
+
valueType: "string" | "number" | "boolean";
|
|
250
|
+
isOptional: boolean;
|
|
274
251
|
}>[];
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
}>, v.ReadonlyAction<{
|
|
279
|
-
expectations: import("../..").BuilderRef | Readonly<{
|
|
280
|
-
type: "ref";
|
|
252
|
+
}>]>, v.GenericSchema<BuilderWhenSerialised<Readonly<{
|
|
253
|
+
fields: Readonly<{
|
|
254
|
+
type: "parameter";
|
|
281
255
|
id: string;
|
|
282
256
|
name: string;
|
|
257
|
+
}> | Readonly<{
|
|
258
|
+
type: "ref";
|
|
259
|
+
id: string;
|
|
283
260
|
}> | readonly Readonly<{
|
|
261
|
+
type: "component-field";
|
|
284
262
|
name: string;
|
|
285
|
-
|
|
263
|
+
valueType: "string" | "number" | "boolean";
|
|
264
|
+
isOptional: boolean;
|
|
286
265
|
}>[];
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
291
|
-
readonly id: v.StringSchema<undefined>;
|
|
292
|
-
readonly name: v.StringSchema<undefined>;
|
|
293
|
-
}, undefined>, v.ReadonlyAction<{
|
|
294
|
-
type: "ref";
|
|
295
|
-
id: string;
|
|
296
|
-
name: string;
|
|
297
|
-
}>]>, v.InstanceSchema<typeof import("../..").BuilderRef, undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
298
|
-
readonly name: v.StringSchema<undefined>;
|
|
299
|
-
readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
|
|
300
|
-
}, undefined>, v.MetadataAction<{
|
|
301
|
-
name: string;
|
|
302
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
303
|
-
}, {
|
|
304
|
-
readonly serialisable: typeof import("..").BuilderExpectation;
|
|
305
|
-
readonly instance: v.InstanceSchema<typeof import("..").BuilderExpectation, undefined>;
|
|
306
|
-
}>, v.ReadonlyAction<{
|
|
307
|
-
name: string;
|
|
308
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
309
|
-
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
310
|
-
name: string;
|
|
311
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
312
|
-
}>[]>]>], undefined>, v.MetadataAction<import("../..").BuilderRef | Readonly<{
|
|
313
|
-
type: "ref";
|
|
314
|
-
id: string;
|
|
315
|
-
name: string;
|
|
316
|
-
}> | readonly Readonly<{
|
|
317
|
-
name: string;
|
|
318
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
319
|
-
}>[], {
|
|
320
|
-
readonly refable: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
321
|
-
readonly name: v.StringSchema<undefined>;
|
|
322
|
-
readonly kind: v.PicklistSchema<["option", "component", "collection", "detail"], undefined>;
|
|
323
|
-
}, undefined>, v.MetadataAction<{
|
|
324
|
-
name: string;
|
|
325
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
326
|
-
}, {
|
|
327
|
-
readonly serialisable: typeof import("..").BuilderExpectation;
|
|
328
|
-
readonly instance: v.InstanceSchema<typeof import("..").BuilderExpectation, undefined>;
|
|
329
|
-
}>, v.ReadonlyAction<{
|
|
330
|
-
name: string;
|
|
331
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
332
|
-
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
333
|
-
name: string;
|
|
334
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
335
|
-
}>[]>]>;
|
|
336
|
-
}>]>;
|
|
337
|
-
}, undefined>, v.MetadataAction<{
|
|
338
|
-
expectations: import("../..").BuilderRef | Readonly<{
|
|
339
|
-
type: "ref";
|
|
340
|
-
id: string;
|
|
341
|
-
name: string;
|
|
342
|
-
}> | readonly Readonly<{
|
|
343
|
-
name: string;
|
|
344
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
345
|
-
}>[];
|
|
346
|
-
}, {
|
|
347
|
-
readonly serialisable: typeof BuilderComponentDetails;
|
|
348
|
-
readonly instance: v.InstanceSchema<typeof BuilderComponentDetails, undefined>;
|
|
349
|
-
}>, v.ReadonlyAction<{
|
|
350
|
-
expectations: import("../..").BuilderRef | Readonly<{
|
|
351
|
-
type: "ref";
|
|
352
|
-
id: string;
|
|
353
|
-
name: string;
|
|
354
|
-
}> | readonly Readonly<{
|
|
355
|
-
name: string;
|
|
356
|
-
kind: "option" | "component" | "collection" | "detail";
|
|
357
|
-
}>[];
|
|
358
|
-
}>]>, v.GenericSchema], undefined>;
|
|
359
|
-
}>]>;
|
|
360
|
-
readonly gatePaths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
361
|
-
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
266
|
+
}>>>], undefined>], undefined>;
|
|
267
|
+
readonly paths: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
268
|
+
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
362
269
|
readonly id: v.StringSchema<undefined>;
|
|
363
270
|
readonly name: v.StringSchema<undefined>;
|
|
364
271
|
}, undefined>, v.ReadonlyAction<{
|
|
365
|
-
type: "
|
|
272
|
+
type: "parameter";
|
|
366
273
|
id: string;
|
|
367
274
|
name: string;
|
|
368
|
-
}>]>, v.
|
|
275
|
+
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
276
|
+
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
277
|
+
readonly id: v.StringSchema<undefined>;
|
|
278
|
+
}, undefined>, v.ReadonlyAction<{
|
|
369
279
|
type: "ref";
|
|
370
280
|
id: string;
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
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)[])[]>]>;
|
|
374
|
-
}>]>, undefined>;
|
|
375
|
-
}, undefined>, v.MetadataAction<{
|
|
281
|
+
}>]>, 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>, undefined>;
|
|
282
|
+
}, undefined>, v.ReadonlyAction<{
|
|
376
283
|
name: string;
|
|
377
|
-
payload:
|
|
378
|
-
|
|
379
|
-
type: "ref";
|
|
284
|
+
payload: Readonly<{
|
|
285
|
+
type: "parameter";
|
|
380
286
|
id: string;
|
|
381
287
|
name: string;
|
|
382
|
-
}> |
|
|
383
|
-
}, {
|
|
384
|
-
readonly serialisable: typeof BuilderComponent;
|
|
385
|
-
readonly instance: v.InstanceSchema<typeof BuilderComponent, undefined>;
|
|
386
|
-
}>, v.ReadonlyAction<{
|
|
387
|
-
name: string;
|
|
388
|
-
payload: unknown;
|
|
389
|
-
gatePaths?: readonly (readonly (string | number)[])[] | import("../..").BuilderRef | Readonly<{
|
|
288
|
+
}> | Readonly<{
|
|
390
289
|
type: "ref";
|
|
391
290
|
id: string;
|
|
291
|
+
}> | Readonly<{
|
|
292
|
+
fields: Readonly<{
|
|
293
|
+
type: "parameter";
|
|
294
|
+
id: string;
|
|
295
|
+
name: string;
|
|
296
|
+
}> | Readonly<{
|
|
297
|
+
type: "ref";
|
|
298
|
+
id: string;
|
|
299
|
+
}> | readonly Readonly<{
|
|
300
|
+
type: "component-field";
|
|
301
|
+
name: string;
|
|
302
|
+
valueType: "string" | "number" | "boolean";
|
|
303
|
+
isOptional: boolean;
|
|
304
|
+
}>[];
|
|
305
|
+
}> | BuilderWhenSerialised<Readonly<{
|
|
306
|
+
fields: Readonly<{
|
|
307
|
+
type: "parameter";
|
|
308
|
+
id: string;
|
|
309
|
+
name: string;
|
|
310
|
+
}> | Readonly<{
|
|
311
|
+
type: "ref";
|
|
312
|
+
id: string;
|
|
313
|
+
}> | readonly Readonly<{
|
|
314
|
+
type: "component-field";
|
|
315
|
+
name: string;
|
|
316
|
+
valueType: "string" | "number" | "boolean";
|
|
317
|
+
isOptional: boolean;
|
|
318
|
+
}>[];
|
|
319
|
+
}>>;
|
|
320
|
+
paths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
321
|
+
type: "parameter";
|
|
322
|
+
id: string;
|
|
392
323
|
name: string;
|
|
324
|
+
}> | Readonly<{
|
|
325
|
+
type: "ref";
|
|
326
|
+
id: string;
|
|
393
327
|
}> | undefined;
|
|
394
328
|
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
395
329
|
name: string;
|
|
396
|
-
payload:
|
|
397
|
-
|
|
330
|
+
payload: Readonly<{
|
|
331
|
+
type: "parameter";
|
|
332
|
+
id: string;
|
|
333
|
+
name: string;
|
|
334
|
+
}> | Readonly<{
|
|
398
335
|
type: "ref";
|
|
399
336
|
id: string;
|
|
337
|
+
}> | Readonly<{
|
|
338
|
+
fields: Readonly<{
|
|
339
|
+
type: "parameter";
|
|
340
|
+
id: string;
|
|
341
|
+
name: string;
|
|
342
|
+
}> | Readonly<{
|
|
343
|
+
type: "ref";
|
|
344
|
+
id: string;
|
|
345
|
+
}> | readonly Readonly<{
|
|
346
|
+
type: "component-field";
|
|
347
|
+
name: string;
|
|
348
|
+
valueType: "string" | "number" | "boolean";
|
|
349
|
+
isOptional: boolean;
|
|
350
|
+
}>[];
|
|
351
|
+
}> | BuilderWhenSerialised<Readonly<{
|
|
352
|
+
fields: Readonly<{
|
|
353
|
+
type: "parameter";
|
|
354
|
+
id: string;
|
|
355
|
+
name: string;
|
|
356
|
+
}> | Readonly<{
|
|
357
|
+
type: "ref";
|
|
358
|
+
id: string;
|
|
359
|
+
}> | readonly Readonly<{
|
|
360
|
+
type: "component-field";
|
|
361
|
+
name: string;
|
|
362
|
+
valueType: "string" | "number" | "boolean";
|
|
363
|
+
isOptional: boolean;
|
|
364
|
+
}>[];
|
|
365
|
+
}>>;
|
|
366
|
+
paths?: readonly (readonly (string | number)[])[] | Readonly<{
|
|
367
|
+
type: "parameter";
|
|
368
|
+
id: string;
|
|
400
369
|
name: string;
|
|
370
|
+
}> | Readonly<{
|
|
371
|
+
type: "ref";
|
|
372
|
+
id: string;
|
|
401
373
|
}> | undefined;
|
|
402
374
|
}>[]>]>;
|
|
403
375
|
export type BuilderComponentsSerialised = v.InferOutput<typeof BuilderComponentsSerialisedSchema>;
|