@elsikora/nestjs-crud-automator
Version:
A library for automating the creation of CRUD operations in NestJS.
8 lines (7 loc) • 483 B
TypeScript
import { IDtoGenerateCacheKey } from '../../../interface/utility';
/**
* Generates a unique cache key for DTO instances based on controller, entity, route, DTO type, guard, config, and normalized query plan.
* @param {IDtoGenerateCacheKey} key - The key object containing entity name, method, DTO type, guard name, and DTO config
* @returns {string} A unique string key for caching DTO instances
*/
export declare function DtoGenerateCacheKey(key: IDtoGenerateCacheKey): string;