UNPKG

@elsikora/nestjs-crud-automator

Version:

A library for automating the creation of CRUD operations in NestJS.

8 lines (7 loc) 468 B
import type { IDtoGenerateCacheKey } from '../../interface/utility/index'; /** * Generates a unique cache key for DTO instances based on entity name, route method, DTO type, guard, and config. * @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;