@vercube/core 0.0.8 → 0.0.9
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/index.d.mts +24 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1022,6 +1022,29 @@ declare class Router {
|
|
|
1022
1022
|
resolve(route: RouterTypes.RouteFind): RouterTypes.RouteMatched<RouterTypes.RouterHandler> | undefined;
|
|
1023
1023
|
}
|
|
1024
1024
|
//#endregion
|
|
1025
|
+
//#region src/Services/Config/RuntimeConfig.d.ts
|
|
1026
|
+
/**
|
|
1027
|
+
* RuntimeConfig class manages the runtime configuration for the Vercube application.
|
|
1028
|
+
* This class provides a centralized way to access and modify runtime configuration settings.
|
|
1029
|
+
*/
|
|
1030
|
+
declare class RuntimeConfig$1 {
|
|
1031
|
+
/**
|
|
1032
|
+
* Private field to store the runtime configuration object.
|
|
1033
|
+
* @private
|
|
1034
|
+
*/
|
|
1035
|
+
private fRuntimeConfig;
|
|
1036
|
+
/**
|
|
1037
|
+
* Gets the current runtime configuration.
|
|
1038
|
+
* @returns {ConfigTypes.RuntimeConfig} The current runtime configuration object.
|
|
1039
|
+
*/
|
|
1040
|
+
get runtimeConfig(): ConfigTypes.RuntimeConfig;
|
|
1041
|
+
/**
|
|
1042
|
+
* Sets the runtime configuration.
|
|
1043
|
+
* @param {ConfigTypes.RuntimeConfig} value - The new runtime configuration object to set.
|
|
1044
|
+
*/
|
|
1045
|
+
set runtimeConfig(value: ConfigTypes.RuntimeConfig);
|
|
1046
|
+
}
|
|
1047
|
+
//#endregion
|
|
1025
1048
|
//#region src/Errors/HttpError.d.ts
|
|
1026
1049
|
/**
|
|
1027
1050
|
* Represents an HTTP error.
|
|
@@ -1190,4 +1213,4 @@ declare function initializeMetadataMethod(target: any, propertyName: string): Me
|
|
|
1190
1213
|
*/
|
|
1191
1214
|
declare function initializeMetadata(target: any): MetadataTypes.Ctx;
|
|
1192
1215
|
//#endregion
|
|
1193
|
-
export { App, BadRequestError, BaseMiddleware, BasePlugin, Body, ConfigTypes, Connect, Controller, Delete, ErrorHandlerProvider, FastResponse, ForbiddenError, Get, GlobalMiddlewareRegistry, HTTPStatus, Head, Header, Headers, HooksService, HooksTypes, HttpError, HttpServer, InternalServerError, Listen, MaybePromise, MetadataResolver, MetadataTypes, MethodNotAllowedError, Middleware$1 as Middleware, MiddlewareOptions, MultipartFormData, NotAcceptableError, NotFoundError, Options, Param, Patch, Post, Put, QueryParam, QueryParams, Redirect, Request$1 as Request, Response$1 as Response, Router, RouterTypes, Session, SetHeader, Status, Trace, UnauthorizedError, createApp, createMetadataCtx, createMetadataMethod, defineConfig, initializeMetadata, initializeMetadataMethod, loadVercubeConfig };
|
|
1216
|
+
export { App, BadRequestError, BaseMiddleware, BasePlugin, Body, ConfigTypes, Connect, Controller, Delete, ErrorHandlerProvider, FastResponse, ForbiddenError, Get, GlobalMiddlewareRegistry, HTTPStatus, Head, Header, Headers, HooksService, HooksTypes, HttpError, HttpServer, InternalServerError, Listen, MaybePromise, MetadataResolver, MetadataTypes, MethodNotAllowedError, Middleware$1 as Middleware, MiddlewareOptions, MultipartFormData, NotAcceptableError, NotFoundError, Options, Param, Patch, Post, Put, QueryParam, QueryParams, Redirect, Request$1 as Request, Response$1 as Response, Router, RouterTypes, RuntimeConfig$1 as RuntimeConfig, Session, SetHeader, Status, Trace, UnauthorizedError, createApp, createMetadataCtx, createMetadataMethod, defineConfig, initializeMetadata, initializeMetadataMethod, loadVercubeConfig };
|
package/dist/index.mjs
CHANGED
|
@@ -2617,4 +2617,4 @@ let HTTPStatus = /* @__PURE__ */ function(HTTPStatus$1) {
|
|
|
2617
2617
|
}({});
|
|
2618
2618
|
|
|
2619
2619
|
//#endregion
|
|
2620
|
-
export { App, BadRequestError, BaseMiddleware, BasePlugin, Body, Connect, Controller, Delete, ErrorHandlerProvider, FastResponse, ForbiddenError, Get, GlobalMiddlewareRegistry, HTTPStatus, Head, Header, Headers$1 as Headers, HooksService, HttpError, HttpServer, InternalServerError, Listen, MetadataResolver, MethodNotAllowedError, Middleware, MultipartFormData, NotAcceptableError, NotFoundError, Options, Param, Patch, Post, Put, QueryParam, QueryParams, Redirect, Request, Response$1 as Response, Router, Session, SetHeader, Status, Trace, UnauthorizedError, createApp, createMetadataCtx, createMetadataMethod, defineConfig, initializeMetadata, initializeMetadataMethod, loadVercubeConfig };
|
|
2620
|
+
export { App, BadRequestError, BaseMiddleware, BasePlugin, Body, Connect, Controller, Delete, ErrorHandlerProvider, FastResponse, ForbiddenError, Get, GlobalMiddlewareRegistry, HTTPStatus, Head, Header, Headers$1 as Headers, HooksService, HttpError, HttpServer, InternalServerError, Listen, MetadataResolver, MethodNotAllowedError, Middleware, MultipartFormData, NotAcceptableError, NotFoundError, Options, Param, Patch, Post, Put, QueryParam, QueryParams, Redirect, Request, Response$1 as Response, Router, RuntimeConfig, Session, SetHeader, Status, Trace, UnauthorizedError, createApp, createMetadataCtx, createMetadataMethod, defineConfig, initializeMetadata, initializeMetadataMethod, loadVercubeConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercube/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "Core module for Vercube framework",
|
|
5
5
|
"repository": "@vercube/core",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"pathe": "2.0.3",
|
|
25
25
|
"rou3": "0.6.3",
|
|
26
26
|
"srvx": "0.7.5",
|
|
27
|
-
"@vercube/di": "0.0.
|
|
28
|
-
"@vercube/logger": "0.0.
|
|
27
|
+
"@vercube/di": "0.0.9",
|
|
28
|
+
"@vercube/logger": "0.0.9"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|