@nestjs/platform-express
Advanced tools
Comparing version 6.0.0-alpha.3 to 6.0.0-alpha.4
@@ -20,3 +20,3 @@ import { RequestMethod } from '@nestjs/common'; | ||
useStaticAssets(path: string, options: ServeStaticOptions): any; | ||
setBaseViewsDir(path: string): any; | ||
setBaseViewsDir(path: string | string[]): any; | ||
setViewEngine(engine: string): any; | ||
@@ -23,0 +23,0 @@ getRequestMethod(request: any): string; |
import { INestApplication } from '@nestjs/common'; | ||
import { ServeStaticOptions } from './serve-static-options.interface'; | ||
export interface INestExpressApplication extends INestApplication { | ||
export interface NestExpressApplication extends INestApplication { | ||
/** | ||
@@ -41,3 +41,3 @@ * A wrapper function around native `express.set()` method. | ||
/** | ||
* Sets a base directory for templates (views). | ||
* Sets one or multiple base directories for templates (views). | ||
* Example `app.setBaseViewsDir('views')` | ||
@@ -47,3 +47,3 @@ * | ||
*/ | ||
setBaseViewsDir(path: string): this; | ||
setBaseViewsDir(path: string | string[]): this; | ||
/** | ||
@@ -50,0 +50,0 @@ * Sets a view engine for templates (views). |
{ | ||
"name": "@nestjs/platform-express", | ||
"version": "6.0.0-alpha.3", | ||
"version": "6.0.0-alpha.4", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@platform-express)", | ||
@@ -5,0 +5,0 @@ "author": "Kamil Mysliwiec", |
@@ -19,2 +19,3 @@ <p align="center"> | ||
<a href="https://gitter.im/nestjs/nestjs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=body_badge"><img src="https://badges.gitter.im/nestjs/nestjs.svg" alt="Gitter" /></a> | ||
<a href="https://discord.gg/G7Qnnhy"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a> | ||
<a href="https://opencollective.com/nest#backer"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a> | ||
@@ -52,15 +53,20 @@ <a href="https://opencollective.com/nest#sponsor"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a> | ||
#### Gold Sponsors | ||
#### Base Sponsor | ||
<a href="http://xtremis.com/"><img src="https://nestjs.com/img/logo-xtremis.svg" width="220" /></a> | ||
<a href="https://blueanchor.io/"><img src="https://nestjs.com/img/blueanchor.png" width="300" /></a> | ||
<a href="https://www.novologic.com/"><img src="https://nestjs.com/img/novologic.png" width="200" /></a> | ||
#### Silver Sponsors | ||
<a href="https://neoteric.eu/"><img src="https://nestjs.com/img/neoteric-cut.png" width="120" /></a> | ||
<a href="http://gojob.com"><img src="http://nestjs.com/img/gojob-logo.png" valign="bottom" height="95" /></a> <a href="https://www.swingdev.io"><img src="https://nestjs.com/img/swingdev-logo.svg#1" width="150" /> </a> | ||
<a href="https://neoteric.eu/"><img src="https://nestjs.com/img/neoteric-cut.png" width="120" valign="middle" /></a> | ||
<a href="http://gojob.com"><img src="http://nestjs.com/img/gojob-logo.png" valign="middle" height="95" /></a> <a href="https://www.swingdev.io"><img src="https://nestjs.com/img/swingdev-logo.svg#1" width="150" valign="middle" /> </a> | ||
<a href="https://yakaz.com/"><img src="https://nestjs.com/img/yakaz.png" width="100" valign="middle" /></a> | ||
<a href="http://xtremis.com/"><img src="https://nestjs.com/img/logo-xtremis.svg" width="150" valign="middle" /></a> | ||
#### Sponsors | ||
<a href="https://scal.io"><img src="https://nestjs.com/img/scalio-logo.svg" width="110" /></a> <a href="http://angularity.io"><img src="http://angularity.io/media/logo.svg" height="30" /></a> <!--<a href="https://keycdn.com"><img src="https://nestjs.com/img/keycdn.svg" height="30" /></a> --> <a href="https://hostpresto.com"><img src="https://nestjs.com/img/hostpresto.png" height="30" /></a> <a href="https://genuinebee.com/"><img src="https://nestjs.com/img/genuinebee.svg" height="38" /></a> <a href="http://architectnow.net/"><img src="https://nestjs.com/img/architectnow.png" height="24" /></a> <a href="https://quander.io/"><img src="https://nestjs.com/img/quander.png" height="28" /></a> | ||
<a href="https://scal.io"><img src="https://nestjs.com/img/scalio-logo.svg" width="110" valign="middle" /></a> <a href="http://angularity.io"><img src="http://angularity.io/media/logo.svg" height="30" valign="middle" /></a> <!--<a href="https://keycdn.com"><img src="https://nestjs.com/img/keycdn.svg" height="30" /></a> --> <a href="https://hostpresto.com"><img src="https://nestjs.com/img/hostpresto.png" height="30" valign="middle" /></a> <a href="https://genuinebee.com/"><img src="https://nestjs.com/img/genuinebee.svg" height="38" valign="middle" /></a> <a href="http://architectnow.net/"><img src="https://nestjs.com/img/architectnow.png" height="24" valign="middle" /></a> <a href="https://quander.io/"><img src="https://nestjs.com/img/quander.png" height="28" valign="middle" /></a> <a href="https://mantro.net/"><img src="https://nestjs.com/img/mantro-logo.svg" height="20" valign="middle" /></a> | ||
<a href="https://triplebyte.com/"><img src="https://nestjs.com/img/triplebyte.png" height="30" valign="middle" /></a> | ||
## Backers | ||
@@ -67,0 +73,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35646
83