@alterior/express
Advanced tools
Comparing version 3.9.2 to 3.9.3
@@ -1,7 +0,10 @@ | ||
/// <reference types="node" /> | ||
/// <reference types="qs" /> | ||
import { WebEvent } from '@alterior/web-server'; | ||
export * from './express-engine'; | ||
import type * as express from 'express'; | ||
export declare class ExpressEvent { | ||
static get current(): import("http").IncomingMessage; | ||
static get request(): import("http").IncomingMessage; | ||
static get current(): WebEvent<express.Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>, express.Response<any, Record<string, any>>>; | ||
static get request(): express.Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>; | ||
static get response(): express.Response<any, Record<string, any>>; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
import { WebEvent } from '@alterior/web-server'; | ||
export * from './express-engine'; | ||
export class ExpressEvent { | ||
static get current() { return WebEvent.request; } | ||
static get current() { return WebEvent.current; } | ||
static get request() { return WebEvent.request; } | ||
static get response() { return WebEvent.response; } | ||
} | ||
//# sourceMappingURL=index.js.map |
@@ -1,7 +0,10 @@ | ||
/// <reference types="node" /> | ||
/// <reference types="qs" /> | ||
import { WebEvent } from '@alterior/web-server'; | ||
export * from './express-engine'; | ||
import type * as express from 'express'; | ||
export declare class ExpressEvent { | ||
static get current(): import("http").IncomingMessage; | ||
static get request(): import("http").IncomingMessage; | ||
static get current(): WebEvent<express.Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>, express.Response<any, Record<string, any>>>; | ||
static get request(): express.Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>; | ||
static get response(): express.Response<any, Record<string, any>>; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -8,6 +8,7 @@ "use strict"; | ||
class ExpressEvent { | ||
static get current() { return web_server_1.WebEvent.request; } | ||
static get current() { return web_server_1.WebEvent.current; } | ||
static get request() { return web_server_1.WebEvent.request; } | ||
static get response() { return web_server_1.WebEvent.response; } | ||
} | ||
exports.ExpressEvent = ExpressEvent; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@alterior/express", | ||
"version": "3.9.2", | ||
"version": "3.9.3", | ||
"description": "Access Express state within an Alterior app", | ||
@@ -49,3 +49,3 @@ "author": "The Alterior Project (https://github.com/alterior-mvc)", | ||
}, | ||
"gitHead": "1d41c65c225c9a27903c295d82b2b2e545797d86" | ||
"gitHead": "fa83e72333425527ce1110ad1a6979b741886fb5" | ||
} |
import { WebEvent } from '@alterior/web-server'; | ||
export * from './express-engine'; | ||
import type * as express from 'express'; | ||
export class ExpressEvent { | ||
static get current() { return WebEvent.request; } | ||
static get request() { return WebEvent.request; } | ||
static get current() { return WebEvent.current as WebEvent<express.Request, express.Response>; } | ||
static get request() { return WebEvent.request as express.Request; } | ||
static get response() { return WebEvent.response as express.Response; } | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
18543
217