raiton 1.1.1
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/.releaserc.json +39 -0
- package/CHANGELOG.md +90 -0
- package/README.md +2 -0
- package/build/bin/bootstrapper.d.ts +5 -0
- package/build/bin/bootstrapper.mjs +46 -0
- package/build/bin/cli.d.ts +5 -0
- package/build/bin/cli.mjs +6 -0
- package/build/bin/index.d.ts +1 -0
- package/build/bin/index.mjs +50 -0
- package/build/chunk-3PWMRP6G.mjs +16 -0
- package/build/chunk-4OWCGDUD.mjs +0 -0
- package/build/chunk-52JR26TI.mjs +29 -0
- package/build/chunk-5LNOA4SK.mjs +16 -0
- package/build/chunk-AUGL35CF.mjs +24 -0
- package/build/chunk-BYYJRCB4.mjs +10 -0
- package/build/chunk-DIWD7ZCJ.mjs +0 -0
- package/build/chunk-FFRJ4AUA.mjs +16 -0
- package/build/chunk-GPJSLV3Q.mjs +50 -0
- package/build/chunk-HVFHDVAH.mjs +20 -0
- package/build/chunk-IOCHNQMF.mjs +13 -0
- package/build/chunk-JATYBWHL.mjs +36 -0
- package/build/chunk-JWNBO7XV.mjs +53 -0
- package/build/chunk-K4IQQ2KF.mjs +55 -0
- package/build/chunk-K4KLOLSO.mjs +645 -0
- package/build/chunk-M2RZZJQR.mjs +27 -0
- package/build/chunk-MLFGBJDV.mjs +12 -0
- package/build/chunk-NB62GSFI.mjs +27 -0
- package/build/chunk-O7R3NJQN.mjs +19 -0
- package/build/chunk-P2YCCBFR.mjs +14 -0
- package/build/chunk-P3IRIFPT.mjs +53 -0
- package/build/chunk-QFSXFOEN.mjs +56 -0
- package/build/chunk-QHCQ4AUA.mjs +14 -0
- package/build/chunk-QI7OFSXB.mjs +37 -0
- package/build/chunk-RVH2YBNU.mjs +111 -0
- package/build/chunk-RXG7754R.mjs +25 -0
- package/build/chunk-S3ONGVNZ.mjs +11 -0
- package/build/chunk-SRR4467I.mjs +29 -0
- package/build/chunk-T6L55AUG.mjs +32 -0
- package/build/chunk-TOJFTPAY.mjs +83 -0
- package/build/chunk-UAPCBU3J.mjs +12 -0
- package/build/chunk-UCHBN3DV.mjs +52 -0
- package/build/chunk-UWM46HLZ.mjs +18 -0
- package/build/chunk-UZFCGVHP.mjs +8 -0
- package/build/chunk-VQINCGLQ.mjs +59 -0
- package/build/chunk-VRL4S7UF.mjs +74 -0
- package/build/chunk-WAWFDMOH.mjs +72 -0
- package/build/chunk-X3JFRRRQ.mjs +45 -0
- package/build/chunk-XFBLELHI.mjs +34 -0
- package/build/chunk-XIGE72LC.mjs +34 -0
- package/build/chunk-XW7EPAD7.mjs +0 -0
- package/build/chunk-YGIZFKLJ.mjs +20 -0
- package/build/chunk-YRVIAORI.mjs +8 -0
- package/build/chunk-YXU5W2CB.mjs +12 -0
- package/build/commands/artifact.command.d.ts +14 -0
- package/build/commands/artifact.command.mjs +59 -0
- package/build/commands/build.command.d.ts +14 -0
- package/build/commands/build.command.mjs +65 -0
- package/build/commands/develop.command.d.ts +13 -0
- package/build/commands/develop.command.mjs +75 -0
- package/build/commands/grafts.command.d.ts +12 -0
- package/build/commands/grafts.command.mjs +58 -0
- package/build/commands/start.command.d.ts +12 -0
- package/build/commands/start.command.mjs +64 -0
- package/build/core/application.d.ts +27 -0
- package/build/core/application.mjs +124 -0
- package/build/core/artifact.d.ts +19 -0
- package/build/core/artifact.mjs +133 -0
- package/build/core/builder.d.ts +35 -0
- package/build/core/builder.mjs +45 -0
- package/build/core/bytes.util.d.ts +6 -0
- package/build/core/bytes.util.mjs +8 -0
- package/build/core/command.d.ts +15 -0
- package/build/core/command.mjs +6 -0
- package/build/core/commands.d.ts +13 -0
- package/build/core/commands.mjs +7 -0
- package/build/core/config.d.ts +10 -0
- package/build/core/config.mjs +7 -0
- package/build/core/context.d.ts +15 -0
- package/build/core/context.mjs +6 -0
- package/build/core/controller/builder.d.ts +10 -0
- package/build/core/controller/builder.mjs +45 -0
- package/build/core/controller/compiler.d.ts +6 -0
- package/build/core/controller/compiler.mjs +45 -0
- package/build/core/controller/index.d.ts +13 -0
- package/build/core/controller/index.mjs +50 -0
- package/build/core/controller/metadata.d.ts +10 -0
- package/build/core/controller/metadata.mjs +6 -0
- package/build/core/directories.d.ts +11 -0
- package/build/core/directories.mjs +8 -0
- package/build/core/hmr.d.ts +22 -0
- package/build/core/hmr.mjs +6 -0
- package/build/core/hooks.d.ts +12 -0
- package/build/core/hooks.mjs +6 -0
- package/build/core/index.d.ts +41 -0
- package/build/core/index.mjs +100 -0
- package/build/core/middleware/compose.d.ts +8 -0
- package/build/core/middleware/compose.mjs +6 -0
- package/build/core/middleware/index.d.ts +6 -0
- package/build/core/middleware/index.mjs +11 -0
- package/build/core/middleware/pipeline.d.ts +14 -0
- package/build/core/middleware/pipeline.mjs +7 -0
- package/build/core/plugins/index.d.ts +14 -0
- package/build/core/plugins/index.mjs +48 -0
- package/build/core/plugins/plugin.d.ts +17 -0
- package/build/core/plugins/plugin.mjs +6 -0
- package/build/core/plugins/scope.d.ts +24 -0
- package/build/core/plugins/scope.mjs +45 -0
- package/build/core/process.util.d.ts +3 -0
- package/build/core/process.util.mjs +6 -0
- package/build/core/raiton.d.ts +20 -0
- package/build/core/raiton.mjs +6 -0
- package/build/core/router/handler.d.ts +10 -0
- package/build/core/router/handler.mjs +45 -0
- package/build/core/router/index.d.ts +12 -0
- package/build/core/router/index.mjs +54 -0
- package/build/core/router/matcher.d.ts +21 -0
- package/build/core/router/matcher.mjs +6 -0
- package/build/core/router/route.d.ts +20 -0
- package/build/core/router/route.mjs +6 -0
- package/build/core/router/router.d.ts +16 -0
- package/build/core/router/router.mjs +8 -0
- package/build/core/thread.d.ts +30 -0
- package/build/core/thread.mjs +45 -0
- package/build/env.d.d.ts +2 -0
- package/build/env.d.mjs +0 -0
- package/build/raiton-1.1.1.tgz +0 -0
- package/build/requirements.d.ts +2 -0
- package/build/requirements.mjs +19 -0
- package/build/sdk/artifacts.d.ts +13 -0
- package/build/sdk/artifacts.mjs +45 -0
- package/build/sdk/constants/decorators.constant.d.ts +11 -0
- package/build/sdk/constants/decorators.constant.mjs +6 -0
- package/build/sdk/constants/index.d.ts +2 -0
- package/build/sdk/constants/index.mjs +11 -0
- package/build/sdk/constants/microservices.constant.d.ts +5 -0
- package/build/sdk/constants/microservices.constant.mjs +6 -0
- package/build/sdk/controllers.d.ts +4 -0
- package/build/sdk/controllers.mjs +6 -0
- package/build/sdk/data-transfer-object.d.ts +7 -0
- package/build/sdk/data-transfer-object.mjs +7 -0
- package/build/sdk/decorators/access-guard.decorator.d.ts +2 -0
- package/build/sdk/decorators/access-guard.decorator.mjs +0 -0
- package/build/sdk/decorators/controllable.d.ts +3 -0
- package/build/sdk/decorators/controllable.mjs +45 -0
- package/build/sdk/decorators/controllers.decorator.d.ts +2 -0
- package/build/sdk/decorators/controllers.decorator.mjs +0 -0
- package/build/sdk/decorators/grafts.decorator.d.ts +2 -0
- package/build/sdk/decorators/grafts.decorator.mjs +0 -0
- package/build/sdk/decorators/index.d.ts +3 -0
- package/build/sdk/decorators/index.mjs +75 -0
- package/build/sdk/decorators/parameters.decorator.d.ts +2 -0
- package/build/sdk/decorators/parameters.decorator.mjs +0 -0
- package/build/sdk/decorators/parametrable.d.ts +9 -0
- package/build/sdk/decorators/parametrable.mjs +57 -0
- package/build/sdk/decorators/payload.decorator.d.ts +2 -0
- package/build/sdk/decorators/payload.decorator.mjs +0 -0
- package/build/sdk/decorators/routable.d.ts +10 -0
- package/build/sdk/decorators/routable.mjs +59 -0
- package/build/sdk/dependency-container.d.ts +19 -0
- package/build/sdk/dependency-container.mjs +46 -0
- package/build/sdk/encryption.d.ts +27 -0
- package/build/sdk/encryption.mjs +141 -0
- package/build/sdk/enums/encrypted.enum.d.ts +15 -0
- package/build/sdk/enums/encrypted.enum.mjs +6 -0
- package/build/sdk/enums/event.message.enum.d.ts +6 -0
- package/build/sdk/enums/event.message.enum.mjs +6 -0
- package/build/sdk/enums/http-parameters.enum.d.ts +12 -0
- package/build/sdk/enums/http-parameters.enum.mjs +6 -0
- package/build/sdk/enums/http.enum.d.ts +12 -0
- package/build/sdk/enums/http.enum.mjs +6 -0
- package/build/sdk/enums/index.d.ts +6 -0
- package/build/sdk/enums/index.mjs +27 -0
- package/build/sdk/enums/runtime.enum.d.ts +8 -0
- package/build/sdk/enums/runtime.enum.mjs +6 -0
- package/build/sdk/enums/timestamp.enum.d.ts +8 -0
- package/build/sdk/enums/timestamp.enum.mjs +6 -0
- package/build/sdk/env.d.ts +6 -0
- package/build/sdk/env.mjs +74 -0
- package/build/sdk/fastify.d.ts +11 -0
- package/build/sdk/fastify.mjs +9 -0
- package/build/sdk/grafts.d.ts +15 -0
- package/build/sdk/grafts.mjs +71 -0
- package/build/sdk/index.d.ts +34 -0
- package/build/sdk/index.mjs +126 -0
- package/build/sdk/json.d.ts +17 -0
- package/build/sdk/json.mjs +87 -0
- package/build/sdk/plugins/body-parser.plugin.d.ts +17 -0
- package/build/sdk/plugins/body-parser.plugin.mjs +7 -0
- package/build/sdk/plugins/index.d.ts +17 -0
- package/build/sdk/plugins/index.mjs +48 -0
- package/build/sdk/plugins/security/body-limit.d.ts +17 -0
- package/build/sdk/plugins/security/body-limit.mjs +45 -0
- package/build/sdk/plugins/security/cors.d.ts +22 -0
- package/build/sdk/plugins/security/cors.mjs +45 -0
- package/build/sdk/plugins/security/headers.d.ts +17 -0
- package/build/sdk/plugins/security/headers.mjs +45 -0
- package/build/sdk/plugins/security/index.d.ts +25 -0
- package/build/sdk/plugins/security/index.mjs +45 -0
- package/build/sdk/plugins/security/method-guard.d.ts +17 -0
- package/build/sdk/plugins/security/method-guard.mjs +45 -0
- package/build/sdk/plugins/security/rate-limit.d.ts +21 -0
- package/build/sdk/plugins/security/rate-limit.mjs +45 -0
- package/build/sdk/repositories.d.ts +7 -0
- package/build/sdk/repositories.mjs +17 -0
- package/build/sdk/request.d.ts +4 -0
- package/build/sdk/request.mjs +6 -0
- package/build/sdk/responses.d.ts +8 -0
- package/build/sdk/responses.mjs +20 -0
- package/build/sdk/routes.d.ts +7 -0
- package/build/sdk/routes.mjs +61 -0
- package/build/sdk/runtime/bun/server.d.ts +6 -0
- package/build/sdk/runtime/bun/server.mjs +6 -0
- package/build/sdk/runtime/deno/server.d.ts +6 -0
- package/build/sdk/runtime/deno/server.mjs +6 -0
- package/build/sdk/runtime/index.d.ts +15 -0
- package/build/sdk/runtime/index.mjs +11 -0
- package/build/sdk/runtime/node/reply.d.ts +2 -0
- package/build/sdk/runtime/node/reply.mjs +0 -0
- package/build/sdk/runtime/node/request.d.ts +2 -0
- package/build/sdk/runtime/node/request.mjs +0 -0
- package/build/sdk/runtime/node/server.d.ts +6 -0
- package/build/sdk/runtime/node/server.mjs +6 -0
- package/build/sdk/runtime/web/server.d.ts +6 -0
- package/build/sdk/runtime/web/server.mjs +6 -0
- package/build/sdk/schemes.d.ts +120 -0
- package/build/sdk/schemes.mjs +129 -0
- package/build/sdk/services.d.ts +8 -0
- package/build/sdk/services.mjs +10 -0
- package/build/sdk/throwable.d.ts +78 -0
- package/build/sdk/throwable.mjs +14 -0
- package/build/sdk/utilities/alias-path.util.d.ts +9 -0
- package/build/sdk/utilities/alias-path.util.mjs +6 -0
- package/build/sdk/utilities/artifacts.util.d.ts +3 -0
- package/build/sdk/utilities/artifacts.util.mjs +45 -0
- package/build/sdk/utilities/callable.util.d.ts +3 -0
- package/build/sdk/utilities/callable.util.mjs +6 -0
- package/build/sdk/utilities/controller.util.d.ts +3 -0
- package/build/sdk/utilities/controller.util.mjs +6 -0
- package/build/sdk/utilities/index.d.ts +7 -0
- package/build/sdk/utilities/index.mjs +62 -0
- package/build/sdk/utilities/json.util.d.ts +3 -0
- package/build/sdk/utilities/json.util.mjs +6 -0
- package/build/sdk/utilities/parameters-arguments.util.d.ts +2 -0
- package/build/sdk/utilities/parameters-arguments.util.mjs +0 -0
- package/build/sdk/utilities/url.d.ts +3 -0
- package/build/sdk/utilities/url.mjs +7 -0
- package/build/sdk/utilities/utilities.util.d.ts +6 -0
- package/build/sdk/utilities/utilities.util.mjs +8 -0
- package/build/types/access-guards.d.ts +6 -0
- package/build/types/access-guards.mjs +0 -0
- package/build/types/application.d.ts +30 -0
- package/build/types/application.mjs +0 -0
- package/build/types/artifact.d.ts +21 -0
- package/build/types/artifact.mjs +0 -0
- package/build/types/builder.d.ts +32 -0
- package/build/types/builder.mjs +0 -0
- package/build/types/config.d.ts +6 -0
- package/build/types/config.mjs +0 -0
- package/build/types/controller.d.ts +25 -0
- package/build/types/controller.mjs +0 -0
- package/build/types/contruct.d.ts +3 -0
- package/build/types/contruct.mjs +0 -0
- package/build/types/core.d.ts +15 -0
- package/build/types/core.mjs +0 -0
- package/build/types/data-transfer-object.d.ts +5 -0
- package/build/types/data-transfer-object.mjs +0 -0
- package/build/types/dependency-container.d.ts +20 -0
- package/build/types/dependency-container.mjs +0 -0
- package/build/types/directory.d.ts +8 -0
- package/build/types/directory.mjs +0 -0
- package/build/types/encryption.d.ts +16 -0
- package/build/types/encryption.mjs +0 -0
- package/build/types/generic.d.ts +4 -0
- package/build/types/generic.mjs +0 -0
- package/build/types/hmr.d.ts +25 -0
- package/build/types/hmr.mjs +0 -0
- package/build/types/http-responses.d.ts +10 -0
- package/build/types/http-responses.mjs +0 -0
- package/build/types/index.d.ts +45 -0
- package/build/types/index.mjs +0 -0
- package/build/types/middleware.d.ts +12 -0
- package/build/types/middleware.mjs +0 -0
- package/build/types/parameters.d.ts +19 -0
- package/build/types/parameters.mjs +0 -0
- package/build/types/parseable.d.ts +5 -0
- package/build/types/parseable.mjs +0 -0
- package/build/types/payload.d.ts +6 -0
- package/build/types/payload.mjs +0 -0
- package/build/types/plugin.d.ts +20 -0
- package/build/types/plugin.mjs +0 -0
- package/build/types/raiton.d.ts +12 -0
- package/build/types/raiton.mjs +0 -0
- package/build/types/repositories.d.ts +8 -0
- package/build/types/repositories.mjs +0 -0
- package/build/types/router.d.ts +14 -0
- package/build/types/router.mjs +0 -0
- package/build/types/runtime.d.ts +37 -0
- package/build/types/runtime.mjs +0 -0
- package/build/types/scheme.d.ts +128 -0
- package/build/types/scheme.mjs +0 -0
- package/build/types/server.d.ts +57 -0
- package/build/types/server.mjs +0 -0
- package/build/types/services.d.ts +8 -0
- package/build/types/services.mjs +0 -0
- package/build/types/thread.d.ts +24 -0
- package/build/types/thread.mjs +0 -0
- package/build/types/utilities.d.ts +6 -0
- package/build/types/utilities.mjs +0 -0
- package/build/types/values.d.ts +4 -0
- package/build/types/values.mjs +0 -0
- package/package.json +97 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Delete,
|
|
3
|
+
Get,
|
|
4
|
+
Head,
|
|
5
|
+
Options,
|
|
6
|
+
Patch,
|
|
7
|
+
Post,
|
|
8
|
+
Put,
|
|
9
|
+
Trace
|
|
10
|
+
} from "../../chunk-K4KLOLSO.mjs";
|
|
11
|
+
import "../../chunk-RXG7754R.mjs";
|
|
12
|
+
import "../../chunk-IOCHNQMF.mjs";
|
|
13
|
+
import "../../chunk-M2RZZJQR.mjs";
|
|
14
|
+
import "../../chunk-RVH2YBNU.mjs";
|
|
15
|
+
import "../../chunk-MLFGBJDV.mjs";
|
|
16
|
+
import "../../chunk-GPJSLV3Q.mjs";
|
|
17
|
+
import "../../chunk-QFSXFOEN.mjs";
|
|
18
|
+
import "../../chunk-JWNBO7XV.mjs";
|
|
19
|
+
import "../../chunk-K4IQQ2KF.mjs";
|
|
20
|
+
import "../../chunk-UCHBN3DV.mjs";
|
|
21
|
+
import "../../chunk-VRL4S7UF.mjs";
|
|
22
|
+
import "../../chunk-XW7EPAD7.mjs";
|
|
23
|
+
import "../../chunk-QHCQ4AUA.mjs";
|
|
24
|
+
import "../../chunk-YRVIAORI.mjs";
|
|
25
|
+
import "../../chunk-UZFCGVHP.mjs";
|
|
26
|
+
import "../../chunk-XIGE72LC.mjs";
|
|
27
|
+
import "../../chunk-X3JFRRRQ.mjs";
|
|
28
|
+
import "../../chunk-P3IRIFPT.mjs";
|
|
29
|
+
import "../../chunk-S3ONGVNZ.mjs";
|
|
30
|
+
import "../../chunk-DIWD7ZCJ.mjs";
|
|
31
|
+
import "../../chunk-52JR26TI.mjs";
|
|
32
|
+
import "../../chunk-JATYBWHL.mjs";
|
|
33
|
+
import "../../chunk-VQINCGLQ.mjs";
|
|
34
|
+
import "../../chunk-4OWCGDUD.mjs";
|
|
35
|
+
import "../../chunk-YXU5W2CB.mjs";
|
|
36
|
+
import "../../chunk-UAPCBU3J.mjs";
|
|
37
|
+
import "../../chunk-O7R3NJQN.mjs";
|
|
38
|
+
import "../../chunk-BYYJRCB4.mjs";
|
|
39
|
+
import "../../chunk-FFRJ4AUA.mjs";
|
|
40
|
+
import "../../chunk-3PWMRP6G.mjs";
|
|
41
|
+
import "../../chunk-T6L55AUG.mjs";
|
|
42
|
+
import "../../chunk-QI7OFSXB.mjs";
|
|
43
|
+
import "../../chunk-TOJFTPAY.mjs";
|
|
44
|
+
import "../../chunk-NB62GSFI.mjs";
|
|
45
|
+
import "../../chunk-5LNOA4SK.mjs";
|
|
46
|
+
import "../../chunk-YGIZFKLJ.mjs";
|
|
47
|
+
import "../../chunk-UWM46HLZ.mjs";
|
|
48
|
+
import "../../chunk-XFBLELHI.mjs";
|
|
49
|
+
import "../../chunk-HVFHDVAH.mjs";
|
|
50
|
+
export {
|
|
51
|
+
Delete,
|
|
52
|
+
Get,
|
|
53
|
+
Head,
|
|
54
|
+
Options,
|
|
55
|
+
Patch,
|
|
56
|
+
Post,
|
|
57
|
+
Put,
|
|
58
|
+
Trace
|
|
59
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IConstructor } from '../types/contruct.js';
|
|
2
|
+
import { IDependencyContainerDefinition, IDependencyContainer } from '../types/dependency-container.js';
|
|
3
|
+
import { LifetimeEnum } from '@protorians/core';
|
|
4
|
+
|
|
5
|
+
declare class DependencyContainer<T extends IDependencyContainerDefinition<E>, E = any> implements IDependencyContainer<T, E> {
|
|
6
|
+
readonly artifact: string;
|
|
7
|
+
protected _classes: Map<string, T>;
|
|
8
|
+
protected _instances: Map<string, E>;
|
|
9
|
+
protected _extensions: string[];
|
|
10
|
+
constructor(artifact: string);
|
|
11
|
+
get classes(): Map<string, T>;
|
|
12
|
+
get instances(): Map<string, E>;
|
|
13
|
+
register(name: string, construct: IConstructor<E>, lifetime?: LifetimeEnum): this;
|
|
14
|
+
resolveArguments(definition: T): any[];
|
|
15
|
+
get<T>(name: string): T | undefined;
|
|
16
|
+
imports(): Promise<string[]>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { DependencyContainer };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DependencyContainer
|
|
3
|
+
} from "../chunk-WAWFDMOH.mjs";
|
|
4
|
+
import "../chunk-K4KLOLSO.mjs";
|
|
5
|
+
import "../chunk-RXG7754R.mjs";
|
|
6
|
+
import "../chunk-IOCHNQMF.mjs";
|
|
7
|
+
import "../chunk-M2RZZJQR.mjs";
|
|
8
|
+
import "../chunk-RVH2YBNU.mjs";
|
|
9
|
+
import "../chunk-MLFGBJDV.mjs";
|
|
10
|
+
import "../chunk-GPJSLV3Q.mjs";
|
|
11
|
+
import "../chunk-QFSXFOEN.mjs";
|
|
12
|
+
import "../chunk-JWNBO7XV.mjs";
|
|
13
|
+
import "../chunk-K4IQQ2KF.mjs";
|
|
14
|
+
import "../chunk-UCHBN3DV.mjs";
|
|
15
|
+
import "../chunk-VRL4S7UF.mjs";
|
|
16
|
+
import "../chunk-XW7EPAD7.mjs";
|
|
17
|
+
import "../chunk-QHCQ4AUA.mjs";
|
|
18
|
+
import "../chunk-YRVIAORI.mjs";
|
|
19
|
+
import "../chunk-UZFCGVHP.mjs";
|
|
20
|
+
import "../chunk-XIGE72LC.mjs";
|
|
21
|
+
import "../chunk-X3JFRRRQ.mjs";
|
|
22
|
+
import "../chunk-P3IRIFPT.mjs";
|
|
23
|
+
import "../chunk-S3ONGVNZ.mjs";
|
|
24
|
+
import "../chunk-DIWD7ZCJ.mjs";
|
|
25
|
+
import "../chunk-52JR26TI.mjs";
|
|
26
|
+
import "../chunk-JATYBWHL.mjs";
|
|
27
|
+
import "../chunk-VQINCGLQ.mjs";
|
|
28
|
+
import "../chunk-4OWCGDUD.mjs";
|
|
29
|
+
import "../chunk-YXU5W2CB.mjs";
|
|
30
|
+
import "../chunk-UAPCBU3J.mjs";
|
|
31
|
+
import "../chunk-O7R3NJQN.mjs";
|
|
32
|
+
import "../chunk-BYYJRCB4.mjs";
|
|
33
|
+
import "../chunk-FFRJ4AUA.mjs";
|
|
34
|
+
import "../chunk-3PWMRP6G.mjs";
|
|
35
|
+
import "../chunk-T6L55AUG.mjs";
|
|
36
|
+
import "../chunk-QI7OFSXB.mjs";
|
|
37
|
+
import "../chunk-TOJFTPAY.mjs";
|
|
38
|
+
import "../chunk-NB62GSFI.mjs";
|
|
39
|
+
import "../chunk-5LNOA4SK.mjs";
|
|
40
|
+
import "../chunk-YGIZFKLJ.mjs";
|
|
41
|
+
import "../chunk-UWM46HLZ.mjs";
|
|
42
|
+
import "../chunk-XFBLELHI.mjs";
|
|
43
|
+
import "../chunk-HVFHDVAH.mjs";
|
|
44
|
+
export {
|
|
45
|
+
DependencyContainer
|
|
46
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Options } from 'argon2';
|
|
2
|
+
import { HashAlgoEnum } from './enums/encrypted.enum.js';
|
|
3
|
+
import { IDerivationOptions, IScryptOptions, IEncryptionResult } from '../types/encryption.js';
|
|
4
|
+
|
|
5
|
+
declare class Encryption {
|
|
6
|
+
readonly algo: HashAlgoEnum;
|
|
7
|
+
static get algos(): typeof HashAlgoEnum;
|
|
8
|
+
static randomAlgo(): HashAlgoEnum;
|
|
9
|
+
constructor(algo: HashAlgoEnum);
|
|
10
|
+
make(value: string, options?: IDerivationOptions | IScryptOptions): Promise<IEncryptionResult>;
|
|
11
|
+
protected sha256(value: string): IEncryptionResult;
|
|
12
|
+
protected sha512(value: string): IEncryptionResult;
|
|
13
|
+
protected md5(value: string): IEncryptionResult;
|
|
14
|
+
protected ripemd160(value: string): IEncryptionResult;
|
|
15
|
+
protected blake2b(value: string): IEncryptionResult;
|
|
16
|
+
protected sha3_256(value: string): IEncryptionResult;
|
|
17
|
+
protected sha3_512(value: string): IEncryptionResult;
|
|
18
|
+
protected pbkdf2(value: string, options?: IDerivationOptions): IEncryptionResult;
|
|
19
|
+
protected scrypt(value: string, options?: IScryptOptions): IEncryptionResult;
|
|
20
|
+
protected unsupported(): never;
|
|
21
|
+
password(value: string, options?: (Options & {
|
|
22
|
+
raw?: boolean;
|
|
23
|
+
}) | (string | number) | undefined): Promise<IEncryptionResult>;
|
|
24
|
+
checkPassword(hash: string, password: string): Promise<boolean>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { Encryption };
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import "../chunk-4OWCGDUD.mjs";
|
|
2
|
+
import "../chunk-YXU5W2CB.mjs";
|
|
3
|
+
import "../chunk-UAPCBU3J.mjs";
|
|
4
|
+
import {
|
|
5
|
+
HashAlgoEnum
|
|
6
|
+
} from "../chunk-O7R3NJQN.mjs";
|
|
7
|
+
import "../chunk-BYYJRCB4.mjs";
|
|
8
|
+
import "../chunk-FFRJ4AUA.mjs";
|
|
9
|
+
import "../chunk-3PWMRP6G.mjs";
|
|
10
|
+
|
|
11
|
+
// source/sdk/encryption.ts
|
|
12
|
+
import crypto from "crypto";
|
|
13
|
+
import argon2 from "argon2";
|
|
14
|
+
import bcrypt from "bcrypt";
|
|
15
|
+
var Encryption = class {
|
|
16
|
+
constructor(algo) {
|
|
17
|
+
this.algo = algo;
|
|
18
|
+
if (!Object.values(HashAlgoEnum).includes(this.algo)) {
|
|
19
|
+
throw new Error(`Invalid hash algorithm: ${this.algo}`);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
static get algos() {
|
|
23
|
+
return HashAlgoEnum;
|
|
24
|
+
}
|
|
25
|
+
static randomAlgo() {
|
|
26
|
+
return Object.values(this.algos)[Math.floor(Math.random() * Object.values(this.algos).length)];
|
|
27
|
+
}
|
|
28
|
+
async make(value, options) {
|
|
29
|
+
if (!value) {
|
|
30
|
+
throw new Error("Value cannot be empty");
|
|
31
|
+
}
|
|
32
|
+
switch (this.algo) {
|
|
33
|
+
case "SHA256" /* SHA256 */:
|
|
34
|
+
return this.sha256(value);
|
|
35
|
+
case "SHA512" /* SHA512 */:
|
|
36
|
+
return this.sha512(value);
|
|
37
|
+
case "MD5" /* MD5 */:
|
|
38
|
+
return this.md5(value);
|
|
39
|
+
case "RIPEMD160" /* RIPEMD160 */:
|
|
40
|
+
return this.ripemd160(value);
|
|
41
|
+
case "BLAKE2B" /* BLAKE2B */:
|
|
42
|
+
return this.blake2b(value);
|
|
43
|
+
case "SHA3_256" /* SHA3_256 */:
|
|
44
|
+
return this.sha3_256(value);
|
|
45
|
+
case "SHA3_512" /* SHA3_512 */:
|
|
46
|
+
return this.sha3_512(value);
|
|
47
|
+
case "PBKDF2" /* PBKDF2 */:
|
|
48
|
+
return this.pbkdf2(value, options);
|
|
49
|
+
case "SCRYPT" /* SCRYPT */:
|
|
50
|
+
return this.scrypt(value, options);
|
|
51
|
+
case "ARGON2ID" /* ARGON2ID */:
|
|
52
|
+
case "BCRYPT" /* BCRYPT */:
|
|
53
|
+
return this.password(value);
|
|
54
|
+
default:
|
|
55
|
+
throw new Error(`Unsupported algorithm: ${this.algo}`);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
sha256(value) {
|
|
59
|
+
return crypto.createHash("sha256").update(value).digest("hex");
|
|
60
|
+
}
|
|
61
|
+
sha512(value) {
|
|
62
|
+
return crypto.createHash("sha512").update(value).digest("hex");
|
|
63
|
+
}
|
|
64
|
+
md5(value) {
|
|
65
|
+
return crypto.createHash("md5").update(value).digest("hex");
|
|
66
|
+
}
|
|
67
|
+
ripemd160(value) {
|
|
68
|
+
return crypto.createHash("ripemd160").update(value).digest("hex");
|
|
69
|
+
}
|
|
70
|
+
blake2b(value) {
|
|
71
|
+
return crypto.createHash("blake2b512").update(value).digest("hex");
|
|
72
|
+
}
|
|
73
|
+
sha3_256(value) {
|
|
74
|
+
return crypto.createHash("sha3-256").update(value).digest("hex");
|
|
75
|
+
}
|
|
76
|
+
sha3_512(value) {
|
|
77
|
+
return crypto.createHash("sha3-512").update(value).digest("hex");
|
|
78
|
+
}
|
|
79
|
+
pbkdf2(value, options) {
|
|
80
|
+
const { salt, iterations, keylen, digest } = options || {};
|
|
81
|
+
const usedSalt = salt ?? crypto.randomBytes(16).toString("hex");
|
|
82
|
+
const usedIterations = iterations ?? 1e5;
|
|
83
|
+
const usedKeylen = keylen ?? 64;
|
|
84
|
+
const usedDigest = digest ?? "sha512";
|
|
85
|
+
const derived = crypto.pbkdf2Sync(value, Buffer.from(usedSalt, "hex"), usedIterations, usedKeylen, usedDigest).toString("hex");
|
|
86
|
+
return `pbkdf2$${usedDigest}$${usedIterations}$${usedSalt}$${derived}`;
|
|
87
|
+
}
|
|
88
|
+
scrypt(value, options) {
|
|
89
|
+
const { salt, keylen, cost, blockSize, parallelization } = options || {};
|
|
90
|
+
const usedSalt = salt ?? crypto.randomBytes(16).toString("hex");
|
|
91
|
+
const usedKeylen = keylen ?? 64;
|
|
92
|
+
const usedCost = cost ?? 16384;
|
|
93
|
+
const usedBlockSize = blockSize ?? 8;
|
|
94
|
+
const usedParallel = parallelization ?? 1;
|
|
95
|
+
const derived = crypto.scryptSync(value, Buffer.from(usedSalt, "hex"), usedKeylen, {
|
|
96
|
+
N: usedCost,
|
|
97
|
+
r: usedBlockSize,
|
|
98
|
+
p: usedParallel,
|
|
99
|
+
maxmem: 32 * 1024 * 1024
|
|
100
|
+
}).toString("hex");
|
|
101
|
+
return `scrypt$${usedCost}$${usedBlockSize}$${usedParallel}$${usedSalt}$${derived}`;
|
|
102
|
+
}
|
|
103
|
+
unsupported() {
|
|
104
|
+
throw new Error(`${this.algo} not supported without optional dependency`);
|
|
105
|
+
}
|
|
106
|
+
async password(value, options) {
|
|
107
|
+
switch (this.algo) {
|
|
108
|
+
case "ARGON2ID" /* ARGON2ID */: {
|
|
109
|
+
return await argon2.hash(value, {
|
|
110
|
+
...typeof options === "object" ? options : {},
|
|
111
|
+
type: argon2.argon2id
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
case "BCRYPT" /* BCRYPT */: {
|
|
115
|
+
try {
|
|
116
|
+
const saltRounds = 12;
|
|
117
|
+
return await bcrypt.hash(
|
|
118
|
+
value,
|
|
119
|
+
typeof options === "string" || typeof options === "number" ? options : saltRounds
|
|
120
|
+
);
|
|
121
|
+
} catch (e) {
|
|
122
|
+
throw new Error(`BCRYPT not supported without optional dependency "bcrypt"`);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
default:
|
|
126
|
+
throw new Error(`password() is only available for BCRYPT and ARGON2ID (current: ${this.algo})`);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
async checkPassword(hash, password) {
|
|
130
|
+
switch (this.algo) {
|
|
131
|
+
case "ARGON2ID" /* ARGON2ID */:
|
|
132
|
+
return await argon2.verify(hash, password);
|
|
133
|
+
case "BCRYPT" /* BCRYPT */:
|
|
134
|
+
return await bcrypt.compare(password, hash);
|
|
135
|
+
}
|
|
136
|
+
return false;
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
export {
|
|
140
|
+
Encryption
|
|
141
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare enum HashAlgoEnum {
|
|
2
|
+
ARGON2ID = "ARGON2ID",
|
|
3
|
+
BCRYPT = "BCRYPT",
|
|
4
|
+
PBKDF2 = "PBKDF2",
|
|
5
|
+
SCRYPT = "SCRYPT",
|
|
6
|
+
SHA256 = "SHA256",
|
|
7
|
+
SHA512 = "SHA512",
|
|
8
|
+
MD5 = "MD5",
|
|
9
|
+
RIPEMD160 = "RIPEMD160",
|
|
10
|
+
BLAKE2B = "BLAKE2B",
|
|
11
|
+
SHA3_256 = "SHA3_256",
|
|
12
|
+
SHA3_512 = "SHA3_512"
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { HashAlgoEnum };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { HttpMethod } from './http.enum.js';
|
|
2
|
+
export { Parametrable } from './http-parameters.enum.js';
|
|
3
|
+
export { HashAlgoEnum } from './encrypted.enum.js';
|
|
4
|
+
export { EventMessageEnum } from './event.message.enum.js';
|
|
5
|
+
export { TimestampEnum } from './timestamp.enum.js';
|
|
6
|
+
export { RuntimeType } from './runtime.enum.js';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import "../../chunk-4OWCGDUD.mjs";
|
|
2
|
+
import {
|
|
3
|
+
TimestampEnum
|
|
4
|
+
} from "../../chunk-YXU5W2CB.mjs";
|
|
5
|
+
import {
|
|
6
|
+
RuntimeType
|
|
7
|
+
} from "../../chunk-UAPCBU3J.mjs";
|
|
8
|
+
import {
|
|
9
|
+
HashAlgoEnum
|
|
10
|
+
} from "../../chunk-O7R3NJQN.mjs";
|
|
11
|
+
import {
|
|
12
|
+
EventMessageEnum
|
|
13
|
+
} from "../../chunk-BYYJRCB4.mjs";
|
|
14
|
+
import {
|
|
15
|
+
Parametrable
|
|
16
|
+
} from "../../chunk-FFRJ4AUA.mjs";
|
|
17
|
+
import {
|
|
18
|
+
HttpMethod
|
|
19
|
+
} from "../../chunk-3PWMRP6G.mjs";
|
|
20
|
+
export {
|
|
21
|
+
EventMessageEnum,
|
|
22
|
+
HashAlgoEnum,
|
|
23
|
+
HttpMethod,
|
|
24
|
+
Parametrable,
|
|
25
|
+
RuntimeType,
|
|
26
|
+
TimestampEnum
|
|
27
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import "../chunk-K4KLOLSO.mjs";
|
|
2
|
+
import "../chunk-RXG7754R.mjs";
|
|
3
|
+
import "../chunk-IOCHNQMF.mjs";
|
|
4
|
+
import {
|
|
5
|
+
getType
|
|
6
|
+
} from "../chunk-M2RZZJQR.mjs";
|
|
7
|
+
import "../chunk-RVH2YBNU.mjs";
|
|
8
|
+
import "../chunk-MLFGBJDV.mjs";
|
|
9
|
+
import "../chunk-GPJSLV3Q.mjs";
|
|
10
|
+
import "../chunk-QFSXFOEN.mjs";
|
|
11
|
+
import "../chunk-JWNBO7XV.mjs";
|
|
12
|
+
import "../chunk-K4IQQ2KF.mjs";
|
|
13
|
+
import "../chunk-UCHBN3DV.mjs";
|
|
14
|
+
import "../chunk-VRL4S7UF.mjs";
|
|
15
|
+
import "../chunk-XW7EPAD7.mjs";
|
|
16
|
+
import "../chunk-QHCQ4AUA.mjs";
|
|
17
|
+
import "../chunk-YRVIAORI.mjs";
|
|
18
|
+
import "../chunk-UZFCGVHP.mjs";
|
|
19
|
+
import "../chunk-XIGE72LC.mjs";
|
|
20
|
+
import "../chunk-X3JFRRRQ.mjs";
|
|
21
|
+
import "../chunk-P3IRIFPT.mjs";
|
|
22
|
+
import "../chunk-S3ONGVNZ.mjs";
|
|
23
|
+
import "../chunk-DIWD7ZCJ.mjs";
|
|
24
|
+
import "../chunk-52JR26TI.mjs";
|
|
25
|
+
import "../chunk-JATYBWHL.mjs";
|
|
26
|
+
import "../chunk-VQINCGLQ.mjs";
|
|
27
|
+
import "../chunk-4OWCGDUD.mjs";
|
|
28
|
+
import "../chunk-YXU5W2CB.mjs";
|
|
29
|
+
import "../chunk-UAPCBU3J.mjs";
|
|
30
|
+
import "../chunk-O7R3NJQN.mjs";
|
|
31
|
+
import "../chunk-BYYJRCB4.mjs";
|
|
32
|
+
import "../chunk-FFRJ4AUA.mjs";
|
|
33
|
+
import "../chunk-3PWMRP6G.mjs";
|
|
34
|
+
import "../chunk-T6L55AUG.mjs";
|
|
35
|
+
import "../chunk-QI7OFSXB.mjs";
|
|
36
|
+
import "../chunk-TOJFTPAY.mjs";
|
|
37
|
+
import "../chunk-NB62GSFI.mjs";
|
|
38
|
+
import "../chunk-5LNOA4SK.mjs";
|
|
39
|
+
import "../chunk-YGIZFKLJ.mjs";
|
|
40
|
+
import "../chunk-UWM46HLZ.mjs";
|
|
41
|
+
import "../chunk-XFBLELHI.mjs";
|
|
42
|
+
import "../chunk-HVFHDVAH.mjs";
|
|
43
|
+
|
|
44
|
+
// source/sdk/env.ts
|
|
45
|
+
function env(key, type) {
|
|
46
|
+
const value = process.env[key];
|
|
47
|
+
type = type || getType(value);
|
|
48
|
+
if (value) {
|
|
49
|
+
switch (type) {
|
|
50
|
+
case "bigInt":
|
|
51
|
+
return BigInt(value);
|
|
52
|
+
case "float":
|
|
53
|
+
return parseFloat(value);
|
|
54
|
+
case "boolean":
|
|
55
|
+
return Boolean(value);
|
|
56
|
+
case "int":
|
|
57
|
+
return parseInt(value);
|
|
58
|
+
default:
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return void 0;
|
|
63
|
+
}
|
|
64
|
+
function envGroup(key) {
|
|
65
|
+
const filtered = Object.entries(process.env).filter(([index]) => key.startsWith(index));
|
|
66
|
+
const gen = {};
|
|
67
|
+
for (const [index, value] of filtered)
|
|
68
|
+
gen[index] = env(value, void 0);
|
|
69
|
+
return gen;
|
|
70
|
+
}
|
|
71
|
+
export {
|
|
72
|
+
env,
|
|
73
|
+
envGroup
|
|
74
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as fastify from 'fastify';
|
|
2
|
+
import * as fastify_plugin from 'fastify-plugin';
|
|
3
|
+
|
|
4
|
+
declare const FastifyPlugin: typeof fastify_plugin;
|
|
5
|
+
declare const _default: {
|
|
6
|
+
errorCodes: fastify.FastifyErrorCodes;
|
|
7
|
+
fastify: typeof fastify;
|
|
8
|
+
default: typeof fastify;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { FastifyPlugin, _default as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IConstructor } from '../types/contruct.js';
|
|
2
|
+
import { IDependencyContainer } from '../types/dependency-container.js';
|
|
3
|
+
import { IGraftDefinition } from '../types/services.js';
|
|
4
|
+
import { LifetimeEnum } from '@protorians/core';
|
|
5
|
+
|
|
6
|
+
declare class GraftsRegistry {
|
|
7
|
+
protected static _container: IDependencyContainer<IGraftDefinition, any>;
|
|
8
|
+
static get container(): IDependencyContainer<IGraftDefinition, any>;
|
|
9
|
+
static register(name: string, construct: IConstructor, lifetime?: LifetimeEnum): IDependencyContainer<IGraftDefinition, any>;
|
|
10
|
+
static get<T>(name: string): T | undefined;
|
|
11
|
+
static imports(): Promise<string[]>;
|
|
12
|
+
}
|
|
13
|
+
declare const Grafts: IGlobalGrafts;
|
|
14
|
+
|
|
15
|
+
export { Grafts, GraftsRegistry };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DependencyContainer
|
|
3
|
+
} from "../chunk-WAWFDMOH.mjs";
|
|
4
|
+
import "../chunk-K4KLOLSO.mjs";
|
|
5
|
+
import "../chunk-RXG7754R.mjs";
|
|
6
|
+
import "../chunk-IOCHNQMF.mjs";
|
|
7
|
+
import "../chunk-M2RZZJQR.mjs";
|
|
8
|
+
import "../chunk-RVH2YBNU.mjs";
|
|
9
|
+
import "../chunk-MLFGBJDV.mjs";
|
|
10
|
+
import "../chunk-GPJSLV3Q.mjs";
|
|
11
|
+
import "../chunk-QFSXFOEN.mjs";
|
|
12
|
+
import "../chunk-JWNBO7XV.mjs";
|
|
13
|
+
import "../chunk-K4IQQ2KF.mjs";
|
|
14
|
+
import "../chunk-UCHBN3DV.mjs";
|
|
15
|
+
import "../chunk-VRL4S7UF.mjs";
|
|
16
|
+
import "../chunk-XW7EPAD7.mjs";
|
|
17
|
+
import "../chunk-QHCQ4AUA.mjs";
|
|
18
|
+
import "../chunk-YRVIAORI.mjs";
|
|
19
|
+
import "../chunk-UZFCGVHP.mjs";
|
|
20
|
+
import "../chunk-XIGE72LC.mjs";
|
|
21
|
+
import "../chunk-X3JFRRRQ.mjs";
|
|
22
|
+
import "../chunk-P3IRIFPT.mjs";
|
|
23
|
+
import "../chunk-S3ONGVNZ.mjs";
|
|
24
|
+
import "../chunk-DIWD7ZCJ.mjs";
|
|
25
|
+
import "../chunk-52JR26TI.mjs";
|
|
26
|
+
import "../chunk-JATYBWHL.mjs";
|
|
27
|
+
import "../chunk-VQINCGLQ.mjs";
|
|
28
|
+
import "../chunk-4OWCGDUD.mjs";
|
|
29
|
+
import "../chunk-YXU5W2CB.mjs";
|
|
30
|
+
import "../chunk-UAPCBU3J.mjs";
|
|
31
|
+
import "../chunk-O7R3NJQN.mjs";
|
|
32
|
+
import "../chunk-BYYJRCB4.mjs";
|
|
33
|
+
import "../chunk-FFRJ4AUA.mjs";
|
|
34
|
+
import "../chunk-3PWMRP6G.mjs";
|
|
35
|
+
import "../chunk-T6L55AUG.mjs";
|
|
36
|
+
import "../chunk-QI7OFSXB.mjs";
|
|
37
|
+
import "../chunk-TOJFTPAY.mjs";
|
|
38
|
+
import "../chunk-NB62GSFI.mjs";
|
|
39
|
+
import "../chunk-5LNOA4SK.mjs";
|
|
40
|
+
import "../chunk-YGIZFKLJ.mjs";
|
|
41
|
+
import "../chunk-UWM46HLZ.mjs";
|
|
42
|
+
import "../chunk-XFBLELHI.mjs";
|
|
43
|
+
import "../chunk-HVFHDVAH.mjs";
|
|
44
|
+
|
|
45
|
+
// source/sdk/grafts.ts
|
|
46
|
+
import { LifetimeEnum } from "@protorians/core";
|
|
47
|
+
var GraftsRegistry = class {
|
|
48
|
+
static _container;
|
|
49
|
+
static get container() {
|
|
50
|
+
this._container = this._container || new DependencyContainer("graft");
|
|
51
|
+
return this._container;
|
|
52
|
+
}
|
|
53
|
+
static register(name, construct, lifetime = LifetimeEnum.SINGLETON) {
|
|
54
|
+
return this._container.register(name, construct, lifetime);
|
|
55
|
+
}
|
|
56
|
+
static get(name) {
|
|
57
|
+
return this._container.get(name);
|
|
58
|
+
}
|
|
59
|
+
static async imports() {
|
|
60
|
+
return this._container.imports();
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
var Grafts = new Proxy({}, {
|
|
64
|
+
get(_, prop) {
|
|
65
|
+
return GraftsRegistry.get(prop);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
export {
|
|
69
|
+
Grafts,
|
|
70
|
+
GraftsRegistry
|
|
71
|
+
};
|