@fastcar/core 0.3.6 → 0.3.7

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/db.d.ts CHANGED
@@ -245,6 +245,7 @@ export type MapperType = {
245
245
  dbType: string; //数据类型
246
246
  primaryKey?: boolean; //是否为主键 默认为false
247
247
  serialize?: Function; //序列化对象方法
248
+ isSerial?: boolean; //是否递增
248
249
  };
249
250
 
250
251
  export enum DesignMeta {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastcar/core",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "homepage": "https://github.com/williamDazhangyu/fast-car",
5
5
  "main": "target/index.js",
6
6
  "author": "william_zhong",
package/src/db.ts CHANGED
@@ -173,7 +173,7 @@ export enum DesignMeta {
173
173
  mapping = "db:mapping", //映射描述
174
174
  dbFields = "db:fields", //数据库名-ts名
175
175
  sqlSession = "SqlSession",
176
- isSerial = "isSerial", //sql会话
176
+ isSerial = "db:isSerial", //sql会话
177
177
  }
178
178
 
179
179
  export interface DataSourceManager {
package/target/db.js CHANGED
@@ -46,5 +46,5 @@ var DesignMeta;
46
46
  DesignMeta["mapping"] = "db:mapping";
47
47
  DesignMeta["dbFields"] = "db:fields";
48
48
  DesignMeta["sqlSession"] = "SqlSession";
49
- DesignMeta["isSerial"] = "isSerial";
49
+ DesignMeta["isSerial"] = "db:isSerial";
50
50
  })(DesignMeta || (exports.DesignMeta = DesignMeta = {}));