c2-http 1.0.3 → 1.0.4

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.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { Controller } from "./model/Controller";
2
+ import { IControllerOptions } from "./model/IControllerOptions";
2
3
  declare function HttpDispatchHandling(target: any, methodName: string, descriptor: PropertyDescriptor): PropertyDescriptor;
3
4
  declare function HttpDispatchDownload(target: any, methodName: string, descriptor: PropertyDescriptor): PropertyDescriptor;
4
- export { Controller, HttpDispatchHandling, HttpDispatchDownload };
5
+ export { Controller, IControllerOptions, HttpDispatchHandling, HttpDispatchDownload };
@@ -1,7 +1,7 @@
1
1
  import { Router } from "express";
2
- import { ControllerOptions } from "./IControllerOptions";
2
+ import { IControllerOptions } from "./IControllerOptions";
3
3
  export declare abstract class Controller {
4
4
  routers: Router;
5
- protected options: ControllerOptions;
6
- constructor(_options: ControllerOptions);
5
+ protected options: IControllerOptions;
6
+ constructor(_options: IControllerOptions);
7
7
  }
@@ -1,4 +1,4 @@
1
- export interface ControllerOptions {
1
+ export interface IControllerOptions {
2
2
  uri: string;
3
3
  basePath: string;
4
4
  relativePath: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-http",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Biblioteca Typescript para API NodeJS",
5
5
  "repository": "https://cabralsilva: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@github.com/cabralsilva/c2-http.git",
6
6
  "author": "Daniel Cabral <cabralconsultoriaemsoftware@gmail.com>",