Skip to content

API Reference

Complete reference for the nestelia package and all its subpath modules.

Core

PageDescription
Controllers@Controller, @Get, @Post, @Put, @Patch, @Delete, @All, @Head, @Options
Modules@Module, @Global — encapsulate controllers, providers, and imports
Dependency Injection@Injectable, @Inject, @Optional — constructor-based DI with multiple scopes
Parameter Decorators@Body, @Param, @Query, @Headers, @Req, @Res, @Ip, @HostParam
HTTP Decorators@HttpCode, @Header, @Redirect, @Schema
Guards@UseGuards, CanActivate
Interceptors@UseInterceptors, ElysiaInterceptor
Pipes@UsePipes, PipeTransform
Middleware@Middleware, ElysiaNestMiddleware
Exception Handling@Catch, ExceptionFilter, HttpException
Lifecycle HooksOnModuleInit, OnApplicationBootstrap, OnModuleDestroy, BeforeApplicationShutdown

Packages

PackageDescription
nestelia/scheduler@Cron, @Interval, @Timeout, ScheduleModule
nestelia/microservices@MessagePattern, @EventPattern, @Client, ClientProxy
nestelia/apollo@Resolver, @Query, @Mutation, @Subscription, @ObjectType, @Field
nestelia/passportAuthGuard, PassportStrategy
nestelia/cacheCacheModule, @CacheKey, @CacheTTL, CacheInterceptor
nestelia/rabbitmq@RabbitSubscribe, @RabbitRPC, @RabbitRetry, @RabbitDLQ
nestelia/graphql-pubsubRedisPubSub, GraphQLPubSubModule, @InjectPubSub
nestelia/testingTest, TestingModule, TestingModuleBuilder

Released under the MIT License.