@builder-builder/builder 0.0.19 → 0.0.21
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 +12 -14
- package/dist/bb.js +32 -6
- package/dist/entities/builder/bind.d.ts +1 -1
- package/dist/entities/builder/builder.d.ts +2 -4
- package/dist/entities/builder/builder.js +1 -1
- package/dist/entities/collection/collection.d.ts +689 -1
- package/dist/entities/collection/collection.js +5 -2
- package/dist/entities/collection/config.d.ts +290 -0
- package/dist/entities/collection/config.js +13 -2
- package/dist/entities/collection/expectation.d.ts +1 -1
- package/dist/entities/collection/index.d.ts +3 -3
- package/dist/entities/collection/index.js +2 -2
- package/dist/entities/collection/when.d.ts +1 -1
- package/dist/entities/component/component.d.ts +64 -10
- package/dist/entities/component/component.js +9 -6
- package/dist/entities/component/config.d.ts +145 -0
- package/dist/entities/component/config.js +42 -0
- package/dist/entities/component/field.js +1 -1
- package/dist/entities/component/index.d.ts +3 -3
- package/dist/entities/component/index.js +2 -2
- package/dist/entities/component/when.d.ts +6 -6
- package/dist/entities/component/when.js +3 -3
- package/dist/entities/expectation.d.ts +4 -0
- package/dist/entities/expectation.js +3 -1
- package/dist/entities/index.d.ts +18 -17
- package/dist/entities/index.js +11 -10
- package/dist/entities/kind.d.ts +10 -7
- package/dist/entities/kind.js +39 -5
- package/dist/entities/model/bind.d.ts +1 -1
- package/dist/entities/model/index.d.ts +1 -1
- package/dist/entities/model/methods.d.ts +12 -12
- package/dist/entities/model/methods.js +2 -2
- package/dist/entities/model/model.js +1 -1
- package/dist/entities/model/models.d.ts +1 -1
- package/dist/entities/option/config.d.ts +109 -0
- package/dist/entities/option/config.js +15 -0
- package/dist/entities/option/index.d.ts +7 -7
- package/dist/entities/option/index.js +4 -4
- package/dist/entities/option/option.d.ts +88 -10
- package/dist/entities/option/option.js +9 -6
- package/dist/entities/option/select.d.ts +24 -14
- package/dist/entities/option/select.js +17 -6
- package/dist/entities/option/toggle.d.ts +17 -10
- package/dist/entities/option/toggle.js +19 -8
- package/dist/entities/option/when.d.ts +6 -6
- package/dist/{paths.d.ts → entities/paths.d.ts} +2 -0
- package/dist/{paths.js → entities/paths.js} +3 -0
- package/dist/entities/pricing/index.d.ts +1 -1
- package/dist/entities/pricing/index.js +1 -1
- package/dist/entities/pricing/pricing.js +1 -1
- package/dist/entities/pricing/rates.d.ts +5 -0
- package/dist/entities/pricing/rates.js +3 -1
- package/dist/entities/references.d.ts +723 -0
- package/dist/entities/references.js +7 -0
- package/dist/entities/serialise.d.ts +49 -43
- package/dist/entities/serialise.js +19 -13
- package/dist/entities/ui/describe.d.ts +15 -0
- package/dist/entities/ui/describe.js +11 -2
- package/dist/entities/ui/index.d.ts +4 -4
- package/dist/entities/ui/index.js +4 -4
- package/dist/entities/ui/input.d.ts +12 -3
- package/dist/entities/ui/input.js +4 -2
- package/dist/entities/ui/page.d.ts +15 -0
- package/dist/entities/ui/page.js +11 -2
- package/dist/entities/ui/pages.d.ts +132 -0
- package/dist/entities/ui/pages.js +12 -2
- package/dist/entities/ui/ui.d.ts +2 -3
- package/dist/entities/ui/ui.js +2 -2
- package/dist/entities/ui/uis.d.ts +1 -1
- package/dist/entities/ui/uis.js +2 -2
- package/dist/entities/validated.d.ts +26 -18
- package/dist/entities/when.d.ts +4 -3
- package/dist/entities/when.js +22 -2
- package/dist/environment.d.ts +2 -2
- package/dist/{validate → errors}/errors.d.ts +57 -35
- package/dist/{validate → errors}/errors.js +40 -5
- package/dist/errors/exception.d.ts +5 -0
- package/dist/{exception.js → errors/exception.js} +0 -3
- package/dist/errors/index.d.ts +4 -0
- package/dist/errors/index.js +3 -0
- package/dist/index.d.ts +19 -18
- package/dist/index.js +5 -4
- package/dist/instance.d.ts +7 -7
- package/dist/instance.js +4 -4
- package/dist/mappers/index.d.ts +2 -4
- package/dist/mappers/index.js +1 -2
- package/dist/mappers/instance.d.ts +2 -2
- package/dist/mappers/instance.js +7 -7
- package/dist/mappers/order.d.ts +4 -4
- package/dist/mappers/order.js +5 -5
- package/dist/mappers/price.js +18 -18
- package/dist/mappers/render/pages.d.ts +2 -2
- package/dist/mappers/render/render.d.ts +2 -2
- package/dist/mappers/render/render.js +12 -12
- package/dist/mappers/resolve.d.ts +11 -12
- package/dist/mappers/resolve.js +29 -46
- package/dist/mappers/variants/option-graph.d.ts +2 -3
- package/dist/mappers/variants/option-graph.js +2 -3
- package/dist/mappers/variants/variants.d.ts +2 -2
- package/dist/mappers/variants/variants.js +1 -1
- package/dist/private.d.ts +1 -2
- package/dist/private.js +1 -2
- package/dist/references.js +1 -1
- package/dist/validate/brand.js +1 -2
- package/dist/validate/builder.d.ts +3 -4
- package/dist/validate/builder.js +2 -3
- package/dist/validate/expectations.d.ts +1 -1
- package/dist/validate/index.d.ts +5 -2
- package/dist/validate/index.js +1 -0
- package/dist/validate/instance.d.ts +2 -3
- package/dist/validate/instance.js +1 -2
- package/dist/validate/model.d.ts +3 -4
- package/dist/validate/model.js +39 -44
- package/dist/validate/paths.d.ts +2 -3
- package/dist/validate/paths.js +1 -1
- package/dist/validate/pricing.d.ts +3 -4
- package/dist/validate/pricing.js +2 -3
- package/dist/validate/resolve.d.ts +3 -3
- package/dist/validate/resolve.js +1 -1
- package/dist/validate/ui.d.ts +3 -4
- package/dist/validate/ui.js +14 -5
- package/dist/validate/variants.d.ts +4 -5
- package/dist/validate/variants.js +6 -7
- package/package.json +7 -2
- package/dist/entities/component/details.d.ts +0 -66
- package/dist/entities/component/details.js +0 -24
- package/dist/entities/entry.d.ts +0 -4
- package/dist/entities/entry.js +0 -1
- package/dist/entities/option/values.d.ts +0 -49
- package/dist/entities/option/values.js +0 -14
- package/dist/entities/refs.d.ts +0 -6
- package/dist/entities/refs.js +0 -1
- package/dist/exception.d.ts +0 -13
- package/dist/validate/result.d.ts +0 -2
- package/dist/validate/result.js +0 -1
- /package/dist/{serialisable.d.ts → entities/serialisable.d.ts} +0 -0
- /package/dist/{serialisable.js → entities/serialisable.js} +0 -0
- /package/dist/{check.d.ts → errors/check.d.ts} +0 -0
- /package/dist/{check.js → errors/check.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@builder-builder/builder",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -34,7 +34,9 @@
|
|
|
34
34
|
"test:unit": "npm run messages && vitest --project client --project server",
|
|
35
35
|
"test:integration": "npm run messages && vitest run --project integration",
|
|
36
36
|
"verify": "npm run test && npm run check && npm run lint",
|
|
37
|
-
"types
|
|
37
|
+
"db:types": "dotenv -e .env -- sh -c 'supabase gen types typescript --project-id \"$SUPABASE_DEV_PROJECT_ID\" --schema public > ./src/lib/db/database.types.ts'",
|
|
38
|
+
"db:types:local": "supabase gen types typescript --local > ./src/lib/db/database.types.ts",
|
|
39
|
+
"db:reset": "rm -f supabase/migrations/*_initial.sql && supabase db diff --use-pg-delta -f initial && supabase db reset && npm run db:types:local"
|
|
38
40
|
},
|
|
39
41
|
"devDependencies": {
|
|
40
42
|
"@eslint/compat": "^1.2.5",
|
|
@@ -47,6 +49,7 @@
|
|
|
47
49
|
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|
|
48
50
|
"@testing-library/jest-dom": "^6.6.3",
|
|
49
51
|
"@testing-library/svelte": "^5.2.4",
|
|
52
|
+
"@types/node": "^25.9.1",
|
|
50
53
|
"@vitest/coverage-v8": "^4.1.5",
|
|
51
54
|
"dotenv-cli": "^8.0.0",
|
|
52
55
|
"eslint": "^9.18.0",
|
|
@@ -63,12 +66,14 @@
|
|
|
63
66
|
"svelte": "^5.0.0",
|
|
64
67
|
"svelte-check": "^4.0.0",
|
|
65
68
|
"typescript-eslint": "^8.58.2",
|
|
69
|
+
"vercel": "^54.0.0",
|
|
66
70
|
"vite": "^6.2.6",
|
|
67
71
|
"vitest": "^4.1.5"
|
|
68
72
|
},
|
|
69
73
|
"dependencies": {
|
|
70
74
|
"@floating-ui/dom": "^1.7.2",
|
|
71
75
|
"@lucide/svelte": "^0.525.0",
|
|
76
|
+
"@sentry/sveltekit": "^10.53.1",
|
|
72
77
|
"@supabase/supabase-js": "^2.104.0",
|
|
73
78
|
"@upstash/ratelimit": "^2.0.5",
|
|
74
79
|
"@upstash/redis": "^1.35.0",
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import type { Paramable } from '../../references';
|
|
2
|
-
import type { BuilderTags } from '../tags';
|
|
3
|
-
import type { BuilderComponentFields } from './field';
|
|
4
|
-
import * as v from 'valibot';
|
|
5
|
-
export declare class BuilderComponentDetails<const Fields extends Paramable<BuilderComponentFields> = Paramable<BuilderComponentFields>> {
|
|
6
|
-
readonly type: 'component-details';
|
|
7
|
-
readonly fields: Fields;
|
|
8
|
-
readonly tags?: BuilderTags;
|
|
9
|
-
constructor(fields: Fields, tags?: BuilderTags);
|
|
10
|
-
tag(...tags: Array<string>): BuilderComponentDetails<Fields>;
|
|
11
|
-
}
|
|
12
|
-
export declare const BuilderComponentDetailsSchema: v.InstanceSchema<typeof BuilderComponentDetails, undefined>;
|
|
13
|
-
export declare const BuilderComponentDetailsSerialisedSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
14
|
-
readonly fields: v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
15
|
-
readonly type: v.LiteralSchema<"parameter", undefined>;
|
|
16
|
-
readonly id: v.StringSchema<undefined>;
|
|
17
|
-
readonly name: v.StringSchema<undefined>;
|
|
18
|
-
}, undefined>, v.ReadonlyAction<{
|
|
19
|
-
type: "parameter";
|
|
20
|
-
id: string;
|
|
21
|
-
name: string;
|
|
22
|
-
}>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
23
|
-
readonly type: v.LiteralSchema<"ref", undefined>;
|
|
24
|
-
readonly id: v.StringSchema<undefined>;
|
|
25
|
-
}, undefined>, v.ReadonlyAction<{
|
|
26
|
-
type: "ref";
|
|
27
|
-
id: string;
|
|
28
|
-
}>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
29
|
-
readonly type: v.LiteralSchema<"component-field", undefined>;
|
|
30
|
-
readonly name: v.StringSchema<undefined>;
|
|
31
|
-
readonly valueType: v.PicklistSchema<["string", "boolean", "number"], undefined>;
|
|
32
|
-
readonly isOptional: v.BooleanSchema<undefined>;
|
|
33
|
-
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
|
|
34
|
-
}, undefined>, v.ReadonlyAction<{
|
|
35
|
-
type: "component-field";
|
|
36
|
-
name: string;
|
|
37
|
-
valueType: "string" | "number" | "boolean";
|
|
38
|
-
isOptional: boolean;
|
|
39
|
-
tags?: readonly string[] | undefined;
|
|
40
|
-
}>]>, undefined>, v.ReadonlyAction<Readonly<{
|
|
41
|
-
type: "component-field";
|
|
42
|
-
name: string;
|
|
43
|
-
valueType: "string" | "number" | "boolean";
|
|
44
|
-
isOptional: boolean;
|
|
45
|
-
tags?: readonly string[] | undefined;
|
|
46
|
-
}>[]>]>], undefined>;
|
|
47
|
-
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
|
|
48
|
-
}, undefined>, v.ReadonlyAction<{
|
|
49
|
-
fields: Readonly<{
|
|
50
|
-
type: "parameter";
|
|
51
|
-
id: string;
|
|
52
|
-
name: string;
|
|
53
|
-
}> | Readonly<{
|
|
54
|
-
type: "ref";
|
|
55
|
-
id: string;
|
|
56
|
-
}> | readonly Readonly<{
|
|
57
|
-
type: "component-field";
|
|
58
|
-
name: string;
|
|
59
|
-
valueType: "string" | "number" | "boolean";
|
|
60
|
-
isOptional: boolean;
|
|
61
|
-
tags?: readonly string[] | undefined;
|
|
62
|
-
}>[];
|
|
63
|
-
tags?: readonly string[] | undefined;
|
|
64
|
-
}>]>;
|
|
65
|
-
export type BuilderComponentDetailsSerialised = v.InferOutput<typeof BuilderComponentDetailsSerialisedSchema>;
|
|
66
|
-
export declare function componentDetails<const Fields extends BuilderComponentFields>(...fields: Fields): BuilderComponentDetails<Fields>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
import { paramable } from '../../references.js';
|
|
3
|
-
import { serialisable } from '../../serialisable.js';
|
|
4
|
-
import { BuilderTagsSchema } from '../tags.js';
|
|
5
|
-
import { BuilderComponentFieldsSerialisedSchema } from './field.js';
|
|
6
|
-
export class BuilderComponentDetails {
|
|
7
|
-
fields;
|
|
8
|
-
tags;
|
|
9
|
-
constructor(fields, tags) {
|
|
10
|
-
this.fields = fields;
|
|
11
|
-
this.tags = tags;
|
|
12
|
-
}
|
|
13
|
-
tag(...tags) {
|
|
14
|
-
return new BuilderComponentDetails(this.fields, tags);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export const BuilderComponentDetailsSchema = v.instance(BuilderComponentDetails);
|
|
18
|
-
export const BuilderComponentDetailsSerialisedSchema = serialisable(v.object({
|
|
19
|
-
fields: paramable(BuilderComponentFieldsSerialisedSchema),
|
|
20
|
-
tags: v.optional(BuilderTagsSchema)
|
|
21
|
-
}));
|
|
22
|
-
export function componentDetails(...fields) {
|
|
23
|
-
return new BuilderComponentDetails(fields);
|
|
24
|
-
}
|
package/dist/entities/entry.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { BuilderCollectionSerialised } from './collection/index';
|
|
2
|
-
import type { BuilderComponentSerialised } from './component/index';
|
|
3
|
-
import type { BuilderOptionSerialised } from './option/index';
|
|
4
|
-
export type BuilderModelEntrySerialised = BuilderOptionSerialised | BuilderComponentSerialised | BuilderCollectionSerialised;
|
package/dist/entities/entry.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
export declare const BuilderOptionValuesSchema: v.UnionSchema<[v.InstanceSchema<typeof import("./select.js").BuilderSelectType, undefined>, v.InstanceSchema<typeof import("./toggle.js").BuilderToggleType, undefined>], undefined>;
|
|
3
|
-
export type BuilderOptionValues = v.InferOutput<typeof BuilderOptionValuesSchema>;
|
|
4
|
-
export declare const BuilderOptionValuesSerialisedSchema: v.SchemaWithPipe<readonly [v.VariantSchema<"type", [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5
|
-
readonly type: v.LiteralSchema<"select", undefined>;
|
|
6
|
-
readonly options: v.SchemaWithPipe<readonly [v.TupleWithRestSchema<[v.StringSchema<undefined>], v.StringSchema<undefined>, undefined>, v.ReadonlyAction<[string, ...string[]]>]>;
|
|
7
|
-
readonly defaultValue: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8
|
-
readonly isOptional: v.BooleanSchema<undefined>;
|
|
9
|
-
readonly optionLabels: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
|
|
10
|
-
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
|
|
11
|
-
}, undefined>, v.ReadonlyAction<{
|
|
12
|
-
type: "select";
|
|
13
|
-
readonly options: readonly [string, ...string[]];
|
|
14
|
-
defaultValue: string | null;
|
|
15
|
-
isOptional: boolean;
|
|
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>;
|
|
23
|
-
readonly defaultValue: v.NullableSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
24
|
-
readonly isOptional: v.BooleanSchema<undefined>;
|
|
25
|
-
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ReadonlyAction<string[]>]>, undefined>;
|
|
26
|
-
}, undefined>, v.ReadonlyAction<{
|
|
27
|
-
type: "toggle";
|
|
28
|
-
valueType: "string" | "number" | "boolean";
|
|
29
|
-
defaultValue: string | number | boolean | null;
|
|
30
|
-
isOptional: boolean;
|
|
31
|
-
tags?: readonly string[] | undefined;
|
|
32
|
-
}>]>], undefined>, v.ReadonlyAction<Readonly<{
|
|
33
|
-
type: "select";
|
|
34
|
-
readonly options: readonly [string, ...string[]];
|
|
35
|
-
defaultValue: string | null;
|
|
36
|
-
isOptional: boolean;
|
|
37
|
-
optionLabels: {
|
|
38
|
-
[x: string]: string;
|
|
39
|
-
};
|
|
40
|
-
tags?: readonly string[] | undefined;
|
|
41
|
-
}> | Readonly<{
|
|
42
|
-
type: "toggle";
|
|
43
|
-
valueType: "string" | "number" | "boolean";
|
|
44
|
-
defaultValue: string | number | boolean | null;
|
|
45
|
-
isOptional: boolean;
|
|
46
|
-
tags?: readonly string[] | undefined;
|
|
47
|
-
}>>]>;
|
|
48
|
-
export type BuilderOptionValuesSerialised = v.InferOutput<typeof BuilderOptionValuesSerialisedSchema>;
|
|
49
|
-
export declare function optionValueSchema(payload: BuilderOptionValuesSerialised): v.GenericSchema;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
import { BuilderSelectTypeSchema, BuilderSelectTypeSerialisedSchema, selectValueSchema } from './select.js';
|
|
3
|
-
import { BuilderToggleTypeSchema, BuilderToggleTypeSerialisedSchema, toggleValueSchema } from './toggle.js';
|
|
4
|
-
export const BuilderOptionValuesSchema = v.union([
|
|
5
|
-
BuilderSelectTypeSchema,
|
|
6
|
-
BuilderToggleTypeSchema
|
|
7
|
-
]);
|
|
8
|
-
export const BuilderOptionValuesSerialisedSchema = v.pipe(v.variant('type', [BuilderSelectTypeSerialisedSchema, BuilderToggleTypeSerialisedSchema]), v.readonly());
|
|
9
|
-
export function optionValueSchema(payload) {
|
|
10
|
-
if (payload.type === 'select') {
|
|
11
|
-
return selectValueSchema(payload.options, payload.isOptional);
|
|
12
|
-
}
|
|
13
|
-
return toggleValueSchema(payload.valueType, payload.isOptional);
|
|
14
|
-
}
|
package/dist/entities/refs.d.ts
DELETED
package/dist/entities/refs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/exception.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { BuilderErrorDuplicateName, BuilderErrorInvalidCollection, BuilderErrorInvalidCollectionBounds, BuilderErrorInvalidDetail, BuilderErrorInvalidInput, BuilderErrorInvalidOption, BuilderErrorInvalidPath, BuilderErrorInvalidPricing, BuilderErrorInvalidSelectMapKey, BuilderErrorInvalidVariant, BuilderErrorMissingComponent, BuilderErrorMissingDetail, BuilderErrorMissingReference, BuilderErrorMissingVariant, BuilderErrorUnboundParameter, BuilderErrorUnexpectedComponent, BuilderErrorUnexpectedDetail, BuilderErrorUnmetExpectation, BuilderErrorUnvalidated } from './validate/index';
|
|
2
|
-
export type BuilderErrorLocation = ReadonlyArray<string | number>;
|
|
3
|
-
export declare function builderError<Kind extends string>(kind: Kind, location: BuilderErrorLocation): {
|
|
4
|
-
kind: Kind;
|
|
5
|
-
location: BuilderErrorLocation;
|
|
6
|
-
};
|
|
7
|
-
export type BuilderErrorBase = ReturnType<typeof builderError>;
|
|
8
|
-
export type BuilderError = BuilderErrorUnmetExpectation | BuilderErrorUnboundParameter | BuilderErrorMissingReference | BuilderErrorInvalidPath | BuilderErrorInvalidPricing | BuilderErrorInvalidSelectMapKey | BuilderErrorDuplicateName | BuilderErrorInvalidCollectionBounds | BuilderErrorInvalidOption | BuilderErrorInvalidCollection | BuilderErrorMissingComponent | BuilderErrorUnexpectedComponent | BuilderErrorMissingVariant | BuilderErrorInvalidVariant | BuilderErrorMissingDetail | BuilderErrorUnexpectedDetail | BuilderErrorInvalidDetail | BuilderErrorInvalidInput | BuilderErrorUnvalidated;
|
|
9
|
-
export type BuilderErrors = ReadonlyArray<BuilderError>;
|
|
10
|
-
export declare class BuilderException extends globalThis.Error {
|
|
11
|
-
readonly errors: BuilderErrors;
|
|
12
|
-
constructor(errors: BuilderErrors, message?: string);
|
|
13
|
-
}
|
package/dist/validate/result.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|