@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
|
@@ -5,7 +5,7 @@ import { createEntityValidator } from '../kind.js';
|
|
|
5
5
|
import { BuilderPathsSchema } from '../paths.js';
|
|
6
6
|
import { serialisable } from '../serialisable.js';
|
|
7
7
|
import { BuilderTagsSchema } from '../tags.js';
|
|
8
|
-
import { createSelectMapSerialisedSchema,
|
|
8
|
+
import { createSelectMapSerialisedSchema, createConditionSerialisedSchema } from '../condition.js';
|
|
9
9
|
import { BuilderCollectionConfigSerialisedSchema } from './config.js';
|
|
10
10
|
export class BuilderCollection {
|
|
11
11
|
name;
|
|
@@ -23,14 +23,17 @@ export class BuilderCollection {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
export const BuilderCollectionSchema = v.instance(BuilderCollection);
|
|
26
|
-
export const
|
|
26
|
+
export const BuilderCollectionConditionSerialisedSchema = createConditionSerialisedSchema(BuilderCollectionConfigSerialisedSchema);
|
|
27
27
|
export const BuilderCollectionSelectMapSerialisedSchema = createSelectMapSerialisedSchema(BuilderCollectionConfigSerialisedSchema);
|
|
28
28
|
export const BuilderCollectionSerialisedSchema = serialisable(v.object({
|
|
29
29
|
name: NameSchema,
|
|
30
|
-
payload: paramable(v.union([
|
|
30
|
+
payload: paramable(v.union([
|
|
31
|
+
BuilderCollectionConfigSerialisedSchema,
|
|
32
|
+
BuilderCollectionConditionSerialisedSchema
|
|
33
|
+
])),
|
|
31
34
|
paths: v.optional(paramable(BuilderPathsSchema)),
|
|
32
35
|
tags: v.optional(BuilderTagsSchema)
|
|
33
36
|
}));
|
|
34
37
|
export const BuilderCollectionsSerialisedSchema = v.pipe(v.array(BuilderCollectionSerialisedSchema), v.readonly());
|
|
35
|
-
export const
|
|
38
|
+
export const validateCollectionCondition = createEntityValidator('collectionCondition', BuilderCollectionConditionSerialisedSchema);
|
|
36
39
|
export const validateCollectionSelectMap = createEntityValidator('collectionSelectMap', BuilderCollectionSelectMapSerialisedSchema);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { Paramable } from '../../references';
|
|
2
2
|
import type { BuilderPath } from '../paths';
|
|
3
|
-
import type {
|
|
3
|
+
import type { BuilderCondition } from '../condition';
|
|
4
4
|
import type { BuilderCollectionConfig } from './config';
|
|
5
|
-
export type
|
|
6
|
-
export declare const
|
|
7
|
-
enable: <const Values extends Paramable<BuilderCollectionConfig<Paramable<import("..").BuilderModelGeneric>, Paramable<number>, Paramable<number>>>>(values: Values) => import("..").BuilderEnableConfig<Values>;
|
|
5
|
+
export type BuilderCollectionCondition = BuilderCondition<Paramable<BuilderCollectionConfig>, Paramable<BuilderPath>, Paramable<Record<string, Paramable<BuilderCollectionConfig> | null>>, Paramable<BuilderPath>>;
|
|
6
|
+
export declare const collectionCondition: {
|
|
8
7
|
match: <const MatchPayload extends Paramable<BuilderCollectionConfig<Paramable<import("..").BuilderModelGeneric>, Paramable<number>, Paramable<number>>>, const MatchPath extends Paramable<BuilderPath>, const SelectMap extends Paramable<import("..").BuilderMatchSelectMap<Paramable<BuilderCollectionConfig<Paramable<import("..").BuilderModelGeneric>, Paramable<number>, Paramable<number>>>>>>(matchPath: MatchPath, selectMap: SelectMap) => import("..").BuilderMatchConfig<MatchPayload, MatchPath, SelectMap>;
|
|
9
|
-
unless: <const Values extends Paramable<BuilderCollectionConfig<Paramable<import("..").BuilderModelGeneric>, Paramable<number>, Paramable<number>>>, const UnlessPath extends Paramable<BuilderPath>>(unlessPath: UnlessPath, disabledValues: import("
|
|
8
|
+
unless: <const Values extends Paramable<BuilderCollectionConfig<Paramable<import("..").BuilderModelGeneric>, Paramable<number>, Paramable<number>>>, const UnlessPath extends Paramable<BuilderPath>>(unlessPath: UnlessPath, disabledValues: import("../../primitive").BuilderPrimitivesNonEmpty, values: Values) => import("..").BuilderUnlessConfig<Values, UnlessPath>;
|
|
10
9
|
};
|
|
@@ -189,45 +189,44 @@ export declare const BuilderCollectionConfigsSerialisedSchema: v.SchemaWithPipe<
|
|
|
189
189
|
}>[]>]>;
|
|
190
190
|
export type BuilderCollectionConfigsSerialised = v.InferOutput<typeof BuilderCollectionConfigsSerialisedSchema>;
|
|
191
191
|
export declare function collectionConfig<Model extends Paramable<BuilderModelGeneric> = Paramable<BuilderModelGeneric>, Min extends Paramable<number> = Paramable<number>, Max extends Paramable<number> = Paramable<number>>(model: Model, min: Min, max: Max): BuilderCollectionConfig<Model, Min, Max>;
|
|
192
|
-
export declare const validateCollectionConfig: (input: unknown, references?: import("..").BuilderReferences,
|
|
192
|
+
export declare const validateCollectionConfig: (input: unknown, references?: import("..").BuilderReferences, issues?: import("../../errors").BuilderIssuesScope) => import("..").ValidationResult<{
|
|
193
193
|
readonly model: {
|
|
194
194
|
readonly models: readonly (/*elided*/ any & import("../../validate").BuilderValidatedBrand)[];
|
|
195
195
|
readonly options: readonly {
|
|
196
196
|
readonly name: string;
|
|
197
197
|
readonly payload: {
|
|
198
|
-
readonly
|
|
199
|
-
readonly
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
readonly
|
|
208
|
-
} |
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
readonly tags?: readonly string[] | undefined;
|
|
214
|
-
};
|
|
198
|
+
readonly kind: "string" | "number" | "boolean";
|
|
199
|
+
readonly type: "value";
|
|
200
|
+
readonly defaultValue: string | number | boolean | null;
|
|
201
|
+
readonly isOptional: boolean;
|
|
202
|
+
readonly tags?: readonly string[] | undefined;
|
|
203
|
+
} | {
|
|
204
|
+
readonly kind: "select";
|
|
205
|
+
readonly options: readonly [string, ...string[]];
|
|
206
|
+
readonly optionLabels?: ({
|
|
207
|
+
readonly [x: string]: string;
|
|
208
|
+
} & import("../../validate").BuilderValidatedBrand) | undefined;
|
|
209
|
+
readonly type: "value";
|
|
210
|
+
readonly defaultValue: string | number | boolean | null;
|
|
211
|
+
readonly isOptional: boolean;
|
|
212
|
+
readonly tags?: readonly string[] | undefined;
|
|
215
213
|
} | {
|
|
216
214
|
readonly type: "match";
|
|
217
215
|
readonly matchPath: readonly (string | number)[];
|
|
218
216
|
readonly selectMap: {
|
|
219
217
|
readonly [x: string]: {
|
|
220
|
-
readonly
|
|
221
|
-
readonly
|
|
222
|
-
readonly defaultValue: string | null;
|
|
218
|
+
readonly kind: "string" | "number" | "boolean";
|
|
219
|
+
readonly type: "value";
|
|
220
|
+
readonly defaultValue: string | number | boolean | null;
|
|
223
221
|
readonly isOptional: boolean;
|
|
224
|
-
readonly optionLabels: {
|
|
225
|
-
readonly [x: string]: string;
|
|
226
|
-
} & import("../../validate").BuilderValidatedBrand;
|
|
227
222
|
readonly tags?: readonly string[] | undefined;
|
|
228
223
|
} | {
|
|
229
|
-
readonly
|
|
230
|
-
readonly
|
|
224
|
+
readonly kind: "select";
|
|
225
|
+
readonly options: readonly [string, ...string[]];
|
|
226
|
+
readonly optionLabels?: ({
|
|
227
|
+
readonly [x: string]: string;
|
|
228
|
+
} & import("../../validate").BuilderValidatedBrand) | undefined;
|
|
229
|
+
readonly type: "value";
|
|
231
230
|
readonly defaultValue: string | number | boolean | null;
|
|
232
231
|
readonly isOptional: boolean;
|
|
233
232
|
readonly tags?: readonly string[] | undefined;
|
|
@@ -238,36 +237,22 @@ export declare const validateCollectionConfig: (input: unknown, references?: imp
|
|
|
238
237
|
readonly unlessPath: readonly (string | number)[];
|
|
239
238
|
readonly disabledValues: readonly (string | number | boolean | null)[];
|
|
240
239
|
readonly payload: {
|
|
241
|
-
readonly
|
|
242
|
-
readonly
|
|
243
|
-
readonly defaultValue: string | null;
|
|
240
|
+
readonly kind: "string" | "number" | "boolean";
|
|
241
|
+
readonly type: "value";
|
|
242
|
+
readonly defaultValue: string | number | boolean | null;
|
|
244
243
|
readonly isOptional: boolean;
|
|
245
|
-
readonly optionLabels: {
|
|
246
|
-
readonly [x: string]: string;
|
|
247
|
-
} & import("../../validate").BuilderValidatedBrand;
|
|
248
244
|
readonly tags?: readonly string[] | undefined;
|
|
249
245
|
} | {
|
|
250
|
-
readonly
|
|
251
|
-
readonly
|
|
246
|
+
readonly kind: "select";
|
|
247
|
+
readonly options: readonly [string, ...string[]];
|
|
248
|
+
readonly optionLabels?: ({
|
|
249
|
+
readonly [x: string]: string;
|
|
250
|
+
} & import("../../validate").BuilderValidatedBrand) | undefined;
|
|
251
|
+
readonly type: "value";
|
|
252
252
|
readonly defaultValue: string | number | boolean | null;
|
|
253
253
|
readonly isOptional: boolean;
|
|
254
254
|
readonly tags?: readonly string[] | undefined;
|
|
255
255
|
};
|
|
256
|
-
} | {
|
|
257
|
-
readonly type: "select";
|
|
258
|
-
readonly options: readonly [string, ...string[]];
|
|
259
|
-
readonly defaultValue: string | null;
|
|
260
|
-
readonly isOptional: boolean;
|
|
261
|
-
readonly optionLabels: {
|
|
262
|
-
readonly [x: string]: string;
|
|
263
|
-
} & import("../../validate").BuilderValidatedBrand;
|
|
264
|
-
readonly tags?: readonly string[] | undefined;
|
|
265
|
-
} | {
|
|
266
|
-
readonly type: "toggle";
|
|
267
|
-
readonly valueType: "string" | "number" | "boolean";
|
|
268
|
-
readonly defaultValue: string | number | boolean | null;
|
|
269
|
-
readonly isOptional: boolean;
|
|
270
|
-
readonly tags?: readonly string[] | undefined;
|
|
271
256
|
};
|
|
272
257
|
readonly paths?: readonly (readonly (string | number)[])[] | undefined;
|
|
273
258
|
readonly tags?: readonly string[] | undefined;
|
|
@@ -275,35 +260,23 @@ export declare const validateCollectionConfig: (input: unknown, references?: imp
|
|
|
275
260
|
readonly components: readonly {
|
|
276
261
|
readonly name: string;
|
|
277
262
|
readonly payload: {
|
|
278
|
-
readonly
|
|
279
|
-
readonly type: "component-
|
|
263
|
+
readonly details: readonly {
|
|
264
|
+
readonly type: "component-detail";
|
|
280
265
|
readonly name: string;
|
|
281
|
-
readonly
|
|
266
|
+
readonly kind: "string" | "number" | "boolean" | "price" | "image";
|
|
282
267
|
readonly isOptional: boolean;
|
|
283
268
|
readonly tags?: readonly string[] | undefined;
|
|
284
269
|
}[];
|
|
285
270
|
readonly tags?: readonly string[] | undefined;
|
|
286
|
-
} | {
|
|
287
|
-
readonly type: "enable";
|
|
288
|
-
readonly payload: {
|
|
289
|
-
readonly fields: readonly {
|
|
290
|
-
readonly type: "component-field";
|
|
291
|
-
readonly name: string;
|
|
292
|
-
readonly valueType: "string" | "number" | "boolean";
|
|
293
|
-
readonly isOptional: boolean;
|
|
294
|
-
readonly tags?: readonly string[] | undefined;
|
|
295
|
-
}[];
|
|
296
|
-
readonly tags?: readonly string[] | undefined;
|
|
297
|
-
};
|
|
298
271
|
} | {
|
|
299
272
|
readonly type: "match";
|
|
300
273
|
readonly matchPath: readonly (string | number)[];
|
|
301
274
|
readonly selectMap: {
|
|
302
275
|
readonly [x: string]: {
|
|
303
|
-
readonly
|
|
304
|
-
readonly type: "component-
|
|
276
|
+
readonly details: readonly {
|
|
277
|
+
readonly type: "component-detail";
|
|
305
278
|
readonly name: string;
|
|
306
|
-
readonly
|
|
279
|
+
readonly kind: "string" | "number" | "boolean" | "price" | "image";
|
|
307
280
|
readonly isOptional: boolean;
|
|
308
281
|
readonly tags?: readonly string[] | undefined;
|
|
309
282
|
}[];
|
|
@@ -315,10 +288,10 @@ export declare const validateCollectionConfig: (input: unknown, references?: imp
|
|
|
315
288
|
readonly unlessPath: readonly (string | number)[];
|
|
316
289
|
readonly disabledValues: readonly (string | number | boolean | null)[];
|
|
317
290
|
readonly payload: {
|
|
318
|
-
readonly
|
|
319
|
-
readonly type: "component-
|
|
291
|
+
readonly details: readonly {
|
|
292
|
+
readonly type: "component-detail";
|
|
320
293
|
readonly name: string;
|
|
321
|
-
readonly
|
|
294
|
+
readonly kind: "string" | "number" | "boolean" | "price" | "image";
|
|
322
295
|
readonly isOptional: boolean;
|
|
323
296
|
readonly tags?: readonly string[] | undefined;
|
|
324
297
|
}[];
|
|
@@ -336,14 +309,6 @@ export declare const validateCollectionConfig: (input: unknown, references?: imp
|
|
|
336
309
|
readonly min: number;
|
|
337
310
|
readonly max: number;
|
|
338
311
|
readonly tags?: readonly string[] | undefined;
|
|
339
|
-
} | {
|
|
340
|
-
readonly type: "enable";
|
|
341
|
-
readonly payload: {
|
|
342
|
-
readonly model: /*elided*/ any & import("../../validate").BuilderValidatedBrand;
|
|
343
|
-
readonly min: number;
|
|
344
|
-
readonly max: number;
|
|
345
|
-
readonly tags?: readonly string[] | undefined;
|
|
346
|
-
};
|
|
347
312
|
} | {
|
|
348
313
|
readonly type: "match";
|
|
349
314
|
readonly matchPath: readonly (string | number)[];
|
|
@@ -368,10 +333,27 @@ export declare const validateCollectionConfig: (input: unknown, references?: imp
|
|
|
368
333
|
};
|
|
369
334
|
readonly tags?: readonly string[] | undefined;
|
|
370
335
|
}[];
|
|
371
|
-
readonly expectations: readonly
|
|
336
|
+
readonly expectations: readonly {
|
|
372
337
|
readonly name: string;
|
|
373
338
|
readonly kind: "option" | "component" | "collection";
|
|
374
|
-
|
|
339
|
+
readonly payload?: {
|
|
340
|
+
readonly kind: "string" | "number" | "boolean";
|
|
341
|
+
readonly type: "value";
|
|
342
|
+
readonly defaultValue: string | number | boolean | null;
|
|
343
|
+
readonly isOptional: boolean;
|
|
344
|
+
readonly tags?: readonly string[] | undefined;
|
|
345
|
+
} | {
|
|
346
|
+
readonly kind: "select";
|
|
347
|
+
readonly options: readonly [string, ...string[]];
|
|
348
|
+
readonly optionLabels?: ({
|
|
349
|
+
readonly [x: string]: string;
|
|
350
|
+
} & import("../../validate").BuilderValidatedBrand) | undefined;
|
|
351
|
+
readonly type: "value";
|
|
352
|
+
readonly defaultValue: string | number | boolean | null;
|
|
353
|
+
readonly isOptional: boolean;
|
|
354
|
+
readonly tags?: readonly string[] | undefined;
|
|
355
|
+
} | undefined;
|
|
356
|
+
}[];
|
|
375
357
|
readonly tags?: readonly string[] | undefined;
|
|
376
358
|
} & import("../../validate").BuilderValidatedBrand;
|
|
377
359
|
readonly min: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type { BuilderCollectionPayload, BuilderCollections, BuilderCollectionSerialised, BuilderCollectionsSerialised,
|
|
1
|
+
export type { BuilderCollectionPayload, BuilderCollections, BuilderCollectionSerialised, BuilderCollectionsSerialised, BuilderCollectionConditionSerialised, CollectionNamesOf, CollectionShape } from './collection';
|
|
2
2
|
export type { BuilderCollectionConfigSerialised, BuilderCollectionConfigsSerialised } from './config';
|
|
3
3
|
export type { CollectionsAsserted } from './expectation';
|
|
4
|
-
export type {
|
|
5
|
-
export { BuilderCollection, BuilderCollectionSchema, BuilderCollectionSelectMapSerialisedSchema, BuilderCollectionSerialisedSchema, BuilderCollectionsSerialisedSchema,
|
|
4
|
+
export type { BuilderCollectionCondition } from './condition';
|
|
5
|
+
export { BuilderCollection, BuilderCollectionSchema, BuilderCollectionSelectMapSerialisedSchema, BuilderCollectionSerialisedSchema, BuilderCollectionsSerialisedSchema, BuilderCollectionConditionSerialisedSchema, validateCollectionSelectMap, validateCollectionCondition } from './collection.js';
|
|
6
6
|
export { BuilderCollectionConfig, BuilderCollectionConfigSchema, BuilderCollectionConfigSerialisedSchema, BuilderCollectionConfigsSerialisedSchema, collectionConfig, validateCollectionConfig } from './config.js';
|
|
7
7
|
export { collectionExpectation } from './expectation.js';
|
|
8
|
-
export {
|
|
8
|
+
export { collectionCondition } from './condition.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { BuilderCollection, BuilderCollectionSchema, BuilderCollectionSelectMapSerialisedSchema, BuilderCollectionSerialisedSchema, BuilderCollectionsSerialisedSchema,
|
|
1
|
+
export { BuilderCollection, BuilderCollectionSchema, BuilderCollectionSelectMapSerialisedSchema, BuilderCollectionSerialisedSchema, BuilderCollectionsSerialisedSchema, BuilderCollectionConditionSerialisedSchema, validateCollectionSelectMap, validateCollectionCondition } from './collection.js';
|
|
2
2
|
export { BuilderCollectionConfig, BuilderCollectionConfigSchema, BuilderCollectionConfigSerialisedSchema, BuilderCollectionConfigsSerialisedSchema, collectionConfig, validateCollectionConfig } from './config.js';
|
|
3
3
|
export { collectionExpectation } from './expectation.js';
|
|
4
|
-
export {
|
|
4
|
+
export { collectionCondition } from './condition.js';
|