@vercube/core 0.0.8 → 0.0.10

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 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.Config['runtime']} The current runtime configuration object.
1039
+ */
1040
+ get runtimeConfig(): ConfigTypes.Config['runtime'];
1041
+ /**
1042
+ * Sets the runtime configuration.
1043
+ * @param {ConfigTypes.RuntimeConfig} value - The new runtime configuration object to set.
1044
+ */
1045
+ set runtimeConfig(value: ConfigTypes.Config['runtime']);
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
@@ -206,7 +206,7 @@ var RouterAfterInitHook = class {};
206
206
 
207
207
  //#endregion
208
208
  //#region src/Services/Router/Router.ts
209
- var import_decorate$17 = __toESM(require_decorate());
209
+ var import_decorate$17 = __toESM(require_decorate(), 1);
210
210
  /**
211
211
  * Router service responsible for managing application routes
212
212
  *
@@ -872,7 +872,7 @@ var RuntimeConfig = class {
872
872
  fRuntimeConfig;
873
873
  /**
874
874
  * Gets the current runtime configuration.
875
- * @returns {ConfigTypes.RuntimeConfig} The current runtime configuration object.
875
+ * @returns {ConfigTypes.Config['runtime']} The current runtime configuration object.
876
876
  */
877
877
  get runtimeConfig() {
878
878
  return this.fRuntimeConfig;
@@ -1848,7 +1848,7 @@ function Post(path) {
1848
1848
 
1849
1849
  //#endregion
1850
1850
  //#region src/Decorators/Http/Put.ts
1851
- var import_decorate$3 = __toESM(require_decorate());
1851
+ var import_decorate$3 = __toESM(require_decorate(), 1);
1852
1852
  /**
1853
1853
  * A decorator class for handling HTTP PUT requests.
1854
1854
  *
@@ -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.8",
3
+ "version": "0.0.10",
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.8",
28
- "@vercube/logger": "0.0.8"
27
+ "@vercube/di": "0.0.10",
28
+ "@vercube/logger": "0.0.10"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"