damex 2.0.4 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
|
|
1
|
-
export declare const Get: (path?: string) => (target: any, propertyKey:
|
2
|
-
export declare const Post: (path?: string) => (target: any, propertyKey:
|
3
|
-
export declare const Put: (path?: string) => (target: any, propertyKey:
|
4
|
-
export declare const Patch: (path?: string) => (target: any, propertyKey:
|
5
|
-
export declare const Delete: (path?: string) => (target: any, propertyKey:
|
1
|
+
export declare const Get: (path?: string) => (target: any, propertyKey: any) => any;
|
2
|
+
export declare const Post: (path?: string) => (target: any, propertyKey: any) => any;
|
3
|
+
export declare const Put: (path?: string) => (target: any, propertyKey: any) => any;
|
4
|
+
export declare const Patch: (path?: string) => (target: any, propertyKey: any) => any;
|
5
|
+
export declare const Delete: (path?: string) => (target: any, propertyKey: any) => any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"http-methods.decorator.js","sourceRoot":"","sources":["../../src/decorators/http-methods.decorator.ts"],"names":[],"mappings":";;;AAAA,0CAAsE;AAEtE,SAAS,gBAAgB,CAAC,MAAmB;IACzC,OAAO,UAAU,IAAa;QAC1B,OAAO,UAAU,MAAW,EAAE,
|
1
|
+
{"version":3,"file":"http-methods.decorator.js","sourceRoot":"","sources":["../../src/decorators/http-methods.decorator.ts"],"names":[],"mappings":";;;AAAA,0CAAsE;AAEtE,SAAS,gBAAgB,CAAC,MAAmB;IACzC,OAAO,UAAU,IAAa;QAC1B,OAAO,UAAU,MAAW,EAAE,WAAgB;YAC1C,OAAO,CAAC,cAAc,CAClB,WAAW,EACX,MAAM,EACN,MAAM,EACN,+BAAuB,CAAC,MAAM,CACjC,CAAC;YACF,OAAO,CAAC,cAAc,CAClB,WAAW,EACX,IAAI,EACJ,MAAM,EACN,+BAAuB,CAAC,IAAI,CAC/B,CAAC;QACN,CAAC,CAAC;IACN,CAAC,CAAC;AACN,CAAC;AAEY,QAAA,GAAG,GAAG,gBAAgB,CAAC,mBAAW,CAAC,GAAG,CAAC,CAAC;AACxC,QAAA,IAAI,GAAG,gBAAgB,CAAC,mBAAW,CAAC,IAAI,CAAC,CAAC;AAC1C,QAAA,GAAG,GAAG,gBAAgB,CAAC,mBAAW,CAAC,GAAG,CAAC,CAAC;AACxC,QAAA,KAAK,GAAG,gBAAgB,CAAC,mBAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,QAAA,MAAM,GAAG,gBAAgB,CAAC,mBAAW,CAAC,MAAM,CAAC,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import type { RequestHandler } from 'express';
|
2
|
-
export declare function Middleware(handlers: RequestHandler[]): (target: any, propertyKey:
|
2
|
+
export declare function Middleware(handlers: RequestHandler[]): (target: any, propertyKey: any) => any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"middleware.decorator.js","sourceRoot":"","sources":["../../src/decorators/middleware.decorator.ts"],"names":[],"mappings":";;AAGA,gCASC;AAZD,0CAAyD;AAGzD,SAAgB,UAAU,CAAC,QAA0B;IACjD,OAAO,UAAU,MAAW,EAAE,
|
1
|
+
{"version":3,"file":"middleware.decorator.js","sourceRoot":"","sources":["../../src/decorators/middleware.decorator.ts"],"names":[],"mappings":";;AAGA,gCASC;AAZD,0CAAyD;AAGzD,SAAgB,UAAU,CAAC,QAA0B;IACjD,OAAO,UAAU,MAAW,EAAE,WAAgB;QAC1C,OAAO,CAAC,cAAc,CAClB,WAAW,EACX,QAAQ,EACR,MAAM,EACN,+BAAuB,CAAC,UAAU,CACrC,CAAC;IACN,CAAC,CAAC;AACN,CAAC"}
|