mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
15 lines
417 B
TypeScript
15 lines
417 B
TypeScript
import { Global, Module } from '@nestjs/common';
|
|
|
|
import { Cache, SessionCache } from './instances';
|
|
import { CacheInterceptor } from './interceptor';
|
|
|
|
@Global()
|
|
@Module({
|
|
providers: [Cache, SessionCache, CacheInterceptor],
|
|
exports: [Cache, SessionCache, CacheInterceptor],
|
|
})
|
|
export class CacheModule {}
|
|
export { Cache, SessionCache };
|
|
|
|
export { CacheInterceptor, MakeCache, PreventCache } from './interceptor';
|