@domain.js/main 0.3.12 → 0.3.13

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.
@@ -83,5 +83,7 @@ export declare class ModelBase<Attrs extends {} = any, Attrs4Create extends {} =
83
83
  };
84
84
  /** 联合唯一列名称集合,用来自动恢复软删除的资源 */
85
85
  static unique?: string[];
86
+ /** cache 是否开启 */
87
+ static cache: boolean;
86
88
  }
87
89
  export {};
@@ -61,3 +61,5 @@ ModelBase.sort = {
61
61
  defaultDirection: "DESC",
62
62
  allow: ["id"],
63
63
  };
64
+ /** cache 是否开启 */
65
+ ModelBase.cache = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domain.js/main",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "description": "DDD framework",
5
5
  "main": "dist/index.js",
6
6
  "bin": {