UNPKG

bb-inspired

Version:

Core library for BB-inspired NestJS backend

20 lines (19 loc) 441 B
import { DynamicModule } from '@nestjs/common'; export interface CacheOptions { provider: 'redis' | 'memory'; redis?: { host: string; port: number; password?: string; db?: number; keyPrefix?: string; ttl?: number; }; memory?: { ttl?: number; max?: number; }; } export declare class CacheModule { static register(options: CacheOptions): DynamicModule; }