@velony/contracts 4.0.0 → 5.0.0
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/README.md +1 -0
- package/dist/integration-event.d.ts +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,6 +41,11 @@ export type IntegrationEvent<TType extends keyof IntegrationEventRegistry> = {
|
|
|
41
41
|
* @readonly
|
|
42
42
|
*/
|
|
43
43
|
readonly payload: IntegrationEventRegistry[TType]['payload'];
|
|
44
|
+
/**
|
|
45
|
+
* The message broker topic where this event should be published.
|
|
46
|
+
* @readonly
|
|
47
|
+
*/
|
|
48
|
+
readonly topic: string;
|
|
44
49
|
/**
|
|
45
50
|
* Key used for partitioning in message brokers for ordering guarantees.
|
|
46
51
|
* @readonly
|