@feathersjs/feathers
Advanced tools
Comparing version 5.0.3 to 5.0.4
import { NextFunction } from '@feathersjs/hooks'; | ||
import { HookContext, FeathersService } from './declarations'; | ||
export declare function eventHook(context: HookContext, next: NextFunction): Promise<void>; | ||
export declare function eventMixin<A>(service: FeathersService<A>): FeathersService<A, import("./declarations").Service<any, Partial<any>, import("./declarations").Params<import("./declarations").Query>, Partial<Partial<any>>>>; | ||
export declare function eventMixin<A>(service: FeathersService<A>): FeathersService<A>; |
@@ -28,5 +28,5 @@ import { HookContextData, HookManager, Middleware } from '@feathersjs/hooks'; | ||
export declare function convertHookData(input: any): { | ||
[method: string]: AroundHookFunction<import("./declarations").Application<any, any>, Service<any, Partial<any>, import("./declarations").Params<import("./declarations").Query>, Partial<Partial<any>>>>[] | HookFunction<import("./declarations").Application<any, any>, Service<any, Partial<any>, import("./declarations").Params<import("./declarations").Query>, Partial<Partial<any>>>>[]; | ||
[method: string]: AroundHookFunction[] | HookFunction[]; | ||
}; | ||
export declare function collectHooks(target: HookEnabled, method: string): AroundHookFunction<import("./declarations").Application<any, any>, Service<any, Partial<any>, import("./declarations").Params<import("./declarations").Query>, Partial<Partial<any>>>>[]; | ||
export declare function collectHooks(target: HookEnabled, method: string): AroundHookFunction[]; | ||
export declare function enableHooks(object: any): (this: HookEnabled, input: HookMap<any, any>) => HookEnabled; | ||
@@ -42,3 +42,3 @@ export declare function createContext(service: Service, method: string, data?: HookContextData): HookContext<import("./declarations").Application<any, any>, any>; | ||
} | ||
export declare function hookMixin<A>(this: A, service: FeathersService<A>, path: string, options: ServiceOptions): FeathersService<A, Service<any, Partial<any>, import("./declarations").Params<import("./declarations").Query>, Partial<Partial<any>>>>; | ||
export declare function hookMixin<A>(this: A, service: FeathersService<A>, path: string, options: ServiceOptions): FeathersService<A>; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
declare const _default: "5.0.3"; | ||
declare const _default: "5.0.4"; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = '5.0.3'; | ||
exports.default = '5.0.4'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@feathersjs/feathers", | ||
"description": "A framework for real-time applications and REST API with JavaScript and TypeScript", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"homepage": "http://feathersjs.com", | ||
@@ -61,3 +61,3 @@ "repository": { | ||
"dependencies": { | ||
"@feathersjs/commons": "^5.0.3", | ||
"@feathersjs/commons": "^5.0.4", | ||
"@feathersjs/hooks": "^0.8.1", | ||
@@ -74,3 +74,3 @@ "events": "^3.3.0" | ||
}, | ||
"gitHead": "a6ba4dfd08f537a7d4778bed4c45091cbe3802aa" | ||
"gitHead": "376e89040991db500f1f327aa699322543315039" | ||
} |
@@ -20,3 +20,3 @@ <img style="width: 100%; max-width: 400px;" src="http://feathersjs.com/img/feathers-logo-wide.png" alt="Feathers logo"> | ||
```bash | ||
$ npm init feathers my-new-app | ||
$ npm create feathers my-new-app | ||
$ cd my-new-app | ||
@@ -26,7 +26,5 @@ $ npm start | ||
To learn more about Feathers visit the website at [feathersjs.com](http://feathersjs.com) or jump right into [the Feathers guides](http://docs.feathersjs.com/guides). | ||
## Documentation | ||
The [Feathers docs](http://docs.feathersjs.com) are loaded with awesome stuff and tell you every thing you need to know about using and configuring Feathers. | ||
To learn more about Feathers visit the website at [feathersjs.com](http://feathersjs.com) or jump right into [the Feathers guides](http://feathersjs.com/guides). | ||
@@ -33,0 +31,0 @@ ## License |
@@ -1,1 +0,1 @@ | ||
export default '5.0.3' | ||
export default '5.0.4' |
Sorry, the diff of this file is too big to display
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
154184
1830
34
Updated@feathersjs/commons@^5.0.4