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