@tabletennisshop/common 1.0.78 → 1.0.80

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.
@@ -6,7 +6,7 @@ interface InventoryAttrs {
6
6
  total_quantity: number;
7
7
  version: number;
8
8
  }
9
- export interface InventoryUpdatedEvent {
9
+ export interface InventoryUpdatedEventInterface {
10
10
  subject: SubjectsEnum.InventoryUpdated;
11
11
  data: InventoryAttrs;
12
12
  }
@@ -7,15 +7,15 @@ interface PaymentAttrs {
7
7
  status: PaymentStatus;
8
8
  version: string;
9
9
  }
10
- export interface PaymentCreatedEvent {
10
+ export interface PaymentCreatedEventInterface {
11
11
  subject: SubjectsEnum.PaymentCreated;
12
12
  data: PaymentAttrs;
13
13
  }
14
- export interface PaymentUpdatedEvent {
14
+ export interface PaymentUpdatedEventInterface {
15
15
  subject: SubjectsEnum.PaymentUpdated;
16
16
  data: PaymentAttrs;
17
17
  }
18
- export interface PaymentExpiredEvent {
18
+ export interface PaymentExpiredEventInterface {
19
19
  subject: SubjectsEnum.PaymentExpired;
20
20
  data: PaymentAttrs;
21
21
  }
@@ -10,15 +10,15 @@ interface ProductAttrs {
10
10
  total_price: number;
11
11
  version: number;
12
12
  }
13
- export interface ProductUpdatedEvent {
13
+ export interface ProductUpdatedEventInterface {
14
14
  subject: SubjectsEnum.ProductUpdated;
15
15
  data: ProductAttrs;
16
16
  }
17
- export interface ProductCreatedEvent {
17
+ export interface ProductCreatedEventInterface {
18
18
  subject: SubjectsEnum.ProductCreated;
19
19
  data: ProductAttrs;
20
20
  }
21
- export interface ProductDeletedEvent {
21
+ export interface ProductDeletedEventInterface {
22
22
  subject: SubjectsEnum.ProductDeleted;
23
23
  data: {
24
24
  _id: Types.ObjectId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tabletennisshop/common",
3
- "version": "1.0.78",
3
+ "version": "1.0.80",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "build/index.d.ts",