arktype 2.0.0-rc.24 → 2.0.0-rc.25
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/out/index.d.ts +1 -0
- package/out/index.js +1 -0
- package/out/keywords/keywords.d.ts +3 -3
- package/package.json +3 -3
package/out/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { ArkError, ArkErrors, type ArkConfig, type ArkScopeConfig, type JsonSchema } from "@ark/schema";
|
|
2
2
|
export { Hkt, inferred } from "@ark/util";
|
|
3
3
|
export type { distill } from "./attributes.ts";
|
|
4
|
+
export * from "./config.ts";
|
|
4
5
|
export { Generic } from "./generic.ts";
|
|
5
6
|
export { ark, declare, define, generic, keywords, type, type Ark } from "./keywords/keywords.ts";
|
|
6
7
|
export { Module, type BoundModule, type Submodule } from "./module.ts";
|
package/out/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { ArkError, ArkErrors } from "@ark/schema";
|
|
2
2
|
export { Hkt, inferred } from "@ark/util";
|
|
3
|
+
export * from "./config.js";
|
|
3
4
|
export { Generic } from "./generic.js";
|
|
4
5
|
export { ark, declare, define, generic, keywords, type } from "./keywords/keywords.js";
|
|
5
6
|
export { Module } from "./module.js";
|
|
@@ -36,9 +36,9 @@ export declare const ark: Scope<Ark>;
|
|
|
36
36
|
export declare const keywords: Module<Ark>;
|
|
37
37
|
export declare const type: TypeParser<{}>;
|
|
38
38
|
export declare namespace type {
|
|
39
|
-
|
|
40
|
-
[inferred]?:
|
|
41
|
-
}
|
|
39
|
+
interface cast<to> {
|
|
40
|
+
[inferred]?: to;
|
|
41
|
+
}
|
|
42
42
|
type errors = ArkErrors;
|
|
43
43
|
/** @ts-ignore cast variance */
|
|
44
44
|
interface Any<out t = any> extends BaseType<t, any> {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arktype",
|
|
3
3
|
"description": "TypeScript's 1:1 validator, optimized from editor to runtime",
|
|
4
|
-
"version": "2.0.0-rc.
|
|
4
|
+
"version": "2.0.0-rc.25",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "David Blass",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"out"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@ark/util": "0.
|
|
38
|
-
"@ark/schema": "0.
|
|
37
|
+
"@ark/util": "0.25.0",
|
|
38
|
+
"@ark/schema": "0.25.0"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|