Skip to content

Commit

Permalink
release v 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwalguptaofficial committed Nov 14, 2018
1 parent 8fba105 commit 37b96a7
Show file tree
Hide file tree
Showing 8 changed files with 97 additions and 71 deletions.
151 changes: 84 additions & 67 deletions dist/fort.commonjs2.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/fort.commonjs2.js.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/ts/create.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="node" />
import * as http from "http";
import { IAppOption } from "./interfaces/app_option";
export declare let app: http.Server;
export declare function create(option: IAppOption): void;
1 change: 1 addition & 0 deletions dist/ts/destroy.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare function destroy(callback?: Function): void;
1 change: 0 additions & 1 deletion dist/ts/helpers/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from './view_result';
export * from './json_result';
export * from './text_result';
export * from './html_result';
Expand Down
3 changes: 2 additions & 1 deletion dist/ts/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
export * from './abstracts/index';
export * from './decorators/index';
export * from './start';
export * from './create';
export * from './interfaces/index';
export * from './enums';
export * from './helpers/index';
export * from './model/index';
export * from './destroy';
3 changes: 3 additions & 0 deletions dist/ts/model/error_handler.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { IException } from "../interfaces/exception";
export declare class ErrorHandler {
onServerError(ex: IException): Promise<string>;
onBadRequest(ex: IException): Promise<string>;
onForbiddenRequest(): Promise<string>;
onMethodNotAllowed(): Promise<string>;
onNotFound(url: string): Promise<string>;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fortjs",
"version": "0.2.0",
"version": "0.3.0",
"description": "Simple & structured MVC web framework for nodejs targeting good code structures, modularity.",
"main": "dist/fort.commonjs2.js",
"types": "dist/ts/index.d.ts",
Expand Down

0 comments on commit 37b96a7

Please sign in to comment.