Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pomgui committed Sep 3, 2020
1 parent 72865f5 commit 9b1c844
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 pomgui
Copyright (c) 2020 Pomgui Informatica Ltda

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# PiServices
# Pi Rest Services

PiServices is a typescript library that makes it easier to create a node REST server using
Pirest is a typescript library that makes it easier to create a node REST server using
[decorators](https://www.typescriptlang.org/docs/handbook/decorators.html) to improve the
reading and writing of REST services source code.

## Installation

Use npm to install piservices.
Use npm to install pirest.

```bash
npm install piservices --save
npm install pirest --save
```

## Usage Example
Expand Down
1 change: 0 additions & 1 deletion lib/service/PiService.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Request, Response, Router, IRouterMatcher, Application } from "express";
import { PiDatabase } from "../dao/PiDatabase";
import { PiDbFactoryFn, PiServiceOptions, PiExceptionHandlerParams, PiExtraParams } from "./types";
import { PiTypeDescriptor } from 'pirest-lib';

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
},
"bin": {},
"keywords": [],
"author": "Wilfredo <wilfredo@pomgui.com> (https://github.com/pomgui)",
"author": "Wilfredo <wpomier@pomgui.com> (https://github.com/pomgui)",
"license": "MIT",
"dependencies": {
"pirest-lib": "file:/pi/pirest-lib"
"pirest-lib": "^0.1.0"
},
"devDependencies": {
"@types/express": "^4.17.1",
Expand Down
2 changes: 1 addition & 1 deletion spec/service/PiService.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PiTypeDescriptor, PiFieldDescriptor, PiRestError, PiField, PiJstype, PiDescriptor } from "pirest-lib";
import { PiTypeDescriptor, PiFieldDescriptor, PiField, PiJstype, PiDescriptor } from "pirest-lib";
import { PiGET, PiPOST, PiPUT, PiPATCH, PiDELETE, PiService } from '../../lib/service/PiService';
import * as express from 'express';
import * as request from 'supertest';
Expand Down

0 comments on commit 9b1c844

Please sign in to comment.