@avtechno/sfr 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/types/index.d.ts +7 -3
package/package.json
CHANGED
package/src/types/index.d.ts
CHANGED
|
@@ -102,6 +102,7 @@ declare type OASConfig = Omit<ServiceManifest, "documents"> & InfoObject
|
|
|
102
102
|
declare type ServiceManifest = {
|
|
103
103
|
title: string;
|
|
104
104
|
description: string;
|
|
105
|
+
version : string;
|
|
105
106
|
tags?: string[];
|
|
106
107
|
meta: {
|
|
107
108
|
//Specifies the domain of the service
|
|
@@ -280,13 +281,16 @@ declare type ParserCFG = {
|
|
|
280
281
|
|
|
281
282
|
declare type Channel = import("amqplib").Channel;
|
|
282
283
|
declare type ConsumeMessage = import("amqplib").ConsumeMessage;
|
|
283
|
-
declare type
|
|
284
|
+
declare type MessageFields = import("amqplib").MessageFields;
|
|
285
|
+
declare type MessageProperties = import ("amqplib").MessageProperties;
|
|
284
286
|
declare type QueueOptions = import("amqplib").Options.AssertQueue;
|
|
285
287
|
declare type ConsumeOptions = import("amqplib").Options.Consume;
|
|
286
288
|
|
|
287
289
|
declare type ParsedMessage = {
|
|
288
|
-
content :
|
|
289
|
-
|
|
290
|
+
content : any;
|
|
291
|
+
fields : MessageFields;
|
|
292
|
+
properties : MessageProperties;
|
|
293
|
+
}
|
|
290
294
|
declare type ConsumerConfig = {
|
|
291
295
|
options?: ConsumeOptions;
|
|
292
296
|
fn: ((msg: ParsedMessage) => void);
|