UNPKG

@elsikora/nestjs-crud-automator

Version:

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

13 lines (12 loc) 786 B
import type { EApiFunctionType } from '../../../../enum/decorator/api/function/index'; import type { IApiBaseEntity } from '../../../api-base-entity.interface'; import type { IApiSubscriberErrorExecutionContext } from './error-execution-context.interface'; /** * Error execution context for function subscriber callbacks. * Contains function type information but no result field. * @template E - Entity type extending IApiBaseEntity * @template Input - Type of the DATA field (immutable context data). Use IApiSubscriberFunctionExecutionContextData<E> for typed access. */ export interface IApiSubscriberFunctionErrorExecutionContext<E extends IApiBaseEntity, Input = unknown> extends IApiSubscriberErrorExecutionContext<E, Input> { readonly FUNCTION_TYPE: EApiFunctionType; }