@fastcar/core 0.2.52 → 0.2.54

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 (43) hide show
  1. package/db.d.ts +2 -0
  2. package/package.json +1 -1
  3. package/src/FastCarApplication.ts +1 -0
  4. package/src/annotation/data/Table.ts +4 -3
  5. package/src/annotation/valid/CustomType.ts +9 -0
  6. package/src/constant/FastCarMetaData.ts +1 -0
  7. package/src/db.ts +2 -0
  8. package/src/utils/CryptoUtil.ts +2 -2
  9. package/target/FastCarApplication.js +1 -0
  10. package/target/annotation/data/Table.js +3 -2
  11. package/target/annotation/valid/CustomType.js +11 -0
  12. package/target/constant/FastCarMetaData.js +1 -0
  13. package/target/db.js +2 -0
  14. package/target/utils/CryptoUtil.js +2 -2
  15. package/test/example/logs/fastcar-server.sys.log +3 -15
  16. package/test/example/logs/other-server.sys.log +0 -25
  17. package/test/example/logs/other-server.sys1.log +0 -12
  18. package/test/example/logs/other-server.sys2.log +0 -15
  19. package/test/example/logs/other-server.sys3.log +6 -0
  20. package/test/example/logs/other-server.sys6.log +2 -0
  21. package/test/example/resource/hello.yml +1 -1
  22. package/test/example/simple/app.ts +10 -0
  23. package/test/example/simple/config/HotConfig.ts +10 -0
  24. package/test/example/logs/fastcar-server.logger.log +0 -9
  25. package/test/example/logs/fastcar-server.logger1.log +0 -9
  26. package/test/example/logs/fastcar-server.sys1.log +0 -15
  27. package/test/example/logs/fastcar-server.sys2.log +0 -2
  28. package/test/example/logs/fastcar-server.sys3.log +0 -9
  29. package/test/example/logs/fastcar-server.sys4.log +0 -1
  30. package/test/example/logs/other-server.logger.log +0 -3
  31. package/test/example/logs/sys1.log +0 -0
  32. package/test/example/logs/sys10.log +0 -0
  33. package/test/example/logs/sys11.log +0 -0
  34. package/test/example/logs/sys2.log +0 -0
  35. package/test/example/logs/sys3.log +0 -0
  36. package/test/example/logs/sys4.log +0 -0
  37. package/test/example/logs/sys5.log +0 -0
  38. package/test/example/logs/sys6.log +0 -0
  39. package/test/example/logs/sys7.log +0 -0
  40. package/test/example/logs/sys8.log +0 -0
  41. package/test/example/logs/sys9.log +0 -0
  42. /package/test/example/logs/{fastcar-server.app.log → other-server.sys4.log} +0 -0
  43. /package/test/example/logs/{sys.log → other-server.sys5.log} +0 -0
package/db.d.ts CHANGED
@@ -13,6 +13,8 @@ export enum OperatorEnum {
13
13
  dec = "-", //累减
14
14
  multiply = "*", //累乘
15
15
  division = "/", //累除
16
+ notin = "NOT IN", //not in
17
+ custom = "CUSTOM", //自定义
16
18
  }
17
19
 
18
20
  export enum JoinEnum {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastcar/core",
3
- "version": "0.2.52",
3
+ "version": "0.2.54",
4
4
  "homepage": "https://github.com/williamDazhangyu/fast-car",
5
5
  "main": "target/index.js",
6
6
  "author": "william_zhong",
@@ -446,6 +446,7 @@ class FastCarApplication extends Events {
446
446
 
447
447
  /**
448
448
  * @version 1.0 加载需要注入的类
449
+ * @deprecated
449
450
  */
450
451
  // loadInjectionModule() {
451
452
  // this.componentMap.forEach((instance, instanceName) => {
@@ -5,23 +5,24 @@ import { MapperType } from "../../type/MapperType";
5
5
 
6
6
  //表名称 不缺省
7
7
  export default function Table(name: string) {
8
- return function(target: any) {
8
+ return function (target: any) {
9
9
  const proto = target.prototype;
10
10
  let fields: Set<string> = Reflect.getOwnMetadata(DesignMeta.fieldMap, proto);
11
11
  let mappingMap = new Map<string, MapperType>();
12
12
  let dbFields = new Map<string, string>();
13
13
 
14
- fields.forEach(c => {
14
+ fields.forEach((c) => {
15
15
  let tsType = Reflect.getOwnMetadata(FastCarMetaData.designType, proto, c);
16
16
  let field = Reflect.getOwnMetadata(DesignMeta.field, proto, c) || c;
17
17
  let dbType = Reflect.getOwnMetadata(DesignMeta.dbType, proto, c) || "varchar";
18
18
  let primaryKey = !!Reflect.getOwnMetadata(DesignMeta.primaryKey, proto, c);
19
19
 
20
20
  let tsName: string = tsType.name;
21
+ let customeType = Reflect.getOwnMetadata(FastCarMetaData.CustomType, proto, c);
21
22
 
22
23
  const m: MapperType = {
23
24
  name: c, //变量名称
24
- type: tsName.toLowerCase(), //ts类型
25
+ type: customeType || tsName.toLowerCase(), //ts类型
25
26
  field, //数据库列名
26
27
  dbType: dbType, //数据类型
27
28
  primaryKey, //是否为主键 默认为false
@@ -0,0 +1,9 @@
1
+ import "reflect-metadata";
2
+ import { FastCarMetaData } from "../../constant/FastCarMetaData";
3
+
4
+ //自定义类型
5
+ export default function CustomType(name: string) {
6
+ return function (target: any, propertyKey: string) {
7
+ Reflect.defineMetadata(FastCarMetaData.CustomType, name, target, propertyKey);
8
+ };
9
+ }
@@ -22,4 +22,5 @@ export enum FastCarMetaData {
22
22
  Alias = "alias", //别名
23
23
  LoggerModule = "LoggerModule", //日志模块集合
24
24
  HotterSysConfig = "hotterSysConfig", //支持热更系统配置
25
+ CustomType = "custom:type", //自定义类型
25
26
  }
package/src/db.ts CHANGED
@@ -16,6 +16,8 @@ export enum OperatorEnum {
16
16
  dec = "-", //累减
17
17
  multiply = "*", //累乘
18
18
  division = "/", //累除
19
+ notin = "NOT IN", //not in
20
+ custom = "CUSTOM", //自定义
19
21
  }
20
22
 
21
23
  export enum JoinEnum {
@@ -60,11 +60,11 @@ export default class CryptoUtil {
60
60
  let pwd = Buffer.from(password, "hex");
61
61
 
62
62
  //读取数组
63
- let iv = tmpSerect.slice(0, 12);
63
+ let iv = tmpSerect.subarray(0, 12);
64
64
  let cipher = crypto.createDecipheriv("aes-128-gcm", pwd, iv);
65
65
 
66
66
  //这边的数据为 去除头的iv12位和尾部的tags的16位
67
- let msg = cipher.update(tmpSerect.slice(12, tmpSerect.length - 16));
67
+ let msg = cipher.update(tmpSerect.subarray(12, tmpSerect.length - 16));
68
68
 
69
69
  return msg.toString("utf8");
70
70
  } catch (e) {
@@ -383,6 +383,7 @@ let FastCarApplication = FastCarApplication_1 = class FastCarApplication extends
383
383
  // }
384
384
  /**
385
385
  * @version 1.0 加载需要注入的类
386
+ * @deprecated
386
387
  */
387
388
  // loadInjectionModule() {
388
389
  // this.componentMap.forEach((instance, instanceName) => {
@@ -10,15 +10,16 @@ function Table(name) {
10
10
  let fields = Reflect.getOwnMetadata(DesignMeta_1.DesignMeta.fieldMap, proto);
11
11
  let mappingMap = new Map();
12
12
  let dbFields = new Map();
13
- fields.forEach(c => {
13
+ fields.forEach((c) => {
14
14
  let tsType = Reflect.getOwnMetadata(FastCarMetaData_1.FastCarMetaData.designType, proto, c);
15
15
  let field = Reflect.getOwnMetadata(DesignMeta_1.DesignMeta.field, proto, c) || c;
16
16
  let dbType = Reflect.getOwnMetadata(DesignMeta_1.DesignMeta.dbType, proto, c) || "varchar";
17
17
  let primaryKey = !!Reflect.getOwnMetadata(DesignMeta_1.DesignMeta.primaryKey, proto, c);
18
18
  let tsName = tsType.name;
19
+ let customeType = Reflect.getOwnMetadata(FastCarMetaData_1.FastCarMetaData.CustomType, proto, c);
19
20
  const m = {
20
21
  name: c,
21
- type: tsName.toLowerCase(),
22
+ type: customeType || tsName.toLowerCase(),
22
23
  field,
23
24
  dbType: dbType,
24
25
  primaryKey, //是否为主键 默认为false
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ require("reflect-metadata");
4
+ const FastCarMetaData_1 = require("../../constant/FastCarMetaData");
5
+ //自定义类型
6
+ function CustomType(name) {
7
+ return function (target, propertyKey) {
8
+ Reflect.defineMetadata(FastCarMetaData_1.FastCarMetaData.CustomType, name, target, propertyKey);
9
+ };
10
+ }
11
+ exports.default = CustomType;
@@ -26,4 +26,5 @@ var FastCarMetaData;
26
26
  FastCarMetaData["Alias"] = "alias";
27
27
  FastCarMetaData["LoggerModule"] = "LoggerModule";
28
28
  FastCarMetaData["HotterSysConfig"] = "hotterSysConfig";
29
+ FastCarMetaData["CustomType"] = "custom:type";
29
30
  })(FastCarMetaData = exports.FastCarMetaData || (exports.FastCarMetaData = {}));
package/target/db.js CHANGED
@@ -21,6 +21,8 @@ var OperatorEnum;
21
21
  OperatorEnum["dec"] = "-";
22
22
  OperatorEnum["multiply"] = "*";
23
23
  OperatorEnum["division"] = "/";
24
+ OperatorEnum["notin"] = "NOT IN";
25
+ OperatorEnum["custom"] = "CUSTOM";
24
26
  })(OperatorEnum = exports.OperatorEnum || (exports.OperatorEnum = {}));
25
27
  var JoinEnum;
26
28
  (function (JoinEnum) {
@@ -45,10 +45,10 @@ class CryptoUtil {
45
45
  let tmpSerect = Buffer.from(serect, "base64");
46
46
  let pwd = Buffer.from(password, "hex");
47
47
  //读取数组
48
- let iv = tmpSerect.slice(0, 12);
48
+ let iv = tmpSerect.subarray(0, 12);
49
49
  let cipher = crypto.createDecipheriv("aes-128-gcm", pwd, iv);
50
50
  //这边的数据为 去除头的iv12位和尾部的tags的16位
51
- let msg = cipher.update(tmpSerect.slice(12, tmpSerect.length - 16));
51
+ let msg = cipher.update(tmpSerect.subarray(12, tmpSerect.length - 16));
52
52
  return msg.toString("utf8");
53
53
  }
54
54
  catch (e) {
@@ -1,15 +1,3 @@
1
- {"timestamp":"2023-07-24 16:49:36.843","level":"INFO","label":"fastcar-server.sys","message":"Start scanning component"}
2
- {"timestamp":"2023-07-24 16:49:38.241","level":"INFO","label":"fastcar-server.sys","message":"Complete component scan"}
3
- {"timestamp":"2023-07-24 16:49:39.408","level":"INFO","label":"fastcar-server.sys","message":"Call application initialization method"}
4
- {"timestamp":"2023-07-24 16:49:39.912","level":"INFO","label":"fastcar-server.sys","message":"start server app is run"}
5
- {"timestamp":"2023-07-24 16:49:40.384","level":"INFO","label":"fastcar-server.sys","message":"version 1.0.0"}
6
- {"timestamp":"2023-07-24 16:49:45.679","level":"INFO","label":"fastcar-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
7
- {"timestamp":"2023-07-24 16:49:45.680","level":"INFO","label":"fastcar-server.sys","message":"Call the method before the application stops"}
8
- {"timestamp":"2023-07-24 16:49:50.692","level":"INFO","label":"fastcar-server.sys","message":"application stop"}
9
- {"timestamp":"2023-10-11 09:56:00.162","level":"INFO","label":"fastcar-server.sys","message":"Start scanning component"}
10
- {"timestamp":"2023-10-11 09:56:00.285","level":"INFO","label":"fastcar-server.sys","message":"Complete component scan"}
11
- {"timestamp":"2023-10-11 09:56:00.287","level":"INFO","label":"fastcar-server.sys","message":"Call application initialization method"}
12
- {"timestamp":"2023-10-11 09:56:00.290","level":"INFO","label":"fastcar-server.sys","message":"start server app is run"}
13
- {"timestamp":"2023-10-11 09:56:00.290","level":"INFO","label":"fastcar-server.sys","message":"version 1.0.0"}
14
- {"timestamp":"2023-10-11 09:56:02.325","level":"INFO","label":"fastcar-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
15
- {"timestamp":"2023-10-11 09:56:02.326","level":"INFO","label":"fastcar-server.sys","message":"Call the method before the application stops"}
1
+ {"timestamp":"2023-12-12 17:19:09.403","level":"INFO","label":"fastcar-server.sys","message":"Start scanning component"}
2
+ {"timestamp":"2023-12-12 17:27:52.139","level":"INFO","label":"fastcar-server.sys","message":"Start scanning component"}
3
+ {"timestamp":"2023-12-12 17:30:11.153","level":"INFO","label":"fastcar-server.sys","message":"Start scanning component"}
@@ -1,25 +0,0 @@
1
- {"timestamp":"2023-10-25 14:35:59.689","level":"INFO","label":"other-server.sys","message":"Start scanning component"}
2
- {"timestamp":"2023-10-25 14:36:26.34","level":"INFO","label":"other-server.sys","message":"Start scanning component"}
3
- {"timestamp":"2023-10-25 14:36:33.799","level":"INFO","label":"other-server.sys","message":"Start scanning component"}
4
- {"timestamp":"2023-10-25 14:36:34.84","level":"INFO","label":"other-server.sys","message":"Complete component scan"}
5
- {"timestamp":"2023-10-25 14:36:34.86","level":"INFO","label":"other-server.sys","message":"Call application initialization method"}
6
- {"timestamp":"2023-10-25 14:36:34.89","level":"INFO","label":"other-server.sys","message":"start server app is run"}
7
- {"timestamp":"2023-10-25 14:36:34.90","level":"INFO","label":"other-server.sys","message":"version 1.0.0"}
8
- {"timestamp":"2023-10-25 14:36:34.105","level":"INFO","label":"other-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
9
- {"timestamp":"2023-10-25 14:36:34.106","level":"INFO","label":"other-server.sys","message":"Call the method before the application stops"}
10
- {"timestamp":"2023-10-25 14:36:39.118","level":"INFO","label":"other-server.sys","message":"application stop"}
11
- {"timestamp":"2023-10-25 14:41:43.901","level":"INFO","label":"other-server.sys","message":"Start scanning component"}
12
- {"timestamp":"2023-10-25 14:41:44.189","level":"INFO","label":"other-server.sys","message":"Complete component scan"}
13
- {"timestamp":"2023-10-25 14:41:44.191","level":"INFO","label":"other-server.sys","message":"Call application initialization method"}
14
- {"timestamp":"2023-10-25 14:41:44.193","level":"INFO","label":"other-server.sys","message":"start server app is run"}
15
- {"timestamp":"2023-10-25 14:41:44.194","level":"INFO","label":"other-server.sys","message":"version 1.0.0"}
16
- {"timestamp":"2023-10-25 14:41:44.199","level":"INFO","label":"other-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
17
- {"timestamp":"2023-10-25 14:41:44.199","level":"INFO","label":"other-server.sys","message":"Call the method before the application stops"}
18
- {"timestamp":"2023-10-25 14:41:49.209","level":"INFO","label":"other-server.sys","message":"application stop"}
19
- {"timestamp":"2023-10-25 14:42:25.346","level":"INFO","label":"other-server.sys","message":"Start scanning component"}
20
- {"timestamp":"2023-10-25 14:42:25.643","level":"INFO","label":"other-server.sys","message":"Complete component scan"}
21
- {"timestamp":"2023-10-25 14:42:25.645","level":"INFO","label":"other-server.sys","message":"Call application initialization method"}
22
- {"timestamp":"2023-10-25 14:42:25.647","level":"INFO","label":"other-server.sys","message":"start server app is run"}
23
- {"timestamp":"2023-10-25 14:42:25.648","level":"INFO","label":"other-server.sys","message":"version 1.0.0"}
24
- {"timestamp":"2023-10-25 14:42:25.684","level":"INFO","label":"other-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
25
- {"timestamp":"2023-10-25 14:42:25.685","level":"INFO","label":"other-server.sys","message":"Call the method before the application stops"}
@@ -1,12 +0,0 @@
1
- {"timestamp":"2023-10-25 14:35:31.960","level":"INFO","label":"other-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
2
- {"timestamp":"2023-10-25 14:35:31.961","level":"INFO","label":"other-server.sys","message":"Call the method before the application stops"}
3
- {"timestamp":"2023-10-25 14:35:31.961","level":"INFO","label":"other-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
4
- {"timestamp":"2023-10-25 14:35:31.962","level":"INFO","label":"other-server.sys","message":"Call the method before the application stops"}
5
- {"timestamp":"2023-10-25 14:41:29.283","level":"INFO","label":"other-server.sys","message":"Start scanning component"}
6
- {"timestamp":"2023-10-25 14:41:29.625","level":"INFO","label":"other-server.sys","message":"Complete component scan"}
7
- {"timestamp":"2023-10-25 14:41:29.626","level":"INFO","label":"other-server.sys","message":"Call application initialization method"}
8
- {"timestamp":"2023-10-25 14:41:29.629","level":"INFO","label":"other-server.sys","message":"start server app is run"}
9
- {"timestamp":"2023-10-25 14:41:29.630","level":"INFO","label":"other-server.sys","message":"version 1.0.0"}
10
- {"timestamp":"2023-10-25 14:41:29.647","level":"INFO","label":"other-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
11
- {"timestamp":"2023-10-25 14:41:29.648","level":"INFO","label":"other-server.sys","message":"Call the method before the application stops"}
12
- {"timestamp":"2023-10-25 14:41:34.666","level":"INFO","label":"other-server.sys","message":"application stop"}
@@ -1,15 +0,0 @@
1
- {"timestamp":"2023-10-25 14:46:34.128","level":"INFO","label":"other-server.sys","message":"Start scanning component"}
2
- {"timestamp":"2023-10-25 14:46:34.462","level":"INFO","label":"other-server.sys","message":"Complete component scan"}
3
- {"timestamp":"2023-10-25 14:46:34.463","level":"INFO","label":"other-server.sys","message":"Call application initialization method"}
4
- {"timestamp":"2023-10-25 14:46:34.466","level":"INFO","label":"other-server.sys","message":"start server app is run"}
5
- {"timestamp":"2023-10-25 14:46:34.467","level":"INFO","label":"other-server.sys","message":"version 1.0.0"}
6
- {"timestamp":"2023-10-25 14:46:34.471","level":"INFO","label":"other-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
7
- {"timestamp":"2023-10-25 14:46:34.472","level":"INFO","label":"other-server.sys","message":"Call the method before the application stops"}
8
- {"timestamp":"2023-10-25 14:46:39.478","level":"INFO","label":"other-server.sys","message":"application stop"}
9
- {"timestamp":"2023-10-25 14:46:55.210","level":"INFO","label":"other-server.sys","message":"Start scanning component"}
10
- {"timestamp":"2023-10-25 14:46:55.494","level":"INFO","label":"other-server.sys","message":"Complete component scan"}
11
- {"timestamp":"2023-10-25 14:46:55.497","level":"INFO","label":"other-server.sys","message":"Call application initialization method"}
12
- {"timestamp":"2023-10-25 14:46:55.500","level":"INFO","label":"other-server.sys","message":"start server app is run"}
13
- {"timestamp":"2023-10-25 14:46:55.501","level":"INFO","label":"other-server.sys","message":"version 1.0.0"}
14
- {"timestamp":"2023-10-25 14:46:55.507","level":"INFO","label":"other-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
15
- {"timestamp":"2023-10-25 14:46:55.508","level":"INFO","label":"other-server.sys","message":"Call the method before the application stops"}
@@ -0,0 +1,6 @@
1
+ {"timestamp":"2023-12-12 17:28:02.565","level":"INFO","label":"other-server.sys","message":"hot update---D:\\code\\fast-car\\fast-car\\fastcar-core\\test\\example\\simple\\config\\HotConfig.ts"}
2
+ {"timestamp":"2023-12-12 17:28:02.568","level":"INFO","label":"other-server.sys","message":"hot update---D:\\code\\fast-car\\fast-car\\fastcar-core\\test\\example\\simple\\config\\HotConfig.ts"}
3
+ {"timestamp":"2023-12-12 17:28:15.591","level":"INFO","label":"other-server.sys","message":"hot update---D:\\code\\fast-car\\fast-car\\fastcar-core\\test\\example\\simple\\config\\HotConfig.ts"}
4
+ {"timestamp":"2023-12-12 17:28:15.595","level":"INFO","label":"other-server.sys","message":"hot update---D:\\code\\fast-car\\fast-car\\fastcar-core\\test\\example\\simple\\config\\HotConfig.ts"}
5
+ {"timestamp":"2023-12-12 17:29:27.969","level":"INFO","label":"other-server.sys","message":"hot update---D:\\code\\fast-car\\fast-car\\fastcar-core\\test\\example\\simple\\config\\HotConfig.ts"}
6
+ {"timestamp":"2023-12-12 17:29:50.728","level":"INFO","label":"other-server.sys","message":"hot update---D:\\code\\fast-car\\fast-car\\fastcar-core\\test\\example\\simple\\config\\HotConfig.ts"}
@@ -0,0 +1,2 @@
1
+ {"timestamp":"2023-12-12 17:30:21.379","level":"INFO","label":"other-server.sys","message":"hot update---D:\\code\\fast-car\\fast-car\\fastcar-core\\test\\example\\simple\\config\\HotConfig.ts"}
2
+ {"timestamp":"2023-12-12 17:30:21.382","level":"INFO","label":"other-server.sys","message":"hot update---D:\\code\\fast-car\\fast-car\\fastcar-core\\test\\example\\simple\\config\\HotConfig.ts"}
@@ -1 +1 @@
1
- hello: "world"
1
+ hello: "worlds"
@@ -50,6 +50,8 @@ let appInsatcne = new APP();
50
50
  import EnvConfig from "./config/EnvConfig";
51
51
  import CallService from "./service/CallService";
52
52
  import NotFoundController from "./controller/NotFoundController";
53
+ import HotConfig from "./config/HotConfig";
54
+ import HelloConfig from "./config/HelloConfig";
53
55
 
54
56
  describe("程序应用测试", () => {
55
57
  it("获取配置", () => {
@@ -99,4 +101,12 @@ describe("程序应用测试", () => {
99
101
  appInsatcne.app.getLogger().error(e);
100
102
  }
101
103
  });
104
+ it("热更新配置解析", () => {
105
+ setInterval(() => {
106
+ let hotConfig: HotConfig = appInsatcne.app.getComponentByTarget(HotConfig);
107
+ let helloConfig: HelloConfig = appInsatcne.app.getComponentByTarget(HelloConfig);
108
+ console.log("热更新配置", hotConfig.hello);
109
+ console.log("不变的配置", helloConfig.hello);
110
+ }, 1000);
111
+ });
102
112
  });
@@ -0,0 +1,10 @@
1
+ import { Hotter } from "../../../../src/annotation";
2
+ import Configure from "../../../../src/annotation/stereotype/Configure";
3
+
4
+ @Hotter
5
+ @Configure("hello.yml")
6
+ class HotConfig {
7
+ hello!: string;
8
+ }
9
+
10
+ export default HotConfig;
@@ -1,9 +0,0 @@
1
- {"timestamp":"2023-07-24 16:49:43.665","level":"INFO","label":"fastcar-server.logger","message":"自定义的日志输出"}
2
- {"timestamp":"2023-07-24 16:49:43.666","level":"WARN","label":"fastcar-server.logger","message":"自定义警告"}
3
- {"timestamp":"2023-07-24 16:49:43.667","level":"ERROR","label":"fastcar-server.logger","message":"自定义报错"}
4
- {"timestamp":"2023-10-11 09:56:00.302","level":"INFO","label":"fastcar-server.logger","message":"自定义的日志输出"}
5
- {"timestamp":"2023-10-11 09:56:00.304","level":"WARN","label":"fastcar-server.logger","message":"自定义警告"}
6
- {"timestamp":"2023-10-11 09:56:00.305","level":"ERROR","label":"fastcar-server.logger","message":"自定义报错"}
7
- {"timestamp":"2023-10-25 14:34:00.264","level":"INFO","label":"fastcar-server.logger","message":"自定义的日志输出"}
8
- {"timestamp":"2023-10-25 14:34:00.265","level":"WARN","label":"fastcar-server.logger","message":"自定义警告"}
9
- {"timestamp":"2023-10-25 14:34:00.267","level":"ERROR","label":"fastcar-server.logger","message":"自定义报错"}
@@ -1,9 +0,0 @@
1
- {"timestamp":"2023-10-25 14:35:19.238","level":"INFO","label":"fastcar-server.logger","message":"自定义的日志输出"}
2
- {"timestamp":"2023-10-25 14:35:19.239","level":"WARN","label":"fastcar-server.logger","message":"自定义警告"}
3
- {"timestamp":"2023-10-25 14:35:19.240","level":"ERROR","label":"fastcar-server.logger","message":"自定义报错"}
4
- {"timestamp":"2023-10-25 14:35:59.908","level":"INFO","label":"fastcar-server.logger","message":"自定义的日志输出"}
5
- {"timestamp":"2023-10-25 14:35:59.909","level":"WARN","label":"fastcar-server.logger","message":"自定义警告"}
6
- {"timestamp":"2023-10-25 14:35:59.910","level":"ERROR","label":"fastcar-server.logger","message":"自定义报错"}
7
- {"timestamp":"2023-10-25 14:36:26.263","level":"INFO","label":"fastcar-server.logger","message":"自定义的日志输出"}
8
- {"timestamp":"2023-10-25 14:36:26.264","level":"WARN","label":"fastcar-server.logger","message":"自定义警告"}
9
- {"timestamp":"2023-10-25 14:36:26.265","level":"ERROR","label":"fastcar-server.logger","message":"自定义报错"}
@@ -1,15 +0,0 @@
1
- {"timestamp":"2023-10-11 09:56:07.330","level":"INFO","label":"fastcar-server.sys","message":"application stop"}
2
- {"timestamp":"2023-10-25 14:34:00.90","level":"INFO","label":"fastcar-server.sys","message":"Start scanning component"}
3
- {"timestamp":"2023-10-25 14:34:00.248","level":"INFO","label":"fastcar-server.sys","message":"Complete component scan"}
4
- {"timestamp":"2023-10-25 14:34:00.250","level":"INFO","label":"fastcar-server.sys","message":"Call application initialization method"}
5
- {"timestamp":"2023-10-25 14:34:00.252","level":"INFO","label":"fastcar-server.sys","message":"start server app is run"}
6
- {"timestamp":"2023-10-25 14:34:00.253","level":"INFO","label":"fastcar-server.sys","message":"version 1.0.0"}
7
- {"timestamp":"2023-10-25 14:34:02.279","level":"INFO","label":"fastcar-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
8
- {"timestamp":"2023-10-25 14:34:02.280","level":"INFO","label":"fastcar-server.sys","message":"Call the method before the application stops"}
9
- {"timestamp":"2023-10-25 14:35:19.73","level":"INFO","label":"fastcar-server.sys","message":"Start scanning component"}
10
- {"timestamp":"2023-10-25 14:35:19.226","level":"INFO","label":"fastcar-server.sys","message":"Complete component scan"}
11
- {"timestamp":"2023-10-25 14:35:19.228","level":"INFO","label":"fastcar-server.sys","message":"Call application initialization method"}
12
- {"timestamp":"2023-10-25 14:35:19.230","level":"INFO","label":"fastcar-server.sys","message":"start server app is run"}
13
- {"timestamp":"2023-10-25 14:35:19.231","level":"INFO","label":"fastcar-server.sys","message":"version 1.0.0"}
14
- {"timestamp":"2023-10-25 14:35:21.260","level":"INFO","label":"fastcar-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
15
- {"timestamp":"2023-10-25 14:35:21.262","level":"INFO","label":"fastcar-server.sys","message":"Call the method before the application stops"}
@@ -1,2 +0,0 @@
1
- {"timestamp":"2023-10-25 14:35:26.267","level":"INFO","label":"fastcar-server.sys","message":"application stop"}
2
- {"timestamp":"2023-10-25 14:35:29.748","level":"INFO","label":"fastcar-server.sys","message":"Start scanning component"}
@@ -1,9 +0,0 @@
1
- {"timestamp":"2023-10-25 14:36:01.919","level":"INFO","label":"fastcar-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
2
- {"timestamp":"2023-10-25 14:36:01.920","level":"INFO","label":"fastcar-server.sys","message":"Call the method before the application stops"}
3
- {"timestamp":"2023-10-25 14:36:01.920","level":"INFO","label":"fastcar-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
4
- {"timestamp":"2023-10-25 14:36:01.921","level":"INFO","label":"fastcar-server.sys","message":"Call the method before the application stops"}
5
- {"timestamp":"2023-10-25 14:36:06.933","level":"INFO","label":"fastcar-server.sys","message":"application stop"}
6
- {"timestamp":"2023-10-25 14:36:28.275","level":"INFO","label":"fastcar-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
7
- {"timestamp":"2023-10-25 14:36:28.275","level":"INFO","label":"fastcar-server.sys","message":"Call the method before the application stops"}
8
- {"timestamp":"2023-10-25 14:36:28.276","level":"INFO","label":"fastcar-server.sys","message":"exit reason","splat":"[\"beforeExit exit\"]"}
9
- {"timestamp":"2023-10-25 14:36:28.277","level":"INFO","label":"fastcar-server.sys","message":"Call the method before the application stops"}
@@ -1 +0,0 @@
1
- {"timestamp":"2023-10-25 14:36:33.280","level":"INFO","label":"fastcar-server.sys","message":"application stop"}
@@ -1,3 +0,0 @@
1
- {"timestamp":"2023-10-25 14:35:29.943","level":"INFO","label":"other-server.logger","message":"自定义的日志输出"}
2
- {"timestamp":"2023-10-25 14:35:29.944","level":"WARN","label":"other-server.logger","message":"自定义警告"}
3
- {"timestamp":"2023-10-25 14:35:29.945","level":"ERROR","label":"other-server.logger","message":"自定义报错"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes