Initial commit - Event Planner application

This commit is contained in:
mberlin
2026-03-18 14:55:56 -03:00
commit 86d779eb4d
7548 changed files with 1006324 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
import { ExceptionFilter } from './exception-filter.interface';
import { Type } from '../type.interface';
export interface ExceptionFilterMetadata {
func: ExceptionFilter['catch'];
exceptionMetatypes: Type<any>[];
}

View File

@@ -0,0 +1,2 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

View File

@@ -0,0 +1,18 @@
import { ArgumentsHost } from '../features/arguments-host.interface';
/**
* Interface describing implementation of an exception filter.
*
* @see [Exception Filters](https://docs.nestjs.com/exception-filters)
*
* @publicApi
*/
export interface ExceptionFilter<T = any> {
/**
* Method to implement a custom exception filter.
*
* @param exception the class of the exception being handled
* @param host used to access an array of arguments for
* the in-flight request
*/
catch(exception: T, host: ArgumentsHost): any;
}

View File

@@ -0,0 +1,2 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

View File

@@ -0,0 +1,5 @@
export * from './exception-filter-metadata.interface';
export * from './exception-filter.interface';
export * from './rpc-exception-filter-metadata.interface';
export * from './rpc-exception-filter.interface';
export * from './ws-exception-filter.interface';

View File

@@ -0,0 +1,8 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./exception-filter-metadata.interface"), exports);
tslib_1.__exportStar(require("./exception-filter.interface"), exports);
tslib_1.__exportStar(require("./rpc-exception-filter-metadata.interface"), exports);
tslib_1.__exportStar(require("./rpc-exception-filter.interface"), exports);
tslib_1.__exportStar(require("./ws-exception-filter.interface"), exports);

View File

@@ -0,0 +1,6 @@
import { RpcExceptionFilter } from './rpc-exception-filter.interface';
import { Type } from '../type.interface';
export interface RpcExceptionFilterMetadata {
func: RpcExceptionFilter['catch'];
exceptionMetatypes: Type<any>[];
}

View File

@@ -0,0 +1,2 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

View File

@@ -0,0 +1,19 @@
import { Observable } from 'rxjs';
import { ArgumentsHost } from '../features/arguments-host.interface';
/**
* Interface describing implementation of an RPC exception filter.
*
* @see [Exception Filters](https://docs.nestjs.com/microservices/exception-filters)
*
* @publicApi
*/
export interface RpcExceptionFilter<T = any, R = any> {
/**
* Method to implement a custom (microservice) exception filter.
*
* @param exception the type (class) of the exception being handled
* @param host used to access an array of arguments for
* the in-flight message
*/
catch(exception: T, host: ArgumentsHost): Observable<R>;
}

View File

@@ -0,0 +1,2 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

View File

@@ -0,0 +1,18 @@
import { ArgumentsHost } from '../features/arguments-host.interface';
/**
* Interface describing implementation of a Web Sockets exception filter.
*
* @see [Exception Filters](https://docs.nestjs.com/websockets/exception-filters)
*
* @publicApi
*/
export interface WsExceptionFilter<T = any> {
/**
* Method to implement a custom (web sockets) exception filter.
*
* @param exception the type (class) of the exception being handled
* @param host used to access an array of arguments for
* the in-flight message catch(exception: T, host: ArgumentsHost): any;
*/
catch(exception: T, host: ArgumentsHost): any;
}

View File

@@ -0,0 +1,2 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });