vona-module-test-vona 5.0.37 → 5.0.39
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/.metadata/index.d.ts +10 -0
- package/dist/bean/cacheRedis.post.d.ts +7 -0
- package/dist/index.js +382 -258
- package/dist/service/post.d.ts +23 -1
- package/package.json +1 -1
|
@@ -887,14 +887,22 @@ export interface IModuleCacheMem {
|
|
|
887
887
|
}
|
|
888
888
|
/** cacheMem: end */
|
|
889
889
|
/** cacheRedis: begin */
|
|
890
|
+
export * from '../bean/cacheRedis.post.ts';
|
|
890
891
|
export * from '../bean/cacheRedis.test.ts';
|
|
891
892
|
import { type IDecoratorCacheRedisOptions } from 'vona-module-a-cache';
|
|
892
893
|
declare module 'vona-module-a-cache' {
|
|
893
894
|
interface ICacheRedisRecord {
|
|
895
|
+
'test-vona:post': IDecoratorCacheRedisOptions;
|
|
894
896
|
'test-vona:test': IDecoratorCacheRedisOptions;
|
|
895
897
|
}
|
|
896
898
|
}
|
|
897
899
|
declare module 'vona-module-test-vona' {
|
|
900
|
+
interface CacheRedisPost {
|
|
901
|
+
}
|
|
902
|
+
interface CacheRedisPost {
|
|
903
|
+
get $beanFullName(): 'test-vona.cacheRedis.post';
|
|
904
|
+
get $onionName(): 'test-vona:post';
|
|
905
|
+
}
|
|
898
906
|
interface CacheRedisTest {
|
|
899
907
|
}
|
|
900
908
|
interface CacheRedisTest {
|
|
@@ -904,8 +912,10 @@ declare module 'vona-module-test-vona' {
|
|
|
904
912
|
}
|
|
905
913
|
/** cacheRedis: end */
|
|
906
914
|
/** cacheRedis: begin */
|
|
915
|
+
import type { CacheRedisPost } from '../bean/cacheRedis.post.ts';
|
|
907
916
|
import type { CacheRedisTest } from '../bean/cacheRedis.test.ts';
|
|
908
917
|
export interface IModuleCacheRedis {
|
|
918
|
+
'post': CacheRedisPost;
|
|
909
919
|
'test': CacheRedisTest;
|
|
910
920
|
}
|
|
911
921
|
/** cacheRedis: end */
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TableIdentity } from 'table-identity';
|
|
2
|
+
import type { EntityPost } from '../entity/post.ts';
|
|
3
|
+
import { BeanCacheRedisBase } from 'vona-module-a-cache';
|
|
4
|
+
export type TCacheRedisPostKey = TableIdentity;
|
|
5
|
+
export type TCacheRedisPostData = Partial<EntityPost>;
|
|
6
|
+
export declare class CacheRedisPost extends BeanCacheRedisBase<TCacheRedisPostKey, TCacheRedisPostData> {
|
|
7
|
+
}
|