Comparing version 2.1.2 to 2.1.3
@@ -9,3 +9,3 @@ import * as express from 'express'; | ||
export var static: typeof express.static; | ||
type NullableId = number | string | null; | ||
@@ -16,3 +16,3 @@ | ||
} | ||
interface Pagination <T> { | ||
@@ -39,3 +39,3 @@ total: Number, | ||
/** | ||
* Creates a new resource with data. | ||
* Creates a new resource with data. | ||
*/ | ||
@@ -46,3 +46,3 @@ create?(data: T | T[], params?: Params, callback?: any): Promise<T | T[]>; | ||
* Replaces the resource identified by id with data. | ||
* Update multiples resources with id equal `null` | ||
* Update multiples resources with id equal `null` | ||
*/ | ||
@@ -65,5 +65,10 @@ update?(id: NullableId, data: T, params?: Params, callback?: any): Promise<T>; | ||
/** | ||
* Initialize your service with any special configuration or if connecting services that are very tightly coupled | ||
* Initialize your service with any special configuration or if connecting services that are very tightly coupled | ||
*/ | ||
setup?(app?: Application, path?: string): void; | ||
before(any?): this; | ||
after(any?): this; | ||
filter(any?): this; | ||
} | ||
@@ -82,3 +87,3 @@ | ||
/** | ||
* Registers a new service for that path and returns the wrapped service object | ||
* Registers a new service for that path and returns the wrapped service object | ||
*/ | ||
@@ -93,3 +98,3 @@ service<T>(location: string, service: Service<T>, options?: any): Service<T>; | ||
/** | ||
* Register a service object | ||
* Register a service object | ||
*/ | ||
@@ -96,0 +101,0 @@ use: FeathersUseHandler<this>; |
{ | ||
"name": "feathers", | ||
"description": "Build Better APIs, Faster than Ever.", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"homepage": "http://feathersjs.com", | ||
@@ -73,3 +73,3 @@ "repository": { | ||
"feathers-rest": "^1.5.3", | ||
"feathers-socketio": "^1.4.2", | ||
"feathers-socketio": "^2.0.0", | ||
"istanbul": "^1.1.0-alpha.1", | ||
@@ -76,0 +76,0 @@ "jshint": "^2.9.4", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22961
410