@tsed/platform-cache 6.114.6 → 6.114.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.
|
@@ -1,11 +1,10 @@
|
|
|
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");
|
|
5
4
|
const di_1 = require("@tsed/di");
|
|
6
5
|
const PlatformCacheInterceptor_1 = require("../interceptors/PlatformCacheInterceptor");
|
|
7
6
|
function UseCache(options = {}) {
|
|
8
|
-
return (0,
|
|
7
|
+
return (0, di_1.Intercept)(PlatformCacheInterceptor_1.PlatformCacheInterceptor, options);
|
|
9
8
|
}
|
|
10
9
|
exports.UseCache = UseCache;
|
|
11
10
|
//# sourceMappingURL=useCache.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCache.js","sourceRoot":"","sources":["../../../src/decorators/useCache.ts"],"names":[],"mappings":";;;AAAA,
|
|
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,7 +1,6 @@
|
|
|
1
|
-
import { useDecorators } from "@tsed/core";
|
|
2
1
|
import { Intercept } from "@tsed/di";
|
|
3
2
|
import { PlatformCacheInterceptor } from "../interceptors/PlatformCacheInterceptor.js";
|
|
4
3
|
export function UseCache(options = {}) {
|
|
5
|
-
return
|
|
4
|
+
return Intercept(PlatformCacheInterceptor, options);
|
|
6
5
|
}
|
|
7
6
|
//# sourceMappingURL=useCache.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCache.js","sourceRoot":"","sources":["../../../src/decorators/useCache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
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"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/platform-cache",
|
|
3
|
-
"version": "6.114.
|
|
3
|
+
"version": "6.114.7",
|
|
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.
|
|
31
|
-
"@tsed/di": "6.114.
|
|
32
|
-
"@tsed/json-mapper": "6.114.
|
|
33
|
-
"@tsed/schema": "6.114.
|
|
30
|
+
"@tsed/core": "6.114.7",
|
|
31
|
+
"@tsed/di": "6.114.7",
|
|
32
|
+
"@tsed/json-mapper": "6.114.7",
|
|
33
|
+
"@tsed/schema": "6.114.7",
|
|
34
34
|
"@types/micromatch": "^4.0.1"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@tsed/core": "^6.114.
|
|
38
|
-
"@tsed/di": "^6.114.
|
|
39
|
-
"@tsed/json-mapper": "^6.114.
|
|
40
|
-
"@tsed/schema": "^6.114.
|
|
37
|
+
"@tsed/core": "^6.114.7",
|
|
38
|
+
"@tsed/di": "^6.114.7",
|
|
39
|
+
"@tsed/json-mapper": "^6.114.7",
|
|
40
|
+
"@tsed/schema": "^6.114.7"
|
|
41
41
|
},
|
|
42
42
|
"peerDependenciesMeta": {
|
|
43
43
|
"@tsed/core": {
|