koatty_core
Advanced tools
Comparing version 1.10.0-5 to 1.10.0-6
@@ -6,3 +6,3 @@ /* | ||
* @Date: 2021-12-17 10:20:44 | ||
* @LastEditTime: 2024-10-31 17:08:26 | ||
* @LastEditTime: 2024-11-01 10:09:45 | ||
*/ | ||
@@ -9,0 +9,0 @@ import json from "@rollup/plugin-json"; |
@@ -5,2 +5,4 @@ # Changelog | ||
## [1.10.0-6](https://github.com/koatty/koatty_core/compare/v1.10.0-5...v1.10.0-6) (2024-11-01) | ||
## [1.10.0-5](https://github.com/koatty/koatty_core/compare/v1.10.0-4...v1.10.0-5) (2024-11-01) | ||
@@ -7,0 +9,0 @@ |
/*! | ||
* @Author: richen | ||
* @Date: 2024-11-01 09:28:26 | ||
* @Date: 2024-11-01 10:13:23 | ||
* @License: BSD (3-Clause) | ||
@@ -89,3 +89,3 @@ * @Copyright (c) - <richenlin(at)gmail.com> | ||
/** | ||
* Application | ||
* Koatty Application | ||
* @export | ||
@@ -202,3 +202,3 @@ * @class Koatty | ||
/** | ||
* Koatty Application Object | ||
* Koatty Application interface | ||
*/ | ||
@@ -205,0 +205,0 @@ export declare interface KoattyApplication extends Koa { |
/*! | ||
* @Author: richen | ||
* @Date: 2024-11-01 09:28:08 | ||
* @Date: 2024-11-01 10:13:02 | ||
* @License: BSD (3-Clause) | ||
@@ -31,5 +31,3 @@ * @Copyright (c) - <richenlin(at)gmail.com> | ||
class KoattyMetadata { | ||
constructor() { | ||
this.internalRepo = new Map(); | ||
} | ||
internalRepo = new Map(); | ||
/** | ||
@@ -246,3 +244,3 @@ * Set the given value for the given key | ||
/** | ||
* Application | ||
* Koatty Application | ||
* @export | ||
@@ -254,2 +252,21 @@ * @class Koatty | ||
class Koatty extends Koa { | ||
// runtime env mode | ||
env = "development"; | ||
// app name | ||
name; | ||
// app version | ||
version; | ||
// app options | ||
options; | ||
server; | ||
router; | ||
// env var | ||
appPath; | ||
rootPath; | ||
// koatty framework path | ||
koattyPath; | ||
logsPath; | ||
appDebug; | ||
context = {}; | ||
metadata; | ||
/** | ||
@@ -256,0 +273,0 @@ * Creates an instance of Koatty. |
{ | ||
"name": "koatty_core", | ||
"version": "1.10.0-5", | ||
"version": "1.10.0-6", | ||
"description": "Koatty framework core", | ||
@@ -43,3 +43,3 @@ "scripts": { | ||
"@microsoft/api-extractor": "^7.x.x", | ||
"@rollup/plugin-commonjs": "^28.0.1", | ||
"@rollup/plugin-commonjs": "^28.x.x", | ||
"@rollup/plugin-json": "^6.x.x", | ||
@@ -63,3 +63,3 @@ "@types/jest": "^29.x.x", | ||
"reflect-metadata": "^0.x.x", | ||
"rollup": "^4.x.x", | ||
"rollup": "^4.24.3", | ||
"rollup-plugin-typescript2": "^0.x.x", | ||
@@ -66,0 +66,0 @@ "standard-version": "^9.x.x", |
{ | ||
"name": "koatty_core", | ||
"version": "1.10.0-5", | ||
"version": "1.10.0-6", | ||
"description": "Koatty framework core", | ||
@@ -43,3 +43,3 @@ "scripts": { | ||
"@microsoft/api-extractor": "^7.x.x", | ||
"@rollup/plugin-commonjs": "^28.0.1", | ||
"@rollup/plugin-commonjs": "^28.x.x", | ||
"@rollup/plugin-json": "^6.x.x", | ||
@@ -63,3 +63,3 @@ "@types/jest": "^29.x.x", | ||
"reflect-metadata": "^0.x.x", | ||
"rollup": "^4.x.x", | ||
"rollup": "^4.24.3", | ||
"rollup-plugin-typescript2": "^0.x.x", | ||
@@ -66,0 +66,0 @@ "standard-version": "^9.x.x", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65882
1647