From a02b5695efe33dacdd9d737554237cc82ac332c6 Mon Sep 17 00:00:00 2001 From: Mark Wecke Date: Tue, 17 Apr 2018 14:14:58 +0200 Subject: [PATCH 1/2] feat(factories): add controller context to application annotations --- src/factories/controller-router.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/factories/controller-router.ts b/src/factories/controller-router.ts index 869d8b1..53a7a03 100644 --- a/src/factories/controller-router.ts +++ b/src/factories/controller-router.ts @@ -169,19 +169,20 @@ export class ControllerRouterFactory { try { const appAnnotations = annotations.get(ApplicableAnnotation) || []; - await applyApplicableAnnotations(appAnnotations, 'before', { request, response }); + await applyApplicableAnnotations(appAnnotations, 'before', { request, response, ctx }); const args = await Promise.all(params.map(param => this.paramFactory.getParameterFromMetadataAndRequest(param, request))); const result = Result.ensure(await ctx.instance[ method ](...args)); - await applyApplicableAnnotations(result.args, 'before', { request, response }); + await applyApplicableAnnotations(result.args, 'before', { request, response, ctx }); appAnnotations.push(...result.args); await applyApplicableAnnotations(appAnnotations, 'after', { request, response, + ctx, result: result.result }); await applyApplicableAnnotations([ @@ -191,7 +192,7 @@ export class ControllerRouterFactory { throw new Error('Missing end annotation') } }) - ], 'end', { request, response, result: result.result }, { stopAfterFirst: true }); + ], 'end', { request, response, ctx, result: result.result }, { stopAfterFirst: true }); } catch(e) { console.log('catch', e); next(e); @@ -254,7 +255,7 @@ export class ControllerRouterFactory { */ async function applyApplicableAnnotations(app : ApplicableAnnotation[], type : 'before' | 'after' | 'end', - args : { request : Request, response : Response, result? : any }, + args : { request : Request, response : Response, ctx : IControllerContext, result? : any }, { stopAfterFirst } : { stopAfterFirst? : boolean } = {}) { for(const a of app) { if(a[ type ]) { From 3835d4667a4fdd7a9d5b40d53805ce00820037c2 Mon Sep 17 00:00:00 2001 From: Mark Wecke Date: Tue, 17 Apr 2018 14:15:50 +0200 Subject: [PATCH 2/2] chore(release): bump to version 0.4.0 --- docs/classes/abstractcontroller.html | 2 +- docs/classes/abstractmethod.html | 4 +-- docs/classes/abstractparam.html | 12 ++++---- docs/classes/annotator.html | 16 +++++----- docs/classes/applicableannotation.html | 6 ++-- docs/classes/badrequesterror.html | 12 ++++---- docs/classes/controllerrouterfactory.html | 20 ++++++------ docs/classes/forbiddenerror.html | 12 ++++---- docs/classes/httperror.html | 12 ++++---- docs/classes/internalservererror.html | 12 ++++---- docs/classes/modulerouterfactory.html | 20 ++++++------ docs/classes/nembootstrap.html | 8 ++--- docs/classes/nembootstrappedmodule.html | 8 ++--- docs/classes/notacceptableerror.html | 12 ++++---- docs/classes/notfounderror.html | 12 ++++---- docs/classes/notimplementederror.html | 12 ++++---- docs/classes/paramfactory.html | 4 +-- docs/classes/preconditionfailederror.html | 12 ++++---- docs/classes/unauthorizederror.html | 12 ++++---- docs/classes/unsupportedmediatypeerror.html | 12 ++++---- docs/globals.html | 32 ++++++++++---------- docs/interfaces/_express_.request.html | 2 +- docs/interfaces/all.html | 4 +-- docs/interfaces/annotatedtype.html | 2 +- docs/interfaces/body.html | 12 ++++---- docs/interfaces/bodydecorator.html | 4 +-- docs/interfaces/bodyoptions.html | 2 +- docs/interfaces/bodyparam.html | 12 ++++---- docs/interfaces/bodyparamdecorator.html | 4 +-- docs/interfaces/contenttype.html | 8 ++--- docs/interfaces/contenttypedecorator.html | 4 +-- docs/interfaces/controller.html | 2 +- docs/interfaces/controllerdecorator.html | 4 +-- docs/interfaces/delete.html | 4 +-- docs/interfaces/err.html | 12 ++++---- docs/interfaces/errdecorator.html | 4 +-- docs/interfaces/get.html | 4 +-- docs/interfaces/head.html | 4 +-- docs/interfaces/header.html | 10 +++--- docs/interfaces/headerdecorator.html | 4 +-- docs/interfaces/headerparam.html | 14 ++++----- docs/interfaces/headerparamdecorator.html | 4 +-- docs/interfaces/headers.html | 12 ++++---- docs/interfaces/headersdecorator.html | 4 +-- docs/interfaces/icontrollercontext.html | 12 ++++---- docs/interfaces/icontrolleroptions.html | 2 +- docs/interfaces/imiddleware.html | 2 +- docs/interfaces/imodulecontext.html | 10 +++--- docs/interfaces/inemoptions.html | 4 +-- docs/interfaces/iredirectoptions.html | 2 +- docs/interfaces/iuseoptions.html | 2 +- docs/interfaces/json.html | 6 ++-- docs/interfaces/jsoncontroller.html | 2 +- docs/interfaces/jsoncontrollerdecorator.html | 4 +-- docs/interfaces/jsondecorator.html | 4 +-- docs/interfaces/locals.html | 8 ++--- docs/interfaces/localsdecorator.html | 4 +-- docs/interfaces/methodannotationmap.html | 6 ++-- docs/interfaces/methoddecorator.html | 4 +-- docs/interfaces/middlewaredecorator.html | 4 +-- docs/interfaces/nemmodule.html | 10 +++--- docs/interfaces/nemmoduledecorator.html | 4 +-- docs/interfaces/nemmodulewithproviders.html | 4 +-- docs/interfaces/noop.html | 6 ++-- docs/interfaces/noopdecorator.html | 4 +-- docs/interfaces/onnull.html | 8 ++--- docs/interfaces/onnulldecorator.html | 4 +-- docs/interfaces/onundefined.html | 8 ++--- docs/interfaces/onundefineddecorator.html | 4 +-- docs/interfaces/options.html | 4 +-- docs/interfaces/param.html | 12 ++++---- docs/interfaces/paramdecorator.html | 4 +-- docs/interfaces/paramoptions.html | 8 ++--- docs/interfaces/params.html | 12 ++++---- docs/interfaces/paramsdecorator.html | 4 +-- docs/interfaces/paramsoptions.html | 4 +-- docs/interfaces/patch.html | 4 +-- docs/interfaces/post.html | 4 +-- docs/interfaces/put.html | 4 +-- docs/interfaces/queryparam.html | 12 ++++---- docs/interfaces/queryparamdecorator.html | 4 +-- docs/interfaces/queryparams.html | 12 ++++---- docs/interfaces/queryparamsdecorator.html | 4 +-- docs/interfaces/raw.html | 6 ++-- docs/interfaces/rawdecorator.html | 4 +-- docs/interfaces/redirect.html | 10 +++--- docs/interfaces/redirectdecorator.html | 4 +-- docs/interfaces/req.html | 12 ++++---- docs/interfaces/reqdecorator.html | 4 +-- docs/interfaces/res.html | 12 ++++---- docs/interfaces/resdecorator.html | 4 +-- docs/interfaces/result.html | 4 +-- docs/interfaces/resultctor.html | 6 ++-- docs/interfaces/session.html | 12 ++++---- docs/interfaces/sessiondecorator.html | 4 +-- docs/interfaces/sessionid.html | 12 ++++---- docs/interfaces/sessioniddecorator.html | 4 +-- docs/interfaces/sessionparam.html | 12 ++++---- docs/interfaces/sessionparamdecorator.html | 4 +-- docs/interfaces/statuscode.html | 8 ++--- docs/interfaces/statuscodedecorator.html | 4 +-- docs/interfaces/text.html | 6 ++-- docs/interfaces/textdecorator.html | 4 +-- docs/interfaces/type.html | 2 +- docs/interfaces/typedecorator.html | 4 +-- docs/interfaces/use.html | 4 +-- docs/interfaces/usedecorator.html | 4 +-- docs/interfaces/view.html | 8 ++--- docs/interfaces/viewdecorator.html | 4 +-- package.json | 2 +- 110 files changed, 386 insertions(+), 386 deletions(-) diff --git a/docs/classes/abstractcontroller.html b/docs/classes/abstractcontroller.html index 2f0a76e..772b047 100644 --- a/docs/classes/abstractcontroller.html +++ b/docs/classes/abstractcontroller.html @@ -103,7 +103,7 @@

Optional providers

providers: Provider[]
diff --git a/docs/classes/abstractmethod.html b/docs/classes/abstractmethod.html index 2f0bb25..cb60342 100644 --- a/docs/classes/abstractmethod.html +++ b/docs/classes/abstractmethod.html @@ -122,7 +122,7 @@

Abstract method

method: "all" | "get" | "post" | "put" | "delete" | "patch" | "options" | "head"
@@ -132,7 +132,7 @@

Abstract path

path: RegExp | string
diff --git a/docs/classes/abstractparam.html b/docs/classes/abstractparam.html index 0dc7ae5..74b3b14 100644 --- a/docs/classes/abstractparam.html +++ b/docs/classes/abstractparam.html @@ -144,7 +144,7 @@

Optional paramName

paramName: undefined | string
@@ -154,7 +154,7 @@

Optional parse

parse: undefined | function
@@ -164,7 +164,7 @@

Optional required

required: undefined | true | false
@@ -174,7 +174,7 @@

resolve

resolve: function
@@ -208,7 +208,7 @@

Optional type

type: any
@@ -218,7 +218,7 @@

Optional validate

validate: undefined | function
diff --git a/docs/classes/annotator.html b/docs/classes/annotator.html index 8608ed1..5f9e106 100644 --- a/docs/classes/annotator.html +++ b/docs/classes/annotator.html @@ -105,7 +105,7 @@

Static getCtorAnnotati
  • Type parameters

    @@ -134,7 +134,7 @@

    Static getCtorParam

    Type parameters

    @@ -163,7 +163,7 @@

    Static getParamAnnotat
  • Type parameters

    @@ -196,7 +196,7 @@

    Static getPropAnnotati
  • Type parameters

    @@ -218,7 +218,7 @@

    Returns object

    Type parameters

    @@ -250,7 +250,7 @@

    Static makeCtorDecorat
  • Parameters

    @@ -279,7 +279,7 @@

    Static makeParamDecora
  • Parameters

    @@ -308,7 +308,7 @@

    Static makePropDecorat
  • Parameters

    diff --git a/docs/classes/applicableannotation.html b/docs/classes/applicableannotation.html index b6a2a32..b3b4b08 100644 --- a/docs/classes/applicableannotation.html +++ b/docs/classes/applicableannotation.html @@ -139,7 +139,7 @@

    Optional

    Parameters

    @@ -179,7 +179,7 @@

    Optional

    Parameters

    @@ -216,7 +216,7 @@

    Optional

    Parameters

    diff --git a/docs/classes/badrequesterror.html b/docs/classes/badrequesterror.html index 15f6509..f914146 100644 --- a/docs/classes/badrequesterror.html +++ b/docs/classes/badrequesterror.html @@ -128,7 +128,7 @@

    constructor

    Parameters

    @@ -154,7 +154,7 @@

    code

    @@ -165,7 +165,7 @@

    Optional error

    @@ -176,7 +176,7 @@

    message

    @@ -187,7 +187,7 @@

    name

    @@ -198,7 +198,7 @@

    stack

    diff --git a/docs/classes/controllerrouterfactory.html b/docs/classes/controllerrouterfactory.html index 5a72024..ba6a6d0 100644 --- a/docs/classes/controllerrouterfactory.html +++ b/docs/classes/controllerrouterfactory.html @@ -118,7 +118,7 @@

    constructor

  • Parameters

    @@ -146,7 +146,7 @@

    Protected injector

    injector: Injector
    @@ -156,7 +156,7 @@

    Protected paramFactoryparamFactory: ParamFactory

  • @@ -166,7 +166,7 @@

    Protected zone

    @@ -183,7 +183,7 @@

    Protected assertControll
  • Parameters

    @@ -206,7 +206,7 @@

    Protected createHandler<
  • Parameters

    @@ -238,7 +238,7 @@

    Protected createMethod

    Parameters

    @@ -261,7 +261,7 @@

    createRouterFromController

  • Parameters

    @@ -292,7 +292,7 @@

    Protected getParams
  • Parameters

    @@ -318,7 +318,7 @@

    Protected initContext

    Parameters

    diff --git a/docs/classes/forbiddenerror.html b/docs/classes/forbiddenerror.html index 84c57c8..9566041 100644 --- a/docs/classes/forbiddenerror.html +++ b/docs/classes/forbiddenerror.html @@ -128,7 +128,7 @@

    constructor

    Parameters

    @@ -154,7 +154,7 @@

    code

    @@ -165,7 +165,7 @@

    Optional error

    @@ -176,7 +176,7 @@

    message

    @@ -187,7 +187,7 @@

    name

    @@ -198,7 +198,7 @@

    stack

    diff --git a/docs/classes/httperror.html b/docs/classes/httperror.html index a63723a..410c7c7 100644 --- a/docs/classes/httperror.html +++ b/docs/classes/httperror.html @@ -151,7 +151,7 @@

    constructor

  • Parameters

    @@ -179,7 +179,7 @@

    code

    code: number
    @@ -189,7 +189,7 @@

    Optional error

    error: any
    @@ -199,7 +199,7 @@

    message

    message: string
    @@ -209,7 +209,7 @@

    name

    name: string
    @@ -219,7 +219,7 @@

    stack

    stack: string
    diff --git a/docs/classes/internalservererror.html b/docs/classes/internalservererror.html index 4476d28..98afc54 100644 --- a/docs/classes/internalservererror.html +++ b/docs/classes/internalservererror.html @@ -128,7 +128,7 @@

    constructor

    Parameters

    @@ -154,7 +154,7 @@

    code

    @@ -165,7 +165,7 @@

    Optional error

    @@ -176,7 +176,7 @@

    message

    @@ -187,7 +187,7 @@

    name

    @@ -198,7 +198,7 @@

    stack

    diff --git a/docs/classes/modulerouterfactory.html b/docs/classes/modulerouterfactory.html index a778e3a..20255b9 100644 --- a/docs/classes/modulerouterfactory.html +++ b/docs/classes/modulerouterfactory.html @@ -118,7 +118,7 @@

    constructor

  • Parameters

    @@ -140,7 +140,7 @@

    Protected injector

    injector: Injector
    @@ -157,7 +157,7 @@

    createRouterFromModule

  • Parameters

    @@ -188,7 +188,7 @@

    Protected handleImport

    Parameters

    @@ -214,7 +214,7 @@

    Protected handleMiddlewa
  • Parameters

    @@ -240,7 +240,7 @@

    Protected handleRouter

    Parameters

    @@ -269,7 +269,7 @@

    Protected initContext

    Parameters

    @@ -300,7 +300,7 @@

    Static

    Parameters

    @@ -323,7 +323,7 @@

    Static

    Parameters

    @@ -346,7 +346,7 @@

    Static getProviders

  • Parameters

    diff --git a/docs/classes/nembootstrap.html b/docs/classes/nembootstrap.html index ed724dd..db3faaa 100644 --- a/docs/classes/nembootstrap.html +++ b/docs/classes/nembootstrap.html @@ -112,7 +112,7 @@

    constructor

  • Parameters

    @@ -134,7 +134,7 @@

    Protected injector

    injector: Injector = InjectorFactory.create({name: 'BootstrapInjector',providers: [...BOOTSTRAP_PROVIDER,...(this.options.providers || [])],parent: this.options.injector})
    @@ -144,7 +144,7 @@

    Protected options

    options: INemOptions
    @@ -161,7 +161,7 @@

    bootstrap

  • Parameters

    diff --git a/docs/classes/nembootstrappedmodule.html b/docs/classes/nembootstrappedmodule.html index 7e67374..5b77438 100644 --- a/docs/classes/nembootstrappedmodule.html +++ b/docs/classes/nembootstrappedmodule.html @@ -119,7 +119,7 @@

    constructor

  • Parameters

    @@ -144,7 +144,7 @@

    context

    context: Readonly<IModuleContext>
    @@ -159,7 +159,7 @@

    injector

    injector: Injector
    @@ -181,7 +181,7 @@

    listen

  • Parameters

    diff --git a/docs/classes/notacceptableerror.html b/docs/classes/notacceptableerror.html index 336b8d2..c36f554 100644 --- a/docs/classes/notacceptableerror.html +++ b/docs/classes/notacceptableerror.html @@ -128,7 +128,7 @@

    constructor

    Parameters

    @@ -154,7 +154,7 @@

    code

    @@ -165,7 +165,7 @@

    Optional error

    @@ -176,7 +176,7 @@

    message

    @@ -187,7 +187,7 @@

    name

    @@ -198,7 +198,7 @@

    stack

    diff --git a/docs/classes/notfounderror.html b/docs/classes/notfounderror.html index 2867ef5..6d7612d 100644 --- a/docs/classes/notfounderror.html +++ b/docs/classes/notfounderror.html @@ -128,7 +128,7 @@

    constructor

    Parameters

    @@ -154,7 +154,7 @@

    code

    @@ -165,7 +165,7 @@

    Optional error

    @@ -176,7 +176,7 @@

    message

    @@ -187,7 +187,7 @@

    name

    @@ -198,7 +198,7 @@

    stack

    diff --git a/docs/classes/notimplementederror.html b/docs/classes/notimplementederror.html index 5652282..fc865a2 100644 --- a/docs/classes/notimplementederror.html +++ b/docs/classes/notimplementederror.html @@ -128,7 +128,7 @@

    constructor

    Parameters

    @@ -154,7 +154,7 @@

    code

    @@ -165,7 +165,7 @@

    Optional error

    @@ -176,7 +176,7 @@

    message

    @@ -187,7 +187,7 @@

    name

    @@ -198,7 +198,7 @@

    stack

    diff --git a/docs/classes/paramfactory.html b/docs/classes/paramfactory.html index af843f9..02ed7fa 100644 --- a/docs/classes/paramfactory.html +++ b/docs/classes/paramfactory.html @@ -100,7 +100,7 @@

    getParameterFromMetadataAndRequest

  • Parameters

    @@ -126,7 +126,7 @@

    hasErrorParam

  • Parameters

    diff --git a/docs/classes/preconditionfailederror.html b/docs/classes/preconditionfailederror.html index 8d87080..6258a63 100644 --- a/docs/classes/preconditionfailederror.html +++ b/docs/classes/preconditionfailederror.html @@ -128,7 +128,7 @@

    constructor

    Parameters

    @@ -154,7 +154,7 @@

    code

    @@ -165,7 +165,7 @@

    Optional error

    @@ -176,7 +176,7 @@

    message

    @@ -187,7 +187,7 @@

    name

    @@ -198,7 +198,7 @@

    stack

    diff --git a/docs/classes/unauthorizederror.html b/docs/classes/unauthorizederror.html index e564000..45478e1 100644 --- a/docs/classes/unauthorizederror.html +++ b/docs/classes/unauthorizederror.html @@ -128,7 +128,7 @@

    constructor

    Parameters

    @@ -154,7 +154,7 @@

    code

    @@ -165,7 +165,7 @@

    Optional error

    @@ -176,7 +176,7 @@

    message

    @@ -187,7 +187,7 @@

    name

    @@ -198,7 +198,7 @@

    stack

    diff --git a/docs/classes/unsupportedmediatypeerror.html b/docs/classes/unsupportedmediatypeerror.html index 6cdd8d8..f7a854c 100644 --- a/docs/classes/unsupportedmediatypeerror.html +++ b/docs/classes/unsupportedmediatypeerror.html @@ -128,7 +128,7 @@

    constructor

    Parameters

    @@ -154,7 +154,7 @@

    code

    @@ -165,7 +165,7 @@

    Optional error

    @@ -176,7 +176,7 @@

    message

    @@ -187,7 +187,7 @@

    name

    @@ -198,7 +198,7 @@

    stack

    diff --git a/docs/globals.html b/docs/globals.html index d8d0a7c..9d3f578 100644 --- a/docs/globals.html +++ b/docs/globals.html @@ -229,7 +229,7 @@

    Const APP

    APP: InjectionToken<Application> = new InjectionToken<Application>('Express Application')
    @@ -244,7 +244,7 @@

    Const BOOTSTRAP_LISTENER_BOOTSTRAP_LISTENER_AFTER: InjectionToken<Function[]> = new InjectionToken<Function[]>('Bootstrap Listener After')

    @@ -259,7 +259,7 @@

    Const BOOTSTRAP_LISTENER_BOOTSTRAP_LISTENER_BEFORE: InjectionToken<Function[]> = new InjectionToken<Function[]>('Bootstrap Listener Before')

    @@ -274,7 +274,7 @@

    Const ERROR_HANDLER

    ERROR_HANDLER: InjectionToken<ErrorRequestHandler> = new InjectionToken<ErrorRequestHandler>('ErrorHandler')
    @@ -294,7 +294,7 @@

    Const MIDDLEWARE_AFTER

    MIDDLEWARE_AFTER: InjectionToken<(IMiddleware | RequestHandler)[]> = new InjectionToken<(IMiddleware|RequestHandler)[]>('Middleware After')
    @@ -309,7 +309,7 @@

    Const MIDDLEWARE_BEFORE

    MIDDLEWARE_BEFORE: InjectionToken<(IMiddleware | RequestHandler)[]> = new InjectionToken<(IMiddleware|RequestHandler)[]>('Middleware Before')
    @@ -324,7 +324,7 @@

    Const SERVER

    SERVER: InjectionToken<Server> = new InjectionToken<Server>('Http Server')
    @@ -339,7 +339,7 @@

    Const VIEWS

    VIEWS: InjectionToken<string[]> = new InjectionToken<string[]>('Views')
    @@ -354,7 +354,7 @@

    Const VIEW_ENGINE

    VIEW_ENGINE: InjectionToken<string> = new InjectionToken<string>('View Engine')
    @@ -369,7 +369,7 @@

    Const VIEW_PREFIX

    VIEW_PREFIX: InjectionToken<undefined | string> = new InjectionToken<string|undefined>('View Prefix')
    @@ -391,7 +391,7 @@

    Const MethodFactory

  • Parameters

    @@ -414,7 +414,7 @@

    middleware

  • @@ -456,7 +456,7 @@

    nem

  • @@ -484,7 +484,7 @@

    parse

  • Parameters

    @@ -510,7 +510,7 @@

    viewDirectory

  • @@ -556,7 +556,7 @@

    viewPrefix

  • diff --git a/docs/interfaces/_express_.request.html b/docs/interfaces/_express_.request.html index 5f0ed55..f2c573d 100644 --- a/docs/interfaces/_express_.request.html +++ b/docs/interfaces/_express_.request.html @@ -98,7 +98,7 @@

    Optional injector

    injector: Injector
    diff --git a/docs/interfaces/all.html b/docs/interfaces/all.html index 9ce8d40..f0049c9 100644 --- a/docs/interfaces/all.html +++ b/docs/interfaces/all.html @@ -122,7 +122,7 @@

    Abstract method

    @@ -133,7 +133,7 @@

    Abstract path

    diff --git a/docs/interfaces/annotatedtype.html b/docs/interfaces/annotatedtype.html index a41f87b..de59539 100644 --- a/docs/interfaces/annotatedtype.html +++ b/docs/interfaces/annotatedtype.html @@ -133,7 +133,7 @@

    constructor

    Parameters

    diff --git a/docs/interfaces/body.html b/docs/interfaces/body.html index 645446f..cfc5059 100644 --- a/docs/interfaces/body.html +++ b/docs/interfaces/body.html @@ -121,7 +121,7 @@

    Optional paramName

    @@ -133,7 +133,7 @@

    Optional parse

    Inherited from AbstractParam.parse

    Overrides BodyOptions.parse

    @@ -144,7 +144,7 @@

    Optional required

    @@ -155,7 +155,7 @@

    resolve

    @@ -190,7 +190,7 @@

    Optional type

    @@ -201,7 +201,7 @@

    Optional validate

    diff --git a/docs/interfaces/bodydecorator.html b/docs/interfaces/bodydecorator.html index e8d8bab..49f778d 100644 --- a/docs/interfaces/bodydecorator.html +++ b/docs/interfaces/bodydecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -145,7 +145,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/bodyoptions.html b/docs/interfaces/bodyoptions.html index e812250..0b726f3 100644 --- a/docs/interfaces/bodyoptions.html +++ b/docs/interfaces/bodyoptions.html @@ -100,7 +100,7 @@

    Optional parse

    parse: undefined | function
    diff --git a/docs/interfaces/bodyparam.html b/docs/interfaces/bodyparam.html index 7f07bc3..1a5d806 100644 --- a/docs/interfaces/bodyparam.html +++ b/docs/interfaces/bodyparam.html @@ -121,7 +121,7 @@

    paramName

    @@ -133,7 +133,7 @@

    Optional parse

    Inherited from AbstractParam.parse

    Overrides ParamOptions.parse

    @@ -145,7 +145,7 @@

    Optional required

    Inherited from AbstractParam.required

    Overrides ParamOptions.required

    @@ -156,7 +156,7 @@

    resolve

    @@ -192,7 +192,7 @@

    Optional type

    Inherited from AbstractParam.type

    Overrides ParamOptions.type

    @@ -204,7 +204,7 @@

    Optional validate

    Inherited from AbstractParam.validate

    Overrides ParamOptions.validate

    diff --git a/docs/interfaces/bodyparamdecorator.html b/docs/interfaces/bodyparamdecorator.html index 827a735..ec2b5dc 100644 --- a/docs/interfaces/bodyparamdecorator.html +++ b/docs/interfaces/bodyparamdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -148,7 +148,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/contenttype.html b/docs/interfaces/contenttype.html index e40e6e3..dc8d244 100644 --- a/docs/interfaces/contenttype.html +++ b/docs/interfaces/contenttype.html @@ -115,7 +115,7 @@

    contentType

    contentType: string
    @@ -133,7 +133,7 @@

    Optional

    Inherited from ApplicableAnnotation.after

    Parameters

    @@ -174,7 +174,7 @@

    Optional

    Inherited from ApplicableAnnotation.before

    Parameters

    @@ -212,7 +212,7 @@

    Optional

    Inherited from ApplicableAnnotation.end

    Parameters

    diff --git a/docs/interfaces/contenttypedecorator.html b/docs/interfaces/contenttypedecorator.html index 9afe382..4792aea 100644 --- a/docs/interfaces/contenttypedecorator.html +++ b/docs/interfaces/contenttypedecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -133,7 +133,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/controller.html b/docs/interfaces/controller.html index 7b8e365..03fb1d6 100644 --- a/docs/interfaces/controller.html +++ b/docs/interfaces/controller.html @@ -113,7 +113,7 @@

    Optional providers

    diff --git a/docs/interfaces/controllerdecorator.html b/docs/interfaces/controllerdecorator.html index f9db0ac..874b0a1 100644 --- a/docs/interfaces/controllerdecorator.html +++ b/docs/interfaces/controllerdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -140,7 +140,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/delete.html b/docs/interfaces/delete.html index 22200c1..04a8448 100644 --- a/docs/interfaces/delete.html +++ b/docs/interfaces/delete.html @@ -122,7 +122,7 @@

    Abstract method

    @@ -133,7 +133,7 @@

    Abstract path

    diff --git a/docs/interfaces/err.html b/docs/interfaces/err.html index 9d3c543..b59ccd8 100644 --- a/docs/interfaces/err.html +++ b/docs/interfaces/err.html @@ -118,7 +118,7 @@

    Optional paramName

    @@ -129,7 +129,7 @@

    Optional parse

    @@ -140,7 +140,7 @@

    Optional required

    @@ -151,7 +151,7 @@

    resolve

    @@ -186,7 +186,7 @@

    Optional type

    @@ -197,7 +197,7 @@

    Optional validate

    diff --git a/docs/interfaces/errdecorator.html b/docs/interfaces/errdecorator.html index d1ff20e..f863adf 100644 --- a/docs/interfaces/errdecorator.html +++ b/docs/interfaces/errdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -138,7 +138,7 @@

    constructor

  • Returns Err

    diff --git a/docs/interfaces/get.html b/docs/interfaces/get.html index 35ff33a..2583163 100644 --- a/docs/interfaces/get.html +++ b/docs/interfaces/get.html @@ -122,7 +122,7 @@

    Abstract method

    @@ -133,7 +133,7 @@

    Abstract path

    diff --git a/docs/interfaces/head.html b/docs/interfaces/head.html index 09ab194..f2a2e3e 100644 --- a/docs/interfaces/head.html +++ b/docs/interfaces/head.html @@ -122,7 +122,7 @@

    Abstract method

    @@ -133,7 +133,7 @@

    Abstract path

    diff --git a/docs/interfaces/header.html b/docs/interfaces/header.html index abb13ed..3062a1f 100644 --- a/docs/interfaces/header.html +++ b/docs/interfaces/header.html @@ -116,7 +116,7 @@

    headerName

    headerName: string
    @@ -126,7 +126,7 @@

    value

    value: string
    @@ -144,7 +144,7 @@

    Optional

    Inherited from ApplicableAnnotation.after

    Parameters

    @@ -185,7 +185,7 @@

    Optional

    Inherited from ApplicableAnnotation.before

    Parameters

    @@ -223,7 +223,7 @@

    Optional

    Inherited from ApplicableAnnotation.end

    Parameters

    diff --git a/docs/interfaces/headerdecorator.html b/docs/interfaces/headerdecorator.html index e8332ad..c38cd15 100644 --- a/docs/interfaces/headerdecorator.html +++ b/docs/interfaces/headerdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -151,7 +151,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/headerparam.html b/docs/interfaces/headerparam.html index bdba516..54c4e03 100644 --- a/docs/interfaces/headerparam.html +++ b/docs/interfaces/headerparam.html @@ -121,7 +121,7 @@

    headerName

    headerName: string
    @@ -132,7 +132,7 @@

    Optional paramName

    @@ -144,7 +144,7 @@

    Optional parse

    Inherited from AbstractParam.parse

    Overrides ParamOptions.parse

    @@ -156,7 +156,7 @@

    Optional required

    Inherited from AbstractParam.required

    Overrides ParamOptions.required

    @@ -167,7 +167,7 @@

    resolve

    @@ -203,7 +203,7 @@

    Optional type

    Inherited from AbstractParam.type

    Overrides ParamOptions.type

    @@ -215,7 +215,7 @@

    Optional validate

    Inherited from AbstractParam.validate

    Overrides ParamOptions.validate

    diff --git a/docs/interfaces/headerparamdecorator.html b/docs/interfaces/headerparamdecorator.html index 3df92b5..696519c 100644 --- a/docs/interfaces/headerparamdecorator.html +++ b/docs/interfaces/headerparamdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -147,7 +147,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/headers.html b/docs/interfaces/headers.html index 518973c..aa69f12 100644 --- a/docs/interfaces/headers.html +++ b/docs/interfaces/headers.html @@ -121,7 +121,7 @@

    Optional paramName

    @@ -133,7 +133,7 @@

    Optional parse

    Inherited from AbstractParam.parse

    Overrides ParamsOptions.parse

    @@ -144,7 +144,7 @@

    Optional required

    @@ -155,7 +155,7 @@

    resolve

    @@ -190,7 +190,7 @@

    Optional type

    @@ -202,7 +202,7 @@

    Optional validate

    Inherited from AbstractParam.validate

    Overrides ParamsOptions.validate

    diff --git a/docs/interfaces/headersdecorator.html b/docs/interfaces/headersdecorator.html index 7e70313..6969cf5 100644 --- a/docs/interfaces/headersdecorator.html +++ b/docs/interfaces/headersdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -144,7 +144,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/icontrollercontext.html b/docs/interfaces/icontrollercontext.html index 23f2e1c..8c6cc38 100644 --- a/docs/interfaces/icontrollercontext.html +++ b/docs/interfaces/icontrollercontext.html @@ -108,7 +108,7 @@

    controllerType

    controllerType: Type<T>
    @@ -123,7 +123,7 @@

    injector

    injector: Injector
    @@ -138,7 +138,7 @@

    instance

    instance: T
    @@ -153,7 +153,7 @@

    metadata

    @@ -168,7 +168,7 @@

    methods

    methods: Map<string, MethodAnnotationMap>
    @@ -183,7 +183,7 @@

    router

    router: Router
    diff --git a/docs/interfaces/icontrolleroptions.html b/docs/interfaces/icontrolleroptions.html index 844b605..64c27e6 100644 --- a/docs/interfaces/icontrolleroptions.html +++ b/docs/interfaces/icontrolleroptions.html @@ -95,7 +95,7 @@

    Optional providers

    providers: Provider[]
    diff --git a/docs/interfaces/imiddleware.html b/docs/interfaces/imiddleware.html index f137f0e..65c65fa 100644 --- a/docs/interfaces/imiddleware.html +++ b/docs/interfaces/imiddleware.html @@ -99,7 +99,7 @@

    use

  • Parameters

    diff --git a/docs/interfaces/imodulecontext.html b/docs/interfaces/imodulecontext.html index 16e66ed..2010cf4 100644 --- a/docs/interfaces/imodulecontext.html +++ b/docs/interfaces/imodulecontext.html @@ -107,7 +107,7 @@

    factory

    @@ -122,7 +122,7 @@

    metadata

    metadata: NemModule
    @@ -137,7 +137,7 @@

    Optional module

    module: T
    @@ -152,7 +152,7 @@

    moduleType

    moduleType: Type<T>
    @@ -167,7 +167,7 @@

    router

    router: IRouter<any>
    diff --git a/docs/interfaces/inemoptions.html b/docs/interfaces/inemoptions.html index ce1b6f1..30d7089 100644 --- a/docs/interfaces/inemoptions.html +++ b/docs/interfaces/inemoptions.html @@ -103,7 +103,7 @@

    Optional injector

    injector: Injector
    @@ -118,7 +118,7 @@

    Optional providers

    providers: Provider[]
    diff --git a/docs/interfaces/iredirectoptions.html b/docs/interfaces/iredirectoptions.html index e707794..e1b3186 100644 --- a/docs/interfaces/iredirectoptions.html +++ b/docs/interfaces/iredirectoptions.html @@ -100,7 +100,7 @@

    Optional status

    status: undefined | number
    diff --git a/docs/interfaces/iuseoptions.html b/docs/interfaces/iuseoptions.html index dd97693..84b5ef8 100644 --- a/docs/interfaces/iuseoptions.html +++ b/docs/interfaces/iuseoptions.html @@ -95,7 +95,7 @@

    Optional use

    use: "before" | "after"
    diff --git a/docs/interfaces/json.html b/docs/interfaces/json.html index 0333e42..48e11e1 100644 --- a/docs/interfaces/json.html +++ b/docs/interfaces/json.html @@ -114,7 +114,7 @@

    Optional

    Inherited from ApplicableAnnotation.after

    Parameters

    @@ -155,7 +155,7 @@

    Optional

    Inherited from ApplicableAnnotation.before

    Parameters

    @@ -193,7 +193,7 @@

    Optional

    Inherited from ApplicableAnnotation.end

    Parameters

    diff --git a/docs/interfaces/jsoncontroller.html b/docs/interfaces/jsoncontroller.html index c0bff5a..a38bbaa 100644 --- a/docs/interfaces/jsoncontroller.html +++ b/docs/interfaces/jsoncontroller.html @@ -113,7 +113,7 @@

    Optional providers

    diff --git a/docs/interfaces/jsoncontrollerdecorator.html b/docs/interfaces/jsoncontrollerdecorator.html index df80464..7cc5136 100644 --- a/docs/interfaces/jsoncontrollerdecorator.html +++ b/docs/interfaces/jsoncontrollerdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -141,7 +141,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/jsondecorator.html b/docs/interfaces/jsondecorator.html index 0afb83c..6445efa 100644 --- a/docs/interfaces/jsondecorator.html +++ b/docs/interfaces/jsondecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -144,7 +144,7 @@

    constructor

  • Returns Json

    diff --git a/docs/interfaces/locals.html b/docs/interfaces/locals.html index c5f2eb7..6497fad 100644 --- a/docs/interfaces/locals.html +++ b/docs/interfaces/locals.html @@ -115,7 +115,7 @@

    locals

    locals: Object
    @@ -133,7 +133,7 @@

    Optional

    Inherited from ApplicableAnnotation.after

    Parameters

    @@ -174,7 +174,7 @@

    Optional

    Inherited from ApplicableAnnotation.before

    Parameters

    @@ -212,7 +212,7 @@

    Optional

    Inherited from ApplicableAnnotation.end

    Parameters

    diff --git a/docs/interfaces/localsdecorator.html b/docs/interfaces/localsdecorator.html index 7daf45c..da66f97 100644 --- a/docs/interfaces/localsdecorator.html +++ b/docs/interfaces/localsdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -148,7 +148,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/methodannotationmap.html b/docs/interfaces/methodannotationmap.html index 138d3ad..5f3ec14 100644 --- a/docs/interfaces/methodannotationmap.html +++ b/docs/interfaces/methodannotationmap.html @@ -298,7 +298,7 @@

    get

    Parameters

    @@ -313,7 +313,7 @@

    Returns

    Overrides Map.get

    Parameters

    @@ -328,7 +328,7 @@

    Returns

    Overrides Map.get

    Parameters

    diff --git a/docs/interfaces/methoddecorator.html b/docs/interfaces/methoddecorator.html index d8f2b59..7dfaa3f 100644 --- a/docs/interfaces/methoddecorator.html +++ b/docs/interfaces/methoddecorator.html @@ -98,7 +98,7 @@

    Callable

  • @@ -141,7 +141,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/middlewaredecorator.html b/docs/interfaces/middlewaredecorator.html index 1bd876a..f88d257 100644 --- a/docs/interfaces/middlewaredecorator.html +++ b/docs/interfaces/middlewaredecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -139,7 +139,7 @@

    constructor

  • Returns Middleware

    diff --git a/docs/interfaces/nemmodule.html b/docs/interfaces/nemmodule.html index c3e8720..556040c 100644 --- a/docs/interfaces/nemmodule.html +++ b/docs/interfaces/nemmodule.html @@ -111,7 +111,7 @@

    Optional controller

    controller: [string | RegExp, Type<any>][]
    @@ -121,7 +121,7 @@

    Optional middlewares

    middlewares: any[]
    @@ -131,7 +131,7 @@

    Optional modules

    modules: (Type<any> | NemModuleWithProviders | Object)[]
    @@ -141,7 +141,7 @@

    Optional providers

    providers: Provider[]
    @@ -151,7 +151,7 @@

    Optional router

    router: [string | RegExp, Router][]
    diff --git a/docs/interfaces/nemmoduledecorator.html b/docs/interfaces/nemmoduledecorator.html index 0d87213..83153c1 100644 --- a/docs/interfaces/nemmoduledecorator.html +++ b/docs/interfaces/nemmoduledecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -133,7 +133,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/nemmodulewithproviders.html b/docs/interfaces/nemmodulewithproviders.html index 3db9dfd..6e72835 100644 --- a/docs/interfaces/nemmodulewithproviders.html +++ b/docs/interfaces/nemmodulewithproviders.html @@ -119,7 +119,7 @@

    nemModule

    nemModule: Type<any>
    @@ -129,7 +129,7 @@

    Optional providers

    providers: Provider[]
    diff --git a/docs/interfaces/noop.html b/docs/interfaces/noop.html index 744e4da..e93edd9 100644 --- a/docs/interfaces/noop.html +++ b/docs/interfaces/noop.html @@ -114,7 +114,7 @@

    Optional

    Inherited from ApplicableAnnotation.after

    Parameters

    @@ -155,7 +155,7 @@

    Optional

    Inherited from ApplicableAnnotation.before

    Parameters

    @@ -193,7 +193,7 @@

    Optional

    Inherited from ApplicableAnnotation.end

    Parameters

    diff --git a/docs/interfaces/noopdecorator.html b/docs/interfaces/noopdecorator.html index 133e1ac..e3d965b 100644 --- a/docs/interfaces/noopdecorator.html +++ b/docs/interfaces/noopdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -138,7 +138,7 @@

    constructor

  • Returns Noop

    diff --git a/docs/interfaces/onnull.html b/docs/interfaces/onnull.html index 3da3df1..0a5cfbb 100644 --- a/docs/interfaces/onnull.html +++ b/docs/interfaces/onnull.html @@ -115,7 +115,7 @@

    statusOrError

    statusOrError: number | HttpError
    @@ -133,7 +133,7 @@

    Optional

    Inherited from ApplicableAnnotation.after

    Parameters

    @@ -174,7 +174,7 @@

    Optional

    Inherited from ApplicableAnnotation.before

    Parameters

    @@ -212,7 +212,7 @@

    Optional

    Inherited from ApplicableAnnotation.end

    Parameters

    diff --git a/docs/interfaces/onnulldecorator.html b/docs/interfaces/onnulldecorator.html index 438a9f7..89cf3f0 100644 --- a/docs/interfaces/onnulldecorator.html +++ b/docs/interfaces/onnulldecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -150,7 +150,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/onundefined.html b/docs/interfaces/onundefined.html index 5038bcc..4e1b1e2 100644 --- a/docs/interfaces/onundefined.html +++ b/docs/interfaces/onundefined.html @@ -115,7 +115,7 @@

    statusOrError

    statusOrError: number | HttpError
    @@ -133,7 +133,7 @@

    Optional

    Inherited from ApplicableAnnotation.after

    Parameters

    @@ -174,7 +174,7 @@

    Optional

    Inherited from ApplicableAnnotation.before

    Parameters

    @@ -212,7 +212,7 @@

    Optional

    Inherited from ApplicableAnnotation.end

    Parameters

    diff --git a/docs/interfaces/onundefineddecorator.html b/docs/interfaces/onundefineddecorator.html index 3db4d3a..eb4c49d 100644 --- a/docs/interfaces/onundefineddecorator.html +++ b/docs/interfaces/onundefineddecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -149,7 +149,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/options.html b/docs/interfaces/options.html index e41d18b..1f0dd21 100644 --- a/docs/interfaces/options.html +++ b/docs/interfaces/options.html @@ -122,7 +122,7 @@

    Abstract method

    @@ -133,7 +133,7 @@

    Abstract path

    diff --git a/docs/interfaces/param.html b/docs/interfaces/param.html index 404c5bc..b21ca97 100644 --- a/docs/interfaces/param.html +++ b/docs/interfaces/param.html @@ -121,7 +121,7 @@

    paramName

    @@ -133,7 +133,7 @@

    Optional parse

    Inherited from AbstractParam.parse

    Overrides ParamOptions.parse

    @@ -145,7 +145,7 @@

    Optional required

    Inherited from AbstractParam.required

    Overrides ParamOptions.required

    @@ -156,7 +156,7 @@

    resolve

    @@ -192,7 +192,7 @@

    Optional type

    Inherited from AbstractParam.type

    Overrides ParamOptions.type

    @@ -204,7 +204,7 @@

    Optional validate

    Inherited from AbstractParam.validate

    Overrides ParamOptions.validate

    diff --git a/docs/interfaces/paramdecorator.html b/docs/interfaces/paramdecorator.html index 6f1beb9..70443b3 100644 --- a/docs/interfaces/paramdecorator.html +++ b/docs/interfaces/paramdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -147,7 +147,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/paramoptions.html b/docs/interfaces/paramoptions.html index 3b6c472..0987187 100644 --- a/docs/interfaces/paramoptions.html +++ b/docs/interfaces/paramoptions.html @@ -115,7 +115,7 @@

    Optional parse

    parse: undefined | function
    @@ -125,7 +125,7 @@

    Optional required

    required: undefined | true | false
    @@ -135,7 +135,7 @@

    Optional type

    type: any
    @@ -145,7 +145,7 @@

    Optional validate

    validate: undefined | function
    diff --git a/docs/interfaces/params.html b/docs/interfaces/params.html index 7693782..6b7e50d 100644 --- a/docs/interfaces/params.html +++ b/docs/interfaces/params.html @@ -121,7 +121,7 @@

    Optional paramName

    @@ -133,7 +133,7 @@

    Optional parse

    Inherited from AbstractParam.parse

    Overrides ParamsOptions.parse

    @@ -144,7 +144,7 @@

    Optional required

    @@ -155,7 +155,7 @@

    resolve

    @@ -190,7 +190,7 @@

    Optional type

    @@ -202,7 +202,7 @@

    Optional validate

    Inherited from AbstractParam.validate

    Overrides ParamsOptions.validate

    diff --git a/docs/interfaces/paramsdecorator.html b/docs/interfaces/paramsdecorator.html index 61d6849..4b111b1 100644 --- a/docs/interfaces/paramsdecorator.html +++ b/docs/interfaces/paramsdecorator.html @@ -83,7 +83,7 @@

    Callable

  • @@ -137,7 +137,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/paramsoptions.html b/docs/interfaces/paramsoptions.html index 02f5e68..d402f40 100644 --- a/docs/interfaces/paramsoptions.html +++ b/docs/interfaces/paramsoptions.html @@ -110,7 +110,7 @@

    Optional parse

    parse: undefined | function
    @@ -120,7 +120,7 @@

    Optional validate

    validate: undefined | function
    diff --git a/docs/interfaces/patch.html b/docs/interfaces/patch.html index 265881a..0b3508f 100644 --- a/docs/interfaces/patch.html +++ b/docs/interfaces/patch.html @@ -122,7 +122,7 @@

    Abstract method

    @@ -133,7 +133,7 @@

    Abstract path

    diff --git a/docs/interfaces/post.html b/docs/interfaces/post.html index 6123543..cd5395f 100644 --- a/docs/interfaces/post.html +++ b/docs/interfaces/post.html @@ -122,7 +122,7 @@

    Abstract method

    @@ -133,7 +133,7 @@

    Abstract path

    diff --git a/docs/interfaces/put.html b/docs/interfaces/put.html index 5fc668d..8585385 100644 --- a/docs/interfaces/put.html +++ b/docs/interfaces/put.html @@ -122,7 +122,7 @@

    Abstract method

    @@ -133,7 +133,7 @@

    Abstract path

    diff --git a/docs/interfaces/queryparam.html b/docs/interfaces/queryparam.html index 4e9f1a7..d35bed5 100644 --- a/docs/interfaces/queryparam.html +++ b/docs/interfaces/queryparam.html @@ -121,7 +121,7 @@

    paramName

    @@ -133,7 +133,7 @@

    Optional parse

    Inherited from AbstractParam.parse

    Overrides ParamOptions.parse

    @@ -145,7 +145,7 @@

    Optional required

    Inherited from AbstractParam.required

    Overrides ParamOptions.required

    @@ -156,7 +156,7 @@

    resolve

    @@ -192,7 +192,7 @@

    Optional type

    Inherited from AbstractParam.type

    Overrides ParamOptions.type

    @@ -204,7 +204,7 @@

    Optional validate

    Inherited from AbstractParam.validate

    Overrides ParamOptions.validate

    diff --git a/docs/interfaces/queryparamdecorator.html b/docs/interfaces/queryparamdecorator.html index 65cb0ae..fb1dcb1 100644 --- a/docs/interfaces/queryparamdecorator.html +++ b/docs/interfaces/queryparamdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -147,7 +147,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/queryparams.html b/docs/interfaces/queryparams.html index 6c9a71a..22e74c7 100644 --- a/docs/interfaces/queryparams.html +++ b/docs/interfaces/queryparams.html @@ -121,7 +121,7 @@

    Optional paramName

    @@ -133,7 +133,7 @@

    Optional parse

    Inherited from AbstractParam.parse

    Overrides ParamsOptions.parse

    @@ -144,7 +144,7 @@

    Optional required

    @@ -155,7 +155,7 @@

    resolve

    @@ -190,7 +190,7 @@

    Optional type

    @@ -202,7 +202,7 @@

    Optional validate

    Inherited from AbstractParam.validate

    Overrides ParamsOptions.validate

    diff --git a/docs/interfaces/queryparamsdecorator.html b/docs/interfaces/queryparamsdecorator.html index ea6186b..c4be7b5 100644 --- a/docs/interfaces/queryparamsdecorator.html +++ b/docs/interfaces/queryparamsdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -144,7 +144,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/raw.html b/docs/interfaces/raw.html index 3a37471..e0ee3dc 100644 --- a/docs/interfaces/raw.html +++ b/docs/interfaces/raw.html @@ -114,7 +114,7 @@

    Optional

    Inherited from ApplicableAnnotation.after

    Parameters

    @@ -155,7 +155,7 @@

    Optional

    Inherited from ApplicableAnnotation.before

    Parameters

    @@ -193,7 +193,7 @@

    Optional

    Inherited from ApplicableAnnotation.end

    Parameters

    diff --git a/docs/interfaces/rawdecorator.html b/docs/interfaces/rawdecorator.html index 18eefa0..789b974 100644 --- a/docs/interfaces/rawdecorator.html +++ b/docs/interfaces/rawdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -144,7 +144,7 @@

    constructor

  • Returns Raw

    diff --git a/docs/interfaces/redirect.html b/docs/interfaces/redirect.html index 45e35c0..7edd199 100644 --- a/docs/interfaces/redirect.html +++ b/docs/interfaces/redirect.html @@ -120,7 +120,7 @@

    status

    @@ -130,7 +130,7 @@

    url

    url: string
    @@ -148,7 +148,7 @@

    Optional

    Inherited from ApplicableAnnotation.after

    Parameters

    @@ -189,7 +189,7 @@

    Optional

    Inherited from ApplicableAnnotation.before

    Parameters

    @@ -227,7 +227,7 @@

    Optional

    Inherited from ApplicableAnnotation.end

    Parameters

    diff --git a/docs/interfaces/redirectdecorator.html b/docs/interfaces/redirectdecorator.html index 80316b7..ebb1f13 100644 --- a/docs/interfaces/redirectdecorator.html +++ b/docs/interfaces/redirectdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -151,7 +151,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/req.html b/docs/interfaces/req.html index 2dbd53c..9b0e107 100644 --- a/docs/interfaces/req.html +++ b/docs/interfaces/req.html @@ -118,7 +118,7 @@

    Optional paramName

    @@ -129,7 +129,7 @@

    Optional parse

    @@ -140,7 +140,7 @@

    Optional required

    @@ -151,7 +151,7 @@

    resolve

    @@ -186,7 +186,7 @@

    Optional type

    @@ -197,7 +197,7 @@

    Optional validate

    diff --git a/docs/interfaces/reqdecorator.html b/docs/interfaces/reqdecorator.html index ac5eccd..40a9603 100644 --- a/docs/interfaces/reqdecorator.html +++ b/docs/interfaces/reqdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -137,7 +137,7 @@

    constructor

  • Returns Req

    diff --git a/docs/interfaces/res.html b/docs/interfaces/res.html index 16d6823..957be07 100644 --- a/docs/interfaces/res.html +++ b/docs/interfaces/res.html @@ -118,7 +118,7 @@

    Optional paramName

    @@ -129,7 +129,7 @@

    Optional parse

    @@ -140,7 +140,7 @@

    Optional required

    @@ -151,7 +151,7 @@

    resolve

    @@ -186,7 +186,7 @@

    Optional type

    @@ -197,7 +197,7 @@

    Optional validate

    diff --git a/docs/interfaces/resdecorator.html b/docs/interfaces/resdecorator.html index b3e0aab..41503ba 100644 --- a/docs/interfaces/resdecorator.html +++ b/docs/interfaces/resdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -137,7 +137,7 @@

    constructor

  • Returns Res

    diff --git a/docs/interfaces/result.html b/docs/interfaces/result.html index efa9eec..f031cf2 100644 --- a/docs/interfaces/result.html +++ b/docs/interfaces/result.html @@ -140,7 +140,7 @@

    args

    @@ -150,7 +150,7 @@

    result

    result: T
    diff --git a/docs/interfaces/resultctor.html b/docs/interfaces/resultctor.html index e4f5a9e..3610c0c 100644 --- a/docs/interfaces/resultctor.html +++ b/docs/interfaces/resultctor.html @@ -100,7 +100,7 @@

    Callable

  • Parameters

    @@ -147,7 +147,7 @@

    constructor

  • Parameters

    @@ -176,7 +176,7 @@

    ensure

  • Type parameters

    diff --git a/docs/interfaces/session.html b/docs/interfaces/session.html index cdbde60..bb66069 100644 --- a/docs/interfaces/session.html +++ b/docs/interfaces/session.html @@ -121,7 +121,7 @@

    Optional paramName

    @@ -133,7 +133,7 @@

    Optional parse

    Inherited from AbstractParam.parse

    Overrides ParamsOptions.parse

    @@ -144,7 +144,7 @@

    Optional required

    @@ -155,7 +155,7 @@

    resolve

    @@ -190,7 +190,7 @@

    Optional type

    @@ -202,7 +202,7 @@

    Optional validate

    Inherited from AbstractParam.validate

    Overrides ParamsOptions.validate

    diff --git a/docs/interfaces/sessiondecorator.html b/docs/interfaces/sessiondecorator.html index f49bdf7..824a51c 100644 --- a/docs/interfaces/sessiondecorator.html +++ b/docs/interfaces/sessiondecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -143,7 +143,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/sessionid.html b/docs/interfaces/sessionid.html index d44966c..558fcfb 100644 --- a/docs/interfaces/sessionid.html +++ b/docs/interfaces/sessionid.html @@ -118,7 +118,7 @@

    Optional paramName

    @@ -129,7 +129,7 @@

    Optional parse

    @@ -140,7 +140,7 @@

    Optional required

    @@ -151,7 +151,7 @@

    resolve

    @@ -186,7 +186,7 @@

    Optional type

    @@ -197,7 +197,7 @@

    Optional validate

    diff --git a/docs/interfaces/sessioniddecorator.html b/docs/interfaces/sessioniddecorator.html index 38f326a..2078090 100644 --- a/docs/interfaces/sessioniddecorator.html +++ b/docs/interfaces/sessioniddecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -137,7 +137,7 @@

    constructor

  • Returns Session

    diff --git a/docs/interfaces/sessionparam.html b/docs/interfaces/sessionparam.html index 4edb2d5..35210ca 100644 --- a/docs/interfaces/sessionparam.html +++ b/docs/interfaces/sessionparam.html @@ -121,7 +121,7 @@

    paramName

    @@ -133,7 +133,7 @@

    Optional parse

    Inherited from AbstractParam.parse

    Overrides ParamOptions.parse

    @@ -145,7 +145,7 @@

    Optional required

    Inherited from AbstractParam.required

    Overrides ParamOptions.required

    @@ -156,7 +156,7 @@

    resolve

    @@ -192,7 +192,7 @@

    Optional type

    Inherited from AbstractParam.type

    Overrides ParamOptions.type

    @@ -204,7 +204,7 @@

    Optional validate

    Inherited from AbstractParam.validate

    Overrides ParamOptions.validate

    diff --git a/docs/interfaces/sessionparamdecorator.html b/docs/interfaces/sessionparamdecorator.html index 53cccae..5ed40b6 100644 --- a/docs/interfaces/sessionparamdecorator.html +++ b/docs/interfaces/sessionparamdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -146,7 +146,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/statuscode.html b/docs/interfaces/statuscode.html index a8b0ce1..b19ed6a 100644 --- a/docs/interfaces/statuscode.html +++ b/docs/interfaces/statuscode.html @@ -115,7 +115,7 @@

    status

    status: number
    @@ -133,7 +133,7 @@

    Optional

    Inherited from ApplicableAnnotation.after

    Parameters

    @@ -174,7 +174,7 @@

    Optional

    Inherited from ApplicableAnnotation.before

    Parameters

    @@ -212,7 +212,7 @@

    Optional

    Inherited from ApplicableAnnotation.end

    Parameters

    diff --git a/docs/interfaces/statuscodedecorator.html b/docs/interfaces/statuscodedecorator.html index eb2f66e..33d93bd 100644 --- a/docs/interfaces/statuscodedecorator.html +++ b/docs/interfaces/statuscodedecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -148,7 +148,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/text.html b/docs/interfaces/text.html index 727d37e..504f6d1 100644 --- a/docs/interfaces/text.html +++ b/docs/interfaces/text.html @@ -114,7 +114,7 @@

    Optional

    Inherited from ApplicableAnnotation.after

    Parameters

    @@ -155,7 +155,7 @@

    Optional

    Inherited from ApplicableAnnotation.before

    Parameters

    @@ -193,7 +193,7 @@

    Optional

    Inherited from ApplicableAnnotation.end

    Parameters

    diff --git a/docs/interfaces/textdecorator.html b/docs/interfaces/textdecorator.html index dd06719..492f79b 100644 --- a/docs/interfaces/textdecorator.html +++ b/docs/interfaces/textdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -144,7 +144,7 @@

    constructor

  • Returns Text

    diff --git a/docs/interfaces/type.html b/docs/interfaces/type.html index 14a140d..4dbb4f8 100644 --- a/docs/interfaces/type.html +++ b/docs/interfaces/type.html @@ -138,7 +138,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/typedecorator.html b/docs/interfaces/typedecorator.html index 5649050..020363f 100644 --- a/docs/interfaces/typedecorator.html +++ b/docs/interfaces/typedecorator.html @@ -84,7 +84,7 @@

    Callable

  • Type parameters

    @@ -104,7 +104,7 @@

    Returns T<
  • Parameters

    diff --git a/docs/interfaces/use.html b/docs/interfaces/use.html index 4cdcdfe..3fad9c6 100644 --- a/docs/interfaces/use.html +++ b/docs/interfaces/use.html @@ -108,7 +108,7 @@

    middleware

    middleware: Type<any> | RequestHandler
    @@ -118,7 +118,7 @@

    use

    use: "before" | "after"
    diff --git a/docs/interfaces/usedecorator.html b/docs/interfaces/usedecorator.html index 31cb3da..77e962f 100644 --- a/docs/interfaces/usedecorator.html +++ b/docs/interfaces/usedecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -148,7 +148,7 @@

    constructor

  • Parameters

    diff --git a/docs/interfaces/view.html b/docs/interfaces/view.html index 3b17023..8cae8c5 100644 --- a/docs/interfaces/view.html +++ b/docs/interfaces/view.html @@ -115,7 +115,7 @@

    view

    view: string
    @@ -133,7 +133,7 @@

    Optional

    Inherited from ApplicableAnnotation.after

    Parameters

    @@ -174,7 +174,7 @@

    Optional

    Inherited from ApplicableAnnotation.before

    Parameters

    @@ -212,7 +212,7 @@

    Optional

    Inherited from ApplicableAnnotation.end

    Parameters

    diff --git a/docs/interfaces/viewdecorator.html b/docs/interfaces/viewdecorator.html index 46016b0..f698207 100644 --- a/docs/interfaces/viewdecorator.html +++ b/docs/interfaces/viewdecorator.html @@ -90,7 +90,7 @@

    Callable

  • @@ -148,7 +148,7 @@

    constructor

  • Parameters

    diff --git a/package.json b/package.json index ec2b613..2b20878 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@neoskop/nem", - "version": "0.3.1", + "version": "0.4.0", "description": "Strucktured modules to build express apps", "main": "lib/public_api.js", "typings": "lib/public_api.d.ts",