@tsed/platform-cache 6.114.5-rc.1 → 6.114.5

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.
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UseCache = void 0;
4
+ const core_1 = require("@tsed/core");
4
5
  const di_1 = require("@tsed/di");
5
6
  const PlatformCacheInterceptor_1 = require("../interceptors/PlatformCacheInterceptor");
6
7
  function UseCache(options = {}) {
7
- return (0, di_1.Intercept)(PlatformCacheInterceptor_1.PlatformCacheInterceptor, options);
8
+ return (0, core_1.useDecorators)((0, di_1.Intercept)(PlatformCacheInterceptor_1.PlatformCacheInterceptor, options));
8
9
  }
9
10
  exports.UseCache = UseCache;
10
11
  //# sourceMappingURL=useCache.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCache.js","sourceRoot":"","sources":["../../../src/decorators/useCache.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,uFAAkF;AAGlF,SAAgB,QAAQ,CAAC,UAAgC,EAAE;IACzD,OAAO,IAAA,cAAS,EAAC,mDAAwB,EAAE,OAAO,CAAC,CAAC;AACtD,CAAC;AAFD,4BAEC","sourcesContent":["import {Intercept} from \"@tsed/di\";\nimport {PlatformCacheInterceptor} from \"../interceptors/PlatformCacheInterceptor\";\nimport {PlatformCacheOptions} from \"../interfaces/PlatformCacheOptions\";\n\nexport function UseCache(options: PlatformCacheOptions = {}) {\n return Intercept(PlatformCacheInterceptor, options);\n}\n"]}
1
+ {"version":3,"file":"useCache.js","sourceRoot":"","sources":["../../../src/decorators/useCache.ts"],"names":[],"mappings":";;;AAAA,qCAAyC;AACzC,iCAAmC;AACnC,uFAAkF;AAGlF,SAAgB,QAAQ,CAAC,UAAgC,EAAE;IACzD,OAAO,IAAA,oBAAa,EAAC,IAAA,cAAS,EAAC,mDAAwB,EAAE,OAAO,CAAC,CAAC,CAAC;AACrE,CAAC;AAFD,4BAEC","sourcesContent":["import {useDecorators} from \"@tsed/core\";\nimport {Intercept} from \"@tsed/di\";\nimport {PlatformCacheInterceptor} from \"../interceptors/PlatformCacheInterceptor\";\nimport {PlatformCacheOptions} from \"../interfaces/PlatformCacheOptions\";\n\nexport function UseCache(options: PlatformCacheOptions = {}) {\n return useDecorators(Intercept(PlatformCacheInterceptor, options));\n}\n"]}
@@ -1,6 +1,7 @@
1
+ import { useDecorators } from "@tsed/core";
1
2
  import { Intercept } from "@tsed/di";
2
3
  import { PlatformCacheInterceptor } from "../interceptors/PlatformCacheInterceptor.js";
3
4
  export function UseCache(options = {}) {
4
- return Intercept(PlatformCacheInterceptor, options);
5
+ return useDecorators(Intercept(PlatformCacheInterceptor, options));
5
6
  }
6
7
  //# sourceMappingURL=useCache.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCache.js","sourceRoot":"","sources":["../../../src/decorators/useCache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,UAAU,CAAC;AACnC,OAAO,EAAC,wBAAwB,EAAC,MAAM,0CAA0C,CAAC;AAGlF,MAAM,UAAU,QAAQ,CAAC,UAAgC,EAAE;IACzD,OAAO,SAAS,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;AACtD,CAAC","sourcesContent":["import {Intercept} from \"@tsed/di\";\nimport {PlatformCacheInterceptor} from \"../interceptors/PlatformCacheInterceptor\";\nimport {PlatformCacheOptions} from \"../interfaces/PlatformCacheOptions\";\n\nexport function UseCache(options: PlatformCacheOptions = {}) {\n return Intercept(PlatformCacheInterceptor, options);\n}\n"]}
1
+ {"version":3,"file":"useCache.js","sourceRoot":"","sources":["../../../src/decorators/useCache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AACzC,OAAO,EAAC,SAAS,EAAC,MAAM,UAAU,CAAC;AACnC,OAAO,EAAC,wBAAwB,EAAC,MAAM,0CAA0C,CAAC;AAGlF,MAAM,UAAU,QAAQ,CAAC,UAAgC,EAAE;IACzD,OAAO,aAAa,CAAC,SAAS,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC;AACrE,CAAC","sourcesContent":["import {useDecorators} from \"@tsed/core\";\nimport {Intercept} from \"@tsed/di\";\nimport {PlatformCacheInterceptor} from \"../interceptors/PlatformCacheInterceptor\";\nimport {PlatformCacheOptions} from \"../interfaces/PlatformCacheOptions\";\n\nexport function UseCache(options: PlatformCacheOptions = {}) {\n return useDecorators(Intercept(PlatformCacheInterceptor, options));\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/platform-cache",
3
- "version": "6.114.5-rc.1",
3
+ "version": "6.114.5",
4
4
  "description": "Platform cache module for Ts.ED Framework",
5
5
  "private": false,
6
6
  "source": "./src/index.ts",
@@ -27,17 +27,17 @@
27
27
  "tslib": "2.3.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@tsed/core": "6.114.5-rc.1",
31
- "@tsed/di": "6.114.5-rc.1",
32
- "@tsed/json-mapper": "6.114.5-rc.1",
33
- "@tsed/schema": "6.114.5-rc.1",
30
+ "@tsed/core": "6.114.5",
31
+ "@tsed/di": "6.114.5",
32
+ "@tsed/json-mapper": "6.114.5",
33
+ "@tsed/schema": "6.114.5",
34
34
  "@types/micromatch": "^4.0.1"
35
35
  },
36
36
  "peerDependencies": {
37
- "@tsed/core": "^6.114.5-rc.1",
38
- "@tsed/di": "^6.114.5-rc.1",
39
- "@tsed/json-mapper": "^6.114.5-rc.1",
40
- "@tsed/schema": "^6.114.5-rc.1"
37
+ "@tsed/core": "^6.114.5",
38
+ "@tsed/di": "^6.114.5",
39
+ "@tsed/json-mapper": "^6.114.5",
40
+ "@tsed/schema": "^6.114.5"
41
41
  },
42
42
  "peerDependenciesMeta": {
43
43
  "@tsed/core": {
@@ -59,8 +59,5 @@
59
59
  },
60
60
  "homepage": "https://github.com/tsedio/tsed/tree/production/packages/platform/platform-cache",
61
61
  "author": "Romain Lenzotti",
62
- "license": "MIT",
63
- "publishConfig": {
64
- "tag": "rc"
65
- }
62
+ "license": "MIT"
66
63
  }