@daffodil/cart 0.94.1 → 0.95.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.
Files changed (43) hide show
  1. package/fesm2022/daffodil-cart-driver-in-memory.mjs +1618 -1198
  2. package/fesm2022/daffodil-cart-driver-in-memory.mjs.map +1 -1
  3. package/fesm2022/daffodil-cart-driver-magento-2.4.7-testing.mjs +546 -0
  4. package/fesm2022/daffodil-cart-driver-magento-2.4.7-testing.mjs.map +1 -0
  5. package/fesm2022/daffodil-cart-driver-magento-2.4.7.mjs +2607 -0
  6. package/fesm2022/daffodil-cart-driver-magento-2.4.7.mjs.map +1 -0
  7. package/fesm2022/daffodil-cart-driver-magento-auto-testing.mjs +7 -0
  8. package/fesm2022/daffodil-cart-driver-magento-auto-testing.mjs.map +1 -0
  9. package/fesm2022/daffodil-cart-driver-magento-auto.mjs +7 -0
  10. package/fesm2022/daffodil-cart-driver-magento-auto.mjs.map +1 -0
  11. package/fesm2022/daffodil-cart-driver-testing.mjs +553 -335
  12. package/fesm2022/daffodil-cart-driver-testing.mjs.map +1 -1
  13. package/fesm2022/daffodil-cart-driver.mjs +167 -292
  14. package/fesm2022/daffodil-cart-driver.mjs.map +1 -1
  15. package/fesm2022/daffodil-cart-routing.mjs +741 -542
  16. package/fesm2022/daffodil-cart-routing.mjs.map +1 -1
  17. package/fesm2022/daffodil-cart-state-testing.mjs +288 -193
  18. package/fesm2022/daffodil-cart-state-testing.mjs.map +1 -1
  19. package/fesm2022/daffodil-cart-state.mjs +2571 -2800
  20. package/fesm2022/daffodil-cart-state.mjs.map +1 -1
  21. package/fesm2022/daffodil-cart-testing.mjs +542 -357
  22. package/fesm2022/daffodil-cart-testing.mjs.map +1 -1
  23. package/fesm2022/daffodil-cart.mjs +131 -200
  24. package/fesm2022/daffodil-cart.mjs.map +1 -1
  25. package/package.json +1 -1
  26. package/types/daffodil-cart-driver-in-memory.d.ts +273 -292
  27. package/types/daffodil-cart-driver-magento-2.4.7-testing.d.ts +176 -0
  28. package/types/daffodil-cart-driver-magento-2.4.7.d.ts +860 -0
  29. package/types/daffodil-cart-driver-magento-auto-testing.d.ts +1 -0
  30. package/types/daffodil-cart-driver-magento-auto.d.ts +1 -0
  31. package/types/daffodil-cart-driver-testing.d.ts +111 -118
  32. package/types/daffodil-cart-driver.d.ts +219 -262
  33. package/types/daffodil-cart-routing.d.ts +130 -149
  34. package/types/daffodil-cart-state-testing.d.ts +115 -114
  35. package/types/daffodil-cart-state.d.ts +1126 -1173
  36. package/types/daffodil-cart-testing.d.ts +146 -158
  37. package/types/daffodil-cart.d.ts +302 -321
  38. package/fesm2022/daffodil-cart-driver-magento-testing.mjs +0 -332
  39. package/fesm2022/daffodil-cart-driver-magento-testing.mjs.map +0 -1
  40. package/fesm2022/daffodil-cart-driver-magento.mjs +0 -2273
  41. package/fesm2022/daffodil-cart-driver-magento.mjs.map +0 -1
  42. package/types/daffodil-cart-driver-magento-testing.d.ts +0 -188
  43. package/types/daffodil-cart-driver-magento.d.ts +0 -999
@@ -1,382 +1,363 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { InMemoryBackendConfig, RequestInfo, InMemoryDbService } from 'angular-in-memory-web-api';
3
- import * as rxjs from 'rxjs';
4
- import { Observable } from 'rxjs';
5
- import { DaffCart, DaffCartItem, DaffCartItemInput, DaffCartAddress, DaffCartPaymentMethod, DaffCartShippingRate, DaffCartOrderResult, DaffCartCoupon } from '@daffodil/cart';
6
- import { DaffCartServiceInterface, DaffCartItemServiceInterface, DaffCartBillingAddressServiceInterface, DaffCartPaymentServiceInterface, DaffCartPaymentMethodsServiceInterface, DaffCartShippingAddressServiceInterface, DaffCartShippingInformationServiceInterface, DaffCartShippingMethodsServiceInterface, DaffCartOrderServiceInterface, DaffCartCouponServiceInterface } from '@daffodil/cart/driver';
7
- import { DaffDriverResponse } from '@daffodil/driver';
8
- import { DaffInMemoryDriverBase, DaffInMemorySingleRouteableBackend, DaffInMemoryBackendDelegate, DaffInMemoryMultiRouteableBackend, DaffInMemoryDriverConfig } from '@daffodil/driver/in-memory';
9
- import * as i0 from '@angular/core';
10
- import { ModuleWithProviders } from '@angular/core';
11
- import * as i1 from '@angular/common';
12
- import { DaffCartFactory, DaffCartItemFactory, DaffCartShippingRateFactory } from '@daffodil/cart/testing';
13
- import { DaffInMemoryBackendProductService } from '@daffodil/product/driver/in-memory';
14
-
1
+ import { HttpClient } from "@angular/common/http";
2
+ import { InMemoryBackendConfig, InMemoryDbService, RequestInfo } from "angular-in-memory-web-api";
3
+ import { Observable } from "rxjs";
4
+ import { DaffCart, DaffCartAddress, DaffCartCoupon, DaffCartItem, DaffCartItemInput, DaffCartOrderResult, DaffCartPaymentMethod, DaffCartShippingRate } from "@daffodil/cart";
5
+ import { DaffCartBillingAddressServiceInterface, DaffCartCouponServiceInterface, DaffCartItemServiceInterface, DaffCartOrderServiceInterface, DaffCartPaymentMethodsServiceInterface, DaffCartPaymentServiceInterface, DaffCartServiceInterface, DaffCartShippingAddressServiceInterface, DaffCartShippingInformationServiceInterface, DaffCartShippingMethodsServiceInterface } from "@daffodil/cart/driver";
6
+ import { DaffDriverResponse } from "@daffodil/driver";
7
+ import { DaffInMemoryBackendDelegate, DaffInMemoryDriverBase, DaffInMemoryDriverConfig, DaffInMemoryMultiRouteableBackend, DaffInMemorySingleRouteableBackend } from "@daffodil/driver/in-memory";
8
+ import * as i0 from "@angular/core";
9
+ import { EnvironmentProviders, ModuleWithProviders } from "@angular/core";
10
+ import * as i1 from "@angular/common";
11
+ import { DaffCartFactory, DaffCartItemFactory, DaffCartShippingRateFactory } from "@daffodil/cart/testing";
12
+ import { DaffInMemoryBackendProductService } from "@daffodil/product/driver/in-memory";
15
13
  /**
16
14
  * @inheritdoc
17
15
  */
18
- declare class DaffInMemoryCartService extends DaffInMemoryDriverBase implements DaffCartServiceInterface {
19
- private http;
20
- constructor(http: HttpClient, config: InMemoryBackendConfig);
21
- get(cartId: DaffCart['id']): Observable<DaffDriverResponse<DaffCart>>;
22
- addToCart(productId: string, qty: number): Observable<DaffCart>;
23
- clear(cartId: DaffCart['id']): Observable<Partial<DaffCart>>;
24
- create(): Observable<{
25
- id: DaffCart['id'];
26
- }>;
27
- merge(guestCart: DaffCart['id'], customerCart?: DaffCart['id']): Observable<DaffDriverResponse<DaffCart>>;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartService, never>;
29
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryCartService>;
16
+ export declare class DaffInMemoryCartService extends DaffInMemoryDriverBase implements DaffCartServiceInterface {
17
+ private http;
18
+ constructor(http: HttpClient, config: InMemoryBackendConfig);
19
+ get(cartId: DaffCart['id']): Observable<DaffDriverResponse<DaffCart>>;
20
+ addToCart(productId: string, qty: number): Observable<DaffCart>;
21
+ clear(cartId: DaffCart['id']): Observable<Partial<DaffCart>>;
22
+ create(): Observable<{
23
+ id: DaffCart['id'];
24
+ }>;
25
+ merge(guestCart: DaffCart['id'], customerCart?: DaffCart['id']): Observable<DaffDriverResponse<DaffCart>>;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartService, never>;
27
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
30
28
  }
31
-
32
29
  /**
33
30
  * @inheritdoc
34
31
  */
35
- declare class DaffInMemoryCartItemService extends DaffInMemoryDriverBase implements DaffCartItemServiceInterface {
36
- private http;
37
- constructor(http: HttpClient, config: InMemoryBackendConfig);
38
- list(cartId: DaffCart['id']): Observable<DaffCartItem[]>;
39
- get(cartId: DaffCart['id'], itemId: DaffCartItem['id']): Observable<DaffCartItem>;
40
- add(cartId: DaffCart['id'], input: DaffCartItemInput): Observable<Partial<DaffCart>>;
41
- update(cartId: DaffCart['id'], itemId: DaffCartItem['id'], item: Partial<DaffCartItem>): Observable<Partial<DaffCart>>;
42
- delete(cartId: DaffCart['id'], itemId: DaffCartItem['id']): Observable<Partial<DaffCart>>;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartItemService, never>;
44
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryCartItemService>;
32
+ export declare class DaffInMemoryCartItemService extends DaffInMemoryDriverBase implements DaffCartItemServiceInterface {
33
+ private http;
34
+ constructor(http: HttpClient, config: InMemoryBackendConfig);
35
+ list(cartId: DaffCart['id']): Observable<DaffCartItem[]>;
36
+ get(cartId: DaffCart['id'], itemId: DaffCartItem['id']): Observable<DaffCartItem>;
37
+ add(cartId: DaffCart['id'], input: DaffCartItemInput): Observable<Partial<DaffCart>>;
38
+ update(cartId: DaffCart['id'], itemId: DaffCartItem['id'], item: Partial<DaffCartItem>): Observable<Partial<DaffCart>>;
39
+ delete(cartId: DaffCart['id'], itemId: DaffCartItem['id']): Observable<Partial<DaffCart>>;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartItemService, never>;
41
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
45
42
  }
46
-
47
43
  /**
48
44
  * @inheritdoc
49
45
  */
50
- declare class DaffInMemoryCartBillingAddressService extends DaffInMemoryDriverBase implements DaffCartBillingAddressServiceInterface {
51
- private http;
52
- constructor(http: HttpClient, config: InMemoryBackendConfig);
53
- get(cartId: DaffCart['id']): Observable<DaffCartAddress>;
54
- update(cartId: DaffCart['id'], address: DaffCartAddress): Observable<Partial<DaffCart>>;
55
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartBillingAddressService, never>;
56
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryCartBillingAddressService>;
46
+ export declare class DaffInMemoryCartBillingAddressService extends DaffInMemoryDriverBase implements DaffCartBillingAddressServiceInterface {
47
+ private http;
48
+ constructor(http: HttpClient, config: InMemoryBackendConfig);
49
+ get(cartId: DaffCart['id']): Observable<DaffCartAddress>;
50
+ update(cartId: DaffCart['id'], address: DaffCartAddress): Observable<Partial<DaffCart>>;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartBillingAddressService, never>;
52
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
57
53
  }
58
-
59
54
  /**
60
55
  * @inheritdoc
61
56
  */
62
- declare class DaffInMemoryCartPaymentService extends DaffInMemoryDriverBase implements DaffCartPaymentServiceInterface {
63
- private http;
64
- constructor(http: HttpClient, config: InMemoryBackendConfig);
65
- get(cartId: DaffCart['id']): Observable<DaffCartPaymentMethod>;
66
- update(cartId: DaffCart['id'], payment: Partial<DaffCartPaymentMethod>): Observable<Partial<DaffCart>>;
67
- updateWithBilling(cartId: DaffCart['id'], payment: Partial<DaffCartPaymentMethod>, address: Partial<DaffCartAddress>): Observable<Partial<DaffCart>>;
68
- remove(cartId: DaffCart['id']): Observable<void>;
69
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartPaymentService, never>;
70
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryCartPaymentService>;
57
+ export declare class DaffInMemoryCartPaymentService extends DaffInMemoryDriverBase implements DaffCartPaymentServiceInterface {
58
+ private http;
59
+ constructor(http: HttpClient, config: InMemoryBackendConfig);
60
+ get(cartId: DaffCart['id']): Observable<DaffCartPaymentMethod>;
61
+ update(cartId: DaffCart['id'], payment: Partial<DaffCartPaymentMethod>): Observable<Partial<DaffCart>>;
62
+ updateWithBilling(cartId: DaffCart['id'], payment: Partial<DaffCartPaymentMethod>, address: Partial<DaffCartAddress>): Observable<Partial<DaffCart>>;
63
+ remove(cartId: DaffCart['id']): Observable<void>;
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartPaymentService, never>;
65
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
71
66
  }
72
-
73
67
  /**
74
68
  * @inheritdoc
75
69
  */
76
- declare class DaffInMemoryCartPaymentMethodsService extends DaffInMemoryDriverBase implements DaffCartPaymentMethodsServiceInterface<DaffCartPaymentMethod> {
77
- private http;
78
- constructor(http: HttpClient, config: InMemoryBackendConfig);
79
- list(cartId: DaffCart['id']): Observable<DaffCartPaymentMethod[]>;
80
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartPaymentMethodsService, never>;
81
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryCartPaymentMethodsService>;
70
+ export declare class DaffInMemoryCartPaymentMethodsService extends DaffInMemoryDriverBase implements DaffCartPaymentMethodsServiceInterface<DaffCartPaymentMethod> {
71
+ private http;
72
+ constructor(http: HttpClient, config: InMemoryBackendConfig);
73
+ list(cartId: DaffCart['id']): Observable<DaffCartPaymentMethod[]>;
74
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartPaymentMethodsService, never>;
75
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
82
76
  }
83
-
84
77
  /**
85
78
  * @inheritdoc
86
79
  */
87
- declare class DaffInMemoryCartShippingAddressService extends DaffInMemoryDriverBase implements DaffCartShippingAddressServiceInterface {
88
- private http;
89
- constructor(http: HttpClient, config: InMemoryBackendConfig);
90
- get(cartId: DaffCart['id']): Observable<DaffCartAddress>;
91
- update(cartId: DaffCart['id'], address: Partial<DaffCartAddress>): Observable<Partial<DaffCart>>;
92
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartShippingAddressService, never>;
93
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryCartShippingAddressService>;
80
+ export declare class DaffInMemoryCartShippingAddressService extends DaffInMemoryDriverBase implements DaffCartShippingAddressServiceInterface {
81
+ private http;
82
+ constructor(http: HttpClient, config: InMemoryBackendConfig);
83
+ get(cartId: DaffCart['id']): Observable<DaffCartAddress>;
84
+ update(cartId: DaffCart['id'], address: Partial<DaffCartAddress>): Observable<Partial<DaffCart>>;
85
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartShippingAddressService, never>;
86
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
94
87
  }
95
-
96
88
  /**
97
89
  * @inheritdoc
98
90
  */
99
- declare class DaffInMemoryCartShippingInformationService extends DaffInMemoryDriverBase implements DaffCartShippingInformationServiceInterface {
100
- private http;
101
- constructor(http: HttpClient, config: InMemoryBackendConfig);
102
- get(cartId: DaffCart['id']): Observable<DaffCartShippingRate>;
103
- update(cartId: DaffCart['id'], info: Partial<DaffCartShippingRate>): Observable<Partial<DaffCart>>;
104
- delete(cartId: DaffCart['id']): Observable<Partial<DaffCart>>;
105
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartShippingInformationService, never>;
106
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryCartShippingInformationService>;
91
+ export declare class DaffInMemoryCartShippingInformationService extends DaffInMemoryDriverBase implements DaffCartShippingInformationServiceInterface {
92
+ private http;
93
+ constructor(http: HttpClient, config: InMemoryBackendConfig);
94
+ get(cartId: DaffCart['id']): Observable<DaffCartShippingRate>;
95
+ update(cartId: DaffCart['id'], info: Partial<DaffCartShippingRate>): Observable<Partial<DaffCart>>;
96
+ delete(cartId: DaffCart['id']): Observable<Partial<DaffCart>>;
97
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartShippingInformationService, never>;
98
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
107
99
  }
108
-
109
100
  /**
110
101
  * @inheritdoc
111
102
  */
112
- declare class DaffInMemoryCartShippingMethodsService extends DaffInMemoryDriverBase implements DaffCartShippingMethodsServiceInterface<DaffCartShippingRate> {
113
- private http;
114
- constructor(http: HttpClient, config: InMemoryBackendConfig);
115
- list(cartId: DaffCart['id']): Observable<DaffCartShippingRate[]>;
116
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartShippingMethodsService, never>;
117
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryCartShippingMethodsService>;
103
+ export declare class DaffInMemoryCartShippingMethodsService extends DaffInMemoryDriverBase implements DaffCartShippingMethodsServiceInterface<DaffCartShippingRate> {
104
+ private http;
105
+ constructor(http: HttpClient, config: InMemoryBackendConfig);
106
+ list(cartId: DaffCart['id']): Observable<DaffCartShippingRate[]>;
107
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartShippingMethodsService, never>;
108
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
118
109
  }
119
-
120
110
  /**
121
111
  * @inheritdoc
122
112
  */
123
- declare class DaffInMemoryCartOrderService extends DaffInMemoryDriverBase implements DaffCartOrderServiceInterface {
124
- private http;
125
- constructor(http: HttpClient, config: InMemoryBackendConfig);
126
- placeOrder(cartId: DaffCart['id'], payment?: DaffCartPaymentMethod): Observable<DaffCartOrderResult>;
127
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartOrderService, never>;
128
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryCartOrderService>;
113
+ export declare class DaffInMemoryCartOrderService extends DaffInMemoryDriverBase implements DaffCartOrderServiceInterface {
114
+ private http;
115
+ constructor(http: HttpClient, config: InMemoryBackendConfig);
116
+ placeOrder(cartId: DaffCart['id'], payment?: DaffCartPaymentMethod): Observable<DaffCartOrderResult>;
117
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartOrderService, never>;
118
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
129
119
  }
130
-
131
120
  /**
132
121
  * @inheritdoc
133
122
  */
134
- declare class DaffInMemoryCartCouponService extends DaffInMemoryDriverBase implements DaffCartCouponServiceInterface {
135
- private http;
136
- constructor(http: HttpClient, config: InMemoryBackendConfig);
137
- list(cartId: DaffCart['id']): Observable<DaffCartCoupon[]>;
138
- apply(cartId: DaffCart['id'], coupon: DaffCartCoupon): Observable<Partial<DaffCart>>;
139
- remove(cartId: DaffCart['id'], coupon: DaffCartCoupon): Observable<Partial<DaffCart>>;
140
- removeAll(cartId: DaffCart['id']): Observable<Partial<DaffCart>>;
141
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartCouponService, never>;
142
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryCartCouponService>;
123
+ export declare class DaffInMemoryCartCouponService extends DaffInMemoryDriverBase implements DaffCartCouponServiceInterface {
124
+ private http;
125
+ constructor(http: HttpClient, config: InMemoryBackendConfig);
126
+ list(cartId: DaffCart['id']): Observable<DaffCartCoupon[]>;
127
+ apply(cartId: DaffCart['id'], coupon: DaffCartCoupon): Observable<Partial<DaffCart>>;
128
+ remove(cartId: DaffCart['id'], coupon: DaffCartCoupon): Observable<Partial<DaffCart>>;
129
+ removeAll(cartId: DaffCart['id']): Observable<Partial<DaffCart>>;
130
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryCartCouponService, never>;
131
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
143
132
  }
144
-
145
- declare class DaffCartInMemoryDriverModule {
146
- static forRoot(): ModuleWithProviders<DaffCartInMemoryDriverModule>;
147
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffCartInMemoryDriverModule, never>;
148
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffCartInMemoryDriverModule, never, [typeof i1.CommonModule], never>;
149
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffCartInMemoryDriverModule>;
133
+ /**
134
+ * @deprecated in favor of {@link provideDaffCartInMemoryDriver} Deprecated in version 0.95.0. Will be removed in version 0.98.0.
135
+ */
136
+ export declare class DaffCartInMemoryDriverModule {
137
+ static forRoot(): ModuleWithProviders<DaffCartInMemoryDriverModule>;
138
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffCartInMemoryDriverModule, never>;
139
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DaffCartInMemoryDriverModule, never, [typeof i1.CommonModule], never>;
140
+ static ɵinj: i0.ɵɵInjectorDeclaration<DaffCartInMemoryDriverModule>;
150
141
  }
151
-
152
- type DaffCartInMemoryExtraAttributesHook = (reqInfo: RequestInfo, cart: DaffCart) => Record<string, any>;
153
- declare const DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK: i0.InjectionToken<DaffCartInMemoryExtraAttributesHook>;
154
-
142
+ /**
143
+ * Provides the in-memory implementations of the `@daffodil/cart/driver` interfaces.
144
+ */
145
+ export declare const provideDaffCartInMemoryDriver: () => EnvironmentProviders;
146
+ export type DaffCartInMemoryExtraAttributesHook = (reqInfo: RequestInfo, cart: DaffCart) => Record<string, any>;
147
+ declare const DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK: import("@angular/core").InjectionToken<DaffCartInMemoryExtraAttributesHook>, provideDaffCartInMemoryExtraAttributesHook: <R extends DaffCartInMemoryExtraAttributesHook = DaffCartInMemoryExtraAttributesHook>(value: R) => import("@angular/core").ValueProvider;
155
148
  /**
156
149
  * @inheritdoc
157
150
  */
158
- declare class DaffInMemoryBackendCartService implements DaffInMemorySingleRouteableBackend {
159
- private cartFactory;
160
- private extraFieldsHook;
161
- private productBackend;
162
- readonly collectionName = "cart";
163
- constructor(cartFactory: DaffCartFactory, extraFieldsHook: DaffCartInMemoryExtraAttributesHook, productBackend: DaffInMemoryBackendProductService);
164
- get(reqInfo: RequestInfo): rxjs.Observable<any>;
165
- post(reqInfo: RequestInfo): rxjs.Observable<any>;
166
- /**
167
- * Gets whatever follows the cart ID section of the request URL.
168
- */
169
- private getAction;
170
- private clear;
171
- private create;
172
- private merge;
173
- private getCart;
174
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartService, never>;
175
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryBackendCartService>;
151
+ export declare class DaffInMemoryBackendCartService implements DaffInMemorySingleRouteableBackend {
152
+ private cartFactory;
153
+ private extraFieldsHook;
154
+ private productBackend;
155
+ readonly collectionName = "cart";
156
+ constructor(cartFactory: DaffCartFactory, extraFieldsHook: DaffCartInMemoryExtraAttributesHook, productBackend: DaffInMemoryBackendProductService);
157
+ get(reqInfo: RequestInfo): import("rxjs").Observable<any>;
158
+ post(reqInfo: RequestInfo): import("rxjs").Observable<any>;
159
+ /**
160
+ * Gets whatever follows the cart ID section of the request URL.
161
+ */
162
+ private getAction;
163
+ private clear;
164
+ private create;
165
+ private merge;
166
+ private getCart;
167
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartService, never>;
168
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
176
169
  }
177
-
178
170
  /**
179
171
  * @inheritdoc
180
172
  */
181
- declare class DaffInMemoryBackendCartAddressService implements DaffInMemorySingleRouteableBackend {
182
- private extraFieldsHook;
183
- readonly collectionName = "cart-address";
184
- constructor(extraFieldsHook: DaffCartInMemoryExtraAttributesHook);
185
- put(reqInfo: RequestInfo): rxjs.Observable<any>;
186
- private getCart;
187
- private updateAddress;
188
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartAddressService, never>;
189
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryBackendCartAddressService>;
173
+ export declare class DaffInMemoryBackendCartAddressService implements DaffInMemorySingleRouteableBackend {
174
+ private extraFieldsHook;
175
+ readonly collectionName = "cart-address";
176
+ constructor(extraFieldsHook: DaffCartInMemoryExtraAttributesHook);
177
+ put(reqInfo: RequestInfo): import("rxjs").Observable<any>;
178
+ private getCart;
179
+ private updateAddress;
180
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartAddressService, never>;
181
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
190
182
  }
191
-
192
183
  /**
193
184
  * @inheritdoc
194
185
  */
195
- declare class DaffInMemoryBackendCartBillingAddressService implements DaffInMemorySingleRouteableBackend {
196
- private extraFieldsHook;
197
- readonly collectionName = "cart-billing-address";
198
- constructor(extraFieldsHook: DaffCartInMemoryExtraAttributesHook);
199
- get(reqInfo: RequestInfo): rxjs.Observable<any>;
200
- put(reqInfo: RequestInfo): rxjs.Observable<any>;
201
- private getCart;
202
- private getBillingAddress;
203
- private updateBillingAddress;
204
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartBillingAddressService, never>;
205
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryBackendCartBillingAddressService>;
186
+ export declare class DaffInMemoryBackendCartBillingAddressService implements DaffInMemorySingleRouteableBackend {
187
+ private extraFieldsHook;
188
+ readonly collectionName = "cart-billing-address";
189
+ constructor(extraFieldsHook: DaffCartInMemoryExtraAttributesHook);
190
+ get(reqInfo: RequestInfo): import("rxjs").Observable<any>;
191
+ put(reqInfo: RequestInfo): import("rxjs").Observable<any>;
192
+ private getCart;
193
+ private getBillingAddress;
194
+ private updateBillingAddress;
195
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartBillingAddressService, never>;
196
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
206
197
  }
207
-
208
198
  /**
209
199
  * @inheritdoc
210
200
  */
211
- declare class DaffInMemoryBackendCartCouponService implements DaffInMemorySingleRouteableBackend {
212
- private extraFieldsHook;
213
- readonly collectionName = "cart-coupon";
214
- constructor(extraFieldsHook: DaffCartInMemoryExtraAttributesHook);
215
- get(reqInfo: RequestInfo): rxjs.Observable<any>;
216
- post(reqInfo: RequestInfo): rxjs.Observable<any>;
217
- delete(reqInfo: RequestInfo): rxjs.Observable<any>;
218
- /**
219
- * Gets whatever follows the cart ID section of the request URL.
220
- */
221
- private getAction;
222
- private getCart;
223
- private listCoupons;
224
- private applyCoupon;
225
- private removeCoupon;
226
- private removeAllCoupons;
227
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartCouponService, never>;
228
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryBackendCartCouponService>;
201
+ export declare class DaffInMemoryBackendCartCouponService implements DaffInMemorySingleRouteableBackend {
202
+ private extraFieldsHook;
203
+ readonly collectionName = "cart-coupon";
204
+ constructor(extraFieldsHook: DaffCartInMemoryExtraAttributesHook);
205
+ get(reqInfo: RequestInfo): import("rxjs").Observable<any>;
206
+ post(reqInfo: RequestInfo): import("rxjs").Observable<any>;
207
+ delete(reqInfo: RequestInfo): import("rxjs").Observable<any>;
208
+ /**
209
+ * Gets whatever follows the cart ID section of the request URL.
210
+ */
211
+ private getAction;
212
+ private getCart;
213
+ private listCoupons;
214
+ private applyCoupon;
215
+ private removeCoupon;
216
+ private removeAllCoupons;
217
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartCouponService, never>;
218
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
229
219
  }
230
-
231
220
  /**
232
221
  * @inheritdoc
233
222
  */
234
- declare class DaffInMemoryBackendCartItemsService implements DaffInMemorySingleRouteableBackend {
235
- private cartItemFactory;
236
- private extraFieldsHook;
237
- private productBackend;
238
- readonly collectionName = "cart-items";
239
- constructor(cartItemFactory: DaffCartItemFactory, extraFieldsHook: DaffCartInMemoryExtraAttributesHook, productBackend: DaffInMemoryBackendProductService);
240
- get(reqInfo: RequestInfo): rxjs.Observable<any>;
241
- put(reqInfo: RequestInfo): rxjs.Observable<any>;
242
- post(reqInfo: RequestInfo): rxjs.Observable<any>;
243
- delete(reqInfo: RequestInfo): rxjs.Observable<any>;
244
- /**
245
- * Gets whatever follows the cart ID section of the request URL.
246
- */
247
- private getAction;
248
- private getCart;
249
- private transformItemInput;
250
- private listItems;
251
- private getItem;
252
- private updateItem;
253
- private addItem;
254
- private deleteItem;
255
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartItemsService, never>;
256
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryBackendCartItemsService>;
223
+ export declare class DaffInMemoryBackendCartItemsService implements DaffInMemorySingleRouteableBackend {
224
+ private cartItemFactory;
225
+ private extraFieldsHook;
226
+ private productBackend;
227
+ readonly collectionName = "cart-items";
228
+ constructor(cartItemFactory: DaffCartItemFactory, extraFieldsHook: DaffCartInMemoryExtraAttributesHook, productBackend: DaffInMemoryBackendProductService);
229
+ get(reqInfo: RequestInfo): import("rxjs").Observable<any>;
230
+ put(reqInfo: RequestInfo): import("rxjs").Observable<any>;
231
+ post(reqInfo: RequestInfo): import("rxjs").Observable<any>;
232
+ delete(reqInfo: RequestInfo): import("rxjs").Observable<any>;
233
+ /**
234
+ * Gets whatever follows the cart ID section of the request URL.
235
+ */
236
+ private getAction;
237
+ private getCart;
238
+ private transformItemInput;
239
+ private listItems;
240
+ private getItem;
241
+ private updateItem;
242
+ private addItem;
243
+ private deleteItem;
244
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartItemsService, never>;
245
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
257
246
  }
258
-
259
247
  /**
260
248
  * @inheritdoc
249
+ *
250
+ * @deprecated Use {@link DaffCheckoutInMemoryBackendOrderService} instead. Deprecated in version 0.95.0. Will be removed in version 0.98.0.
261
251
  */
262
- declare class DaffInMemoryBackendCartOrderService implements DaffInMemorySingleRouteableBackend {
263
- readonly collectionName = "cart-order";
264
- post(reqInfo: RequestInfo): rxjs.Observable<any>;
265
- private placeOrder;
266
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartOrderService, never>;
267
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryBackendCartOrderService>;
252
+ export declare class DaffInMemoryBackendCartOrderService implements DaffInMemorySingleRouteableBackend {
253
+ readonly collectionName = "cart-order";
254
+ post(reqInfo: RequestInfo): import("rxjs").Observable<any>;
255
+ private placeOrder;
256
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartOrderService, never>;
257
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
268
258
  }
269
-
270
259
  /**
271
260
  * @inheritdoc
272
261
  */
273
- declare class DaffInMemoryBackendCartPaymentService implements DaffInMemorySingleRouteableBackend {
274
- private extraFieldsHook;
275
- readonly collectionName = "cart-payment";
276
- constructor(extraFieldsHook: DaffCartInMemoryExtraAttributesHook);
277
- get(reqInfo: RequestInfo): rxjs.Observable<any>;
278
- put(reqInfo: RequestInfo): rxjs.Observable<any>;
279
- delete(reqInfo: RequestInfo): rxjs.Observable<any>;
280
- private getCart;
281
- private getPayment;
282
- private updatePayment;
283
- private removePayment;
284
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartPaymentService, never>;
285
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryBackendCartPaymentService>;
262
+ export declare class DaffInMemoryBackendCartPaymentService implements DaffInMemorySingleRouteableBackend {
263
+ private extraFieldsHook;
264
+ readonly collectionName = "cart-payment";
265
+ constructor(extraFieldsHook: DaffCartInMemoryExtraAttributesHook);
266
+ get(reqInfo: RequestInfo): import("rxjs").Observable<any>;
267
+ put(reqInfo: RequestInfo): import("rxjs").Observable<any>;
268
+ delete(reqInfo: RequestInfo): import("rxjs").Observable<any>;
269
+ private getCart;
270
+ private getPayment;
271
+ private updatePayment;
272
+ private removePayment;
273
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartPaymentService, never>;
274
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
286
275
  }
287
-
288
276
  /**
289
277
  * @inheritdoc
290
278
  */
291
- declare class DaffInMemoryBackendCartPaymentMethodsService implements DaffInMemorySingleRouteableBackend {
292
- readonly collectionName = "cart-payment-methods";
293
- get(reqInfo: RequestInfo): rxjs.Observable<any>;
294
- private getCart;
295
- private listPaymentMethods;
296
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartPaymentMethodsService, never>;
297
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryBackendCartPaymentMethodsService>;
279
+ export declare class DaffInMemoryBackendCartPaymentMethodsService implements DaffInMemorySingleRouteableBackend {
280
+ readonly collectionName = "cart-payment-methods";
281
+ get(reqInfo: RequestInfo): import("rxjs").Observable<any>;
282
+ private getCart;
283
+ private listPaymentMethods;
284
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartPaymentMethodsService, never>;
285
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
298
286
  }
299
-
300
287
  /**
301
288
  * @inheritdoc
302
289
  */
303
- declare class DaffInMemoryBackendCartShippingAddressService implements DaffInMemorySingleRouteableBackend {
304
- private extraFieldsHook;
305
- readonly collectionName = "cart-shipping-address";
306
- constructor(extraFieldsHook: DaffCartInMemoryExtraAttributesHook);
307
- get(reqInfo: RequestInfo): rxjs.Observable<any>;
308
- put(reqInfo: RequestInfo): rxjs.Observable<any>;
309
- private getCart;
310
- private getShippingAddress;
311
- private updateShippingAddress;
312
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartShippingAddressService, never>;
313
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryBackendCartShippingAddressService>;
290
+ export declare class DaffInMemoryBackendCartShippingAddressService implements DaffInMemorySingleRouteableBackend {
291
+ private extraFieldsHook;
292
+ readonly collectionName = "cart-shipping-address";
293
+ constructor(extraFieldsHook: DaffCartInMemoryExtraAttributesHook);
294
+ get(reqInfo: RequestInfo): import("rxjs").Observable<any>;
295
+ put(reqInfo: RequestInfo): import("rxjs").Observable<any>;
296
+ private getCart;
297
+ private getShippingAddress;
298
+ private updateShippingAddress;
299
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartShippingAddressService, never>;
300
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
314
301
  }
315
-
316
302
  /**
317
303
  * @inheritdoc
318
304
  */
319
- declare class DaffInMemoryBackendCartShippingInformationService implements DaffInMemorySingleRouteableBackend {
320
- private extraFieldsHook;
321
- private productBackend;
322
- readonly collectionName = "cart-shipping-information";
323
- constructor(extraFieldsHook: DaffCartInMemoryExtraAttributesHook, productBackend: DaffInMemoryBackendProductService);
324
- get(reqInfo: RequestInfo): rxjs.Observable<any>;
325
- put(reqInfo: RequestInfo): rxjs.Observable<any>;
326
- delete(reqInfo: RequestInfo): rxjs.Observable<any>;
327
- private getCart;
328
- private getShippingInformation;
329
- private updateShippingInformation;
330
- private removeShippingInformation;
331
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartShippingInformationService, never>;
332
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryBackendCartShippingInformationService>;
305
+ export declare class DaffInMemoryBackendCartShippingInformationService implements DaffInMemorySingleRouteableBackend {
306
+ private extraFieldsHook;
307
+ private productBackend;
308
+ readonly collectionName = "cart-shipping-information";
309
+ constructor(extraFieldsHook: DaffCartInMemoryExtraAttributesHook, productBackend: DaffInMemoryBackendProductService);
310
+ get(reqInfo: RequestInfo): import("rxjs").Observable<any>;
311
+ put(reqInfo: RequestInfo): import("rxjs").Observable<any>;
312
+ delete(reqInfo: RequestInfo): import("rxjs").Observable<any>;
313
+ private getCart;
314
+ private getShippingInformation;
315
+ private updateShippingInformation;
316
+ private removeShippingInformation;
317
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartShippingInformationService, never>;
318
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
333
319
  }
334
-
335
320
  /**
336
321
  * @inheritdoc
337
322
  */
338
- declare class DaffInMemoryBackendCartShippingMethodsService implements DaffInMemorySingleRouteableBackend {
339
- private shippingMethodFactory;
340
- readonly collectionName = "cart-shipping-methods";
341
- constructor(shippingMethodFactory: DaffCartShippingRateFactory);
342
- get(reqInfo: RequestInfo): rxjs.Observable<any>;
343
- private getCart;
344
- private listShippingMethods;
345
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartShippingMethodsService, never>;
346
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryBackendCartShippingMethodsService>;
323
+ export declare class DaffInMemoryBackendCartShippingMethodsService implements DaffInMemorySingleRouteableBackend {
324
+ private shippingMethodFactory;
325
+ readonly collectionName = "cart-shipping-methods";
326
+ constructor(shippingMethodFactory: DaffCartShippingRateFactory);
327
+ get(reqInfo: RequestInfo): import("rxjs").Observable<any>;
328
+ private getCart;
329
+ private listShippingMethods;
330
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartShippingMethodsService, never>;
331
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
347
332
  }
348
-
349
333
  /**
350
334
  * The root cart in-memory backend.
351
335
  * Creates the database and delegates requests to child backends.
352
336
  */
353
- declare class DaffInMemoryBackendCartRootService extends DaffInMemoryBackendDelegate implements InMemoryDbService, DaffInMemoryMultiRouteableBackend {
354
- private _config;
355
- /**
356
- * The collection of carts in the backend.
357
- */
358
- carts: DaffCart[];
359
- constructor(cartService: DaffInMemoryBackendCartService, cartItemsService: DaffInMemoryBackendCartItemsService, cartOrderService: DaffInMemoryBackendCartOrderService, cartCouponService: DaffInMemoryBackendCartCouponService, cartAddressService: DaffInMemoryBackendCartAddressService, cartShippingAddressService: DaffInMemoryBackendCartShippingAddressService, cartBillingAddressService: DaffInMemoryBackendCartBillingAddressService, cartPaymentMethodsService: DaffInMemoryBackendCartPaymentMethodsService, cartShippingMethodsService: DaffInMemoryBackendCartShippingMethodsService, cartPaymentService: DaffInMemoryBackendCartPaymentService, cartShippingInformationService: DaffInMemoryBackendCartShippingInformationService, _config: DaffInMemoryDriverConfig);
360
- protected delegateRequest(reqInfo: RequestInfo, method: any): Observable<any>;
361
- canHandle(collectionName: string): boolean;
362
- createDb(reqInfo: RequestInfo): Observable<{
363
- cart: DaffCart[];
364
- }>;
365
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartRootService, never>;
366
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffInMemoryBackendCartRootService>;
337
+ export declare class DaffInMemoryBackendCartRootService extends DaffInMemoryBackendDelegate implements InMemoryDbService, DaffInMemoryMultiRouteableBackend {
338
+ private _config;
339
+ /**
340
+ * The collection of carts in the backend.
341
+ */
342
+ carts: DaffCart[];
343
+ constructor(cartService: DaffInMemoryBackendCartService, cartItemsService: DaffInMemoryBackendCartItemsService, cartOrderService: DaffInMemoryBackendCartOrderService, cartCouponService: DaffInMemoryBackendCartCouponService, cartAddressService: DaffInMemoryBackendCartAddressService, cartShippingAddressService: DaffInMemoryBackendCartShippingAddressService, cartBillingAddressService: DaffInMemoryBackendCartBillingAddressService, cartPaymentMethodsService: DaffInMemoryBackendCartPaymentMethodsService, cartShippingMethodsService: DaffInMemoryBackendCartShippingMethodsService, cartPaymentService: DaffInMemoryBackendCartPaymentService, cartShippingInformationService: DaffInMemoryBackendCartShippingInformationService, _config: DaffInMemoryDriverConfig);
344
+ protected delegateRequest(reqInfo: RequestInfo, method: any): Observable<any>;
345
+ canHandle(collectionName: string): boolean;
346
+ createDb(reqInfo: RequestInfo): Observable<{
347
+ cart: DaffCart[];
348
+ }>;
349
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendCartRootService, never>;
350
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
367
351
  }
368
-
369
- declare const DAFF_CART_IN_MEMORY_CART_COLLECTION_NAME = "cart";
370
- declare const DAFF_CART_IN_MEMORY_CART_ITEMS_COLLECTION_NAME = "cart-items";
371
- declare const DAFF_CART_IN_MEMORY_CART_ORDER_COLLECTION_NAME = "cart-order";
372
- declare const DAFF_CART_IN_MEMORY_CART_COUPON_COLLECTION_NAME = "cart-coupon";
373
- declare const DAFF_CART_IN_MEMORY_CART_ADDRESS_COLLECTION_NAME = "cart-address";
374
- declare const DAFF_CART_IN_MEMORY_CART_SHIPPING_ADDRESS_COLLECTION_NAME = "cart-shipping-address";
375
- declare const DAFF_CART_IN_MEMORY_CART_BILLING_ADDRESS_COLLECTION_NAME = "cart-billing-address";
376
- declare const DAFF_CART_IN_MEMORY_CART_PAYMENT_METHODS_COLLECTION_NAME = "cart-payment-methods";
377
- declare const DAFF_CART_IN_MEMORY_CART_SHIPPING_METHODS_COLLECTION_NAME = "cart-shipping-methods";
378
- declare const DAFF_CART_IN_MEMORY_CART_PAYMENT_COLLECTION_NAME = "cart-payment";
379
- declare const DAFF_CART_IN_MEMORY_CART_SHIPPING_COLLECTION_NAME = "cart-shipping-information";
380
-
381
- export { DAFF_CART_IN_MEMORY_CART_ADDRESS_COLLECTION_NAME, DAFF_CART_IN_MEMORY_CART_BILLING_ADDRESS_COLLECTION_NAME, DAFF_CART_IN_MEMORY_CART_COLLECTION_NAME, DAFF_CART_IN_MEMORY_CART_COUPON_COLLECTION_NAME, DAFF_CART_IN_MEMORY_CART_ITEMS_COLLECTION_NAME, DAFF_CART_IN_MEMORY_CART_ORDER_COLLECTION_NAME, DAFF_CART_IN_MEMORY_CART_PAYMENT_COLLECTION_NAME, DAFF_CART_IN_MEMORY_CART_PAYMENT_METHODS_COLLECTION_NAME, DAFF_CART_IN_MEMORY_CART_SHIPPING_ADDRESS_COLLECTION_NAME, DAFF_CART_IN_MEMORY_CART_SHIPPING_COLLECTION_NAME, DAFF_CART_IN_MEMORY_CART_SHIPPING_METHODS_COLLECTION_NAME, DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK, DaffCartInMemoryDriverModule, DaffInMemoryBackendCartAddressService, DaffInMemoryBackendCartBillingAddressService, DaffInMemoryBackendCartCouponService, DaffInMemoryBackendCartItemsService, DaffInMemoryBackendCartOrderService, DaffInMemoryBackendCartPaymentMethodsService, DaffInMemoryBackendCartPaymentService, DaffInMemoryBackendCartRootService, DaffInMemoryBackendCartService, DaffInMemoryBackendCartShippingAddressService, DaffInMemoryBackendCartShippingInformationService, DaffInMemoryBackendCartShippingMethodsService, DaffInMemoryCartBillingAddressService, DaffInMemoryCartCouponService, DaffInMemoryCartItemService, DaffInMemoryCartOrderService, DaffInMemoryCartPaymentMethodsService, DaffInMemoryCartPaymentService, DaffInMemoryCartService, DaffInMemoryCartShippingAddressService, DaffInMemoryCartShippingInformationService, DaffInMemoryCartShippingMethodsService };
382
- export type { DaffCartInMemoryExtraAttributesHook };
352
+ export declare const DAFF_CART_IN_MEMORY_CART_COLLECTION_NAME = "cart";
353
+ export declare const DAFF_CART_IN_MEMORY_CART_ITEMS_COLLECTION_NAME = "cart-items";
354
+ export declare const DAFF_CART_IN_MEMORY_CART_ORDER_COLLECTION_NAME = "cart-order";
355
+ export declare const DAFF_CART_IN_MEMORY_CART_COUPON_COLLECTION_NAME = "cart-coupon";
356
+ export declare const DAFF_CART_IN_MEMORY_CART_ADDRESS_COLLECTION_NAME = "cart-address";
357
+ export declare const DAFF_CART_IN_MEMORY_CART_SHIPPING_ADDRESS_COLLECTION_NAME = "cart-shipping-address";
358
+ export declare const DAFF_CART_IN_MEMORY_CART_BILLING_ADDRESS_COLLECTION_NAME = "cart-billing-address";
359
+ export declare const DAFF_CART_IN_MEMORY_CART_PAYMENT_METHODS_COLLECTION_NAME = "cart-payment-methods";
360
+ export declare const DAFF_CART_IN_MEMORY_CART_SHIPPING_METHODS_COLLECTION_NAME = "cart-shipping-methods";
361
+ export declare const DAFF_CART_IN_MEMORY_CART_PAYMENT_COLLECTION_NAME = "cart-payment";
362
+ export declare const DAFF_CART_IN_MEMORY_CART_SHIPPING_COLLECTION_NAME = "cart-shipping-information";
363
+ export { DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK };