@builder-builder/builder 0.0.27 → 0.0.29
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.js +9 -10
- package/dist/client/client.d.ts +2 -1
- package/dist/client/client.js +4 -1
- package/dist/client/public.d.ts +2 -2
- package/dist/client/public.js +1 -1
- package/dist/client/schema.d.ts +126 -45
- package/dist/client/schema.js +6 -1
- package/dist/components/BuilderOption.svelte.d.ts +12 -12
- package/dist/components/BuilderOptionValueBoolean.svelte.d.ts +20 -0
- package/dist/components/BuilderOptionValueNumber.svelte.d.ts +21 -0
- package/dist/components/BuilderOptionValueSelect.svelte.d.ts +21 -0
- package/dist/components/BuilderOptionValueString.svelte.d.ts +21 -0
- package/dist/components/BuilderRender.svelte.d.ts +2 -2
- package/dist/components/index.d.ts +8 -8
- package/dist/components/index.js +4376 -4258
- package/dist/components/index.min.js +3 -0
- package/dist/entities/collection/collection.d.ts +191 -401
- package/dist/entities/collection/collection.js +7 -4
- package/dist/entities/collection/{when.d.ts → condition.d.ts} +4 -5
- package/dist/entities/collection/condition.js +2 -0
- package/dist/entities/collection/config.d.ts +62 -80
- package/dist/entities/collection/index.d.ts +4 -4
- package/dist/entities/collection/index.js +2 -2
- package/dist/entities/component/component.d.ts +71 -83
- package/dist/entities/component/component.js +4 -4
- package/dist/entities/component/condition.d.ts +10 -0
- package/dist/entities/component/{when.js → condition.js} +3 -9
- package/dist/entities/component/config.d.ts +33 -33
- package/dist/entities/component/config.js +18 -16
- package/dist/entities/component/detail.d.ts +61 -0
- package/dist/entities/component/detail.js +71 -0
- package/dist/entities/component/index.d.ts +6 -6
- package/dist/entities/component/index.js +3 -3
- package/dist/entities/{when.d.ts → condition.d.ts} +23 -36
- package/dist/entities/{when.js → condition.js} +20 -25
- package/dist/entities/expectation.d.ts +135 -3
- package/dist/entities/expectation.js +6 -2
- package/dist/entities/index.d.ts +9 -9
- package/dist/entities/index.js +4 -4
- package/dist/entities/kind.d.ts +4 -4
- package/dist/entities/kind.js +24 -25
- package/dist/entities/model/bind.d.ts +5 -5
- package/dist/entities/model/methods.d.ts +18 -27
- package/dist/entities/model/methods.js +4 -22
- package/dist/entities/model/model.d.ts +3 -1
- package/dist/entities/model/model.js +25 -27
- package/dist/entities/option/condition.d.ts +9 -0
- package/dist/entities/option/condition.js +2 -0
- package/dist/entities/option/config.d.ts +47 -72
- package/dist/entities/option/config.js +6 -6
- package/dist/entities/option/expectation.d.ts +6 -1
- package/dist/entities/option/expectation.js +2 -2
- package/dist/entities/option/index.d.ts +8 -8
- package/dist/entities/option/index.js +4 -4
- package/dist/entities/option/option.d.ts +179 -210
- package/dist/entities/option/option.js +4 -4
- package/dist/entities/option/select.d.ts +16 -43
- package/dist/entities/option/select.js +8 -31
- package/dist/entities/option/value.d.ts +73 -0
- package/dist/entities/option/value.js +99 -0
- package/dist/entities/paths.d.ts +2 -2
- package/dist/entities/pricing/expression.d.ts +16 -39
- package/dist/entities/pricing/expression.js +1 -16
- package/dist/entities/pricing/index.d.ts +1 -1
- package/dist/entities/pricing/rates.d.ts +1 -1
- package/dist/entities/references.d.ts +124 -84
- package/dist/entities/serialise.d.ts +175 -109
- package/dist/entities/serialise.js +32 -27
- package/dist/entities/ui/describe.d.ts +1 -1
- package/dist/entities/ui/input.d.ts +2 -2
- package/dist/entities/ui/page.d.ts +1 -1
- package/dist/entities/ui/pages.d.ts +2 -2
- package/dist/entities/validated.d.ts +3 -3
- package/dist/environment.d.ts +2 -2
- package/dist/errors/errors.d.ts +94 -58
- package/dist/errors/errors.js +41 -7
- package/dist/errors/exception.d.ts +3 -3
- package/dist/errors/index.d.ts +1 -1
- package/dist/errors/index.js +1 -1
- package/dist/errors/public.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/instance.d.ts +53 -9
- package/dist/instance.js +6 -2
- package/dist/mappers/dependencies.d.ts +3 -0
- package/dist/mappers/dependencies.js +45 -0
- package/dist/mappers/index.d.ts +2 -2
- package/dist/mappers/index.js +2 -1
- package/dist/mappers/instance.js +26 -21
- package/dist/mappers/price.js +6 -4
- package/dist/mappers/resolve.js +23 -22
- package/dist/mappers/variants/index.d.ts +1 -2
- package/dist/mappers/variants/index.js +1 -2
- package/dist/mappers/variants/option-graph.d.ts +1 -2
- package/dist/mappers/variants/option-graph.js +4 -18
- package/dist/mappers/variants/variants.d.ts +3 -6
- package/dist/mappers/variants/variants.js +34 -11
- package/dist/primitive.d.ts +3 -0
- package/dist/primitive.js +2 -0
- package/dist/public.d.ts +20 -20
- package/dist/public.js +17 -9
- package/dist/validate/builder.d.ts +2 -2
- package/dist/validate/builder.js +15 -15
- package/dist/validate/expectations.d.ts +2 -2
- package/dist/validate/expectations.js +23 -5
- package/dist/validate/instance.d.ts +2 -2
- package/dist/validate/instance.js +31 -13
- package/dist/validate/model.d.ts +4 -4
- package/dist/validate/model.js +57 -51
- package/dist/validate/paths.d.ts +2 -2
- package/dist/validate/paths.js +19 -14
- package/dist/validate/pricing.d.ts +4 -4
- package/dist/validate/pricing.js +31 -31
- package/dist/validate/resolve.d.ts +2 -2
- package/dist/validate/resolve.js +27 -31
- package/dist/validate/ui.d.ts +4 -4
- package/dist/validate/ui.js +38 -38
- package/dist/validate/variants.d.ts +3 -3
- package/dist/validate/variants.js +32 -31
- package/package.json +4 -2
- package/dist/components/BuilderOptionSelect.svelte.d.ts +0 -21
- package/dist/components/BuilderOptionToggleBoolean.svelte.d.ts +0 -20
- package/dist/components/BuilderOptionToggleNumber.svelte.d.ts +0 -21
- package/dist/components/BuilderOptionToggleString.svelte.d.ts +0 -21
- package/dist/entities/collection/when.js +0 -2
- package/dist/entities/component/field.d.ts +0 -59
- package/dist/entities/component/field.js +0 -52
- package/dist/entities/component/when.d.ts +0 -11
- package/dist/entities/option/toggle.d.ts +0 -45
- package/dist/entities/option/toggle.js +0 -66
- package/dist/entities/option/when.d.ts +0 -10
- package/dist/entities/option/when.js +0 -2
|
@@ -1,109 +1,84 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const BuilderOptionConfigSchema: v.UnionSchema<[v.InstanceSchema<typeof import("./select.js").BuilderSelectConfig, undefined>, v.InstanceSchema<typeof import("./
|
|
2
|
+
export declare const BuilderOptionConfigSchema: v.UnionSchema<[v.InstanceSchema<typeof import("./select.js").BuilderSelectConfig, undefined>, v.InstanceSchema<typeof import("./value.js").BuilderValueConfig, undefined>], undefined>;
|
|
3
3
|
export type BuilderOptionConfig = v.InferOutput<typeof BuilderOptionConfigSchema>;
|
|
4
|
-
export declare const BuilderOptionConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.VariantSchema<"
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4
|
+
export declare const BuilderOptionConfigSerialisedSchema: v.SchemaWithPipe<readonly [v.VariantSchema<"kind", [v.StrictObjectSchema<{
|
|
5
|
+
readonly kind: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
6
|
+
readonly type: v.LiteralSchema<"value", undefined>;
|
|
7
|
+
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
8
8
|
readonly isOptional: v.BooleanSchema<undefined>;
|
|
9
|
-
readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
|
|
10
9
|
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
|
|
11
|
-
}, undefined>, v.
|
|
12
|
-
|
|
13
|
-
readonly options: readonly [string, ...string[]]
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
optionLabels: {
|
|
17
|
-
[x: string]: string;
|
|
18
|
-
};
|
|
19
|
-
tags?: readonly string[] | undefined;
|
|
20
|
-
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
21
|
-
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
22
|
-
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
10
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
11
|
+
readonly kind: v.LiteralSchema<"select", undefined>;
|
|
12
|
+
readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
|
|
13
|
+
readonly optionLabels: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
14
|
+
readonly type: v.LiteralSchema<"value", undefined>;
|
|
23
15
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
24
16
|
readonly isOptional: v.BooleanSchema<undefined>;
|
|
25
17
|
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
|
|
26
|
-
}, undefined>, v.ReadonlyAction<{
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
}, undefined>], undefined>, v.ReadonlyAction<{
|
|
19
|
+
kind: "string" | "number" | "boolean";
|
|
20
|
+
type: "value";
|
|
29
21
|
defaultValue: string | number | boolean | null;
|
|
30
22
|
isOptional: boolean;
|
|
31
23
|
tags?: readonly string[] | undefined;
|
|
32
|
-
}
|
|
33
|
-
|
|
24
|
+
} | {
|
|
25
|
+
kind: "select";
|
|
34
26
|
readonly options: readonly [string, ...string[]];
|
|
35
|
-
|
|
36
|
-
isOptional: boolean;
|
|
37
|
-
optionLabels: {
|
|
27
|
+
optionLabels?: {
|
|
38
28
|
[x: string]: string;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
}> | Readonly<{
|
|
42
|
-
type: "toggle";
|
|
43
|
-
valueType: "string" | "number" | "boolean";
|
|
29
|
+
} | undefined;
|
|
30
|
+
type: "value";
|
|
44
31
|
defaultValue: string | number | boolean | null;
|
|
45
32
|
isOptional: boolean;
|
|
46
33
|
tags?: readonly string[] | undefined;
|
|
47
|
-
}
|
|
34
|
+
}>]>;
|
|
48
35
|
export type BuilderOptionConfigSerialised = v.InferOutput<typeof BuilderOptionConfigSerialisedSchema>;
|
|
49
|
-
export declare const BuilderOptionConfigsSerialisedSchema: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.VariantSchema<"
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
52
|
-
readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
36
|
+
export declare const BuilderOptionConfigsSerialisedSchema: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.VariantSchema<"kind", [v.StrictObjectSchema<{
|
|
37
|
+
readonly kind: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
38
|
+
readonly type: v.LiteralSchema<"value", undefined>;
|
|
39
|
+
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
53
40
|
readonly isOptional: v.BooleanSchema<undefined>;
|
|
54
|
-
readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
|
|
55
41
|
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
|
|
56
|
-
}, undefined>, v.
|
|
57
|
-
|
|
58
|
-
readonly options: readonly [string, ...string[]]
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
optionLabels: {
|
|
62
|
-
[x: string]: string;
|
|
63
|
-
};
|
|
64
|
-
tags?: readonly string[] | undefined;
|
|
65
|
-
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
66
|
-
readonly type: v.LiteralSchema<"toggle", undefined>;
|
|
67
|
-
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
42
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
43
|
+
readonly kind: v.LiteralSchema<"select", undefined>;
|
|
44
|
+
readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
|
|
45
|
+
readonly optionLabels: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
46
|
+
readonly type: v.LiteralSchema<"value", undefined>;
|
|
68
47
|
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
69
48
|
readonly isOptional: v.BooleanSchema<undefined>;
|
|
70
49
|
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
|
|
71
|
-
}, undefined>, v.ReadonlyAction<{
|
|
72
|
-
|
|
73
|
-
|
|
50
|
+
}, undefined>], undefined>, v.ReadonlyAction<{
|
|
51
|
+
kind: "string" | "number" | "boolean";
|
|
52
|
+
type: "value";
|
|
74
53
|
defaultValue: string | number | boolean | null;
|
|
75
54
|
isOptional: boolean;
|
|
76
55
|
tags?: readonly string[] | undefined;
|
|
77
|
-
}
|
|
78
|
-
|
|
56
|
+
} | {
|
|
57
|
+
kind: "select";
|
|
79
58
|
readonly options: readonly [string, ...string[]];
|
|
80
|
-
|
|
81
|
-
isOptional: boolean;
|
|
82
|
-
optionLabels: {
|
|
59
|
+
optionLabels?: {
|
|
83
60
|
[x: string]: string;
|
|
84
|
-
};
|
|
61
|
+
} | undefined;
|
|
62
|
+
type: "value";
|
|
63
|
+
defaultValue: string | number | boolean | null;
|
|
64
|
+
isOptional: boolean;
|
|
85
65
|
tags?: readonly string[] | undefined;
|
|
86
|
-
}>
|
|
87
|
-
|
|
88
|
-
|
|
66
|
+
}>]>, undefined>, v.ReadonlyAction<(Readonly<{
|
|
67
|
+
kind: "string" | "number" | "boolean";
|
|
68
|
+
type: "value";
|
|
89
69
|
defaultValue: string | number | boolean | null;
|
|
90
70
|
isOptional: boolean;
|
|
91
71
|
tags?: readonly string[] | undefined;
|
|
92
|
-
}
|
|
93
|
-
|
|
72
|
+
}> | Readonly<{
|
|
73
|
+
kind: "select";
|
|
94
74
|
readonly options: readonly [string, ...string[]];
|
|
95
|
-
|
|
96
|
-
isOptional: boolean;
|
|
97
|
-
optionLabels: {
|
|
75
|
+
optionLabels?: {
|
|
98
76
|
[x: string]: string;
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
}>> | Readonly<Readonly<{
|
|
102
|
-
type: "toggle";
|
|
103
|
-
valueType: "string" | "number" | "boolean";
|
|
77
|
+
} | undefined;
|
|
78
|
+
type: "value";
|
|
104
79
|
defaultValue: string | number | boolean | null;
|
|
105
80
|
isOptional: boolean;
|
|
106
81
|
tags?: readonly string[] | undefined;
|
|
107
|
-
}
|
|
82
|
+
}>)[]>]>;
|
|
108
83
|
export type BuilderOptionConfigsSerialised = v.InferOutput<typeof BuilderOptionConfigsSerialisedSchema>;
|
|
109
84
|
export declare function optionValueSchema(payload: BuilderOptionConfigSerialised): v.GenericSchema;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
import { BuilderSelectConfigSchema,
|
|
3
|
-
import {
|
|
2
|
+
import { BuilderSelectConfigSchema, selectValueSchema } from './select.js';
|
|
3
|
+
import { BuilderValueConfigSchema, BuilderValueConfigSerialisedSchema, valueKindSchema } from './value.js';
|
|
4
4
|
export const BuilderOptionConfigSchema = v.union([
|
|
5
5
|
BuilderSelectConfigSchema,
|
|
6
|
-
|
|
6
|
+
BuilderValueConfigSchema
|
|
7
7
|
]);
|
|
8
|
-
export const BuilderOptionConfigSerialisedSchema =
|
|
8
|
+
export const BuilderOptionConfigSerialisedSchema = BuilderValueConfigSerialisedSchema;
|
|
9
9
|
export const BuilderOptionConfigsSerialisedSchema = v.pipe(v.array(BuilderOptionConfigSerialisedSchema), v.readonly());
|
|
10
10
|
export function optionValueSchema(payload) {
|
|
11
|
-
if (payload.
|
|
11
|
+
if (payload.kind === 'select') {
|
|
12
12
|
return selectValueSchema(payload.options, payload.isOptional);
|
|
13
13
|
}
|
|
14
|
-
return
|
|
14
|
+
return valueKindSchema(payload.kind, payload.isOptional);
|
|
15
15
|
}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
+
import type { BuilderOptionConfig } from './config';
|
|
1
2
|
import { BuilderExpectation } from '../expectation.js';
|
|
2
|
-
export declare function optionExpectation<const Name extends string>(name: Name): BuilderExpectation<Name,
|
|
3
|
+
export declare function optionExpectation<const Name extends string, const Payload extends BuilderOptionConfig | null = null>(name: Name, payload?: Payload): BuilderExpectation<Name, OptionExpectationValue<Payload>, "option">;
|
|
4
|
+
type OptionExpectationValue<Payload> = Payload extends {
|
|
5
|
+
readonly value: infer Value;
|
|
6
|
+
} ? Value : unknown;
|
|
7
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { BuilderExpectation } from '../expectation.js';
|
|
2
|
-
export function optionExpectation(name) {
|
|
3
|
-
return new BuilderExpectation(name, 'option');
|
|
2
|
+
export function optionExpectation(name, payload) {
|
|
3
|
+
return new BuilderExpectation(name, 'option', payload ?? null);
|
|
4
4
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export type { BuilderOptionPayload, BuilderOptions, BuilderOptionSerialised, BuilderOptionsSerialised, BuilderOptionWhenSerialised } from './option';
|
|
2
|
-
export type { BuilderSelectConfigLabels, BuilderSelectConfigSerialised, BuilderSelectConfigValues } from './select';
|
|
3
|
-
export type { BuilderToggleConfigSerialised, BuilderToggleValueType } from './toggle';
|
|
4
1
|
export type { BuilderOptionConfig, BuilderOptionConfigSerialised, BuilderOptionConfigsSerialised } from './config';
|
|
5
|
-
export type {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
2
|
+
export type { BuilderOptionPayload, BuilderOptions, BuilderOptionSerialised, BuilderOptionsSerialised, BuilderOptionConditionSerialised } from './option';
|
|
3
|
+
export type { BuilderValueOptionLabels, BuilderValueOptions } from './select';
|
|
4
|
+
export type { BuilderValueConfigSerialised, BuilderValueKind } from './value';
|
|
5
|
+
export type { BuilderOptionCondition } from './condition';
|
|
9
6
|
export { BuilderOptionConfigSchema, BuilderOptionConfigSerialisedSchema, BuilderOptionConfigsSerialisedSchema, optionValueSchema } from './config.js';
|
|
10
7
|
export { optionExpectation } from './expectation.js';
|
|
11
|
-
export {
|
|
8
|
+
export { BuilderOption, BuilderOptionSchema, BuilderOptionSelectMapSerialisedSchema, BuilderOptionSerialisedSchema, BuilderOptionsSerialisedSchema, BuilderOptionConditionSerialisedSchema, validateOptionSelectMap, validateOptionCondition } from './option.js';
|
|
9
|
+
export { BuilderSelectConfig, BuilderSelectConfigSchema, valueSelect } from './select.js';
|
|
10
|
+
export { BuilderValueConfig, BuilderValueConfigSchema, BuilderValueConfigSerialisedSchema, valueBoolean, valueNumber, valueString, validateValue } from './value.js';
|
|
11
|
+
export { optionCondition } from './condition.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { BuilderOption, BuilderOptionSchema, BuilderOptionSelectMapSerialisedSchema, BuilderOptionSerialisedSchema, BuilderOptionsSerialisedSchema, BuilderOptionWhenSerialisedSchema, validateOptionSelectMap, validateOptionWhen } from './option.js';
|
|
2
|
-
export { BuilderSelectConfig, BuilderSelectConfigSchema, BuilderSelectConfigSerialisedSchema, select, validateSelect } from './select.js';
|
|
3
|
-
export { BuilderToggleConfig, BuilderToggleConfigSchema, BuilderToggleConfigSerialisedSchema, toggleBoolean, toggleNumber, toggleString, validateToggle } from './toggle.js';
|
|
4
1
|
export { BuilderOptionConfigSchema, BuilderOptionConfigSerialisedSchema, BuilderOptionConfigsSerialisedSchema, optionValueSchema } from './config.js';
|
|
5
2
|
export { optionExpectation } from './expectation.js';
|
|
6
|
-
export {
|
|
3
|
+
export { BuilderOption, BuilderOptionSchema, BuilderOptionSelectMapSerialisedSchema, BuilderOptionSerialisedSchema, BuilderOptionsSerialisedSchema, BuilderOptionConditionSerialisedSchema, validateOptionSelectMap, validateOptionCondition } from './option.js';
|
|
4
|
+
export { BuilderSelectConfig, BuilderSelectConfigSchema, valueSelect } from './select.js';
|
|
5
|
+
export { BuilderValueConfig, BuilderValueConfigSchema, BuilderValueConfigSerialisedSchema, valueBoolean, valueNumber, valueString, validateValue } from './value.js';
|
|
6
|
+
export { optionCondition } from './condition.js';
|