mongodb-dynamic-api
Version:
Auto generated CRUD API for MongoDB using NestJS
10 lines (9 loc) • 349 B
TypeScript
import { CacheStore, CacheStoreFactory } from '@nestjs/cache-manager/dist/interfaces/cache-manager.interface';
interface DynamicApiCacheOptions {
max?: number;
ttl?: number;
store?: string | CacheStoreFactory | CacheStore;
isCacheableValue?: (value: any) => boolean;
excludePaths?: string[];
}
export { DynamicApiCacheOptions };