@fastcar/core 0.2.54 → 0.2.55

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/annotation.d.ts CHANGED
@@ -158,3 +158,6 @@ export function AliasInjection(alias: string): PMRet;
158
158
 
159
159
  //自定义资源路径
160
160
  export function ResourcePath(name: string): Ret;
161
+
162
+ //自定义类型
163
+ export function CustomType(name: string): PMRet;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastcar/core",
3
- "version": "0.2.54",
3
+ "version": "0.2.55",
4
4
  "homepage": "https://github.com/williamDazhangyu/fast-car",
5
5
  "main": "target/index.js",
6
6
  "author": "william_zhong",
package/src/annotation.ts CHANGED
@@ -48,6 +48,7 @@ import ApplicationSetting from "./annotation/env/ApplicationSetting";
48
48
  import AliasInjection from "./annotation/bind/AliasInjection";
49
49
  import ResourcePath from "./annotation/env/ResourcePath";
50
50
  import BaseName from "./annotation/env/BaseName";
51
+ import CustomType from "./annotation/valid/CustomType";
51
52
 
52
53
  //注解暴露出去
53
54
  export {
@@ -87,6 +88,7 @@ export {
87
88
  ValidForm,
88
89
  Rule,
89
90
  ResourcePath,
91
+ CustomType,
90
92
  };
91
93
 
92
94
  export {
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ApplicationSetting = exports.BaseName = exports.BasePath = exports.BaseFilePath = exports.ENV = exports.Transactional = exports.SqlSession = exports.Entity = exports.Table = exports.PrimaryKey = exports.Field = exports.DBType = exports.DSIndex = exports.DS = 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.CallDependency = exports.Autowired = exports.Application = exports.Injection = exports.Repository = exports.Service = exports.Controller = exports.Configure = exports.BeanName = exports.Hotter = exports.ComponentInjection = exports.Component = exports.ComponentScanExclusion = exports.ComponentScan = exports.ApplicationDestory = exports.ApplicationInit = exports.ApplicationRunner = exports.ApplicationStop = exports.ApplicationStart = void 0;
3
+ exports.BaseName = exports.BasePath = 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.CallDependency = exports.Autowired = exports.Application = exports.Injection = exports.Repository = exports.Service = exports.Controller = exports.Configure = exports.BeanName = exports.Hotter = exports.ComponentInjection = exports.Component = exports.ComponentScanExclusion = exports.ComponentScan = exports.ApplicationDestory = exports.ApplicationInit = exports.ApplicationRunner = exports.ApplicationStop = exports.ApplicationStart = void 0;
4
+ exports.ApplicationSetting = void 0;
4
5
  const Application_1 = require("./annotation/Application");
5
6
  exports.Application = Application_1.default;
6
7
  const Autowired_1 = require("./annotation/bind/Autowired");
@@ -101,3 +102,5 @@ const ResourcePath_1 = require("./annotation/env/ResourcePath");
101
102
  exports.ResourcePath = ResourcePath_1.default;
102
103
  const BaseName_1 = require("./annotation/env/BaseName");
103
104
  exports.BaseName = BaseName_1.default;
105
+ const CustomType_1 = require("./annotation/valid/CustomType");
106
+ exports.CustomType = CustomType_1.default;