Initial commit - Event Planner application
This commit is contained in:
80
node_modules/@nestjs/core/adapters/http-adapter.d.ts
generated
vendored
Normal file
80
node_modules/@nestjs/core/adapters/http-adapter.d.ts
generated
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
import { HttpServer, RequestMethod, VersioningOptions } from '@nestjs/common';
|
||||
import { RequestHandler, VersionValue } from '@nestjs/common/interfaces';
|
||||
import { NestApplicationOptions } from '@nestjs/common/interfaces/nest-application-options.interface';
|
||||
/**
|
||||
* @publicApi
|
||||
*/
|
||||
export declare abstract class AbstractHttpAdapter<TServer = any, TRequest = any, TResponse = any> implements HttpServer<TRequest, TResponse> {
|
||||
protected instance?: any | undefined;
|
||||
protected httpServer: TServer;
|
||||
protected onRouteTriggered: ((requestMethod: RequestMethod, path: string) => void) | undefined;
|
||||
constructor(instance?: any | undefined);
|
||||
init(): Promise<void>;
|
||||
use(...args: any[]): any;
|
||||
get(handler: RequestHandler): any;
|
||||
get(path: any, handler: RequestHandler): any;
|
||||
post(handler: RequestHandler): any;
|
||||
post(path: any, handler: RequestHandler): any;
|
||||
head(handler: RequestHandler): any;
|
||||
head(path: any, handler: RequestHandler): any;
|
||||
delete(handler: RequestHandler): any;
|
||||
delete(path: any, handler: RequestHandler): any;
|
||||
put(handler: RequestHandler): any;
|
||||
put(path: any, handler: RequestHandler): any;
|
||||
patch(handler: RequestHandler): any;
|
||||
patch(path: any, handler: RequestHandler): any;
|
||||
propfind(handler: RequestHandler): any;
|
||||
propfind(path: any, handler: RequestHandler): any;
|
||||
proppatch(handler: RequestHandler): any;
|
||||
proppatch(path: any, handler: RequestHandler): any;
|
||||
mkcol(handler: RequestHandler): any;
|
||||
mkcol(path: any, handler: RequestHandler): any;
|
||||
copy(handler: RequestHandler): any;
|
||||
copy(path: any, handler: RequestHandler): any;
|
||||
move(handler: RequestHandler): any;
|
||||
move(path: any, handler: RequestHandler): any;
|
||||
lock(handler: RequestHandler): any;
|
||||
lock(path: any, handler: RequestHandler): any;
|
||||
unlock(handler: RequestHandler): any;
|
||||
unlock(path: any, handler: RequestHandler): any;
|
||||
all(handler: RequestHandler): any;
|
||||
all(path: any, handler: RequestHandler): any;
|
||||
search(handler: RequestHandler): any;
|
||||
search(path: any, handler: RequestHandler): any;
|
||||
options(handler: RequestHandler): any;
|
||||
options(path: any, handler: RequestHandler): any;
|
||||
listen(port: string | number, callback?: () => void): any;
|
||||
listen(port: string | number, hostname: string, callback?: () => void): any;
|
||||
getHttpServer(): TServer;
|
||||
setHttpServer(httpServer: TServer): void;
|
||||
setInstance<T = any>(instance: T): void;
|
||||
getInstance<T = any>(): T;
|
||||
normalizePath(path: string): string;
|
||||
setOnRouteTriggered(onRouteTriggered: (requestMethod: RequestMethod, path: string) => void): void;
|
||||
getOnRouteTriggered(): ((requestMethod: RequestMethod, path: string) => void) | undefined;
|
||||
setOnRequestHook(onRequestHook: Function): void;
|
||||
setOnResponseHook(onResponseHook: Function): void;
|
||||
abstract close(): any;
|
||||
abstract initHttpServer(options: NestApplicationOptions): any;
|
||||
abstract useStaticAssets(...args: any[]): any;
|
||||
abstract setViewEngine(engine: string): any;
|
||||
abstract getRequestHostname(request: any): any;
|
||||
abstract getRequestMethod(request: any): any;
|
||||
abstract getRequestUrl(request: any): any;
|
||||
abstract status(response: any, statusCode: number): any;
|
||||
abstract reply(response: any, body: any, statusCode?: number): any;
|
||||
abstract end(response: any, message?: string): any;
|
||||
abstract render(response: any, view: string, options: any): any;
|
||||
abstract redirect(response: any, statusCode: number, url: string): any;
|
||||
abstract setErrorHandler(handler: Function, prefix?: string): any;
|
||||
abstract setNotFoundHandler(handler: Function, prefix?: string): any;
|
||||
abstract isHeadersSent(response: any): any;
|
||||
abstract getHeader(response: any, name: string): any;
|
||||
abstract setHeader(response: any, name: string, value: string): any;
|
||||
abstract appendHeader(response: any, name: string, value: string): any;
|
||||
abstract registerParserMiddleware(prefix?: string, rawBody?: boolean): any;
|
||||
abstract enableCors(options?: any, prefix?: string): any;
|
||||
abstract createMiddlewareFactory(requestMethod: RequestMethod): ((path: string, callback: Function) => any) | Promise<(path: string, callback: Function) => any>;
|
||||
abstract getType(): string;
|
||||
abstract applyVersionFilter(handler: Function, version: VersionValue, versioningOptions: VersioningOptions): (req: TRequest, res: TResponse, next: () => void) => Function;
|
||||
}
|
||||
90
node_modules/@nestjs/core/adapters/http-adapter.js
generated
vendored
Normal file
90
node_modules/@nestjs/core/adapters/http-adapter.js
generated
vendored
Normal file
@@ -0,0 +1,90 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AbstractHttpAdapter = void 0;
|
||||
/**
|
||||
* @publicApi
|
||||
*/
|
||||
class AbstractHttpAdapter {
|
||||
constructor(instance) {
|
||||
this.instance = instance;
|
||||
}
|
||||
async init() { }
|
||||
use(...args) {
|
||||
return this.instance.use(...args);
|
||||
}
|
||||
get(...args) {
|
||||
return this.instance.get(...args);
|
||||
}
|
||||
post(...args) {
|
||||
return this.instance.post(...args);
|
||||
}
|
||||
head(...args) {
|
||||
return this.instance.head(...args);
|
||||
}
|
||||
delete(...args) {
|
||||
return this.instance.delete(...args);
|
||||
}
|
||||
put(...args) {
|
||||
return this.instance.put(...args);
|
||||
}
|
||||
patch(...args) {
|
||||
return this.instance.patch(...args);
|
||||
}
|
||||
propfind(...args) {
|
||||
return this.instance.propfind(...args);
|
||||
}
|
||||
proppatch(...args) {
|
||||
return this.instance.proppatch(...args);
|
||||
}
|
||||
mkcol(...args) {
|
||||
return this.instance.mkcol(...args);
|
||||
}
|
||||
copy(...args) {
|
||||
return this.instance.copy(...args);
|
||||
}
|
||||
move(...args) {
|
||||
return this.instance.move(...args);
|
||||
}
|
||||
lock(...args) {
|
||||
return this.instance.lock(...args);
|
||||
}
|
||||
unlock(...args) {
|
||||
return this.instance.unlock(...args);
|
||||
}
|
||||
all(...args) {
|
||||
return this.instance.all(...args);
|
||||
}
|
||||
search(...args) {
|
||||
return this.instance.search(...args);
|
||||
}
|
||||
options(...args) {
|
||||
return this.instance.options(...args);
|
||||
}
|
||||
listen(port, hostname, callback) {
|
||||
return this.instance.listen(port, hostname, callback);
|
||||
}
|
||||
getHttpServer() {
|
||||
return this.httpServer;
|
||||
}
|
||||
setHttpServer(httpServer) {
|
||||
this.httpServer = httpServer;
|
||||
}
|
||||
setInstance(instance) {
|
||||
this.instance = instance;
|
||||
}
|
||||
getInstance() {
|
||||
return this.instance;
|
||||
}
|
||||
normalizePath(path) {
|
||||
return path;
|
||||
}
|
||||
setOnRouteTriggered(onRouteTriggered) {
|
||||
this.onRouteTriggered = onRouteTriggered;
|
||||
}
|
||||
getOnRouteTriggered() {
|
||||
return this.onRouteTriggered;
|
||||
}
|
||||
setOnRequestHook(onRequestHook) { }
|
||||
setOnResponseHook(onResponseHook) { }
|
||||
}
|
||||
exports.AbstractHttpAdapter = AbstractHttpAdapter;
|
||||
1
node_modules/@nestjs/core/adapters/index.d.ts
generated
vendored
Normal file
1
node_modules/@nestjs/core/adapters/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export * from './http-adapter';
|
||||
4
node_modules/@nestjs/core/adapters/index.js
generated
vendored
Normal file
4
node_modules/@nestjs/core/adapters/index.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const tslib_1 = require("tslib");
|
||||
tslib_1.__exportStar(require("./http-adapter"), exports);
|
||||
Reference in New Issue
Block a user