@lookiero/checkout 0.3.22 → 0.3.23
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/dist/package.json +1 -1
- package/dist/src/domain/checkout/model/checkout.d.ts +1 -1
- package/dist/src/infrastructure/delivery/mock/dataSourceCheckouts.js +2 -2
- package/dist/src/infrastructure/domain/checkout/model/httpCheckouts.js +1 -1
- package/dist/src/infrastructure/projection/checkout/checkout.d.ts +1 -1
- package/dist/src/projection/checkout/checkout.d.ts +1 -1
- package/package.json +1 -1
package/dist/package.json
CHANGED
|
@@ -12,7 +12,7 @@ interface Checkout extends AggregateRoot {
|
|
|
12
12
|
readonly status: CheckoutStatus;
|
|
13
13
|
readonly customerId: string;
|
|
14
14
|
readonly boxId: string;
|
|
15
|
-
readonly
|
|
15
|
+
readonly checkoutBookingId: string;
|
|
16
16
|
readonly expiresOn: Date;
|
|
17
17
|
}
|
|
18
18
|
declare const startCheckoutHandler: CommandHandlerFunction<StartCheckout, Checkout>;
|
|
@@ -7,7 +7,7 @@ const toCheckoutDomain = (checkout) => {
|
|
|
7
7
|
status: checkout.status,
|
|
8
8
|
customerId: checkout.customerId,
|
|
9
9
|
boxId: checkout.boxId,
|
|
10
|
-
|
|
10
|
+
checkoutBookingId: checkout.checkoutBookingId,
|
|
11
11
|
expiresOn: checkout.expiresOn,
|
|
12
12
|
aggregateId: checkout.id,
|
|
13
13
|
domainEvents: [],
|
|
@@ -18,7 +18,7 @@ const toCheckoutProjection = (checkout) => ({
|
|
|
18
18
|
status: checkout.status,
|
|
19
19
|
customerId: checkout.customerId,
|
|
20
20
|
boxId: checkout.boxId,
|
|
21
|
-
|
|
21
|
+
checkoutBookingId: checkout.checkoutBookingId,
|
|
22
22
|
expiresOn: checkout.expiresOn,
|
|
23
23
|
items: [],
|
|
24
24
|
});
|
|
@@ -9,7 +9,7 @@ const toDomain = (checkout) => {
|
|
|
9
9
|
status: checkout.status,
|
|
10
10
|
customerId: checkout.customerId,
|
|
11
11
|
boxId: checkout.boxId,
|
|
12
|
-
|
|
12
|
+
checkoutBookingId: checkout.checkoutBookingId,
|
|
13
13
|
expiresOn: checkout.expiresOn,
|
|
14
14
|
aggregateId: checkout.id,
|
|
15
15
|
domainEvents: [],
|
|
@@ -5,7 +5,7 @@ interface CheckoutDto {
|
|
|
5
5
|
readonly id: string;
|
|
6
6
|
readonly customerId: string;
|
|
7
7
|
readonly boxId: string;
|
|
8
|
-
readonly
|
|
8
|
+
readonly checkoutBookingId: string;
|
|
9
9
|
readonly status: CheckoutStatus;
|
|
10
10
|
readonly expiresOn: string;
|
|
11
11
|
readonly items: CheckoutItemProjection[];
|
|
@@ -4,7 +4,7 @@ interface CheckoutProjection {
|
|
|
4
4
|
readonly id: string;
|
|
5
5
|
readonly customerId: string;
|
|
6
6
|
readonly boxId: string;
|
|
7
|
-
readonly
|
|
7
|
+
readonly checkoutBookingId: string;
|
|
8
8
|
readonly status: CheckoutStatus;
|
|
9
9
|
readonly expiresOn: Date;
|
|
10
10
|
readonly items: CheckoutItemProjection[];
|