@fastcar/core 0.2.64 → 0.3.0
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/README.md +5 -2
- package/annotation.d.ts +3 -0
- package/index.d.ts +57 -50
- package/package.json +4 -4
- package/src/FastCarApplication.ts +184 -123
- package/src/annotation/Application.ts +3 -1
- package/src/annotation/bind/AddInjectionService.ts +17 -0
- package/src/annotation/bind/AddRequireModule.ts +1 -1
- package/src/annotation/bind/AliasInjection.ts +8 -15
- package/src/annotation/bind/Autowired.ts +1 -1
- package/src/annotation/bind/CallDependency.ts +7 -17
- package/src/annotation/bind/DemandInjection.ts +16 -0
- package/src/annotation/stereotype/Log.ts +13 -9
- package/src/annotation/stereotype/Value.ts +5 -0
- package/src/annotation.ts +2 -0
- package/src/constant/FastCarMetaData.ts +2 -0
- package/src/model/WinstonLogger.ts +1 -1
- package/src/type/ClassConstructor.ts +5 -0
- package/src/type/ComponentDesc.ts +13 -0
- package/src/type/FileHotterDesc.ts +6 -0
- package/src/utils/ClassLoader.ts +2 -1
- package/target/FastCarApplication.js +764 -708
- package/target/annotation/Application.js +46 -45
- package/target/annotation/ExceptionMonitor.js +16 -16
- package/target/annotation/bind/AddInjectionService.js +16 -0
- package/target/annotation/bind/AddRequireModule.js +21 -21
- package/target/annotation/bind/AliasInjection.js +19 -23
- package/target/annotation/bind/Autowired.js +13 -13
- package/target/annotation/bind/CallDependency.js +16 -23
- package/target/annotation/bind/DemandInjection.js +15 -0
- package/target/annotation/data/DBType.js +11 -11
- package/target/annotation/data/DS.js +54 -54
- package/target/annotation/data/DSIndex.js +9 -9
- package/target/annotation/data/Entity.js +10 -10
- package/target/annotation/data/Field.js +18 -18
- package/target/annotation/data/PrimaryKey.js +9 -9
- package/target/annotation/data/SqlSession.js +9 -9
- package/target/annotation/data/Table.js +35 -35
- package/target/annotation/data/Transactional.js +52 -52
- package/target/annotation/env/ApplicationSetting.js +25 -25
- package/target/annotation/env/BaseFilePath.js +14 -14
- package/target/annotation/env/BaseName.js +9 -9
- package/target/annotation/env/BasePath.js +14 -14
- package/target/annotation/env/ENV.js +10 -10
- package/target/annotation/env/ResourcePath.js +9 -9
- package/target/annotation/lifeCycle/AddLifeCycleItem.js +17 -18
- package/target/annotation/lifeCycle/ApplicationDestory.js +15 -15
- package/target/annotation/lifeCycle/ApplicationInit.js +15 -15
- package/target/annotation/lifeCycle/ApplicationRunner.js +7 -7
- package/target/annotation/lifeCycle/ApplicationStart.js +24 -24
- package/target/annotation/lifeCycle/ApplicationStop.js +20 -20
- package/target/annotation/property/Deprecate.js +19 -19
- package/target/annotation/property/NotImplemented.js +8 -8
- package/target/annotation/property/Override.js +7 -7
- package/target/annotation/property/Readonly.js +16 -16
- package/target/annotation/scan/ComponentInjection.js +21 -21
- package/target/annotation/scan/ComponentScan.js +9 -9
- package/target/annotation/scan/ComponentScanExclusion.js +25 -25
- package/target/annotation/scan/ComponentScanMust.js +25 -25
- package/target/annotation/scan/Hotter.js +8 -8
- package/target/annotation/stereotype/BeanName.js +11 -11
- package/target/annotation/stereotype/Component.js +8 -8
- package/target/annotation/stereotype/Configure.js +14 -14
- package/target/annotation/stereotype/Controller.js +9 -9
- package/target/annotation/stereotype/Injection.js +12 -12
- package/target/annotation/stereotype/Log.js +19 -17
- package/target/annotation/stereotype/Repository.js +9 -9
- package/target/annotation/stereotype/Service.js +9 -9
- package/target/annotation/stereotype/Value.js +5 -0
- package/target/annotation/valid/AddChildValid.js +56 -56
- package/target/annotation/valid/CustomType.js +11 -11
- package/target/annotation/valid/DefaultVal.js +10 -10
- package/target/annotation/valid/NotNull.js +8 -8
- package/target/annotation/valid/Rule.js +99 -100
- package/target/annotation/valid/Size.js +10 -10
- package/target/annotation/valid/Type.js +10 -10
- package/target/annotation/valid/ValidCustom.js +17 -17
- package/target/annotation/valid/ValidForm.js +133 -133
- package/target/annotation.js +110 -108
- package/target/config/ApplicationConfig.js +2 -2
- package/target/config/SysConfig.js +19 -19
- package/target/constant/AppStatusEnum.js +9 -9
- package/target/constant/BootPriority.js +11 -11
- package/target/constant/CommonConstant.js +18 -18
- package/target/constant/ComponentKind.js +11 -11
- package/target/constant/DataTypes.js +19 -19
- package/target/constant/FastCarMetaData.js +33 -31
- package/target/constant/LifeCycleModule.js +9 -9
- package/target/db.js +49 -49
- package/target/index.js +21 -21
- package/target/interface/ApplicationHook.js +2 -2
- package/target/interface/ApplicationInterface.js +2 -2
- package/target/interface/ApplicationRunnerService.js +2 -2
- package/target/interface/DataSourceManager.js +2 -2
- package/target/interface/Logger.js +5 -5
- package/target/model/BaseMapper.js +103 -98
- package/target/model/DataMap.js +87 -87
- package/target/model/FormRuleModel.js +2 -2
- package/target/model/ValidError.js +5 -5
- package/target/model/WinstonLogger.js +98 -96
- package/target/type/ClassConstructor.js +2 -0
- package/target/type/ComponentDesc.js +9 -2
- package/target/type/DesignMeta.js +15 -15
- package/target/type/FileHotterDesc.js +9 -2
- package/target/type/MapperType.js +2 -2
- package/target/type/ProcessType.js +2 -2
- package/target/type/SqlError.js +5 -5
- package/target/type/WinstonLoggerType.js +9 -9
- package/target/utils/ClassLoader.js +66 -65
- package/target/utils/ClassUtils.js +35 -35
- package/target/utils/CryptoUtil.js +86 -86
- package/target/utils/DataFormat.js +88 -88
- package/target/utils/DateUtil.js +71 -71
- package/target/utils/FileUtil.js +153 -153
- package/target/utils/FormatStr.js +14 -14
- package/target/utils/IPUtils.js +34 -34
- package/target/utils/Id.js +8 -9
- package/target/utils/Mix.js +62 -62
- package/target/utils/ReflectUtil.js +22 -22
- package/target/utils/TypeUtil.js +53 -53
- package/target/utils/ValidationUtil.js +123 -123
- package/target/utils.js +25 -25
- package/test/example/logs/fastcar-server.app.log +0 -0
- package/test/example/logs/fastcar-server.sys.log +10 -0
- package/test/example/logs/fastcar-server.sys1.log +8 -0
- package/test/example/logs/fastcar-server.sys2.log +11 -0
- package/test/example/logs/fastcar-server.sys3.log +0 -0
- package/test/example/logs/other-server.app.log +0 -0
- package/test/example/logs/other-server.sys.log +5 -0
- package/test/example/logs/sys.log +0 -0
- package/test/example/logs/sys1.log +0 -0
- package/test/example/resource/application.yml +2 -0
- package/test/example/resource/hello.yml +1 -1
- package/test/example/simple/app-test.ts +2 -1
- package/test/example/simple/app.ts +16 -16
- package/test/example/simple/service/CallService.ts +2 -0
- package/test/example/simple/service/HelloService.ts +2 -0
- package/test/unit/sys2.log +6 -0
- package/test/unit/sys3.log +6 -0
- package/test/unit/sys4.log +6 -0
- package/test/unit/sys5.log +6 -0
- package/test/unit/sys6.log +6 -0
package/target/annotation.js
CHANGED
|
@@ -1,108 +1,110 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.ApplicationSetting = exports.BaseName = void 0;
|
|
5
|
-
const Application_1 = require("./annotation/Application");
|
|
6
|
-
exports.Application = Application_1.default;
|
|
7
|
-
const Autowired_1 = require("./annotation/bind/Autowired");
|
|
8
|
-
exports.Autowired = Autowired_1.default;
|
|
9
|
-
const ENV_1 = require("./annotation/env/ENV");
|
|
10
|
-
exports.ENV = ENV_1.default;
|
|
11
|
-
const ExceptionMonitor_1 = require("./annotation/ExceptionMonitor");
|
|
12
|
-
exports.ExceptionMonitor = ExceptionMonitor_1.default;
|
|
13
|
-
const ApplicationStart_1 = require("./annotation/lifeCycle/ApplicationStart");
|
|
14
|
-
exports.ApplicationStart = ApplicationStart_1.default;
|
|
15
|
-
const ApplicationStop_1 = require("./annotation/lifeCycle/ApplicationStop");
|
|
16
|
-
exports.ApplicationStop = ApplicationStop_1.default;
|
|
17
|
-
const Deprecate_1 = require("./annotation/property/Deprecate");
|
|
18
|
-
exports.Deprecate = Deprecate_1.default;
|
|
19
|
-
const NotImplemented_1 = require("./annotation/property/NotImplemented");
|
|
20
|
-
exports.NotImplemented = NotImplemented_1.default;
|
|
21
|
-
const Override_1 = require("./annotation/property/Override");
|
|
22
|
-
exports.Override = Override_1.default;
|
|
23
|
-
const Readonly_1 = require("./annotation/property/Readonly");
|
|
24
|
-
exports.Readonly = Readonly_1.default;
|
|
25
|
-
const ComponentScan_1 = require("./annotation/scan/ComponentScan");
|
|
26
|
-
exports.ComponentScan = ComponentScan_1.default;
|
|
27
|
-
const ComponentScanExclusion_1 = require("./annotation/scan/ComponentScanExclusion");
|
|
28
|
-
exports.ComponentScanExclusion = ComponentScanExclusion_1.default;
|
|
29
|
-
const Component_1 = require("./annotation/stereotype/Component");
|
|
30
|
-
exports.Component = Component_1.default;
|
|
31
|
-
const Configure_1 = require("./annotation/stereotype/Configure");
|
|
32
|
-
exports.Configure = Configure_1.default;
|
|
33
|
-
const Controller_1 = require("./annotation/stereotype/Controller");
|
|
34
|
-
exports.Controller = Controller_1.default;
|
|
35
|
-
const Injection_1 = require("./annotation/stereotype/Injection");
|
|
36
|
-
exports.Injection = Injection_1.default;
|
|
37
|
-
const Service_1 = require("./annotation/stereotype/Service");
|
|
38
|
-
exports.Service = Service_1.default;
|
|
39
|
-
const Repository_1 = require("./annotation/stereotype/Repository");
|
|
40
|
-
exports.Repository = Repository_1.default;
|
|
41
|
-
const AddRequireModule_1 = require("./annotation/bind/AddRequireModule");
|
|
42
|
-
exports.AddRequireModule = AddRequireModule_1.default;
|
|
43
|
-
const DS_1 = require("./annotation/data/DS");
|
|
44
|
-
exports.DS = DS_1.default;
|
|
45
|
-
const DSIndex_1 = require("./annotation/data/DSIndex");
|
|
46
|
-
exports.DSIndex = DSIndex_1.default;
|
|
47
|
-
const AddChildValid_1 = require("./annotation/valid/AddChildValid");
|
|
48
|
-
exports.AddChildValid = AddChildValid_1.default;
|
|
49
|
-
const DefaultVal_1 = require("./annotation/valid/DefaultVal");
|
|
50
|
-
exports.DefaultVal = DefaultVal_1.default;
|
|
51
|
-
const NotNull_1 = require("./annotation/valid/NotNull");
|
|
52
|
-
exports.NotNull = NotNull_1.default;
|
|
53
|
-
const Size_1 = require("./annotation/valid/Size");
|
|
54
|
-
exports.Size = Size_1.default;
|
|
55
|
-
const Type_1 = require("./annotation/valid/Type");
|
|
56
|
-
exports.Type = Type_1.default;
|
|
57
|
-
const ValidCustom_1 = require("./annotation/valid/ValidCustom");
|
|
58
|
-
exports.ValidCustom = ValidCustom_1.default;
|
|
59
|
-
const ValidForm_1 = require("./annotation/valid/ValidForm");
|
|
60
|
-
exports.ValidForm = ValidForm_1.default;
|
|
61
|
-
const Rule_1 = require("./annotation/valid/Rule");
|
|
62
|
-
Object.defineProperty(exports, "Rule", { enumerable: true, get: function () { return Rule_1.Rule; } });
|
|
63
|
-
const BeanName_1 = require("./annotation/stereotype/BeanName");
|
|
64
|
-
exports.BeanName = BeanName_1.default;
|
|
65
|
-
const ComponentInjection_1 = require("./annotation/scan/ComponentInjection");
|
|
66
|
-
exports.ComponentInjection = ComponentInjection_1.default;
|
|
67
|
-
const DBType_1 = require("./annotation/data/DBType");
|
|
68
|
-
exports.DBType = DBType_1.default;
|
|
69
|
-
const Field_1 = require("./annotation/data/Field");
|
|
70
|
-
exports.Field = Field_1.default;
|
|
71
|
-
const PrimaryKey_1 = require("./annotation/data/PrimaryKey");
|
|
72
|
-
exports.PrimaryKey = PrimaryKey_1.default;
|
|
73
|
-
const Table_1 = require("./annotation/data/Table");
|
|
74
|
-
exports.Table = Table_1.default;
|
|
75
|
-
const Entity_1 = require("./annotation/data/Entity");
|
|
76
|
-
exports.Entity = Entity_1.default;
|
|
77
|
-
const SqlSession_1 = require("./annotation/data/SqlSession");
|
|
78
|
-
exports.SqlSession = SqlSession_1.default;
|
|
79
|
-
const Transactional_1 = require("./annotation/data/Transactional");
|
|
80
|
-
exports.Transactional = Transactional_1.default;
|
|
81
|
-
const Log_1 = require("./annotation/stereotype/Log");
|
|
82
|
-
exports.Log = Log_1.default;
|
|
83
|
-
const BaseFilePath_1 = require("./annotation/env/BaseFilePath");
|
|
84
|
-
exports.BaseFilePath = BaseFilePath_1.default;
|
|
85
|
-
const BasePath_1 = require("./annotation/env/BasePath");
|
|
86
|
-
exports.BasePath = BasePath_1.default;
|
|
87
|
-
const CallDependency_1 = require("./annotation/bind/CallDependency");
|
|
88
|
-
exports.CallDependency = CallDependency_1.default;
|
|
89
|
-
const Hotter_1 = require("./annotation/scan/Hotter");
|
|
90
|
-
exports.Hotter = Hotter_1.default;
|
|
91
|
-
const ApplicationRunner_1 = require("./annotation/lifeCycle/ApplicationRunner");
|
|
92
|
-
exports.ApplicationRunner = ApplicationRunner_1.default;
|
|
93
|
-
const ApplicationInit_1 = require("./annotation/lifeCycle/ApplicationInit");
|
|
94
|
-
exports.ApplicationInit = ApplicationInit_1.default;
|
|
95
|
-
const ApplicationDestory_1 = require("./annotation/lifeCycle/ApplicationDestory");
|
|
96
|
-
exports.ApplicationDestory = ApplicationDestory_1.default;
|
|
97
|
-
const ApplicationSetting_1 = require("./annotation/env/ApplicationSetting");
|
|
98
|
-
exports.ApplicationSetting = ApplicationSetting_1.default;
|
|
99
|
-
const AliasInjection_1 = require("./annotation/bind/AliasInjection");
|
|
100
|
-
exports.AliasInjection = AliasInjection_1.default;
|
|
101
|
-
const ResourcePath_1 = require("./annotation/env/ResourcePath");
|
|
102
|
-
exports.ResourcePath = ResourcePath_1.default;
|
|
103
|
-
const BaseName_1 = require("./annotation/env/BaseName");
|
|
104
|
-
exports.BaseName = BaseName_1.default;
|
|
105
|
-
const CustomType_1 = require("./annotation/valid/CustomType");
|
|
106
|
-
exports.CustomType = CustomType_1.default;
|
|
107
|
-
const ComponentScanMust_1 = require("./annotation/scan/ComponentScanMust");
|
|
108
|
-
exports.ComponentScanMust = ComponentScanMust_1.default;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BaseFilePath = exports.ENV = exports.Transactional = exports.SqlSession = exports.Entity = exports.Table = exports.PrimaryKey = exports.Field = exports.DBType = exports.DSIndex = exports.DS = exports.CustomType = exports.ResourcePath = exports.Rule = exports.ValidForm = exports.ValidCustom = exports.Type = exports.Size = exports.NotNull = exports.DefaultVal = exports.AddChildValid = exports.AddRequireModule = exports.Log = exports.Readonly = exports.Override = exports.NotImplemented = exports.Deprecate = exports.ExceptionMonitor = exports.AliasInjection = exports.DemandInjection = exports.CallDependency = exports.Autowired = exports.Application = exports.Injection = exports.Repository = exports.Service = exports.Controller = exports.Configure = exports.BeanName = exports.Hotter = exports.ComponentScanMust = exports.ComponentInjection = exports.Component = exports.ComponentScanExclusion = exports.ComponentScan = exports.ApplicationDestory = exports.ApplicationInit = exports.ApplicationRunner = exports.ApplicationStop = exports.ApplicationStart = void 0;
|
|
4
|
+
exports.ApplicationSetting = exports.BaseName = exports.BasePath = void 0;
|
|
5
|
+
const Application_1 = require("./annotation/Application");
|
|
6
|
+
exports.Application = Application_1.default;
|
|
7
|
+
const Autowired_1 = require("./annotation/bind/Autowired");
|
|
8
|
+
exports.Autowired = Autowired_1.default;
|
|
9
|
+
const ENV_1 = require("./annotation/env/ENV");
|
|
10
|
+
exports.ENV = ENV_1.default;
|
|
11
|
+
const ExceptionMonitor_1 = require("./annotation/ExceptionMonitor");
|
|
12
|
+
exports.ExceptionMonitor = ExceptionMonitor_1.default;
|
|
13
|
+
const ApplicationStart_1 = require("./annotation/lifeCycle/ApplicationStart");
|
|
14
|
+
exports.ApplicationStart = ApplicationStart_1.default;
|
|
15
|
+
const ApplicationStop_1 = require("./annotation/lifeCycle/ApplicationStop");
|
|
16
|
+
exports.ApplicationStop = ApplicationStop_1.default;
|
|
17
|
+
const Deprecate_1 = require("./annotation/property/Deprecate");
|
|
18
|
+
exports.Deprecate = Deprecate_1.default;
|
|
19
|
+
const NotImplemented_1 = require("./annotation/property/NotImplemented");
|
|
20
|
+
exports.NotImplemented = NotImplemented_1.default;
|
|
21
|
+
const Override_1 = require("./annotation/property/Override");
|
|
22
|
+
exports.Override = Override_1.default;
|
|
23
|
+
const Readonly_1 = require("./annotation/property/Readonly");
|
|
24
|
+
exports.Readonly = Readonly_1.default;
|
|
25
|
+
const ComponentScan_1 = require("./annotation/scan/ComponentScan");
|
|
26
|
+
exports.ComponentScan = ComponentScan_1.default;
|
|
27
|
+
const ComponentScanExclusion_1 = require("./annotation/scan/ComponentScanExclusion");
|
|
28
|
+
exports.ComponentScanExclusion = ComponentScanExclusion_1.default;
|
|
29
|
+
const Component_1 = require("./annotation/stereotype/Component");
|
|
30
|
+
exports.Component = Component_1.default;
|
|
31
|
+
const Configure_1 = require("./annotation/stereotype/Configure");
|
|
32
|
+
exports.Configure = Configure_1.default;
|
|
33
|
+
const Controller_1 = require("./annotation/stereotype/Controller");
|
|
34
|
+
exports.Controller = Controller_1.default;
|
|
35
|
+
const Injection_1 = require("./annotation/stereotype/Injection");
|
|
36
|
+
exports.Injection = Injection_1.default;
|
|
37
|
+
const Service_1 = require("./annotation/stereotype/Service");
|
|
38
|
+
exports.Service = Service_1.default;
|
|
39
|
+
const Repository_1 = require("./annotation/stereotype/Repository");
|
|
40
|
+
exports.Repository = Repository_1.default;
|
|
41
|
+
const AddRequireModule_1 = require("./annotation/bind/AddRequireModule");
|
|
42
|
+
exports.AddRequireModule = AddRequireModule_1.default;
|
|
43
|
+
const DS_1 = require("./annotation/data/DS");
|
|
44
|
+
exports.DS = DS_1.default;
|
|
45
|
+
const DSIndex_1 = require("./annotation/data/DSIndex");
|
|
46
|
+
exports.DSIndex = DSIndex_1.default;
|
|
47
|
+
const AddChildValid_1 = require("./annotation/valid/AddChildValid");
|
|
48
|
+
exports.AddChildValid = AddChildValid_1.default;
|
|
49
|
+
const DefaultVal_1 = require("./annotation/valid/DefaultVal");
|
|
50
|
+
exports.DefaultVal = DefaultVal_1.default;
|
|
51
|
+
const NotNull_1 = require("./annotation/valid/NotNull");
|
|
52
|
+
exports.NotNull = NotNull_1.default;
|
|
53
|
+
const Size_1 = require("./annotation/valid/Size");
|
|
54
|
+
exports.Size = Size_1.default;
|
|
55
|
+
const Type_1 = require("./annotation/valid/Type");
|
|
56
|
+
exports.Type = Type_1.default;
|
|
57
|
+
const ValidCustom_1 = require("./annotation/valid/ValidCustom");
|
|
58
|
+
exports.ValidCustom = ValidCustom_1.default;
|
|
59
|
+
const ValidForm_1 = require("./annotation/valid/ValidForm");
|
|
60
|
+
exports.ValidForm = ValidForm_1.default;
|
|
61
|
+
const Rule_1 = require("./annotation/valid/Rule");
|
|
62
|
+
Object.defineProperty(exports, "Rule", { enumerable: true, get: function () { return Rule_1.Rule; } });
|
|
63
|
+
const BeanName_1 = require("./annotation/stereotype/BeanName");
|
|
64
|
+
exports.BeanName = BeanName_1.default;
|
|
65
|
+
const ComponentInjection_1 = require("./annotation/scan/ComponentInjection");
|
|
66
|
+
exports.ComponentInjection = ComponentInjection_1.default;
|
|
67
|
+
const DBType_1 = require("./annotation/data/DBType");
|
|
68
|
+
exports.DBType = DBType_1.default;
|
|
69
|
+
const Field_1 = require("./annotation/data/Field");
|
|
70
|
+
exports.Field = Field_1.default;
|
|
71
|
+
const PrimaryKey_1 = require("./annotation/data/PrimaryKey");
|
|
72
|
+
exports.PrimaryKey = PrimaryKey_1.default;
|
|
73
|
+
const Table_1 = require("./annotation/data/Table");
|
|
74
|
+
exports.Table = Table_1.default;
|
|
75
|
+
const Entity_1 = require("./annotation/data/Entity");
|
|
76
|
+
exports.Entity = Entity_1.default;
|
|
77
|
+
const SqlSession_1 = require("./annotation/data/SqlSession");
|
|
78
|
+
exports.SqlSession = SqlSession_1.default;
|
|
79
|
+
const Transactional_1 = require("./annotation/data/Transactional");
|
|
80
|
+
exports.Transactional = Transactional_1.default;
|
|
81
|
+
const Log_1 = require("./annotation/stereotype/Log");
|
|
82
|
+
exports.Log = Log_1.default;
|
|
83
|
+
const BaseFilePath_1 = require("./annotation/env/BaseFilePath");
|
|
84
|
+
exports.BaseFilePath = BaseFilePath_1.default;
|
|
85
|
+
const BasePath_1 = require("./annotation/env/BasePath");
|
|
86
|
+
exports.BasePath = BasePath_1.default;
|
|
87
|
+
const CallDependency_1 = require("./annotation/bind/CallDependency");
|
|
88
|
+
exports.CallDependency = CallDependency_1.default;
|
|
89
|
+
const Hotter_1 = require("./annotation/scan/Hotter");
|
|
90
|
+
exports.Hotter = Hotter_1.default;
|
|
91
|
+
const ApplicationRunner_1 = require("./annotation/lifeCycle/ApplicationRunner");
|
|
92
|
+
exports.ApplicationRunner = ApplicationRunner_1.default;
|
|
93
|
+
const ApplicationInit_1 = require("./annotation/lifeCycle/ApplicationInit");
|
|
94
|
+
exports.ApplicationInit = ApplicationInit_1.default;
|
|
95
|
+
const ApplicationDestory_1 = require("./annotation/lifeCycle/ApplicationDestory");
|
|
96
|
+
exports.ApplicationDestory = ApplicationDestory_1.default;
|
|
97
|
+
const ApplicationSetting_1 = require("./annotation/env/ApplicationSetting");
|
|
98
|
+
exports.ApplicationSetting = ApplicationSetting_1.default;
|
|
99
|
+
const AliasInjection_1 = require("./annotation/bind/AliasInjection");
|
|
100
|
+
exports.AliasInjection = AliasInjection_1.default;
|
|
101
|
+
const ResourcePath_1 = require("./annotation/env/ResourcePath");
|
|
102
|
+
exports.ResourcePath = ResourcePath_1.default;
|
|
103
|
+
const BaseName_1 = require("./annotation/env/BaseName");
|
|
104
|
+
exports.BaseName = BaseName_1.default;
|
|
105
|
+
const CustomType_1 = require("./annotation/valid/CustomType");
|
|
106
|
+
exports.CustomType = CustomType_1.default;
|
|
107
|
+
const ComponentScanMust_1 = require("./annotation/scan/ComponentScanMust");
|
|
108
|
+
exports.ComponentScanMust = ComponentScanMust_1.default;
|
|
109
|
+
const DemandInjection_1 = require("./annotation/bind/DemandInjection");
|
|
110
|
+
exports.DemandInjection = DemandInjection_1.default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LogDefaultConfig = exports.SYSDefaultConfig = void 0;
|
|
4
|
-
exports.SYSDefaultConfig = {
|
|
5
|
-
application: {
|
|
6
|
-
name: "app",
|
|
7
|
-
env: "development",
|
|
8
|
-
version: "1.0.0",
|
|
9
|
-
},
|
|
10
|
-
settings: new Map(), //自定义配置
|
|
11
|
-
};
|
|
12
|
-
exports.LogDefaultConfig = {
|
|
13
|
-
consoleLevel: "info",
|
|
14
|
-
fileLevel: "info",
|
|
15
|
-
rootPath: __dirname,
|
|
16
|
-
maxsize: 1024 * 1024 * 10,
|
|
17
|
-
maxFiles: 30,
|
|
18
|
-
printConsole: true,
|
|
19
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LogDefaultConfig = exports.SYSDefaultConfig = void 0;
|
|
4
|
+
exports.SYSDefaultConfig = {
|
|
5
|
+
application: {
|
|
6
|
+
name: "app",
|
|
7
|
+
env: "development",
|
|
8
|
+
version: "1.0.0",
|
|
9
|
+
},
|
|
10
|
+
settings: new Map(), //自定义配置
|
|
11
|
+
};
|
|
12
|
+
exports.LogDefaultConfig = {
|
|
13
|
+
consoleLevel: "info",
|
|
14
|
+
fileLevel: "info",
|
|
15
|
+
rootPath: __dirname, //日志路径
|
|
16
|
+
maxsize: 1024 * 1024 * 10, //默认10M
|
|
17
|
+
maxFiles: 30,
|
|
18
|
+
printConsole: true,
|
|
19
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppStatusEnum = void 0;
|
|
4
|
-
var AppStatusEnum;
|
|
5
|
-
(function (AppStatusEnum) {
|
|
6
|
-
AppStatusEnum["READY"] = "ready";
|
|
7
|
-
AppStatusEnum["RUN"] = "run";
|
|
8
|
-
AppStatusEnum["STOP"] = "stop";
|
|
9
|
-
})(AppStatusEnum
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppStatusEnum = void 0;
|
|
4
|
+
var AppStatusEnum;
|
|
5
|
+
(function (AppStatusEnum) {
|
|
6
|
+
AppStatusEnum["READY"] = "ready";
|
|
7
|
+
AppStatusEnum["RUN"] = "run";
|
|
8
|
+
AppStatusEnum["STOP"] = "stop";
|
|
9
|
+
})(AppStatusEnum || (exports.AppStatusEnum = AppStatusEnum = {}));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BootPriority = void 0;
|
|
4
|
-
var BootPriority;
|
|
5
|
-
(function (BootPriority) {
|
|
6
|
-
BootPriority[BootPriority["Base"] = 0] = "Base";
|
|
7
|
-
BootPriority[BootPriority["Sys"] = 1] = "Sys";
|
|
8
|
-
BootPriority[BootPriority["Common"] = 2] = "Common";
|
|
9
|
-
BootPriority[BootPriority["Other"] = 3] = "Other";
|
|
10
|
-
BootPriority[BootPriority["Lowest"] = 10000] = "Lowest";
|
|
11
|
-
})(BootPriority
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BootPriority = void 0;
|
|
4
|
+
var BootPriority;
|
|
5
|
+
(function (BootPriority) {
|
|
6
|
+
BootPriority[BootPriority["Base"] = 0] = "Base";
|
|
7
|
+
BootPriority[BootPriority["Sys"] = 1] = "Sys";
|
|
8
|
+
BootPriority[BootPriority["Common"] = 2] = "Common";
|
|
9
|
+
BootPriority[BootPriority["Other"] = 3] = "Other";
|
|
10
|
+
BootPriority[BootPriority["Lowest"] = 10000] = "Lowest";
|
|
11
|
+
})(BootPriority || (exports.BootPriority = BootPriority = {}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FileResSuffix = exports.CommonConstant = void 0;
|
|
4
|
-
exports.CommonConstant = {
|
|
5
|
-
Application: "application",
|
|
6
|
-
Settings: "settings",
|
|
7
|
-
Resource: "resource",
|
|
8
|
-
ENV: Symbol("env"),
|
|
9
|
-
BasePath: Symbol("basePath"),
|
|
10
|
-
BaseFileName: Symbol("baseFileName"),
|
|
11
|
-
SYSLOGGER: "sys",
|
|
12
|
-
FastcarApp: Symbol("FastcarApp"),
|
|
13
|
-
FastcarSetting: Symbol("FastcarSetting"),
|
|
14
|
-
ResourcePath: "resourcePath",
|
|
15
|
-
APPId: "appid",
|
|
16
|
-
BaseName: "basename", //设置基础的文件名称
|
|
17
|
-
};
|
|
18
|
-
exports.FileResSuffix = ["json", "yml", "js"];
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FileResSuffix = exports.CommonConstant = void 0;
|
|
4
|
+
exports.CommonConstant = {
|
|
5
|
+
Application: "application",
|
|
6
|
+
Settings: "settings",
|
|
7
|
+
Resource: "resource",
|
|
8
|
+
ENV: Symbol("env"),
|
|
9
|
+
BasePath: Symbol("basePath"),
|
|
10
|
+
BaseFileName: Symbol("baseFileName"),
|
|
11
|
+
SYSLOGGER: "sys",
|
|
12
|
+
FastcarApp: Symbol("FastcarApp"), //应用app
|
|
13
|
+
FastcarSetting: Symbol("FastcarSetting"),
|
|
14
|
+
ResourcePath: "resourcePath",
|
|
15
|
+
APPId: "appid",
|
|
16
|
+
BaseName: "basename", //设置基础的文件名称
|
|
17
|
+
};
|
|
18
|
+
exports.FileResSuffix = ["json", "yml", "js"];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ComponentKind = void 0;
|
|
4
|
-
//实例类型
|
|
5
|
-
var ComponentKind;
|
|
6
|
-
(function (ComponentKind) {
|
|
7
|
-
ComponentKind["Controller"] = "Controller";
|
|
8
|
-
ComponentKind["Service"] = "Service";
|
|
9
|
-
ComponentKind["Component"] = "Component";
|
|
10
|
-
ComponentKind["Repository"] = "Repository";
|
|
11
|
-
})(ComponentKind
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ComponentKind = void 0;
|
|
4
|
+
//实例类型
|
|
5
|
+
var ComponentKind;
|
|
6
|
+
(function (ComponentKind) {
|
|
7
|
+
ComponentKind["Controller"] = "Controller";
|
|
8
|
+
ComponentKind["Service"] = "Service";
|
|
9
|
+
ComponentKind["Component"] = "Component";
|
|
10
|
+
ComponentKind["Repository"] = "Repository";
|
|
11
|
+
})(ComponentKind || (exports.ComponentKind = ComponentKind = {}));
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DataTypes = void 0;
|
|
4
|
-
//数据类型枚举
|
|
5
|
-
var DataTypes;
|
|
6
|
-
(function (DataTypes) {
|
|
7
|
-
DataTypes["BOOLEAN"] = "boolean";
|
|
8
|
-
DataTypes["NUMBER"] = "number";
|
|
9
|
-
DataTypes["STRING"] = "string";
|
|
10
|
-
DataTypes["INT"] = "int";
|
|
11
|
-
DataTypes["FLOAT"] = "float";
|
|
12
|
-
DataTypes["DATE"] = "date";
|
|
13
|
-
DataTypes["Object"] = "object";
|
|
14
|
-
DataTypes["ARRAYNUMBER"] = "arraynumber";
|
|
15
|
-
DataTypes["ARRAYINT"] = "arrayint";
|
|
16
|
-
DataTypes["ARRAYFLOAT"] = "arrayfloat";
|
|
17
|
-
DataTypes["ARRAYSTRING"] = "arraystring";
|
|
18
|
-
DataTypes["ARRAYOBJECT"] = "arrayobject";
|
|
19
|
-
})(DataTypes
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DataTypes = void 0;
|
|
4
|
+
//数据类型枚举
|
|
5
|
+
var DataTypes;
|
|
6
|
+
(function (DataTypes) {
|
|
7
|
+
DataTypes["BOOLEAN"] = "boolean";
|
|
8
|
+
DataTypes["NUMBER"] = "number";
|
|
9
|
+
DataTypes["STRING"] = "string";
|
|
10
|
+
DataTypes["INT"] = "int";
|
|
11
|
+
DataTypes["FLOAT"] = "float";
|
|
12
|
+
DataTypes["DATE"] = "date";
|
|
13
|
+
DataTypes["Object"] = "object";
|
|
14
|
+
DataTypes["ARRAYNUMBER"] = "arraynumber";
|
|
15
|
+
DataTypes["ARRAYINT"] = "arrayint";
|
|
16
|
+
DataTypes["ARRAYFLOAT"] = "arrayfloat";
|
|
17
|
+
DataTypes["ARRAYSTRING"] = "arraystring";
|
|
18
|
+
DataTypes["ARRAYOBJECT"] = "arrayobject";
|
|
19
|
+
})(DataTypes || (exports.DataTypes = DataTypes = {}));
|
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FastCarMetaData = void 0;
|
|
4
|
-
//元数据加载模块
|
|
5
|
-
var FastCarMetaData;
|
|
6
|
-
(function (FastCarMetaData) {
|
|
7
|
-
FastCarMetaData["paramTypes"] = "design:paramtypes";
|
|
8
|
-
FastCarMetaData["returnType"] = "design:returntype";
|
|
9
|
-
FastCarMetaData["designType"] = "design:type";
|
|
10
|
-
FastCarMetaData["InjectionMap"] = "InjectionMap";
|
|
11
|
-
FastCarMetaData["IocModule"] = "IocModule";
|
|
12
|
-
FastCarMetaData["ComponentScan"] = "ComponentScan";
|
|
13
|
-
FastCarMetaData["ComponentScanExclusion"] = "ComponentScanExclusion";
|
|
14
|
-
FastCarMetaData["RouterMap"] = "RouterMap";
|
|
15
|
-
FastCarMetaData["SpecifyMap"] = "SpecifyMap";
|
|
16
|
-
FastCarMetaData["APP"] = "APP";
|
|
17
|
-
FastCarMetaData["DS"] = "dynamicDataSource";
|
|
18
|
-
FastCarMetaData["DSIndex"] = "dynamicDataSourceIndex";
|
|
19
|
-
FastCarMetaData["ValidFormRules"] = "validFormRules";
|
|
20
|
-
FastCarMetaData["ValidChildFormRules"] = "validChildFormRules";
|
|
21
|
-
FastCarMetaData["ValidSize"] = "valid:size";
|
|
22
|
-
FastCarMetaData["NotNull"] = "valid:notNull";
|
|
23
|
-
FastCarMetaData["ValidCustom"] = "valid:custom";
|
|
24
|
-
FastCarMetaData["Hotter"] = "hotter";
|
|
25
|
-
FastCarMetaData["InjectionUniqueKey"] = "injection_uniqueKey";
|
|
26
|
-
FastCarMetaData["Alias"] = "alias";
|
|
27
|
-
FastCarMetaData["LoggerModule"] = "LoggerModule";
|
|
28
|
-
FastCarMetaData["HotterSysConfig"] = "hotterSysConfig";
|
|
29
|
-
FastCarMetaData["CustomType"] = "custom:type";
|
|
30
|
-
FastCarMetaData["ComponentScanMust"] = "ComponentScanMust";
|
|
31
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FastCarMetaData = void 0;
|
|
4
|
+
//元数据加载模块
|
|
5
|
+
var FastCarMetaData;
|
|
6
|
+
(function (FastCarMetaData) {
|
|
7
|
+
FastCarMetaData["paramTypes"] = "design:paramtypes";
|
|
8
|
+
FastCarMetaData["returnType"] = "design:returntype";
|
|
9
|
+
FastCarMetaData["designType"] = "design:type";
|
|
10
|
+
FastCarMetaData["InjectionMap"] = "InjectionMap";
|
|
11
|
+
FastCarMetaData["IocModule"] = "IocModule";
|
|
12
|
+
FastCarMetaData["ComponentScan"] = "ComponentScan";
|
|
13
|
+
FastCarMetaData["ComponentScanExclusion"] = "ComponentScanExclusion";
|
|
14
|
+
FastCarMetaData["RouterMap"] = "RouterMap";
|
|
15
|
+
FastCarMetaData["SpecifyMap"] = "SpecifyMap";
|
|
16
|
+
FastCarMetaData["APP"] = "APP";
|
|
17
|
+
FastCarMetaData["DS"] = "dynamicDataSource";
|
|
18
|
+
FastCarMetaData["DSIndex"] = "dynamicDataSourceIndex";
|
|
19
|
+
FastCarMetaData["ValidFormRules"] = "validFormRules";
|
|
20
|
+
FastCarMetaData["ValidChildFormRules"] = "validChildFormRules";
|
|
21
|
+
FastCarMetaData["ValidSize"] = "valid:size";
|
|
22
|
+
FastCarMetaData["NotNull"] = "valid:notNull";
|
|
23
|
+
FastCarMetaData["ValidCustom"] = "valid:custom";
|
|
24
|
+
FastCarMetaData["Hotter"] = "hotter";
|
|
25
|
+
FastCarMetaData["InjectionUniqueKey"] = "injection_uniqueKey";
|
|
26
|
+
FastCarMetaData["Alias"] = "alias";
|
|
27
|
+
FastCarMetaData["LoggerModule"] = "LoggerModule";
|
|
28
|
+
FastCarMetaData["HotterSysConfig"] = "hotterSysConfig";
|
|
29
|
+
FastCarMetaData["CustomType"] = "custom:type";
|
|
30
|
+
FastCarMetaData["ComponentScanMust"] = "ComponentScanMust";
|
|
31
|
+
FastCarMetaData["InjectionSingleInstance"] = "InjectionSingleInstance";
|
|
32
|
+
FastCarMetaData["InjectionLog"] = "InjectionLog";
|
|
33
|
+
})(FastCarMetaData || (exports.FastCarMetaData = FastCarMetaData = {}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LifeCycleModule = void 0;
|
|
4
|
-
var LifeCycleModule;
|
|
5
|
-
(function (LifeCycleModule) {
|
|
6
|
-
LifeCycleModule["ApplicationStart"] = "applicationStart";
|
|
7
|
-
LifeCycleModule["ApplicationStop"] = "applicationStop";
|
|
8
|
-
LifeCycleModule["LoadConfigure"] = "loadConfigure";
|
|
9
|
-
})(LifeCycleModule
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LifeCycleModule = void 0;
|
|
4
|
+
var LifeCycleModule;
|
|
5
|
+
(function (LifeCycleModule) {
|
|
6
|
+
LifeCycleModule["ApplicationStart"] = "applicationStart";
|
|
7
|
+
LifeCycleModule["ApplicationStop"] = "applicationStop";
|
|
8
|
+
LifeCycleModule["LoadConfigure"] = "loadConfigure";
|
|
9
|
+
})(LifeCycleModule || (exports.LifeCycleModule = LifeCycleModule = {}));
|
package/target/db.js
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DesignMeta = exports.SqlError = exports.BaseMapper = exports.OrderEnum = exports.JoinEnum = exports.OperatorEnum = void 0;
|
|
4
|
-
const BaseMapper_1 = require("./model/BaseMapper");
|
|
5
|
-
exports.BaseMapper = BaseMapper_1.default;
|
|
6
|
-
const SqlError_1 = require("./type/SqlError");
|
|
7
|
-
exports.SqlError = SqlError_1.default;
|
|
8
|
-
var OperatorEnum;
|
|
9
|
-
(function (OperatorEnum) {
|
|
10
|
-
OperatorEnum["eq"] = "=";
|
|
11
|
-
OperatorEnum["neq"] = "!=";
|
|
12
|
-
OperatorEnum["gt"] = ">";
|
|
13
|
-
OperatorEnum["gte"] = ">=";
|
|
14
|
-
OperatorEnum["lt"] = "<";
|
|
15
|
-
OperatorEnum["lte"] = "<=";
|
|
16
|
-
OperatorEnum["like"] = "LIKE";
|
|
17
|
-
OperatorEnum["in"] = "IN";
|
|
18
|
-
OperatorEnum["isNUll"] = "ISNULL";
|
|
19
|
-
OperatorEnum["isNotNull"] = "IS NOT NULL";
|
|
20
|
-
OperatorEnum["inc"] = "+";
|
|
21
|
-
OperatorEnum["dec"] = "-";
|
|
22
|
-
OperatorEnum["multiply"] = "*";
|
|
23
|
-
OperatorEnum["division"] = "/";
|
|
24
|
-
OperatorEnum["notin"] = "NOT IN";
|
|
25
|
-
OperatorEnum["custom"] = "CUSTOM";
|
|
26
|
-
})(OperatorEnum
|
|
27
|
-
var JoinEnum;
|
|
28
|
-
(function (JoinEnum) {
|
|
29
|
-
JoinEnum["and"] = "AND";
|
|
30
|
-
JoinEnum["or"] = "OR";
|
|
31
|
-
JoinEnum["not"] = "NOT";
|
|
32
|
-
})(JoinEnum
|
|
33
|
-
var OrderEnum;
|
|
34
|
-
(function (OrderEnum) {
|
|
35
|
-
OrderEnum["asc"] = "ASC";
|
|
36
|
-
OrderEnum["desc"] = "DESC";
|
|
37
|
-
})(OrderEnum
|
|
38
|
-
var DesignMeta;
|
|
39
|
-
(function (DesignMeta) {
|
|
40
|
-
DesignMeta["table"] = "db:table";
|
|
41
|
-
DesignMeta["field"] = "db:field";
|
|
42
|
-
DesignMeta["fieldMap"] = "db:fieldMap";
|
|
43
|
-
DesignMeta["dbType"] = "db:dbType";
|
|
44
|
-
DesignMeta["primaryKey"] = "db:primaryKey";
|
|
45
|
-
DesignMeta["entity"] = "db:entity";
|
|
46
|
-
DesignMeta["mapping"] = "db:mapping";
|
|
47
|
-
DesignMeta["dbFields"] = "db:fields";
|
|
48
|
-
DesignMeta["sqlSession"] = "SqlSession";
|
|
49
|
-
})(DesignMeta
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DesignMeta = exports.SqlError = exports.BaseMapper = exports.OrderEnum = exports.JoinEnum = exports.OperatorEnum = void 0;
|
|
4
|
+
const BaseMapper_1 = require("./model/BaseMapper");
|
|
5
|
+
exports.BaseMapper = BaseMapper_1.default;
|
|
6
|
+
const SqlError_1 = require("./type/SqlError");
|
|
7
|
+
exports.SqlError = SqlError_1.default;
|
|
8
|
+
var OperatorEnum;
|
|
9
|
+
(function (OperatorEnum) {
|
|
10
|
+
OperatorEnum["eq"] = "=";
|
|
11
|
+
OperatorEnum["neq"] = "!=";
|
|
12
|
+
OperatorEnum["gt"] = ">";
|
|
13
|
+
OperatorEnum["gte"] = ">=";
|
|
14
|
+
OperatorEnum["lt"] = "<";
|
|
15
|
+
OperatorEnum["lte"] = "<=";
|
|
16
|
+
OperatorEnum["like"] = "LIKE";
|
|
17
|
+
OperatorEnum["in"] = "IN";
|
|
18
|
+
OperatorEnum["isNUll"] = "ISNULL";
|
|
19
|
+
OperatorEnum["isNotNull"] = "IS NOT NULL";
|
|
20
|
+
OperatorEnum["inc"] = "+";
|
|
21
|
+
OperatorEnum["dec"] = "-";
|
|
22
|
+
OperatorEnum["multiply"] = "*";
|
|
23
|
+
OperatorEnum["division"] = "/";
|
|
24
|
+
OperatorEnum["notin"] = "NOT IN";
|
|
25
|
+
OperatorEnum["custom"] = "CUSTOM";
|
|
26
|
+
})(OperatorEnum || (exports.OperatorEnum = OperatorEnum = {}));
|
|
27
|
+
var JoinEnum;
|
|
28
|
+
(function (JoinEnum) {
|
|
29
|
+
JoinEnum["and"] = "AND";
|
|
30
|
+
JoinEnum["or"] = "OR";
|
|
31
|
+
JoinEnum["not"] = "NOT";
|
|
32
|
+
})(JoinEnum || (exports.JoinEnum = JoinEnum = {}));
|
|
33
|
+
var OrderEnum;
|
|
34
|
+
(function (OrderEnum) {
|
|
35
|
+
OrderEnum["asc"] = "ASC";
|
|
36
|
+
OrderEnum["desc"] = "DESC";
|
|
37
|
+
})(OrderEnum || (exports.OrderEnum = OrderEnum = {}));
|
|
38
|
+
var DesignMeta;
|
|
39
|
+
(function (DesignMeta) {
|
|
40
|
+
DesignMeta["table"] = "db:table";
|
|
41
|
+
DesignMeta["field"] = "db:field";
|
|
42
|
+
DesignMeta["fieldMap"] = "db:fieldMap";
|
|
43
|
+
DesignMeta["dbType"] = "db:dbType";
|
|
44
|
+
DesignMeta["primaryKey"] = "db:primaryKey";
|
|
45
|
+
DesignMeta["entity"] = "db:entity";
|
|
46
|
+
DesignMeta["mapping"] = "db:mapping";
|
|
47
|
+
DesignMeta["dbFields"] = "db:fields";
|
|
48
|
+
DesignMeta["sqlSession"] = "SqlSession";
|
|
49
|
+
})(DesignMeta || (exports.DesignMeta = DesignMeta = {}));
|