@daffodil/driver 0.89.0 → 0.91.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 +16 -1
- package/fesm2022/daffodil-driver-in-memory.mjs +93 -2
- package/fesm2022/daffodil-driver-in-memory.mjs.map +1 -1
- package/fesm2022/daffodil-driver-magento.mjs +297 -217
- package/fesm2022/daffodil-driver-magento.mjs.map +1 -1
- package/fesm2022/daffodil-driver-shopify-testing.mjs +65 -16
- package/fesm2022/daffodil-driver-shopify-testing.mjs.map +1 -1
- package/fesm2022/daffodil-driver-shopify.mjs +1214 -1301
- package/fesm2022/daffodil-driver-shopify.mjs.map +1 -1
- package/in-memory/index.d.ts +80 -3
- package/magento/index.d.ts +114 -32
- package/package.json +1 -1
- package/shopify/index.d.ts +1871 -2037
- package/shopify/testing/index.d.ts +53 -14
package/in-memory/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ModuleWithProviders, Type, EnvironmentProviders } from '@angular/core';
|
|
2
|
+
import { ModuleWithProviders, Type, EnvironmentProviders, InjectionToken } from '@angular/core';
|
|
3
3
|
import { RequestInfo, InMemoryDbService, InMemoryBackendConfigArgs } from 'angular-in-memory-web-api';
|
|
4
4
|
import * as rxjs from 'rxjs';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
@@ -158,5 +158,82 @@ declare class DaffInMemoryDriverModule {
|
|
|
158
158
|
*/
|
|
159
159
|
declare const provideDaffInMemoryDriver: (config?: DaffInMemoryDriverConfig, ...backends: Array<Type<DaffInMemoryBackendInterface>>) => EnvironmentProviders[];
|
|
160
160
|
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
/**
|
|
162
|
+
* Represents a routable object with a URL and type identifier.
|
|
163
|
+
* Used by in-memory drivers to enable automatic URL resolution
|
|
164
|
+
* of in-memory objects. See {@link DaffExternalRouterInMemoryDriver}
|
|
165
|
+
*/
|
|
166
|
+
interface DaffInMemoryRoutableObject {
|
|
167
|
+
/**
|
|
168
|
+
* The URL path for this routable object (e.g., "/product-123").
|
|
169
|
+
*/
|
|
170
|
+
url: string;
|
|
171
|
+
/**
|
|
172
|
+
* The type identifier for this routable object (e.g., "PRODUCTS", "NAVIGATION").
|
|
173
|
+
*/
|
|
174
|
+
type: string;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* A map of URL paths to their corresponding routable objects.
|
|
178
|
+
* The key is the URL path.
|
|
179
|
+
*/
|
|
180
|
+
type DaffInMemoryRoutableObjects = ReadonlyMap<string, DaffInMemoryRoutableObject>;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* A function that returns an array of entities with URL properties.
|
|
184
|
+
* Used to provide routable in-memory object information to the routing system.
|
|
185
|
+
*/
|
|
186
|
+
type DaffInMemoryRoutableObjectsResolver = () => Array<{
|
|
187
|
+
url: string;
|
|
188
|
+
}>;
|
|
189
|
+
/**
|
|
190
|
+
* Internal injection token that builds and provides the complete map of routable objects.
|
|
191
|
+
*
|
|
192
|
+
* This token automatically collects all registered routable object resolvers and builds
|
|
193
|
+
* a Map where the key is the URL path and the value is an object containing both the URL
|
|
194
|
+
* and its associated type. This map is used by in-memory drivers to resolve URLs to their types.
|
|
195
|
+
*
|
|
196
|
+
* @docs-private
|
|
197
|
+
*/
|
|
198
|
+
declare const DAFF_INMEMORY_ROUTABLE_OBJECTS: InjectionToken<DaffInMemoryRoutableObjects>;
|
|
199
|
+
/**
|
|
200
|
+
* Registers routable objects from an in-memory driver with the routing system.
|
|
201
|
+
*
|
|
202
|
+
* This function allows in-memory drivers to provide their entities (with URL properties)
|
|
203
|
+
* to enable automatic URL resolution. Each driver provides a resolver function that
|
|
204
|
+
* returns its entities with URL properties, along with a type identifier.
|
|
205
|
+
*
|
|
206
|
+
* The resolver function runs in an injection context, which means you can use Angular's
|
|
207
|
+
* `inject()` function within it to access services and dependencies.
|
|
208
|
+
*
|
|
209
|
+
* @param type - The type identifier for these routable objects (e.g., "PRODUCTS")
|
|
210
|
+
* @param resolver - A function that returns an array of entities with URL properties.
|
|
211
|
+
* This function runs in an injection context, allowing use of `inject()`.
|
|
212
|
+
* @returns Environment providers that register the routable objects
|
|
213
|
+
*
|
|
214
|
+
* @usageNotes
|
|
215
|
+
*
|
|
216
|
+
* ### Basic Usage
|
|
217
|
+
*
|
|
218
|
+
* In your driver package, create a resolver function:
|
|
219
|
+
*
|
|
220
|
+
* ```typescript
|
|
221
|
+
* const productResolver = (): Array<{ url: string }> => {
|
|
222
|
+
* return inject(DaffInMemoryBackendProductService).products.map((p) => ({ url: p.url }));
|
|
223
|
+
* };
|
|
224
|
+
* ```
|
|
225
|
+
*
|
|
226
|
+
* Then in your app configuration:
|
|
227
|
+
*
|
|
228
|
+
* ```typescript
|
|
229
|
+
* export const appConfig: ApplicationConfig = {
|
|
230
|
+
* providers: [
|
|
231
|
+
* provideDaffInMemoryRoutableObjects("PRODUCTS", productResolver),
|
|
232
|
+
* ]
|
|
233
|
+
* };
|
|
234
|
+
* ```
|
|
235
|
+
*/
|
|
236
|
+
declare const provideDaffInMemoryRoutableObjects: (type: string, resolver: DaffInMemoryRoutableObjectsResolver) => EnvironmentProviders;
|
|
237
|
+
|
|
238
|
+
export { DAFF_INMEMORY_ROUTABLE_OBJECTS, DAFF_IN_MEMORY_BACKENDS, DAFF_IN_MEMORY_DRIVER_CONFIG, DAFF_IN_MEMORY_DRIVER_CONFIG_DEFAULT, DaffInMemoryBackendDelegate, DaffInMemoryDriverBase, DaffInMemoryDriverModule, DaffInMemoryRootBackend, provideDaffInMemoryBackends, provideDaffInMemoryDriver, provideDaffInMemoryDriverConfig, provideDaffInMemoryRoutableObjects };
|
|
239
|
+
export type { DaffInMemoryBackendInterface, DaffInMemoryDataServiceInterface, DaffInMemoryDriverConfig, DaffInMemoryMultiRouteableBackend, DaffInMemoryRoutableObject, DaffInMemoryRoutableObjects, DaffInMemoryRoutableObjectsResolver, DaffInMemoryRouteableBackend, DaffInMemorySingleRouteableBackend };
|
package/magento/index.d.ts
CHANGED
|
@@ -1,31 +1,41 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { InjectionToken, Provider } from '@angular/core';
|
|
3
|
-
import { UriFunction, PossibleTypesMap, TypePolicies, ApolloLink } from '@apollo/client/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken, Provider, EnvironmentProviders, StateKey } from '@angular/core';
|
|
3
|
+
import { UriFunction, PossibleTypesMap, TypePolicies, ApolloClientOptions, ApolloLink } from '@apollo/client/core';
|
|
4
|
+
import { ErrorHandler } from '@apollo/client/link/error';
|
|
5
|
+
import { ApolloCache, NormalizedCacheObject } from '@apollo/client/cache';
|
|
4
6
|
import { DaffErrorCodeMap, DaffError, DaffInheritableError, DaffCollectionMetadata, DaffSortDirectionEnum } from '@daffodil/core';
|
|
5
7
|
import { GraphQLFormattedError } from 'graphql';
|
|
6
8
|
import { DaffApolloLinkGenerator } from '@daffodil/core/graphql';
|
|
7
9
|
import { DaffDriverHttpClientCacheServiceInterface } from '@daffodil/driver';
|
|
8
10
|
import * as apollo_angular from 'apollo-angular';
|
|
9
11
|
|
|
10
|
-
declare const
|
|
12
|
+
declare const MAGENTO_POSSIBLE_TYPES: {
|
|
11
13
|
possibleTypes: {
|
|
14
|
+
AggregationOptionInterface: string[];
|
|
15
|
+
AttributeSelectedOptionInterface: string[];
|
|
16
|
+
AttributeValueInterface: string[];
|
|
12
17
|
CartAddressInterface: string[];
|
|
13
18
|
CartItemInterface: string[];
|
|
14
|
-
ProductInterface: string[];
|
|
15
19
|
CategoryInterface: string[];
|
|
16
|
-
MediaGalleryInterface: string[];
|
|
17
|
-
ProductLinksInterface: string[];
|
|
18
20
|
CreditMemoItemInterface: string[];
|
|
19
|
-
|
|
21
|
+
CustomAttributeMetadataInterface: string[];
|
|
22
|
+
CustomAttributeOptionInterface: string[];
|
|
23
|
+
CustomizableOptionInterface: string[];
|
|
24
|
+
CustomizableProductInterface: string[];
|
|
25
|
+
Error: string[];
|
|
26
|
+
ErrorInterface: string[];
|
|
20
27
|
InvoiceItemInterface: string[];
|
|
21
|
-
ShipmentItemInterface: string[];
|
|
22
|
-
AggregationOptionInterface: string[];
|
|
23
28
|
LayerFilterItemInterface: string[];
|
|
29
|
+
MediaGalleryInterface: string[];
|
|
30
|
+
OrderItemInterface: string[];
|
|
24
31
|
PhysicalProductInterface: string[];
|
|
25
|
-
|
|
26
|
-
|
|
32
|
+
ProductInterface: string[];
|
|
33
|
+
ProductLinksInterface: string[];
|
|
34
|
+
RoutableInterface: string[];
|
|
35
|
+
ShipmentItemInterface: string[];
|
|
27
36
|
SwatchDataInterface: string[];
|
|
28
37
|
SwatchLayerFilterItemInterface: string[];
|
|
38
|
+
WishlistItemInterface: string[];
|
|
29
39
|
};
|
|
30
40
|
};
|
|
31
41
|
|
|
@@ -42,6 +52,75 @@ interface DaffMagentoDriverConfig {
|
|
|
42
52
|
*/
|
|
43
53
|
declare function provideMagentoDriver(endpoint: string | InjectionToken<string | UriFunction>, options?: DaffMagentoDriverConfig): Provider[];
|
|
44
54
|
|
|
55
|
+
/**
|
|
56
|
+
* A non-exhaustive list of feature kinds that exist for {@link provideMagentoDriver}.
|
|
57
|
+
*/
|
|
58
|
+
declare enum MagentoDriverFeatureKind {
|
|
59
|
+
CacheableOperations = "DaffMagentoDriverCacheableOperationsFeature",
|
|
60
|
+
CacheHeader = "DaffMagentoDriverCacheHeaderFeature",
|
|
61
|
+
ErrorHandler = "DaffMagentoDriverErrorHandlerFeature",
|
|
62
|
+
TransferState = "DaffMagentoDriverTransferStateFeature",
|
|
63
|
+
ExtraApolloOptions = "DaffMagentoDriverExtraApolloOptionsFeature"
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* A feature for {@link provideMagentoDriver}.
|
|
68
|
+
*/
|
|
69
|
+
interface MagentoDriverFeature {
|
|
70
|
+
ɵkind: MagentoDriverFeatureKind | string;
|
|
71
|
+
ɵproviders: Array<Provider | EnvironmentProviders>;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Apollo client options except link and cache, creation of which is done by {@link provideMagentoDriver}.
|
|
76
|
+
*/
|
|
77
|
+
type DaffDriverMagentoExtraApolloOptions = Omit<ApolloClientOptions<any>, 'link' | 'cache'>;
|
|
78
|
+
declare const DAFF_DRIVER_MAGENTO_EXTRA_APOLLO_OPTIONS: _angular_core.InjectionToken<DaffDriverMagentoExtraApolloOptions>;
|
|
79
|
+
declare const provideDaffDriverMagentoExtraApolloOptions: <R extends DaffDriverMagentoExtraApolloOptions = DaffDriverMagentoExtraApolloOptions>(value: R) => _angular_core.ValueProvider;
|
|
80
|
+
/**
|
|
81
|
+
* A {@link provideMagentoDriver} feature that allow specifying {@link DaffDriverMagentoExtraApolloOptions}.
|
|
82
|
+
*/
|
|
83
|
+
declare const withDaffDriverMagentoExtraApolloOptions: (options: DaffDriverMagentoExtraApolloOptions) => MagentoDriverFeature;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* A {@link provideMagentoDriver} feature that sets up {@link provideDaffMagentoCacheHeader}.
|
|
87
|
+
*/
|
|
88
|
+
declare const withDaffMagentoCacheHeader: () => MagentoDriverFeature;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* A {@link provideMagentoDriver} feature that sets up {@link provideDaffMagentoApolloCacheableOperations}.
|
|
92
|
+
*/
|
|
93
|
+
declare const withDaffMagentoCacheableOperations: (...extraOperations: Array<string>) => MagentoDriverFeature;
|
|
94
|
+
|
|
95
|
+
declare const DAFF_DRIVER_MAGENTO_ERROR_HANDLER: _angular_core.InjectionToken<ErrorHandler>;
|
|
96
|
+
declare const provideDaffDriverMagentoErrorHandler: <R extends ErrorHandler = ErrorHandler>(value: R) => _angular_core.ValueProvider;
|
|
97
|
+
/**
|
|
98
|
+
* A {@link provideMagentoDriver} feature that specifies the error handler.
|
|
99
|
+
*/
|
|
100
|
+
declare const withDaffDriverMagentoErrorHandler: (handler: ErrorHandler) => MagentoDriverFeature;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Creates a magento driver feature for {@link provideMagentoDriver}.
|
|
104
|
+
*/
|
|
105
|
+
declare function makeMagentoDriverFeature(kind: MagentoDriverFeatureKind | string, providers: Array<Provider | EnvironmentProviders>): MagentoDriverFeature;
|
|
106
|
+
|
|
107
|
+
declare const DAFF_DRIVER_MAGENTO_TRANSFER_STATE_KEY: _angular_core.InjectionToken<StateKey<any>>;
|
|
108
|
+
declare const provideDaffDriverMagentoTransferStateKey: <R extends StateKey<any> = StateKey<any>>(value: R) => _angular_core.ValueProvider;
|
|
109
|
+
/**
|
|
110
|
+
* A {@link provideMagentoDriver} feature that sets up transfer state with the specified key.
|
|
111
|
+
*
|
|
112
|
+
* @param stateKey The key under which the Apollo state is stored.
|
|
113
|
+
*/
|
|
114
|
+
declare const withDaffDriverMagentoTransferState: <T extends StateKey<any> = StateKey<any>>(stateKey: T) => MagentoDriverFeature;
|
|
115
|
+
/**
|
|
116
|
+
* Holds the logic for hydrating the Apollo cache with the server's transferred state.
|
|
117
|
+
* It is recommended to use {@link withDaffDriverMagentoTransferState} with {@link provideMagentoDriver}
|
|
118
|
+
* to provide this functionality automatically.
|
|
119
|
+
*
|
|
120
|
+
* @param cache The Apollo cache instance.
|
|
121
|
+
*/
|
|
122
|
+
declare const provideDaffDriverMagentoTransferState: (cache: ApolloCache<NormalizedCacheObject>) => EnvironmentProviders;
|
|
123
|
+
|
|
45
124
|
/**
|
|
46
125
|
* Transforms the passed error according to the lookup in the passed map.
|
|
47
126
|
*/
|
|
@@ -89,26 +168,31 @@ declare enum MagentoSortEnum {
|
|
|
89
168
|
DESC = "DESC"
|
|
90
169
|
}
|
|
91
170
|
|
|
171
|
+
/**
|
|
172
|
+
* A request handler provider that will convert cacheable apollo operations into a format that Magento will understand as cacheable.
|
|
173
|
+
*/
|
|
174
|
+
declare const provideDaffMagentoApolloCacheableOperations: () => _angular_core.EnvironmentProviders;
|
|
92
175
|
/**
|
|
93
176
|
* A service that will convert cacheable apollo operations into a format that Magento will understand as cacheable.
|
|
94
177
|
*
|
|
95
178
|
* @inheritdoc
|
|
179
|
+
* @deprecated Prefer using {@link provideDaffMagentoApolloCacheableOperations} instead. Deprecated in version 0.91.0. Will be removed in version 0.94.0.
|
|
96
180
|
*/
|
|
97
181
|
declare class DaffMagentoApolloCacheableOperationsLinkGenerator implements DaffApolloLinkGenerator {
|
|
98
182
|
private apolloGetRequests;
|
|
99
183
|
constructor(apolloGetRequests: string[]);
|
|
100
184
|
getLink(): ApolloLink;
|
|
101
|
-
static ɵfac:
|
|
102
|
-
static ɵprov:
|
|
185
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffMagentoApolloCacheableOperationsLinkGenerator, never>;
|
|
186
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<DaffMagentoApolloCacheableOperationsLinkGenerator>;
|
|
103
187
|
}
|
|
104
188
|
|
|
105
|
-
declare const DAFF_MAGENTO_CACHEABLE_OPERATIONS:
|
|
106
|
-
declare const provideManyDaffMagentoCacheableOperations: <R extends string = string>(...values: R[]) => Array<
|
|
189
|
+
declare const DAFF_MAGENTO_CACHEABLE_OPERATIONS: _angular_core.InjectionToken<string[]>;
|
|
190
|
+
declare const provideManyDaffMagentoCacheableOperations: <R extends string = string>(...values: R[]) => Array<_angular_core.ValueProvider>;
|
|
107
191
|
/**
|
|
108
192
|
* Adds an operation name to the list of cacheable Magento operations. Use only with Angular 9+.
|
|
109
193
|
*/
|
|
110
194
|
declare function provideDaffMagentoCacheableOperation(operationName: string): {
|
|
111
|
-
provide:
|
|
195
|
+
provide: _angular_core.InjectionToken<string[]>;
|
|
112
196
|
useValue: string;
|
|
113
197
|
multi: boolean;
|
|
114
198
|
};
|
|
@@ -134,23 +218,30 @@ declare class DaffDriverHttpClientCacheMagentoService implements DaffDriverHttpC
|
|
|
134
218
|
private platformId;
|
|
135
219
|
constructor(platformId: string);
|
|
136
220
|
reset(): void;
|
|
137
|
-
static ɵfac:
|
|
138
|
-
static ɵprov:
|
|
221
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffDriverHttpClientCacheMagentoService, never>;
|
|
222
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<DaffDriverHttpClientCacheMagentoService>;
|
|
139
223
|
}
|
|
140
224
|
|
|
141
225
|
declare const MAGENTO_CUSTOMER_CACHE_ID_HEADER = "X-Magento-Cache-Id";
|
|
226
|
+
/**
|
|
227
|
+
* Stores and sets the Magento cache ID header.
|
|
228
|
+
* This will set the `X-Magento-Cache-Id` header from the most recent value encountered
|
|
229
|
+
* on a response, if there was a response with that header set.
|
|
230
|
+
*/
|
|
231
|
+
declare const provideDaffMagentoCacheHeader: () => _angular_core.EnvironmentProviders;
|
|
142
232
|
/**
|
|
143
233
|
* Stores and sets the Magento cache ID header.
|
|
144
234
|
* This will set the `X-Magento-Cache-Id` header from the most recent value encountered
|
|
145
235
|
* on a response, if there was a response with that header set.
|
|
146
236
|
*
|
|
147
237
|
* @inheritdoc
|
|
238
|
+
* @deprecated Prefer using {@link provideDaffMagentoCacheHeader} instead. Deprecated in version 0.91.0. Will be removed in version 0.94.0.
|
|
148
239
|
*/
|
|
149
240
|
declare class DaffMagentoCacheHeaderApolloLinkGenerator implements DaffApolloLinkGenerator {
|
|
150
241
|
private _cacheHeader?;
|
|
151
242
|
getLink(): ApolloLink;
|
|
152
|
-
static ɵfac:
|
|
153
|
-
static ɵprov:
|
|
243
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffMagentoCacheHeaderApolloLinkGenerator, never>;
|
|
244
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<DaffMagentoCacheHeaderApolloLinkGenerator>;
|
|
154
245
|
}
|
|
155
246
|
|
|
156
247
|
declare function magentoPageInfoTransform(pageInfo: MagentoSearchResultPageInfo): Pick<DaffCollectionMetadata, 'pageSize' | 'currentPage' | 'totalPages'>;
|
|
@@ -163,14 +254,5 @@ declare const magentoSearchResultPageInfoFragment: apollo_angular.TypedDocumentN
|
|
|
163
254
|
|
|
164
255
|
declare const magentoMoneyFragment: apollo_angular.TypedDocumentNode<unknown, unknown>;
|
|
165
256
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
*/
|
|
169
|
-
declare class DaffDriverMagentoModule {
|
|
170
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DaffDriverMagentoModule, never>;
|
|
171
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffDriverMagentoModule, never, never, never>;
|
|
172
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DaffDriverMagentoModule>;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export { DAFF_DRIVER_MAGENTO_ERROR_CODE, DAFF_MAGENTO_2_4_3_TYPE_POLICIES, DAFF_MAGENTO_CACHEABLE_OPERATIONS, DaffDriverHttpClientCacheMagentoService, DaffDriverMagentoError, DaffDriverMagentoModule, DaffMagentoApolloCacheableOperationsLinkGenerator, DaffMagentoCacheHeaderApolloLinkGenerator, MAGENTO_CUSTOMER_CACHE_ID_HEADER, MagentoSortEnum, daffMagentoTransformGraphQlError, daffTransformMagentoError, magentoMoneyFragment, magentoPageInfoTransform, magentoSearchResultPageInfoFragment, magentoSortDirectionRequestTransform, magentoSortDirectionResponseTransform, provideDaffMagentoCacheableOperation, provideMagentoDriver, provideManyDaffMagentoCacheableOperations, schema };
|
|
176
|
-
export type { MagentoDiscount, MagentoFilterInput, MagentoMoney, MagentoSearchResultPageInfo };
|
|
257
|
+
export { DAFF_DRIVER_MAGENTO_ERROR_CODE, DAFF_DRIVER_MAGENTO_ERROR_HANDLER, DAFF_DRIVER_MAGENTO_EXTRA_APOLLO_OPTIONS, DAFF_DRIVER_MAGENTO_TRANSFER_STATE_KEY, DAFF_MAGENTO_2_4_3_TYPE_POLICIES, DAFF_MAGENTO_CACHEABLE_OPERATIONS, DaffDriverHttpClientCacheMagentoService, DaffDriverMagentoError, DaffMagentoApolloCacheableOperationsLinkGenerator, DaffMagentoCacheHeaderApolloLinkGenerator, MAGENTO_CUSTOMER_CACHE_ID_HEADER, MAGENTO_POSSIBLE_TYPES, MagentoDriverFeatureKind, MagentoSortEnum, daffMagentoTransformGraphQlError, daffTransformMagentoError, magentoMoneyFragment, magentoPageInfoTransform, magentoSearchResultPageInfoFragment, magentoSortDirectionRequestTransform, magentoSortDirectionResponseTransform, makeMagentoDriverFeature, provideDaffDriverMagentoErrorHandler, provideDaffDriverMagentoExtraApolloOptions, provideDaffDriverMagentoTransferState, provideDaffDriverMagentoTransferStateKey, provideDaffMagentoApolloCacheableOperations, provideDaffMagentoCacheHeader, provideDaffMagentoCacheableOperation, provideMagentoDriver, provideManyDaffMagentoCacheableOperations, MAGENTO_POSSIBLE_TYPES as schema, withDaffDriverMagentoErrorHandler, withDaffDriverMagentoExtraApolloOptions, withDaffDriverMagentoTransferState, withDaffMagentoCacheHeader, withDaffMagentoCacheableOperations };
|
|
258
|
+
export type { DaffDriverMagentoExtraApolloOptions, MagentoDiscount, MagentoDriverFeature, MagentoFilterInput, MagentoMoney, MagentoSearchResultPageInfo };
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@daffodil/driver","nx":{"targets":{"build":{"outputs":["{workspaceRoot}/dist/driver"]}}},"version":"0.
|
|
1
|
+
{"name":"@daffodil/driver","nx":{"targets":{"build":{"outputs":["{workspaceRoot}/dist/driver"]}}},"version":"0.91.0","description":"A consistent, sane api driver that works with different ecommerce systems.","repository":{"type":"git","url":"https://github.com/graycoreio/daffodil"},"author":"Graycore LLC","license":"MIT","bugs":{"url":"https://github.com/graycoreio/daffodil/issues"},"homepage":"https://github.com/graycoreio/daffodil","optionalDependencies":{"angular-in-memory-web-api":"^0.20.0"},"peerDependencies":{"@angular/common":"^20.0.0","@angular/core":"^20.0.0","rxjs":"^7.0.0"},"module":"fesm2022/daffodil-driver.mjs","typings":"index.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","default":"./fesm2022/daffodil-driver.mjs"},"./hubspot":{"types":"./hubspot/index.d.ts","default":"./fesm2022/daffodil-driver-hubspot.mjs"},"./in-memory":{"types":"./in-memory/index.d.ts","default":"./fesm2022/daffodil-driver-in-memory.mjs"},"./magento":{"types":"./magento/index.d.ts","default":"./fesm2022/daffodil-driver-magento.mjs"},"./shopify":{"types":"./shopify/index.d.ts","default":"./fesm2022/daffodil-driver-shopify.mjs"},"./hubspot/testing":{"types":"./hubspot/testing/index.d.ts","default":"./fesm2022/daffodil-driver-hubspot-testing.mjs"},"./magento/testing":{"types":"./magento/testing/index.d.ts","default":"./fesm2022/daffodil-driver-magento-testing.mjs"},"./shopify/testing":{"types":"./shopify/testing/index.d.ts","default":"./fesm2022/daffodil-driver-shopify-testing.mjs"}},"sideEffects":false,"dependencies":{"tslib":"^2.6.2"}}
|