UNPKG

@elsikora/nestjs-crud-automator

Version:

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

16 lines (15 loc) 523 B
import { IApiBaseEntity } from '../../../api-base-entity.interface'; /** * Execution context for error subscriber callbacks. * Contains only entity and input data, without result field. */ export interface IApiSubscriberErrorExecutionContext<E extends IApiBaseEntity, Input = unknown> { /** * An immutable container for metadata (e.g., transaction manager, HTTP headers) */ readonly DATA: Input; /** * The entity instance the operation is being performed on. */ readonly ENTITY: E; }