vona-module-test-vona 5.0.24 → 5.0.25
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/dist/index.js +3 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -315,7 +315,7 @@ let ServiceCaching = (_dec$t = Service(), _dec2$t = BeanInfo({
|
|
|
315
315
|
}), _dec7$e = Reflect.metadata("design:type", Function), _dec8$a = Reflect.metadata("design:paramtypes", [Number]), _dec9$7 = Caching.get({
|
|
316
316
|
cacheName: 'test-vona:test',
|
|
317
317
|
cacheProp: 'test',
|
|
318
|
-
cacheKey: '
|
|
318
|
+
cacheKey: 'cel://get(self,"$beanFullName")+"_"+options.cacheProp+"_"+hashkey(args)'
|
|
319
319
|
}), _dec0$7 = Reflect.metadata("design:type", Function), _dec1$7 = Reflect.metadata("design:paramtypes", [Number]), _dec10$5 = Caching.get({
|
|
320
320
|
cacheName: 'test-vona:test',
|
|
321
321
|
cacheProp: 'test'
|
|
@@ -327,8 +327,8 @@ let ServiceCaching = (_dec$t = Service(), _dec2$t = BeanInfo({
|
|
|
327
327
|
}), _dec14$4 = Reflect.metadata("design:type", Function), _dec15$4 = Reflect.metadata("design:paramtypes", [Number, typeof TSummerCacheTestData === "undefined" ? Object : TSummerCacheTestData]), _dec16$4 = Caching.set({
|
|
328
328
|
cacheName: 'test-vona:test',
|
|
329
329
|
cacheProp: 'test',
|
|
330
|
-
cacheKey: '
|
|
331
|
-
cacheValue: '
|
|
330
|
+
cacheKey: 'cel://get(self,"$beanFullName")+"_"+options.cacheProp+"_"+hashkey([args[0]])',
|
|
331
|
+
cacheValue: 'cel://{"id": args[1].id, "name": args[1].name}'
|
|
332
332
|
}), _dec17$3 = Reflect.metadata("design:type", Function), _dec18$3 = Reflect.metadata("design:paramtypes", [Number, typeof TSummerCacheTestData === "undefined" ? Object : TSummerCacheTestData]), _dec19$3 = Caching.set({
|
|
333
333
|
cacheName: 'test-vona:test',
|
|
334
334
|
cacheProp: 'test',
|
|
@@ -348,8 +348,6 @@ let ServiceCaching = (_dec$t = Service(), _dec2$t = BeanInfo({
|
|
|
348
348
|
cacheValueSet(_value, args, _prop, _options) {
|
|
349
349
|
return args[args.length - 1];
|
|
350
350
|
}
|
|
351
|
-
|
|
352
|
-
// cacheKey: '#!# concat(prop,args[0])'
|
|
353
351
|
async get(id) {
|
|
354
352
|
return {
|
|
355
353
|
id,
|