@vercube/core 0.0.1-alpha.15
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/Common/App.d.ts +56 -0
- package/dist/Common/Container.d.ts +8 -0
- package/dist/Common/CreateApp.d.ts +8 -0
- package/dist/Config/Config.d.ts +7 -0
- package/dist/Config/DefaultConfig.d.ts +6 -0
- package/dist/Config/Loader.d.ts +7 -0
- package/dist/Decorators/Hooks/Listen.d.ts +9 -0
- package/dist/Decorators/Http/Body.d.ts +15 -0
- package/dist/Decorators/Http/Connect.d.ts +10 -0
- package/dist/Decorators/Http/Controller.d.ts +10 -0
- package/dist/Decorators/Http/Delete.d.ts +10 -0
- package/dist/Decorators/Http/Get.d.ts +10 -0
- package/dist/Decorators/Http/Head.d.ts +10 -0
- package/dist/Decorators/Http/Header.d.ts +11 -0
- package/dist/Decorators/Http/Headers.d.ts +9 -0
- package/dist/Decorators/Http/Middleware.d.ts +27 -0
- package/dist/Decorators/Http/MultipartFormData.d.ts +15 -0
- package/dist/Decorators/Http/Options.d.ts +10 -0
- package/dist/Decorators/Http/Param.d.ts +12 -0
- package/dist/Decorators/Http/Patch.d.ts +10 -0
- package/dist/Decorators/Http/Post.d.ts +10 -0
- package/dist/Decorators/Http/Put.d.ts +10 -0
- package/dist/Decorators/Http/QueryParam.d.ts +16 -0
- package/dist/Decorators/Http/QueryParams.d.ts +15 -0
- package/dist/Decorators/Http/Redirect.d.ts +13 -0
- package/dist/Decorators/Http/Request.d.ts +9 -0
- package/dist/Decorators/Http/Response.d.ts +9 -0
- package/dist/Decorators/Http/Session.d.ts +9 -0
- package/dist/Decorators/Http/SetHeader.d.ts +7 -0
- package/dist/Decorators/Http/Status.d.ts +11 -0
- package/dist/Decorators/Http/Trace.d.ts +10 -0
- package/dist/Errors/Http/BadRequestError.d.ts +17 -0
- package/dist/Errors/Http/ForbiddenError.d.ts +17 -0
- package/dist/Errors/Http/InternalServerError.d.ts +17 -0
- package/dist/Errors/Http/MethodNotAllowedError.d.ts +17 -0
- package/dist/Errors/Http/NotAcceptableError.d.ts +17 -0
- package/dist/Errors/Http/NotFoundError.d.ts +17 -0
- package/dist/Errors/Http/UnauthorizedError.d.ts +17 -0
- package/dist/Errors/HttpError.d.ts +17 -0
- package/dist/Hooks/Router/RouterAfterInitHook.d.ts +1 -0
- package/dist/Hooks/Router/RouterBeforeInitHook.d.ts +1 -0
- package/dist/Middleware/ValidationMiddleware.d.ts +23 -0
- package/dist/Resolvers/Body.d.ts +22 -0
- package/dist/Resolvers/Headers.d.ts +14 -0
- package/dist/Resolvers/Query.d.ts +14 -0
- package/dist/Resolvers/RouterParam.d.ts +13 -0
- package/dist/Services/Config/RuntimeConfig.d.ts +22 -0
- package/dist/Services/ErrorHandler/DefaultErrorHandlerProvider.d.ts +16 -0
- package/dist/Services/ErrorHandler/ErrorHandlerProvider.d.ts +16 -0
- package/dist/Services/Hooks/HooksService.d.ts +76 -0
- package/dist/Services/HttpServer/HttpServer.d.ts +51 -0
- package/dist/Services/Metadata/MetadataResolver.d.ts +42 -0
- package/dist/Services/Middleware/BaseMiddleware.d.ts +31 -0
- package/dist/Services/Middleware/GlobalMiddlewareRegistry.d.ts +31 -0
- package/dist/Services/Plugins/BasePlugin.d.ts +16 -0
- package/dist/Services/Plugins/PluginsRegistry.d.ts +26 -0
- package/dist/Services/Router/RequestHandler.d.ts +65 -0
- package/dist/Services/Router/Router.d.ts +40 -0
- package/dist/Services/Router/StaticRequestHandler.d.ts +38 -0
- package/dist/Services/Validation/StandardSchemaValidationProvider.d.ts +17 -0
- package/dist/Services/Validation/ValidationProvider.d.ts +17 -0
- package/dist/Types/CommonTypes.d.ts +6 -0
- package/dist/Types/ConfigTypes.d.ts +120 -0
- package/dist/Types/HooksTypes.d.ts +17 -0
- package/dist/Types/HttpTypes.d.ts +63 -0
- package/dist/Types/MetadataTypes.d.ts +54 -0
- package/dist/Types/ValidationTypes.d.ts +6 -0
- package/dist/Utils/InternalUtils.d.ts +5 -0
- package/dist/Utils/Mine.d.ts +3 -0
- package/dist/Utils/Utils.d.ts +22 -0
- package/dist/index.cjs +2018 -0
- package/dist/index.d.ts +46 -0
- package/dist/index.mjs +1944 -0
- package/package.json +35 -0
package/package.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vercube/core",
|
|
3
|
+
"version": "0.0.1-alpha.15",
|
|
4
|
+
"description": "Core module for Vercube framework",
|
|
5
|
+
"repository": "@vercube/core",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"type": "module",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.mjs",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"main": "./dist/index.cjs",
|
|
17
|
+
"module": "./dist/index.mjs",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@standard-schema/spec": "1.0.0",
|
|
24
|
+
"c12": "3.0.2",
|
|
25
|
+
"defu": "6.1.4",
|
|
26
|
+
"pathe": "2.0.3",
|
|
27
|
+
"rou3": "0.5.1",
|
|
28
|
+
"srvx": "0.2.7",
|
|
29
|
+
"@vercube/di": "0.0.1-alpha.15",
|
|
30
|
+
"@vercube/logger": "0.0.1-alpha.15"
|
|
31
|
+
},
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public"
|
|
34
|
+
}
|
|
35
|
+
}
|