exodus-framework 2.0.58 → 2.0.59

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.
@@ -3,6 +3,7 @@ export declare enum EMessagingQueue {
3
3
  test = "exodus.queue.test",
4
4
  accountCreated = "exodus.account.created",
5
5
  environmentCreated = "exodus.environment.created",
6
+ environmentDeleted = "exodus.environment.deleted",
6
7
  environmentUpdatedToken = "exodus.environment.updated.token"
7
8
  }
8
9
  export type TMessageQueueDataMap = {
@@ -16,6 +17,10 @@ export type TMessageQueueDataMap = {
16
17
  oldToken: string;
17
18
  newToken: string;
18
19
  };
20
+ [EMessagingQueue.environmentDeleted]: {
21
+ uuid: string;
22
+ token: string;
23
+ };
19
24
  };
20
25
  export type TMessagingQueueHandler<K extends keyof TMessageQueueDataMap = any> = (data: TMessageQueueDataMap[K], ack: () => void) => void;
21
26
  export type TMessagingQueueEventList = Partial<Record<keyof TMessageQueueDataMap, TMessagingQueueHandler>>;
@@ -1 +1 @@
1
- {"version":3,"file":"messaging.d.ts","sourceRoot":"","sources":["../../src/contracts/messaging.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAElD,oBAAY,eAAe;IACzB,IAAI,sBAAsB;IAG1B,cAAc,2BAA2B;IAGzC,kBAAkB,+BAA+B;IACjD,uBAAuB,qCAAqC;CAC7D;AAGD,MAAM,MAAM,oBAAoB,GAAG;IACjC,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE;QACtB,IAAI,EAAE,GAAG,CAAC;KACX,CAAC;IACF,CAAC,eAAe,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC3C,CAAC,eAAe,CAAC,kBAAkB,CAAC,EAAE,YAAY,CAAC;IACnD,CAAC,eAAe,CAAC,uBAAuB,CAAC,EAAE;QACzC,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE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,MAAM,IAAI,KACZ,IAAI,CAAC;AAEV,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,MAAM,CAAC,MAAM,oBAAoB,EAAE,sBAAsB,CAAC,CAC3D,CAAC"}
@@ -8,6 +8,7 @@ let EMessagingQueue = exports.EMessagingQueue = /*#__PURE__*/function (EMessagin
8
8
  EMessagingQueue["test"] = "exodus.queue.test";
9
9
  EMessagingQueue["accountCreated"] = "exodus.account.created";
10
10
  EMessagingQueue["environmentCreated"] = "exodus.environment.created";
11
+ EMessagingQueue["environmentDeleted"] = "exodus.environment.deleted";
11
12
  EMessagingQueue["environmentUpdatedToken"] = "exodus.environment.updated.token";
12
13
  return EMessagingQueue;
13
14
  }({}); // Mapeamento de tópicos para tipos
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodus-framework",
3
- "version": "2.0.58",
3
+ "version": "2.0.59",
4
4
  "description": "Exodus Framework",
5
5
  "author": "jhownpaixao",
6
6
  "license": "ISC",