@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.
|
@@ -7,15 +7,15 @@ interface PaymentAttrs {
|
|
|
7
7
|
status: PaymentStatus;
|
|
8
8
|
version: string;
|
|
9
9
|
}
|
|
10
|
-
export interface
|
|
10
|
+
export interface PaymentCreatedEventInterface {
|
|
11
11
|
subject: SubjectsEnum.PaymentCreated;
|
|
12
12
|
data: PaymentAttrs;
|
|
13
13
|
}
|
|
14
|
-
export interface
|
|
14
|
+
export interface PaymentUpdatedEventInterface {
|
|
15
15
|
subject: SubjectsEnum.PaymentUpdated;
|
|
16
16
|
data: PaymentAttrs;
|
|
17
17
|
}
|
|
18
|
-
export interface
|
|
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
|
|
13
|
+
export interface ProductUpdatedEventInterface {
|
|
14
14
|
subject: SubjectsEnum.ProductUpdated;
|
|
15
15
|
data: ProductAttrs;
|
|
16
16
|
}
|
|
17
|
-
export interface
|
|
17
|
+
export interface ProductCreatedEventInterface {
|
|
18
18
|
subject: SubjectsEnum.ProductCreated;
|
|
19
19
|
data: ProductAttrs;
|
|
20
20
|
}
|
|
21
|
-
export interface
|
|
21
|
+
export interface ProductDeletedEventInterface {
|
|
22
22
|
subject: SubjectsEnum.ProductDeleted;
|
|
23
23
|
data: {
|
|
24
24
|
_id: Types.ObjectId;
|