Socket
Socket
Sign inDemoInstall

@types/inversify-express-utils

Package Overview
Dependencies
14
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

64

inversify-express-utils/inversify-express-utils.d.ts

@@ -1,2 +0,2 @@

// Type definitions for inversify 1.0.0-alpha.4
// Type definitions for inversify-express-utils 1.0.0
// Project: https://github.com/inversify/inversify-express-utils

@@ -14,38 +14,48 @@ // Definitions by: inversify <https://github.com/inversify/>

interface IInversifyExpressServerConstructor {
new(kernel: inversify.interfaces.Kernel): IInversifyExpressServer;
}
export namespace interfaces {
interface IInversifyExpressServer {
setConfig(fn: IConfigFunction): IInversifyExpressServer;
setErrorConfig(fn: IConfigFunction): IInversifyExpressServer;
build(): express.Application;
}
export interface InversifyExpressServerConstructor {
new(kernel: inversify.interfaces.Kernel): InversifyExpressServer;
}
interface IConfigFunction {
(app: express.Application): void;
}
export interface InversifyExpressServer {
setConfig(fn: ConfigFunction): InversifyExpressServer;
setErrorConfig(fn: ConfigFunction): InversifyExpressServer;
build(): express.Application;
}
interface IHandlerDecoratorFactory {
(path: string, ...middleware: express.RequestHandler[]): IHandlerDecorator;
export interface ConfigFunction {
(app: express.Application): void;
}
export interface HandlerDecoratorFactory {
(path: string, ...middleware: express.RequestHandler[]): HandlerDecorator;
}
export interface HandlerDecorator {
(target: any, key: string, value: any): void;
}
}
interface IHandlerDecorator {
(target: any, key: string, value: any): void;
export interface Controller {}
interface ServiceIdentifiers {
Controller: Symbol;
}
export interface IController {}
export var InversifyExpressServer: interfaces.InversifyExpressServerConstructor;
export var InversifyExpressServer: IInversifyExpressServerConstructor;
export var Controller: (path: string, ...middleware: express.RequestHandler[]) => (target: any) => void;
export var All: IHandlerDecoratorFactory;
export var Get: IHandlerDecoratorFactory;
export var Post: IHandlerDecoratorFactory;
export var Put: IHandlerDecoratorFactory;
export var Patch: IHandlerDecoratorFactory;
export var Head: IHandlerDecoratorFactory;
export var Delete: IHandlerDecoratorFactory;
export var Method: (method: string, path: string, ...middleware: express.RequestHandler[]) => IHandlerDecorator;
export var All: interfaces.HandlerDecoratorFactory;
export var Get: interfaces.HandlerDecoratorFactory;
export var Post: interfaces.HandlerDecoratorFactory;
export var Put: interfaces.HandlerDecoratorFactory;
export var Patch: interfaces.HandlerDecoratorFactory;
export var Head: interfaces.HandlerDecoratorFactory;
export var Delete: interfaces.HandlerDecoratorFactory;
export var Method: (method: string, path: string, ...middleware: express.RequestHandler[]) => interfaces.HandlerDecorator;
export var TYPE: ServiceIdentifiers;
}
{
"name": "@types/inversify-express-utils",
"version": "1.0.3",
"description": "TypeScript definitions for inversify 1.0.0-alpha.4",
"version": "1.0.4",
"description": "TypeScript definitions for inversify-express-utils 1.0.0",
"license": "MIT",

@@ -13,4 +13,8 @@ "author": "inversify <https://github.com/inversify/>",

"scripts": {},
"dependencies": {},
"typings": "inversify-express-utils.d.ts"
"dependencies": {
"@types/express": "*",
"@types/inversify": "*"
},
"typings": "inversify-express-utils.d.ts",
"typesPublisherContentHash": "c9ca29b252280faec05ed3d3336391cacf1a3ba131a4eb3687af412b3a81b375"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for inversify 1.0.0-alpha.4 (https://github.com/inversify/inversify-express-utils).
This package contains type definitions for inversify-express-utils 1.0.0 (https://github.com/inversify/inversify-express-utils).

@@ -12,5 +12,5 @@ # Details

Additional Details
* Last updated: Thu, 25 Aug 2016 16:56:06 GMT
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT
* File structure: DeclareModule
* Library Dependencies: none
* Library Dependencies: express, inversify
* Module Dependencies: none

@@ -17,0 +17,0 @@ * Global values: none

{
"authors": "inversify <https://github.com/inversify/>",
"definitionFilename": "inversify-express-utils.d.ts",
"libraryDependencies": [],
"libraryDependencies": [
"express",
"inversify"
],
"moduleDependencies": [],
"libraryMajorVersion": "1",
"libraryMinorVersion": "0",
"libraryName": "inversify 1.0.0-alpha.4",
"libraryName": "inversify-express-utils 1.0.0",
"typingsPackageName": "inversify-express-utils",

@@ -22,3 +25,3 @@ "projectName": "https://github.com/inversify/inversify-express-utils",

"hasPackageJson": false,
"contentHash": "9ab30caf4304c4ecdb0376b177438a5d4488b37987f7497239f85b1cd1442067"
"contentHash": "c9ca29b252280faec05ed3d3336391cacf1a3ba131a4eb3687af412b3a81b375"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc