@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.
Files changed (74) hide show
  1. package/dist/Common/App.d.ts +56 -0
  2. package/dist/Common/Container.d.ts +8 -0
  3. package/dist/Common/CreateApp.d.ts +8 -0
  4. package/dist/Config/Config.d.ts +7 -0
  5. package/dist/Config/DefaultConfig.d.ts +6 -0
  6. package/dist/Config/Loader.d.ts +7 -0
  7. package/dist/Decorators/Hooks/Listen.d.ts +9 -0
  8. package/dist/Decorators/Http/Body.d.ts +15 -0
  9. package/dist/Decorators/Http/Connect.d.ts +10 -0
  10. package/dist/Decorators/Http/Controller.d.ts +10 -0
  11. package/dist/Decorators/Http/Delete.d.ts +10 -0
  12. package/dist/Decorators/Http/Get.d.ts +10 -0
  13. package/dist/Decorators/Http/Head.d.ts +10 -0
  14. package/dist/Decorators/Http/Header.d.ts +11 -0
  15. package/dist/Decorators/Http/Headers.d.ts +9 -0
  16. package/dist/Decorators/Http/Middleware.d.ts +27 -0
  17. package/dist/Decorators/Http/MultipartFormData.d.ts +15 -0
  18. package/dist/Decorators/Http/Options.d.ts +10 -0
  19. package/dist/Decorators/Http/Param.d.ts +12 -0
  20. package/dist/Decorators/Http/Patch.d.ts +10 -0
  21. package/dist/Decorators/Http/Post.d.ts +10 -0
  22. package/dist/Decorators/Http/Put.d.ts +10 -0
  23. package/dist/Decorators/Http/QueryParam.d.ts +16 -0
  24. package/dist/Decorators/Http/QueryParams.d.ts +15 -0
  25. package/dist/Decorators/Http/Redirect.d.ts +13 -0
  26. package/dist/Decorators/Http/Request.d.ts +9 -0
  27. package/dist/Decorators/Http/Response.d.ts +9 -0
  28. package/dist/Decorators/Http/Session.d.ts +9 -0
  29. package/dist/Decorators/Http/SetHeader.d.ts +7 -0
  30. package/dist/Decorators/Http/Status.d.ts +11 -0
  31. package/dist/Decorators/Http/Trace.d.ts +10 -0
  32. package/dist/Errors/Http/BadRequestError.d.ts +17 -0
  33. package/dist/Errors/Http/ForbiddenError.d.ts +17 -0
  34. package/dist/Errors/Http/InternalServerError.d.ts +17 -0
  35. package/dist/Errors/Http/MethodNotAllowedError.d.ts +17 -0
  36. package/dist/Errors/Http/NotAcceptableError.d.ts +17 -0
  37. package/dist/Errors/Http/NotFoundError.d.ts +17 -0
  38. package/dist/Errors/Http/UnauthorizedError.d.ts +17 -0
  39. package/dist/Errors/HttpError.d.ts +17 -0
  40. package/dist/Hooks/Router/RouterAfterInitHook.d.ts +1 -0
  41. package/dist/Hooks/Router/RouterBeforeInitHook.d.ts +1 -0
  42. package/dist/Middleware/ValidationMiddleware.d.ts +23 -0
  43. package/dist/Resolvers/Body.d.ts +22 -0
  44. package/dist/Resolvers/Headers.d.ts +14 -0
  45. package/dist/Resolvers/Query.d.ts +14 -0
  46. package/dist/Resolvers/RouterParam.d.ts +13 -0
  47. package/dist/Services/Config/RuntimeConfig.d.ts +22 -0
  48. package/dist/Services/ErrorHandler/DefaultErrorHandlerProvider.d.ts +16 -0
  49. package/dist/Services/ErrorHandler/ErrorHandlerProvider.d.ts +16 -0
  50. package/dist/Services/Hooks/HooksService.d.ts +76 -0
  51. package/dist/Services/HttpServer/HttpServer.d.ts +51 -0
  52. package/dist/Services/Metadata/MetadataResolver.d.ts +42 -0
  53. package/dist/Services/Middleware/BaseMiddleware.d.ts +31 -0
  54. package/dist/Services/Middleware/GlobalMiddlewareRegistry.d.ts +31 -0
  55. package/dist/Services/Plugins/BasePlugin.d.ts +16 -0
  56. package/dist/Services/Plugins/PluginsRegistry.d.ts +26 -0
  57. package/dist/Services/Router/RequestHandler.d.ts +65 -0
  58. package/dist/Services/Router/Router.d.ts +40 -0
  59. package/dist/Services/Router/StaticRequestHandler.d.ts +38 -0
  60. package/dist/Services/Validation/StandardSchemaValidationProvider.d.ts +17 -0
  61. package/dist/Services/Validation/ValidationProvider.d.ts +17 -0
  62. package/dist/Types/CommonTypes.d.ts +6 -0
  63. package/dist/Types/ConfigTypes.d.ts +120 -0
  64. package/dist/Types/HooksTypes.d.ts +17 -0
  65. package/dist/Types/HttpTypes.d.ts +63 -0
  66. package/dist/Types/MetadataTypes.d.ts +54 -0
  67. package/dist/Types/ValidationTypes.d.ts +6 -0
  68. package/dist/Utils/InternalUtils.d.ts +5 -0
  69. package/dist/Utils/Mine.d.ts +3 -0
  70. package/dist/Utils/Utils.d.ts +22 -0
  71. package/dist/index.cjs +2018 -0
  72. package/dist/index.d.ts +46 -0
  73. package/dist/index.mjs +1944 -0
  74. 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
+ }