yedra 0.20.7 → 0.20.9

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.
@@ -4,7 +4,7 @@ export { date } from './validation/date.js';
4
4
  export { _enum as enum } from './validation/enum.js';
5
5
  export { ValidationError } from './validation/error.js';
6
6
  export { integer } from './validation/integer.js';
7
- export { lazy } from './validation/lazy.js';
7
+ export { lazy, LazySchema } from './validation/lazy.js';
8
8
  export { array } from './validation/modifiable.js';
9
9
  export { _null as null } from './validation/null.js';
10
10
  export { number } from './validation/number.js';
@@ -7,7 +7,7 @@ export { date } from './validation/date.js';
7
7
  export { _enum as enum } from './validation/enum.js';
8
8
  export { ValidationError } from './validation/error.js';
9
9
  export { integer } from './validation/integer.js';
10
- export { lazy } from './validation/lazy.js';
10
+ export { lazy, LazySchema } from './validation/lazy.js';
11
11
  export { array } from './validation/modifiable.js';
12
12
  export { _null as null } from './validation/null.js';
13
13
  export { number } from './validation/number.js';
@@ -21,7 +21,7 @@ export declare function collectLazySchemas<T>(fn: () => T): {
21
21
  * subcategories: Category[];
22
22
  * }
23
23
  *
24
- * const category: LazySchema<Category> = y.lazy("Category", () =>
24
+ * const category: y.LazySchema<Category> = y.lazy("Category", () =>
25
25
  * y.object({
26
26
  * name: y.string(),
27
27
  * subcategories: category.array(),
@@ -34,7 +34,7 @@ export function collectLazySchemas(fn) {
34
34
  * subcategories: Category[];
35
35
  * }
36
36
  *
37
- * const category: LazySchema<Category> = y.lazy("Category", () =>
37
+ * const category: y.LazySchema<Category> = y.lazy("Category", () =>
38
38
  * y.object({
39
39
  * name: y.string(),
40
40
  * subcategories: category.array(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yedra",
3
- "version": "0.20.7",
3
+ "version": "0.20.9",
4
4
  "repository": "github:0codekit/yedra",
5
5
  "main": "dist/index.js",
6
6
  "exports": {