@types/amqplib
Advanced tools
Comparing version 0.5.6 to 0.5.7
@@ -0,0 +0,0 @@ import events = require('events'); |
// Type definitions for amqplib 0.5 | ||
// Project: https://github.com/squaremo/amqp.node | ||
// Definitions by: Michael Nahkies <https://github.com/mnahkies>, Ab Reitsma <https://github.com/abreits>, Nicolás Fantone <https://github.com/nfantone> | ||
// Definitions by: Michael Nahkies <https://github.com/mnahkies>, Ab Reitsma <https://github.com/abreits>, Nicolás Fantone <https://github.com/nfantone>, Nick Zelei <https://github.com/zelein> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -5,0 +5,0 @@ // TypeScript Version: 2.3 |
{ | ||
"name": "@types/amqplib", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"description": "TypeScript definitions for amqplib", | ||
@@ -21,2 +21,7 @@ "license": "MIT", | ||
"githubUsername": "nfantone" | ||
}, | ||
{ | ||
"name": "Nick Zelei", | ||
"url": "https://github.com/zelein", | ||
"githubUsername": "zelein" | ||
} | ||
@@ -31,8 +36,8 @@ ], | ||
"dependencies": { | ||
"@types/events": "*", | ||
"@types/bluebird": "*", | ||
"@types/events": "*", | ||
"@types/node": "*" | ||
}, | ||
"typesPublisherContentHash": "51246aa72856a1360ce6598b07bd20b228741bd7adcb6d9aba0641878657904a", | ||
"typesPublisherContentHash": "b533257acca383ea7807f803642a7899463f70bfc6ea5691e59e7c2419160b07", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -144,4 +144,50 @@ export namespace Replies { | ||
content: Buffer; | ||
fields: any; | ||
properties: any; | ||
fields: MessageFields; | ||
properties: MessageProperties; | ||
} | ||
export interface MessageFields { | ||
deliveryTag: number; | ||
redelivered: boolean; | ||
exchange: string; | ||
routingKey: string; | ||
messageCount: string; | ||
} | ||
export interface MessageProperties { | ||
contentType: any | undefined; | ||
contentEncoding: any | undefined; | ||
headers: MessagePropertyHeaders; | ||
deliveryMode: any | undefined; | ||
priority: any | undefined; | ||
correlationId: any | undefined; | ||
replyTo: any | undefined; | ||
expiration: any | undefined; | ||
messageId: any | undefined; | ||
timestamp: any | undefined; | ||
type: any | undefined; | ||
userId: any | undefined; | ||
appId: any | undefined; | ||
clusterId: any | undefined; | ||
} | ||
export interface MessagePropertyHeaders { | ||
"x-first-death-exchange"?: string; | ||
"x-first-death-queue"?: string; | ||
"x-first-death-reason"?: string; | ||
"x-death"?: XDeath[]; | ||
[key: string]: any; | ||
} | ||
export interface XDeath { | ||
count: number; | ||
reason: "rejected" | "expired" | "maxlen"; | ||
queue: string; | ||
time: { | ||
"!": "timestamp"; | ||
value: number; | ||
}; | ||
exchange: string; | ||
"original-expiration"?: any; | ||
"routing-keys": string[]; | ||
} |
@@ -11,7 +11,7 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 02 Jan 2018 23:54:45 GMT | ||
* Dependencies: bluebird, events, node | ||
* Last updated: Fri, 09 Mar 2018 00:52:40 GMT | ||
* Dependencies: events, bluebird, node | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Michael Nahkies <https://github.com/mnahkies>, Ab Reitsma <https://github.com/abreits>, Nicolás Fantone <https://github.com/nfantone>. | ||
These definitions were written by Michael Nahkies <https://github.com/mnahkies>, Ab Reitsma <https://github.com/abreits>, Nicolás Fantone <https://github.com/nfantone>, Nick Zelei <https://github.com/zelein>. |
Sorry, the diff of this file is not supported yet
15176
296