elysia 2.0.0-beta.2 → 2.0.0-beta.4
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/adapter/bun/index.d.ts +1 -1
- package/dist/adapter/bun/index.js +320 -56
- package/dist/adapter/bun/index.mjs +321 -57
- package/dist/adapter/utils.js +51 -30
- package/dist/adapter/utils.mjs +52 -31
- package/dist/adapter/web-standard/handler.js +5 -2
- package/dist/adapter/web-standard/handler.mjs +5 -2
- package/dist/base.d.ts +18 -7
- package/dist/base.js +213 -101
- package/dist/base.mjs +215 -103
- package/dist/compile/aot-capture.js +1 -1
- package/dist/compile/aot-capture.mjs +1 -1
- package/dist/compile/aot.d.ts +5 -4
- package/dist/compile/aot.js +17 -9
- package/dist/compile/aot.mjs +18 -9
- package/dist/compile/handler/descriptor.js +1 -1
- package/dist/compile/handler/descriptor.mjs +1 -1
- package/dist/compile/handler/frozen-validator.d.ts +4 -1
- package/dist/compile/handler/frozen-validator.js +8 -3
- package/dist/compile/handler/frozen-validator.mjs +5 -3
- package/dist/compile/handler/index.d.ts +2 -2
- package/dist/compile/handler/index.js +8 -6
- package/dist/compile/handler/index.mjs +8 -6
- package/dist/compile/handler/reconstruct.d.ts +1 -1
- package/dist/compile/handler/reconstruct.js +4 -3
- package/dist/compile/handler/reconstruct.mjs +4 -3
- package/dist/compile/handler/utils.js +2 -2
- package/dist/compile/handler/utils.mjs +3 -3
- package/dist/compile/jit-probe.d.ts +2 -2
- package/dist/context.d.ts +1 -1
- package/dist/context.js +8 -5
- package/dist/context.mjs +8 -5
- package/dist/cookie/config.d.ts +1 -0
- package/dist/cookie/config.js +3 -2
- package/dist/cookie/config.mjs +3 -2
- package/dist/cookie/cookie.d.ts +1 -0
- package/dist/cookie/cookie.js +6 -5
- package/dist/cookie/cookie.mjs +6 -5
- package/dist/cookie/crypto.d.ts +8 -7
- package/dist/cookie/crypto.js +38 -31
- package/dist/cookie/crypto.mjs +38 -32
- package/dist/cookie/error.js +1 -2
- package/dist/cookie/error.mjs +1 -2
- package/dist/cookie/lib.js +5 -1
- package/dist/cookie/lib.mjs +5 -1
- package/dist/cookie/serialize.js +1 -1
- package/dist/cookie/serialize.mjs +1 -1
- package/dist/cookie/types.d.ts +10 -0
- package/dist/cookie/utils.js +28 -14
- package/dist/cookie/utils.mjs +29 -15
- package/dist/handler/error.d.ts +23 -12
- package/dist/handler/error.js +24 -21
- package/dist/handler/error.mjs +20 -21
- package/dist/handler/fetch.js +6 -7
- package/dist/handler/fetch.mjs +7 -8
- package/dist/handler/utils.js +4 -2
- package/dist/handler/utils.mjs +5 -3
- package/dist/index.js +1 -8
- package/dist/package.js +1 -1
- package/dist/package.mjs +1 -1
- package/dist/plugin/aot/core.d.ts +33 -6
- package/dist/plugin/aot/core.js +120 -40
- package/dist/plugin/aot/core.mjs +121 -43
- package/dist/plugin/aot/esbuild.js +8 -2
- package/dist/plugin/aot/esbuild.mjs +9 -3
- package/dist/plugin/aot/hooks.d.ts +2 -1
- package/dist/plugin/aot/hooks.js +3 -3
- package/dist/plugin/aot/hooks.mjs +4 -4
- package/dist/plugin/aot/source.d.ts +4 -1
- package/dist/plugin/aot/source.js +21 -14
- package/dist/plugin/aot/source.mjs +21 -14
- package/dist/plugin/aot/worker.js +2 -2
- package/dist/plugin/aot/worker.mjs +2 -2
- package/dist/route-table.d.ts +3 -0
- package/dist/route-table.js +16 -11
- package/dist/route-table.mjs +16 -11
- package/dist/schema-snapshot.js +17 -22
- package/dist/schema-snapshot.mjs +17 -22
- package/dist/type/bridge-live.d.ts +1 -1
- package/dist/type/bridge-live.js +2 -2
- package/dist/type/bridge-live.mjs +2 -2
- package/dist/type/bridge.d.ts +1 -1
- package/dist/type/coerce-plan.js +3 -4
- package/dist/type/coerce-plan.mjs +1 -1
- package/dist/type/coerce.d.ts +1 -1
- package/dist/type/compat.d.ts +3 -0
- package/dist/type/compat.js +32 -14
- package/dist/type/compat.mjs +27 -8
- package/dist/type/constants.d.ts +1 -1
- package/dist/type/elysia/array-buffer.js +2 -3
- package/dist/type/elysia/array-buffer.mjs +1 -1
- package/dist/type/elysia/array-string.js +7 -4
- package/dist/type/elysia/array-string.mjs +9 -5
- package/dist/type/elysia/boolean-string.js +2 -3
- package/dist/type/elysia/boolean-string.mjs +1 -1
- package/dist/type/elysia/boolean.js +4 -3
- package/dist/type/elysia/boolean.mjs +4 -2
- package/dist/type/elysia/cookie.js +2 -1
- package/dist/type/elysia/cookie.mjs +2 -1
- package/dist/type/elysia/date.js +7 -7
- package/dist/type/elysia/date.mjs +3 -2
- package/dist/type/elysia/file-type.d.ts +9 -2
- package/dist/type/elysia/file-type.js +16 -1
- package/dist/type/elysia/file-type.mjs +16 -2
- package/dist/type/elysia/file.js +8 -4
- package/dist/type/elysia/file.mjs +8 -3
- package/dist/type/elysia/files.js +6 -4
- package/dist/type/elysia/files.mjs +5 -2
- package/dist/type/elysia/form.js +2 -3
- package/dist/type/elysia/form.mjs +3 -3
- package/dist/type/elysia/integer-string.js +4 -5
- package/dist/type/elysia/integer-string.mjs +3 -3
- package/dist/type/elysia/integer.js +4 -3
- package/dist/type/elysia/integer.mjs +4 -2
- package/dist/type/elysia/maybe-empty.js +3 -4
- package/dist/type/elysia/maybe-empty.mjs +1 -1
- package/dist/type/elysia/nullable.js +2 -3
- package/dist/type/elysia/nullable.mjs +1 -1
- package/dist/type/elysia/number.js +4 -3
- package/dist/type/elysia/number.mjs +4 -2
- package/dist/type/elysia/numeric-enum.js +2 -3
- package/dist/type/elysia/numeric-enum.mjs +1 -1
- package/dist/type/elysia/numeric.js +5 -5
- package/dist/type/elysia/numeric.mjs +3 -2
- package/dist/type/elysia/object-string.js +7 -4
- package/dist/type/elysia/object-string.mjs +9 -5
- package/dist/type/elysia/string.js +4 -3
- package/dist/type/elysia/string.mjs +4 -2
- package/dist/type/elysia/uint8-array.js +2 -3
- package/dist/type/elysia/uint8-array.mjs +1 -1
- package/dist/type/elysia/union-enum.js +2 -3
- package/dist/type/elysia/union-enum.mjs +1 -1
- package/dist/type/elysia/utils.js +2 -3
- package/dist/type/elysia/utils.mjs +1 -1
- package/dist/type/exports.js +10 -1
- package/dist/type/exports.mjs +7 -0
- package/dist/type/index.d.ts +9 -1
- package/dist/type/index.js +41 -13
- package/dist/type/index.mjs +44 -9
- package/dist/type/typebox-type-live.d.ts +9 -0
- package/dist/type/typebox-type-live.js +31 -0
- package/dist/type/typebox-type-live.mjs +16 -0
- package/dist/type/typebox-type.d.ts +24 -0
- package/dist/type/typebox-type.js +130 -0
- package/dist/type/typebox-type.mjs +66 -0
- package/dist/type/typebox-value-live.d.ts +9 -0
- package/dist/type/typebox-value-live.js +27 -0
- package/dist/type/typebox-value-live.mjs +11 -0
- package/dist/type/typebox-value.d.ts +30 -0
- package/dist/type/typebox-value.js +147 -0
- package/dist/type/typebox-value.mjs +62 -0
- package/dist/type/validator/custom-error.js +4 -5
- package/dist/type/validator/custom-error.mjs +3 -3
- package/dist/type/validator/default-precompute.js +4 -5
- package/dist/type/validator/default-precompute.mjs +1 -1
- package/dist/type/validator/index.d.ts +1 -1
- package/dist/type/validator/index.js +51 -42
- package/dist/type/validator/index.mjs +33 -23
- package/dist/type/validator/validator-cache.d.ts +1 -1
- package/dist/type/validator/validator-cache.js +27 -14
- package/dist/type/validator/validator-cache.mjs +27 -13
- package/dist/universal/constants.d.ts +2 -1
- package/dist/universal/constants.js +3 -1
- package/dist/universal/constants.mjs +2 -1
- package/dist/utils.d.ts +19 -1
- package/dist/utils.js +25 -3
- package/dist/utils.mjs +19 -3
- package/dist/validator/index.js +2 -1
- package/dist/validator/index.mjs +2 -1
- package/dist/ws/context.d.ts +8 -1
- package/dist/ws/context.js +65 -29
- package/dist/ws/context.mjs +64 -29
- package/dist/ws/route.js +176 -28
- package/dist/ws/route.mjs +179 -31
- package/package.json +5 -3
package/dist/type/exports.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_runtime = require('../_virtual/_rolldown/runtime.js');
|
|
3
|
+
const require_type_typebox_type = require('./typebox-type.js');
|
|
2
4
|
const require_type_elysia_array = require('./elysia/array.js');
|
|
3
5
|
const require_type_elysia_string = require('./elysia/string.js');
|
|
4
6
|
const require_type_elysia_union = require('./elysia/union.js');
|
|
@@ -27,8 +29,16 @@ const require_type_elysia_numeric_enum = require('./elysia/numeric-enum.js');
|
|
|
27
29
|
const require_type_elysia_optional = require('./elysia/optional.js');
|
|
28
30
|
const require_type_elysia_uint8_array = require('./elysia/uint8-array.js');
|
|
29
31
|
const require_type_elysia_union_enum = require('./elysia/union-enum.js');
|
|
32
|
+
let typebox_type = require("typebox/type");
|
|
33
|
+
typebox_type = require_runtime.__toESM(typebox_type);
|
|
34
|
+
let typebox_system = require("typebox/system");
|
|
35
|
+
typebox_system = require_runtime.__toESM(typebox_system);
|
|
30
36
|
|
|
31
37
|
//#region src/type/exports.ts
|
|
38
|
+
require_type_typebox_type.injectTypeboxType({
|
|
39
|
+
type: typebox_type,
|
|
40
|
+
system: typebox_system
|
|
41
|
+
});
|
|
32
42
|
require_type_compat.setupTypebox();
|
|
33
43
|
|
|
34
44
|
//#endregion
|
|
@@ -59,7 +69,6 @@ exports.String = require_type_elysia_string.StringType;
|
|
|
59
69
|
exports.Uint8Array = require_type_elysia_uint8_array.Uint8ArrayType;
|
|
60
70
|
exports.Union = require_type_elysia_union.Union;
|
|
61
71
|
exports.UnionEnum = require_type_elysia_union_enum.UnionEnum;
|
|
62
|
-
var typebox_type = require("typebox/type");
|
|
63
72
|
Object.keys(typebox_type).forEach(function (k) {
|
|
64
73
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
65
74
|
enumerable: true,
|
package/dist/type/exports.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { injectTypeboxType } from "./typebox-type.mjs";
|
|
1
2
|
import { ArrayType } from "./elysia/array.mjs";
|
|
2
3
|
import { StringType } from "./elysia/string.mjs";
|
|
3
4
|
import { Union } from "./elysia/union.mjs";
|
|
@@ -26,10 +27,16 @@ import { NumericEnum } from "./elysia/numeric-enum.mjs";
|
|
|
26
27
|
import { Optional } from "./elysia/optional.mjs";
|
|
27
28
|
import { Uint8ArrayType } from "./elysia/uint8-array.mjs";
|
|
28
29
|
import { UnionEnum } from "./elysia/union-enum.mjs";
|
|
30
|
+
import * as type from "typebox/type";
|
|
31
|
+
import * as system from "typebox/system";
|
|
29
32
|
|
|
30
33
|
export * from "typebox/type"
|
|
31
34
|
|
|
32
35
|
//#region src/type/exports.ts
|
|
36
|
+
injectTypeboxType({
|
|
37
|
+
type,
|
|
38
|
+
system
|
|
39
|
+
});
|
|
33
40
|
setupTypebox();
|
|
34
41
|
|
|
35
42
|
//#endregion
|
package/dist/type/index.d.ts
CHANGED
|
@@ -4,10 +4,18 @@ import { exports_d_exports } from "./exports.js";
|
|
|
4
4
|
import { setupTypebox } from "./compat.js";
|
|
5
5
|
import { TypeBoxValidator } from "./validator/index.js";
|
|
6
6
|
import * as TypeBoxType from "typebox/type";
|
|
7
|
-
import { System
|
|
7
|
+
import { System } from "typebox/system";
|
|
8
8
|
|
|
9
9
|
//#region src/type/index.d.ts
|
|
10
10
|
type TypeBuilder = Omit<typeof TypeBoxType, keyof typeof exports_d_exports> & typeof exports_d_exports;
|
|
11
11
|
declare const t: TypeBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* `typebox/system` is a subgraph of `typebox/type`, so a static re-export here
|
|
14
|
+
* would pin ~231 KB of the deferral back into the eager graph. The proxy also
|
|
15
|
+
* guarantees Elysia's own `Settings` default lands BEFORE the namespace is
|
|
16
|
+
* handed out, keeping a user's explicit `TypeSystem.Settings.Set(...)` last —
|
|
17
|
+
* the ordering the eager `setupTypebox()` used to provide
|
|
18
|
+
*/
|
|
19
|
+
declare const TypeSystem: typeof System;
|
|
12
20
|
//#endregion
|
|
13
21
|
export { type AnySchema, type BaseSchema, type FileTypeDetector, type StandardJSONSchemaV1Like, type StandardSchemaV1Like, type TypeBoxSchema, TypeBoxValidator, TypeSystem, fileType, setFileTypeDetector, setupTypebox, t };
|
package/dist/type/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.js');
|
|
3
2
|
const require_type_elysia_file_type = require('./elysia/file-type.js');
|
|
3
|
+
const require_type_typebox_type = require('./typebox-type.js');
|
|
4
4
|
const require_type_elysia_array = require('./elysia/array.js');
|
|
5
5
|
const require_type_elysia_string = require('./elysia/string.js');
|
|
6
6
|
const require_type_elysia_union = require('./elysia/union.js');
|
|
@@ -30,14 +30,39 @@ const require_type_elysia_numeric_enum = require('./elysia/numeric-enum.js');
|
|
|
30
30
|
const require_type_elysia_optional = require('./elysia/optional.js');
|
|
31
31
|
const require_type_elysia_uint8_array = require('./elysia/uint8-array.js');
|
|
32
32
|
const require_type_elysia_union_enum = require('./elysia/union-enum.js');
|
|
33
|
-
let typebox_type = require("typebox/type");
|
|
34
|
-
typebox_type = require_runtime.__toESM(typebox_type);
|
|
35
|
-
let typebox_system = require("typebox/system");
|
|
36
33
|
|
|
37
34
|
//#region src/type/index.ts
|
|
38
35
|
require_type_compat.setupTypebox();
|
|
39
|
-
const
|
|
40
|
-
|
|
36
|
+
const hasOwn = (target, key) => Object.prototype.hasOwnProperty.call(target, key);
|
|
37
|
+
/**
|
|
38
|
+
* A namespace object that materializes `typebox/type` only when a key it does
|
|
39
|
+
* not own is actually read
|
|
40
|
+
*/
|
|
41
|
+
const lazyNamespace = (resolve, overrides) => new Proxy(overrides, {
|
|
42
|
+
get: (target, key, receiver) => key in target ? Reflect.get(target, key, receiver) : resolve()[key],
|
|
43
|
+
has: (target, key) => key in target || key in resolve(),
|
|
44
|
+
ownKeys(target) {
|
|
45
|
+
const keys = Object.keys(resolve());
|
|
46
|
+
for (const key of Object.getOwnPropertyNames(target)) if (!keys.includes(key)) keys.push(key);
|
|
47
|
+
return keys;
|
|
48
|
+
},
|
|
49
|
+
getOwnPropertyDescriptor(target, key) {
|
|
50
|
+
if (hasOwn(target, key)) return Reflect.getOwnPropertyDescriptor(target, key);
|
|
51
|
+
const ns = resolve();
|
|
52
|
+
if (!hasOwn(ns, key)) return;
|
|
53
|
+
return {
|
|
54
|
+
value: ns[key],
|
|
55
|
+
enumerable: true,
|
|
56
|
+
writable: true,
|
|
57
|
+
configurable: true
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
preventExtensions: () => false,
|
|
61
|
+
set: (target, key, value) => Reflect.set(target, key, value),
|
|
62
|
+
defineProperty: (target, key, descriptor) => Reflect.defineProperty(target, key, descriptor),
|
|
63
|
+
deleteProperty: (target, key) => Reflect.deleteProperty(target, key)
|
|
64
|
+
});
|
|
65
|
+
const t = lazyNamespace(() => require_type_typebox_type.loadTypeNamespace().type, {
|
|
41
66
|
Accelerate: require_type_elysia_accelerate.Accelerate,
|
|
42
67
|
Array: require_type_elysia_array.ArrayType,
|
|
43
68
|
ArrayBuffer: require_type_elysia_array_buffer.ArrayBufferType,
|
|
@@ -65,16 +90,19 @@ const t = {
|
|
|
65
90
|
Uint8Array: require_type_elysia_uint8_array.Uint8ArrayType,
|
|
66
91
|
Union: require_type_elysia_union.Union,
|
|
67
92
|
UnionEnum: require_type_elysia_union_enum.UnionEnum
|
|
68
|
-
};
|
|
93
|
+
});
|
|
94
|
+
/**
|
|
95
|
+
* `typebox/system` is a subgraph of `typebox/type`, so a static re-export here
|
|
96
|
+
* would pin ~231 KB of the deferral back into the eager graph. The proxy also
|
|
97
|
+
* guarantees Elysia's own `Settings` default lands BEFORE the namespace is
|
|
98
|
+
* handed out, keeping a user's explicit `TypeSystem.Settings.Set(...)` last —
|
|
99
|
+
* the ordering the eager `setupTypebox()` used to provide
|
|
100
|
+
*/
|
|
101
|
+
const TypeSystem = lazyNamespace(() => require_type_typebox_type.loadTypeNamespace().system.System, Object.create(null));
|
|
69
102
|
|
|
70
103
|
//#endregion
|
|
71
104
|
exports.TypeBoxValidator = require_type_validator_index.TypeBoxValidator;
|
|
72
|
-
|
|
73
|
-
enumerable: true,
|
|
74
|
-
get: function () {
|
|
75
|
-
return typebox_system.System;
|
|
76
|
-
}
|
|
77
|
-
});
|
|
105
|
+
exports.TypeSystem = TypeSystem;
|
|
78
106
|
exports.fileType = require_type_elysia_file_type.fileType;
|
|
79
107
|
exports.setFileTypeDetector = require_type_elysia_file_type.setFileTypeDetector;
|
|
80
108
|
exports.setupTypebox = require_type_compat.setupTypebox;
|
package/dist/type/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { fileType, setFileTypeDetector } from "./elysia/file-type.mjs";
|
|
2
|
+
import { loadTypeNamespace } from "./typebox-type.mjs";
|
|
2
3
|
import { ArrayType } from "./elysia/array.mjs";
|
|
3
4
|
import { StringType } from "./elysia/string.mjs";
|
|
4
5
|
import { Union } from "./elysia/union.mjs";
|
|
@@ -9,11 +10,11 @@ import { NumberType } from "./elysia/number.mjs";
|
|
|
9
10
|
import { Numeric } from "./elysia/numeric.mjs";
|
|
10
11
|
import { BooleanType } from "./elysia/boolean.mjs";
|
|
11
12
|
import { BooleanString } from "./elysia/boolean-string.mjs";
|
|
12
|
-
import { Integer
|
|
13
|
+
import { Integer } from "./elysia/integer.mjs";
|
|
13
14
|
import { IntegerString } from "./elysia/integer-string.mjs";
|
|
14
15
|
import { File } from "./elysia/file.mjs";
|
|
15
16
|
import { TypeBoxValidator } from "./validator/index.mjs";
|
|
16
|
-
import { Intersect
|
|
17
|
+
import { Intersect } from "./elysia/intersect.mjs";
|
|
17
18
|
import { setupTypebox } from "./compat.mjs";
|
|
18
19
|
import { Accelerate } from "./elysia/accelerate.mjs";
|
|
19
20
|
import { ArrayBufferType } from "./elysia/array-buffer.mjs";
|
|
@@ -28,13 +29,39 @@ import { NumericEnum } from "./elysia/numeric-enum.mjs";
|
|
|
28
29
|
import { Optional } from "./elysia/optional.mjs";
|
|
29
30
|
import { Uint8ArrayType } from "./elysia/uint8-array.mjs";
|
|
30
31
|
import { UnionEnum } from "./elysia/union-enum.mjs";
|
|
31
|
-
import * as TypeBox from "typebox/type";
|
|
32
|
-
import { System as TypeSystem } from "typebox/system";
|
|
33
32
|
|
|
34
33
|
//#region src/type/index.ts
|
|
35
34
|
setupTypebox();
|
|
36
|
-
const
|
|
37
|
-
|
|
35
|
+
const hasOwn = (target, key) => Object.prototype.hasOwnProperty.call(target, key);
|
|
36
|
+
/**
|
|
37
|
+
* A namespace object that materializes `typebox/type` only when a key it does
|
|
38
|
+
* not own is actually read
|
|
39
|
+
*/
|
|
40
|
+
const lazyNamespace = (resolve, overrides) => new Proxy(overrides, {
|
|
41
|
+
get: (target, key, receiver) => key in target ? Reflect.get(target, key, receiver) : resolve()[key],
|
|
42
|
+
has: (target, key) => key in target || key in resolve(),
|
|
43
|
+
ownKeys(target) {
|
|
44
|
+
const keys = Object.keys(resolve());
|
|
45
|
+
for (const key of Object.getOwnPropertyNames(target)) if (!keys.includes(key)) keys.push(key);
|
|
46
|
+
return keys;
|
|
47
|
+
},
|
|
48
|
+
getOwnPropertyDescriptor(target, key) {
|
|
49
|
+
if (hasOwn(target, key)) return Reflect.getOwnPropertyDescriptor(target, key);
|
|
50
|
+
const ns = resolve();
|
|
51
|
+
if (!hasOwn(ns, key)) return;
|
|
52
|
+
return {
|
|
53
|
+
value: ns[key],
|
|
54
|
+
enumerable: true,
|
|
55
|
+
writable: true,
|
|
56
|
+
configurable: true
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
preventExtensions: () => false,
|
|
60
|
+
set: (target, key, value) => Reflect.set(target, key, value),
|
|
61
|
+
defineProperty: (target, key, descriptor) => Reflect.defineProperty(target, key, descriptor),
|
|
62
|
+
deleteProperty: (target, key) => Reflect.deleteProperty(target, key)
|
|
63
|
+
});
|
|
64
|
+
const t = lazyNamespace(() => loadTypeNamespace().type, {
|
|
38
65
|
Accelerate,
|
|
39
66
|
Array: ArrayType,
|
|
40
67
|
ArrayBuffer: ArrayBufferType,
|
|
@@ -46,8 +73,8 @@ const t = {
|
|
|
46
73
|
File,
|
|
47
74
|
Files,
|
|
48
75
|
Form,
|
|
49
|
-
Integer
|
|
50
|
-
Intersect
|
|
76
|
+
Integer,
|
|
77
|
+
Intersect,
|
|
51
78
|
IntegerString,
|
|
52
79
|
MaybeEmpty,
|
|
53
80
|
NoValidate,
|
|
@@ -62,7 +89,15 @@ const t = {
|
|
|
62
89
|
Uint8Array: Uint8ArrayType,
|
|
63
90
|
Union,
|
|
64
91
|
UnionEnum
|
|
65
|
-
};
|
|
92
|
+
});
|
|
93
|
+
/**
|
|
94
|
+
* `typebox/system` is a subgraph of `typebox/type`, so a static re-export here
|
|
95
|
+
* would pin ~231 KB of the deferral back into the eager graph. The proxy also
|
|
96
|
+
* guarantees Elysia's own `Settings` default lands BEFORE the namespace is
|
|
97
|
+
* handed out, keeping a user's explicit `TypeSystem.Settings.Set(...)` last —
|
|
98
|
+
* the ordering the eager `setupTypebox()` used to provide
|
|
99
|
+
*/
|
|
100
|
+
const TypeSystem = lazyNamespace(() => loadTypeNamespace().system.System, Object.create(null));
|
|
66
101
|
|
|
67
102
|
//#endregion
|
|
68
103
|
export { TypeBoxValidator, TypeSystem, fileType, setFileTypeDetector, setupTypebox, t };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TypeboxTypeNamespaces } from "./typebox-type.js";
|
|
2
|
+
import { Codec, Decode, Evaluate, Intersect, Module, Null, Ref, Refine, Undefined, Unsafe } from "typebox/type";
|
|
3
|
+
|
|
4
|
+
//#region src/type/typebox-type-live.d.ts
|
|
5
|
+
declare function injectTypeboxType(_typebox?: TypeboxTypeNamespaces): void;
|
|
6
|
+
declare function ensureTypeSettings(): void;
|
|
7
|
+
declare const loadTypeNamespace: () => TypeboxTypeNamespaces;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { Codec, Decode, Evaluate, Intersect, Module, Null, Ref, Refine, type TypeboxTypeNamespaces, Undefined, Unsafe, ensureTypeSettings, injectTypeboxType, loadTypeNamespace };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_runtime = require('../_virtual/_rolldown/runtime.js');
|
|
3
|
+
let typebox_type = require("typebox/type");
|
|
4
|
+
typebox_type = require_runtime.__toESM(typebox_type);
|
|
5
|
+
let typebox_system = require("typebox/system");
|
|
6
|
+
typebox_system = require_runtime.__toESM(typebox_system);
|
|
7
|
+
|
|
8
|
+
//#region src/type/typebox-type-live.ts
|
|
9
|
+
typebox_system.Settings.Set({ unionPrioritySort: false });
|
|
10
|
+
const namespaces = {
|
|
11
|
+
type: typebox_type,
|
|
12
|
+
system: typebox_system
|
|
13
|
+
};
|
|
14
|
+
function injectTypeboxType(_typebox) {}
|
|
15
|
+
function ensureTypeSettings() {}
|
|
16
|
+
const loadTypeNamespace = () => namespaces;
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.Codec = typebox_type.Codec;
|
|
20
|
+
exports.Decode = typebox_type.Decode;
|
|
21
|
+
exports.Evaluate = typebox_type.Evaluate;
|
|
22
|
+
exports.Intersect = typebox_type.Intersect;
|
|
23
|
+
exports.Module = typebox_type.Module;
|
|
24
|
+
exports.Null = typebox_type.Null;
|
|
25
|
+
exports.Ref = typebox_type.Ref;
|
|
26
|
+
exports.Refine = typebox_type.Refine;
|
|
27
|
+
exports.Undefined = typebox_type.Undefined;
|
|
28
|
+
exports.Unsafe = typebox_type.Unsafe;
|
|
29
|
+
exports.ensureTypeSettings = ensureTypeSettings;
|
|
30
|
+
exports.injectTypeboxType = injectTypeboxType;
|
|
31
|
+
exports.loadTypeNamespace = loadTypeNamespace;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as type from "typebox/type";
|
|
2
|
+
import { Codec, Decode, Evaluate, Intersect, Module, Null, Ref, Refine, Undefined, Unsafe } from "typebox/type";
|
|
3
|
+
import * as system from "typebox/system";
|
|
4
|
+
|
|
5
|
+
//#region src/type/typebox-type-live.ts
|
|
6
|
+
system.Settings.Set({ unionPrioritySort: false });
|
|
7
|
+
const namespaces = {
|
|
8
|
+
type,
|
|
9
|
+
system
|
|
10
|
+
};
|
|
11
|
+
function injectTypeboxType(_typebox) {}
|
|
12
|
+
function ensureTypeSettings() {}
|
|
13
|
+
const loadTypeNamespace = () => namespaces;
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Codec, Decode, Evaluate, Intersect, Module, Null, Ref, Refine, Undefined, Unsafe, ensureTypeSettings, injectTypeboxType, loadTypeNamespace };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as _$typebox_type0 from "typebox/type";
|
|
2
|
+
import { Codec as Codec$1, Decode as Decode$1, Evaluate as Evaluate$1, Intersect as Intersect$1, Module as Module$1, Null as Null$1, Ref as Ref$1, Refine as Refine$1, Undefined as Undefined$1, Unsafe as Unsafe$1 } from "typebox/type";
|
|
3
|
+
import * as _$typebox_system0 from "typebox/system";
|
|
4
|
+
|
|
5
|
+
//#region src/type/typebox-type.d.ts
|
|
6
|
+
interface TypeboxTypeNamespaces {
|
|
7
|
+
type: typeof _$typebox_type0;
|
|
8
|
+
system: typeof _$typebox_system0;
|
|
9
|
+
}
|
|
10
|
+
declare const loadTypeNamespace: () => TypeboxTypeNamespaces;
|
|
11
|
+
declare function ensureTypeSettings(): void;
|
|
12
|
+
declare let Codec: typeof Codec$1;
|
|
13
|
+
declare let Decode: typeof Decode$1;
|
|
14
|
+
declare let Evaluate: typeof Evaluate$1;
|
|
15
|
+
declare let Intersect: typeof Intersect$1;
|
|
16
|
+
declare let Module: typeof Module$1;
|
|
17
|
+
declare let Null: typeof Null$1;
|
|
18
|
+
declare let Ref: typeof Ref$1;
|
|
19
|
+
declare let Refine: typeof Refine$1;
|
|
20
|
+
declare let Undefined: typeof Undefined$1;
|
|
21
|
+
declare let Unsafe: typeof Unsafe$1;
|
|
22
|
+
declare function injectTypeboxType(typebox: TypeboxTypeNamespaces): void;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { Codec, Decode, Evaluate, Intersect, Module, Null, Ref, Refine, TypeboxTypeNamespaces, Undefined, Unsafe, ensureTypeSettings, injectTypeboxType, loadTypeNamespace };
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
|
|
3
|
+
//#region src/type/typebox-type.ts
|
|
4
|
+
let namespaces;
|
|
5
|
+
let settingsApplied = false;
|
|
6
|
+
/**
|
|
7
|
+
* Loads `typebox/type` + `typebox/system` on first use
|
|
8
|
+
*
|
|
9
|
+
* separate from `typebox-value` (type ⊂ value)
|
|
10
|
+
* sharing one would make a single `t.Date()` drag the whole value graph in
|
|
11
|
+
*/
|
|
12
|
+
function load() {
|
|
13
|
+
if (namespaces) return namespaces;
|
|
14
|
+
injectTypeboxType(resolveNamespaces());
|
|
15
|
+
return namespaces;
|
|
16
|
+
}
|
|
17
|
+
function resolveNamespaces() {
|
|
18
|
+
const req = {}.require ?? globalThis.process?.getBuiltinModule?.("module")?.createRequire(require("url").pathToFileURL(__filename).href);
|
|
19
|
+
if (!req) throw new Error("TypeBox couldn't be loaded: this runtime has no synchronous module loader. Build with the AOT plugin ('elysia/plugin/aot') so TypeBox is wired statically, or register it manually with setupTypebox({ typebox: { type, system } }).");
|
|
20
|
+
return {
|
|
21
|
+
type: req("typebox/type"),
|
|
22
|
+
system: req("typebox/system")
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function applySettings() {
|
|
26
|
+
if (settingsApplied || !namespaces) return;
|
|
27
|
+
settingsApplied = true;
|
|
28
|
+
namespaces.system.Settings.Set({ unionPrioritySort: false });
|
|
29
|
+
}
|
|
30
|
+
const loadTypeNamespace = () => namespaces ?? load();
|
|
31
|
+
function ensureTypeSettings() {
|
|
32
|
+
if (settingsApplied) return;
|
|
33
|
+
loadTypeNamespace();
|
|
34
|
+
applySettings();
|
|
35
|
+
}
|
|
36
|
+
function stub(get) {
|
|
37
|
+
return function(...args) {
|
|
38
|
+
load();
|
|
39
|
+
return get()(...args);
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
let Codec = stub(() => Codec);
|
|
43
|
+
let Decode = stub(() => Decode);
|
|
44
|
+
let Evaluate = stub(() => Evaluate);
|
|
45
|
+
let Intersect = stub(() => Intersect);
|
|
46
|
+
let Module = stub(() => Module);
|
|
47
|
+
let Null = stub(() => Null);
|
|
48
|
+
let Ref = stub(() => Ref);
|
|
49
|
+
let Refine = stub(() => Refine);
|
|
50
|
+
let Undefined = stub(() => Undefined);
|
|
51
|
+
let Unsafe = stub(() => Unsafe);
|
|
52
|
+
function injectTypeboxType(typebox) {
|
|
53
|
+
namespaces = typebox;
|
|
54
|
+
Codec = typebox.type.Codec;
|
|
55
|
+
Decode = typebox.type.Decode;
|
|
56
|
+
Evaluate = typebox.type.Evaluate;
|
|
57
|
+
Intersect = typebox.type.Intersect;
|
|
58
|
+
Module = typebox.type.Module;
|
|
59
|
+
Null = typebox.type.Null;
|
|
60
|
+
Ref = typebox.type.Ref;
|
|
61
|
+
Refine = typebox.type.Refine;
|
|
62
|
+
Undefined = typebox.type.Undefined;
|
|
63
|
+
Unsafe = typebox.type.Unsafe;
|
|
64
|
+
applySettings();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
//#endregion
|
|
68
|
+
Object.defineProperty(exports, 'Codec', {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () {
|
|
71
|
+
return Codec;
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(exports, 'Decode', {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function () {
|
|
77
|
+
return Decode;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, 'Evaluate', {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () {
|
|
83
|
+
return Evaluate;
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, 'Intersect', {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () {
|
|
89
|
+
return Intersect;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, 'Module', {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () {
|
|
95
|
+
return Module;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, 'Null', {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () {
|
|
101
|
+
return Null;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, 'Ref', {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () {
|
|
107
|
+
return Ref;
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, 'Refine', {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function () {
|
|
113
|
+
return Refine;
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, 'Undefined', {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () {
|
|
119
|
+
return Undefined;
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
Object.defineProperty(exports, 'Unsafe', {
|
|
123
|
+
enumerable: true,
|
|
124
|
+
get: function () {
|
|
125
|
+
return Unsafe;
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
exports.ensureTypeSettings = ensureTypeSettings;
|
|
129
|
+
exports.injectTypeboxType = injectTypeboxType;
|
|
130
|
+
exports.loadTypeNamespace = loadTypeNamespace;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
//#region src/type/typebox-type.ts
|
|
2
|
+
let namespaces;
|
|
3
|
+
let settingsApplied = false;
|
|
4
|
+
/**
|
|
5
|
+
* Loads `typebox/type` + `typebox/system` on first use
|
|
6
|
+
*
|
|
7
|
+
* separate from `typebox-value` (type ⊂ value)
|
|
8
|
+
* sharing one would make a single `t.Date()` drag the whole value graph in
|
|
9
|
+
*/
|
|
10
|
+
function load() {
|
|
11
|
+
if (namespaces) return namespaces;
|
|
12
|
+
injectTypeboxType(resolveNamespaces());
|
|
13
|
+
return namespaces;
|
|
14
|
+
}
|
|
15
|
+
function resolveNamespaces() {
|
|
16
|
+
const req = import.meta.require ?? globalThis.process?.getBuiltinModule?.("module")?.createRequire(import.meta.url);
|
|
17
|
+
if (!req) throw new Error("TypeBox couldn't be loaded: this runtime has no synchronous module loader. Build with the AOT plugin ('elysia/plugin/aot') so TypeBox is wired statically, or register it manually with setupTypebox({ typebox: { type, system } }).");
|
|
18
|
+
return {
|
|
19
|
+
type: req("typebox/type"),
|
|
20
|
+
system: req("typebox/system")
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function applySettings() {
|
|
24
|
+
if (settingsApplied || !namespaces) return;
|
|
25
|
+
settingsApplied = true;
|
|
26
|
+
namespaces.system.Settings.Set({ unionPrioritySort: false });
|
|
27
|
+
}
|
|
28
|
+
const loadTypeNamespace = () => namespaces ?? load();
|
|
29
|
+
function ensureTypeSettings() {
|
|
30
|
+
if (settingsApplied) return;
|
|
31
|
+
loadTypeNamespace();
|
|
32
|
+
applySettings();
|
|
33
|
+
}
|
|
34
|
+
function stub(get) {
|
|
35
|
+
return function(...args) {
|
|
36
|
+
load();
|
|
37
|
+
return get()(...args);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
let Codec = stub(() => Codec);
|
|
41
|
+
let Decode = stub(() => Decode);
|
|
42
|
+
let Evaluate = stub(() => Evaluate);
|
|
43
|
+
let Intersect = stub(() => Intersect);
|
|
44
|
+
let Module = stub(() => Module);
|
|
45
|
+
let Null = stub(() => Null);
|
|
46
|
+
let Ref = stub(() => Ref);
|
|
47
|
+
let Refine = stub(() => Refine);
|
|
48
|
+
let Undefined = stub(() => Undefined);
|
|
49
|
+
let Unsafe = stub(() => Unsafe);
|
|
50
|
+
function injectTypeboxType(typebox) {
|
|
51
|
+
namespaces = typebox;
|
|
52
|
+
Codec = typebox.type.Codec;
|
|
53
|
+
Decode = typebox.type.Decode;
|
|
54
|
+
Evaluate = typebox.type.Evaluate;
|
|
55
|
+
Intersect = typebox.type.Intersect;
|
|
56
|
+
Module = typebox.type.Module;
|
|
57
|
+
Null = typebox.type.Null;
|
|
58
|
+
Ref = typebox.type.Ref;
|
|
59
|
+
Refine = typebox.type.Refine;
|
|
60
|
+
Undefined = typebox.type.Undefined;
|
|
61
|
+
Unsafe = typebox.type.Unsafe;
|
|
62
|
+
applySettings();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
//#endregion
|
|
66
|
+
export { Codec, Decode, Evaluate, Intersect, Module, Null, Ref, Refine, Undefined, Unsafe, ensureTypeSettings, injectTypeboxType, loadTypeNamespace };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TypeboxNamespaces } from "./typebox-value.js";
|
|
2
|
+
import { Build, Compile as SchemaCompile } from "typebox/schema";
|
|
3
|
+
import { Check, Clean, Clone, Create, Decode, DecodeUnsafe, Default, Encode, EncodeUnsafe, Errors, HasCodec } from "typebox/value";
|
|
4
|
+
import { Compile } from "typebox/compile";
|
|
5
|
+
|
|
6
|
+
//#region src/type/typebox-value-live.d.ts
|
|
7
|
+
declare function injectTypebox(_typebox?: TypeboxNamespaces): void;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { Build, Check, Clean, Clone, Compile, Create, Decode, DecodeUnsafe, Default, Encode, EncodeUnsafe, Errors, HasCodec, SchemaCompile, type TypeboxNamespaces, injectTypebox };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_runtime = require('../_virtual/_rolldown/runtime.js');
|
|
3
|
+
let typebox_schema = require("typebox/schema");
|
|
4
|
+
let typebox_value = require("typebox/value");
|
|
5
|
+
let typebox_compile = require("typebox/compile");
|
|
6
|
+
let typebox_system = require("typebox/system");
|
|
7
|
+
|
|
8
|
+
//#region src/type/typebox-value-live.ts
|
|
9
|
+
typebox_system.Settings.Set({ unionPrioritySort: false });
|
|
10
|
+
function injectTypebox(_typebox) {}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.Build = typebox_schema.Build;
|
|
14
|
+
exports.Check = typebox_value.Check;
|
|
15
|
+
exports.Clean = typebox_value.Clean;
|
|
16
|
+
exports.Clone = typebox_value.Clone;
|
|
17
|
+
exports.Compile = typebox_compile.Compile;
|
|
18
|
+
exports.Create = typebox_value.Create;
|
|
19
|
+
exports.Decode = typebox_value.Decode;
|
|
20
|
+
exports.DecodeUnsafe = typebox_value.DecodeUnsafe;
|
|
21
|
+
exports.Default = typebox_value.Default;
|
|
22
|
+
exports.Encode = typebox_value.Encode;
|
|
23
|
+
exports.EncodeUnsafe = typebox_value.EncodeUnsafe;
|
|
24
|
+
exports.Errors = typebox_value.Errors;
|
|
25
|
+
exports.HasCodec = typebox_value.HasCodec;
|
|
26
|
+
exports.SchemaCompile = typebox_schema.Compile;
|
|
27
|
+
exports.injectTypebox = injectTypebox;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Build, Compile as SchemaCompile } from "typebox/schema";
|
|
2
|
+
import { Check, Clean, Clone, Create, Decode, DecodeUnsafe, Default, Encode, EncodeUnsafe, Errors, HasCodec } from "typebox/value";
|
|
3
|
+
import { Compile } from "typebox/compile";
|
|
4
|
+
import { Settings } from "typebox/system";
|
|
5
|
+
|
|
6
|
+
//#region src/type/typebox-value-live.ts
|
|
7
|
+
Settings.Set({ unionPrioritySort: false });
|
|
8
|
+
function injectTypebox(_typebox) {}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Build, Check, Clean, Clone, Compile, Create, Decode, DecodeUnsafe, Default, Encode, EncodeUnsafe, Errors, HasCodec, SchemaCompile, injectTypebox };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as _$typebox_schema0 from "typebox/schema";
|
|
2
|
+
import { Build as Build$1, Compile as Compile$1 } from "typebox/schema";
|
|
3
|
+
import * as _$typebox_value0 from "typebox/value";
|
|
4
|
+
import { Check as Check$1, Clean as Clean$1, Clone as Clone$1, Create as Create$1, Decode as Decode$1, DecodeUnsafe as DecodeUnsafe$1, Default as Default$1, Encode as Encode$1, EncodeUnsafe as EncodeUnsafe$1, Errors as Errors$1, HasCodec as HasCodec$1 } from "typebox/value";
|
|
5
|
+
import * as _$typebox_compile0 from "typebox/compile";
|
|
6
|
+
import { Compile as Compile$2 } from "typebox/compile";
|
|
7
|
+
|
|
8
|
+
//#region src/type/typebox-value.d.ts
|
|
9
|
+
interface TypeboxNamespaces {
|
|
10
|
+
value: typeof _$typebox_value0;
|
|
11
|
+
schema: typeof _$typebox_schema0;
|
|
12
|
+
compile: typeof _$typebox_compile0;
|
|
13
|
+
}
|
|
14
|
+
declare let Check: typeof Check$1;
|
|
15
|
+
declare let Clean: typeof Clean$1;
|
|
16
|
+
declare let Clone: typeof Clone$1;
|
|
17
|
+
declare let Create: typeof Create$1;
|
|
18
|
+
declare let Decode: typeof Decode$1;
|
|
19
|
+
declare let DecodeUnsafe: typeof DecodeUnsafe$1;
|
|
20
|
+
declare let Default: typeof Default$1;
|
|
21
|
+
declare let Encode: typeof Encode$1;
|
|
22
|
+
declare let EncodeUnsafe: typeof EncodeUnsafe$1;
|
|
23
|
+
declare let Errors: typeof Errors$1;
|
|
24
|
+
declare let HasCodec: typeof HasCodec$1;
|
|
25
|
+
declare let SchemaCompile: typeof Compile$1;
|
|
26
|
+
declare let Build: typeof Build$1;
|
|
27
|
+
declare let Compile: typeof Compile$2;
|
|
28
|
+
declare function injectTypebox(typebox: TypeboxNamespaces): void;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { Build, Check, Clean, Clone, Compile, Create, Decode, DecodeUnsafe, Default, Encode, EncodeUnsafe, Errors, HasCodec, SchemaCompile, TypeboxNamespaces, injectTypebox };
|