mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
22 lines
622 B
TypeScript
22 lines
622 B
TypeScript
import type { EnhancerSubtype } from '@nestjs/common/internal';
|
|
|
|
/**
|
|
* Enhancers attached through APP_PIPE, APP_GUARD, APP_INTERCEPTOR, and APP_FILTER tokens.
|
|
*/
|
|
export interface AttachedEnhancerDefinition {
|
|
nodeId: string;
|
|
}
|
|
|
|
/**
|
|
* Enhancers registered through "app.useGlobalPipes()", "app.useGlobalGuards()", "app.useGlobalInterceptors()", and "app.useGlobalFilters()" methods.
|
|
*/
|
|
export interface OrphanedEnhancerDefinition {
|
|
subtype: EnhancerSubtype;
|
|
ref: unknown;
|
|
}
|
|
|
|
export interface Extras {
|
|
orphanedEnhancers: Array<OrphanedEnhancerDefinition>;
|
|
attachedEnhancers: Array<AttachedEnhancerDefinition>;
|
|
}
|