@daffodil/driver 0.94.1-rc.0 → 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 (37) hide show
  1. package/fesm2022/daffodil-driver-hubspot-testing.mjs +53 -38
  2. package/fesm2022/daffodil-driver-hubspot-testing.mjs.map +1 -1
  3. package/fesm2022/daffodil-driver-hubspot.mjs +41 -60
  4. package/fesm2022/daffodil-driver-hubspot.mjs.map +1 -1
  5. package/fesm2022/daffodil-driver-in-memory.mjs +186 -258
  6. package/fesm2022/daffodil-driver-in-memory.mjs.map +1 -1
  7. package/fesm2022/daffodil-driver-magento-2.4.7-testing.mjs +139 -0
  8. package/fesm2022/daffodil-driver-magento-2.4.7-testing.mjs.map +1 -0
  9. package/fesm2022/daffodil-driver-magento-2.4.7.mjs +543 -0
  10. package/fesm2022/daffodil-driver-magento-2.4.7.mjs.map +1 -0
  11. package/fesm2022/daffodil-driver-magento-auto-testing.mjs +7 -0
  12. package/fesm2022/daffodil-driver-magento-auto-testing.mjs.map +1 -0
  13. package/fesm2022/daffodil-driver-magento-auto.mjs +7 -0
  14. package/fesm2022/daffodil-driver-magento-auto.mjs.map +1 -0
  15. package/fesm2022/daffodil-driver-shopify-testing.mjs +359 -216
  16. package/fesm2022/daffodil-driver-shopify-testing.mjs.map +1 -1
  17. package/fesm2022/daffodil-driver-shopify.mjs +1090 -2289
  18. package/fesm2022/daffodil-driver-shopify.mjs.map +1 -1
  19. package/fesm2022/daffodil-driver.mjs +55 -54
  20. package/fesm2022/daffodil-driver.mjs.map +1 -1
  21. package/package.json +1 -1
  22. package/types/daffodil-driver-hubspot-testing.d.ts +12 -15
  23. package/types/daffodil-driver-hubspot.d.ts +44 -52
  24. package/types/daffodil-driver-in-memory.d.ts +104 -121
  25. package/types/daffodil-driver-magento-2.4.7-testing.d.ts +18 -0
  26. package/types/daffodil-driver-magento-2.4.7.d.ts +189 -0
  27. package/types/daffodil-driver-magento-auto-testing.d.ts +1 -0
  28. package/types/daffodil-driver-magento-auto.d.ts +1 -0
  29. package/types/daffodil-driver-shopify-testing.d.ts +112 -121
  30. package/types/daffodil-driver-shopify.d.ts +6902 -6943
  31. package/types/daffodil-driver.d.ts +32 -42
  32. package/fesm2022/daffodil-driver-magento-testing.mjs +0 -79
  33. package/fesm2022/daffodil-driver-magento-testing.mjs.map +0 -1
  34. package/fesm2022/daffodil-driver-magento.mjs +0 -998
  35. package/fesm2022/daffodil-driver-magento.mjs.map +0 -1
  36. package/types/daffodil-driver-magento-testing.d.ts +0 -23
  37. package/types/daffodil-driver-magento.d.ts +0 -225
@@ -1,57 +1,58 @@
1
- import { DaffInheritableError, createSingletonInjectionToken } from '@daffodil/core';
2
- import * as i0 from '@angular/core';
3
- import { Injectable, inject } from '@angular/core';
4
-
1
+ import { DaffInheritableError, createSingletonInjectionToken } from "@daffodil/core";
2
+ import * as i0 from "@angular/core";
3
+ import { Injectable, inject } from "@angular/core";
5
4
  var DaffDriverErrorCodes;
6
- (function (DaffDriverErrorCodes) {
7
- DaffDriverErrorCodes["BAD_INPUT"] = "DAFF_BAD_INPUT";
5
+ (function(DaffDriverErrorCodes) {
6
+ DaffDriverErrorCodes["BAD_INPUT"] = "DAFF_BAD_INPUT";
8
7
  })(DaffDriverErrorCodes || (DaffDriverErrorCodes = {}));
8
+ var DaffBadInputError = class extends DaffInheritableError {
9
+ constructor(message) {
10
+ super(message);
11
+ this.message = message;
12
+ this.code = DaffDriverErrorCodes.BAD_INPUT;
13
+ }
14
+ };
15
+ const DAFF_DRIVER_NETWORK_ERROR_CODE = "DAFF_DRIVER_NETWORK_ERROR";
16
+ var DaffDriverNetworkError = class extends DaffInheritableError {
17
+ constructor(message) {
18
+ super(message);
19
+ this.code = DAFF_DRIVER_NETWORK_ERROR_CODE;
20
+ }
21
+ };
22
+ const daffAutoDriverErrorMessage = (feature) => `Your application has loaded an empty auto driver into the app bundle. Typically this happens if you have not selected an appropriate platform version for a driver you have loaded. Only import the auto driver if you are using auto driver versioning. Ensure you have followed the guide at https://daff.io/docs/guides/essentials/drivers#automatically-versioned-drivers. If you do not correct this then ${feature} will be missing a driver and will not function as intended.`;
23
+ var DaffDriverHttpClientCacheNoopService = class DaffDriverHttpClientCacheNoopService {
24
+ reset() {}
25
+ static {
26
+ this.ɵfac = i0.ɵɵngDeclareFactory({
27
+ minVersion: "12.0.0",
28
+ version: "22.2.4",
29
+ ngImport: i0,
30
+ type: DaffDriverHttpClientCacheNoopService,
31
+ deps: [],
32
+ target: i0.ɵɵFactoryTarget.Injectable
33
+ });
34
+ }
35
+ static {
36
+ this.ɵprov = i0.ɵɵngDeclareInjectable({
37
+ minVersion: "12.0.0",
38
+ version: "22.2.4",
39
+ ngImport: i0,
40
+ type: DaffDriverHttpClientCacheNoopService,
41
+ providedIn: "root"
42
+ });
43
+ }
44
+ };
45
+ i0.ɵɵngDeclareClassMetadata({
46
+ minVersion: "12.0.0",
47
+ version: "22.2.4",
48
+ ngImport: i0,
49
+ type: DaffDriverHttpClientCacheNoopService,
50
+ decorators: [{
51
+ type: Injectable,
52
+ args: [{ providedIn: "root" }]
53
+ }]
54
+ });
55
+ const { token: DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE, provider: provideDaffDriverHttpClientCacheService } = createSingletonInjectionToken("DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE", { factory: () => inject(DaffDriverHttpClientCacheNoopService) });
56
+ export { DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE, DAFF_DRIVER_NETWORK_ERROR_CODE, DaffBadInputError, DaffDriverErrorCodes, DaffDriverHttpClientCacheNoopService, DaffDriverNetworkError, daffAutoDriverErrorMessage, provideDaffDriverHttpClientCacheService };
9
57
 
10
- class DaffBadInputError extends DaffInheritableError {
11
- constructor(message) {
12
- super(message);
13
- this.message = message;
14
- this.code = DaffDriverErrorCodes.BAD_INPUT;
15
- }
16
- }
17
-
18
- const DAFF_DRIVER_NETWORK_ERROR_CODE = 'DAFF_DRIVER_NETWORK_ERROR';
19
- /**
20
- * An error thrown when the a driver encounters a problem with network connectivity.
21
- */
22
- class DaffDriverNetworkError extends DaffInheritableError {
23
- constructor(message) {
24
- super(message);
25
- this.code = DAFF_DRIVER_NETWORK_ERROR_CODE;
26
- }
27
- }
28
-
29
- /**
30
- * A noop service. Always does nothing for every single method.
31
- *
32
- * @inheritdoc
33
- */
34
- class DaffDriverHttpClientCacheNoopService {
35
- reset() { }
36
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffDriverHttpClientCacheNoopService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
37
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffDriverHttpClientCacheNoopService, providedIn: 'root' }); }
38
- }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffDriverHttpClientCacheNoopService, decorators: [{
40
- type: Injectable,
41
- args: [{
42
- providedIn: 'root',
43
- }]
44
- }] });
45
-
46
- const { token: DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE,
47
- /**
48
- * Provider function for {@link DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE}.
49
- */
50
- provider: provideDaffDriverHttpClientCacheService, } = createSingletonInjectionToken('DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE', { factory: () => inject(DaffDriverHttpClientCacheNoopService) });
51
-
52
- /**
53
- * Generated bundle index. Do not edit.
54
- */
55
-
56
- export { DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE, DAFF_DRIVER_NETWORK_ERROR_CODE, DaffBadInputError, DaffDriverErrorCodes, DaffDriverHttpClientCacheNoopService, DaffDriverNetworkError, provideDaffDriverHttpClientCacheService };
57
- //# sourceMappingURL=daffodil-driver.mjs.map
58
+ //# sourceMappingURL=daffodil-driver.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-driver.mjs","sources":["../../../libs/driver/src/errors/codes.ts","../../../libs/driver/src/errors/bad-input.ts","../../../libs/driver/src/errors/network-error.class.ts","../../../libs/driver/src/http-client-cache/noop.service.ts","../../../libs/driver/src/http-client-cache/service.token.ts","../../../libs/driver/src/daffodil-driver.ts"],"sourcesContent":["export enum DaffDriverErrorCodes {\n BAD_INPUT = 'DAFF_BAD_INPUT'\n}\n","import {\n DaffError,\n DaffInheritableError,\n} from '@daffodil/core';\n\nimport { DaffDriverErrorCodes } from './codes';\n\nexport class DaffBadInputError extends DaffInheritableError implements DaffError {\n public readonly code: string = DaffDriverErrorCodes.BAD_INPUT;\n\n constructor(public message: string) {\n super(message);\n }\n}\n","import {\n DaffError,\n DaffInheritableError,\n} from '@daffodil/core';\n\nexport const DAFF_DRIVER_NETWORK_ERROR_CODE = 'DAFF_DRIVER_NETWORK_ERROR';\n\n/**\n * An error thrown when the a driver encounters a problem with network connectivity.\n */\nexport class DaffDriverNetworkError extends DaffInheritableError implements DaffError {\n public readonly code: string = DAFF_DRIVER_NETWORK_ERROR_CODE;\n\n constructor(message?: string) {\n super(message);\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { DaffDriverHttpClientCacheServiceInterface } from './service.type';\n\n/**\n * A noop service. Always does nothing for every single method.\n *\n * @inheritdoc\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffDriverHttpClientCacheNoopService implements DaffDriverHttpClientCacheServiceInterface {\n reset(): void {}\n}\n","import { inject } from '@angular/core';\n\nimport { createSingletonInjectionToken } from '@daffodil/core';\n\nimport { DaffDriverHttpClientCacheNoopService } from './noop.service';\nimport { DaffDriverHttpClientCacheServiceInterface } from './service.type';\n\nexport const {\n token: DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE,\n /**\n * Provider function for {@link DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE}.\n */\n provider: provideDaffDriverHttpClientCacheService,\n} = createSingletonInjectionToken<DaffDriverHttpClientCacheServiceInterface>(\n 'DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE',\n { factory: () => inject(DaffDriverHttpClientCacheNoopService) },\n);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;IAAY;AAAZ,CAAA,UAAY,oBAAoB,EAAA;AAC9B,IAAA,oBAAA,CAAA,WAAA,CAAA,GAAA,gBAA4B;AAC9B,CAAC,EAFW,oBAAoB,KAApB,oBAAoB,GAAA,EAAA,CAAA,CAAA;;ACO1B,MAAO,iBAAkB,SAAQ,oBAAoB,CAAA;AAGzD,IAAA,WAAA,CAAmB,OAAe,EAAA;QAChC,KAAK,CAAC,OAAO,CAAC;QADG,IAAA,CAAA,OAAO,GAAP,OAAO;AAFV,QAAA,IAAA,CAAA,IAAI,GAAW,oBAAoB,CAAC,SAAS;IAI7D;AACD;;ACRM,MAAM,8BAA8B,GAAG;AAE9C;;AAEG;AACG,MAAO,sBAAuB,SAAQ,oBAAoB,CAAA;AAG9D,IAAA,WAAA,CAAY,OAAgB,EAAA;QAC1B,KAAK,CAAC,OAAO,CAAC;QAHA,IAAA,CAAA,IAAI,GAAW,8BAA8B;IAI7D;AACD;;ACZD;;;;AAIG;MAIU,oCAAoC,CAAA;AAC/C,IAAA,KAAK,KAAU;8GADJ,oCAAoC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAApC,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oCAAoC,cAFnC,MAAM,EAAA,CAAA,CAAA;;2FAEP,oCAAoC,EAAA,UAAA,EAAA,CAAA;kBAHhD,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;ACJM,MAAM,EACX,KAAK,EAAE,qCAAqC;AAC5C;;AAEG;AACH,QAAQ,EAAE,uCAAuC,GAClD,GAAG,6BAA6B,CAC/B,uCAAuC,EACvC,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC,oCAAoC,CAAC,EAAE;;ACfjE;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-driver.mjs","names":[],"sources":["../../../libs/driver/src/errors/codes.ts","../../../libs/driver/src/errors/bad-input.ts","../../../libs/driver/src/errors/network-error.class.ts","../../../libs/driver/src/errors/auto-import-message.ts","../../../libs/driver/src/http-client-cache/noop.service.ts","../../../libs/driver/src/http-client-cache/service.token.ts"],"sourcesContent":["export enum DaffDriverErrorCodes {\n BAD_INPUT = 'DAFF_BAD_INPUT'\n}\n","import {\n DaffError,\n DaffInheritableError,\n} from '@daffodil/core';\n\nimport { DaffDriverErrorCodes } from './codes';\n\nexport class DaffBadInputError extends DaffInheritableError implements DaffError {\n public readonly code: string = DaffDriverErrorCodes.BAD_INPUT;\n\n constructor(public message: string) {\n super(message);\n }\n}\n","import {\n DaffError,\n DaffInheritableError,\n} from '@daffodil/core';\n\nexport const DAFF_DRIVER_NETWORK_ERROR_CODE = 'DAFF_DRIVER_NETWORK_ERROR';\n\n/**\n * An error thrown when the a driver encounters a problem with network connectivity.\n */\nexport class DaffDriverNetworkError extends DaffInheritableError implements DaffError {\n public readonly code: string = DAFF_DRIVER_NETWORK_ERROR_CODE;\n\n constructor(message?: string) {\n super(message);\n }\n}\n","export const daffAutoDriverErrorMessage = (feature: string): string =>\n `Your application has loaded an empty auto driver into the app bundle. Typically this happens if you have not selected an appropriate platform version for a driver you have loaded. Only import the auto driver if you are using auto driver versioning. Ensure you have followed the guide at https://daff.io/docs/guides/essentials/drivers#automatically-versioned-drivers. If you do not correct this then ${feature} will be missing a driver and will not function as intended.`;\n","import { Injectable } from '@angular/core';\n\nimport { DaffDriverHttpClientCacheServiceInterface } from './service.type';\n\n/**\n * A noop service. Always does nothing for every single method.\n *\n * @inheritdoc\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffDriverHttpClientCacheNoopService implements DaffDriverHttpClientCacheServiceInterface {\n reset(): void {}\n}\n","import { inject } from '@angular/core';\n\nimport { createSingletonInjectionToken } from '@daffodil/core';\n\nimport { DaffDriverHttpClientCacheNoopService } from './noop.service';\nimport { DaffDriverHttpClientCacheServiceInterface } from './service.type';\n\nexport const {\n token: DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE,\n /**\n * Provider function for {@link DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE}.\n */\n provider: provideDaffDriverHttpClientCacheService,\n} = createSingletonInjectionToken<DaffDriverHttpClientCacheServiceInterface>(\n 'DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE',\n { factory: () => inject(DaffDriverHttpClientCacheNoopService) },\n);\n"],"mappings":";;;AAAA,IAAY;CAAZ,SAAY,sBAAoB;CAC9B,qBAAA,eAAA;AACF,EAAA,CAFY,yBAAA,uBAAoB,CAAA,EAAA;ACOhC,IAAa,oBAAb,cAAuC,qBAAoB;CAGzD,YAAmB,SAAe;EAChC,MAAM,OAAO;EADI,KAAA,UAAA;EAFH,KAAA,OAAe,qBAAqB;CAIpD;AACD;ACRD,MAAa,iCAAiC;AAK9C,IAAa,yBAAb,cAA4C,qBAAoB;CAG9D,YAAY,SAAgB;EAC1B,MAAM,OAAO;EAHC,KAAA,OAAe;CAI/B;AACD;AChBD,MAAa,8BAA8B,YACzC,kZAAkZ,QAAO;ACW3Z,IAAa,uCAAb,MAAa,qCAAoC;CAC/C,QAAK,CAAU;CADJ;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAoC,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAApC;EAAA,KAAA,QAAA,GAAA,sBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAoC,YAFnC;EAAM,CAAA;CAAA;;AAEP,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAoC,YAAA,CAAA;EAHhD,MAAA;EAAW,MAAA,CAAA,EACV,YAAY,OACb,CAAA;;;ACJD,MAAa,EACX,OAAO,uCAIP,UAAU,4CACR,8BACF,yCACA,EAAE,eAAe,OAAO,oCAAoC,EAAC,CAAE"}
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@daffodil/driver","nx":{"targets":{"build":{"outputs":["{workspaceRoot}/dist/driver"]}}},"version":"0.94.1-rc.0","description":"Base driver interfaces and utilities for connecting Daffodil to ecommerce platforms. Part of the Daffodil ecommerce framework.","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.21.0"},"peerDependencies":{"@angular/common":"^21","@angular/core":"^21","rxjs":"^7.0.0"},"module":"fesm2022/daffodil-driver.mjs","typings":"types/daffodil-driver.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./types/daffodil-driver.d.ts","default":"./fesm2022/daffodil-driver.mjs"},"./hubspot":{"types":"./types/daffodil-driver-hubspot.d.ts","default":"./fesm2022/daffodil-driver-hubspot.mjs"},"./hubspot/testing":{"types":"./types/daffodil-driver-hubspot-testing.d.ts","default":"./fesm2022/daffodil-driver-hubspot-testing.mjs"},"./in-memory":{"types":"./types/daffodil-driver-in-memory.d.ts","default":"./fesm2022/daffodil-driver-in-memory.mjs"},"./magento":{"types":"./types/daffodil-driver-magento.d.ts","default":"./fesm2022/daffodil-driver-magento.mjs"},"./magento/testing":{"types":"./types/daffodil-driver-magento-testing.d.ts","default":"./fesm2022/daffodil-driver-magento-testing.mjs"},"./shopify":{"types":"./types/daffodil-driver-shopify.d.ts","default":"./fesm2022/daffodil-driver-shopify.mjs"},"./shopify/testing":{"types":"./types/daffodil-driver-shopify-testing.d.ts","default":"./fesm2022/daffodil-driver-shopify-testing.mjs"}},"sideEffects":false,"type":"module","dependencies":{"tslib":"^2.6.2"}}
1
+ {"name":"@daffodil/driver","nx":{"targets":{"build":{"outputs":["{workspaceRoot}/dist/driver"]}}},"version":"0.95.0","description":"Base driver interfaces and utilities for connecting Daffodil to ecommerce platforms. Part of the Daffodil ecommerce framework.","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.22.0"},"peerDependencies":{"@angular/common":"^22","@angular/core":"^22","rxjs":"^7.0.0"},"exports":{"./magento/auto":{"driver-magento-2.4.7":{"types":"./types/daffodil-driver-magento-2.4.7.d.ts","default":"./fesm2022/daffodil-driver-magento-2.4.7.mjs"},"types":"./types/daffodil-driver-magento-auto.d.ts","default":"./fesm2022/daffodil-driver-magento-auto.mjs"},"./magento/auto/testing":{"driver-magento-2.4.7":{"types":"./types/daffodil-driver-magento-2.4.7-testing.d.ts","default":"./fesm2022/daffodil-driver-magento-2.4.7-testing.mjs"},"types":"./types/daffodil-driver-magento-auto-testing.d.ts","default":"./fesm2022/daffodil-driver-magento-auto-testing.mjs"},"./package.json":{"default":"./package.json"},".":{"types":"./types/daffodil-driver.d.ts","default":"./fesm2022/daffodil-driver.mjs"},"./hubspot":{"types":"./types/daffodil-driver-hubspot.d.ts","default":"./fesm2022/daffodil-driver-hubspot.mjs"},"./hubspot/testing":{"types":"./types/daffodil-driver-hubspot-testing.d.ts","default":"./fesm2022/daffodil-driver-hubspot-testing.mjs"},"./in-memory":{"types":"./types/daffodil-driver-in-memory.d.ts","default":"./fesm2022/daffodil-driver-in-memory.mjs"},"./magento/2.4.7":{"types":"./types/daffodil-driver-magento-2.4.7.d.ts","default":"./fesm2022/daffodil-driver-magento-2.4.7.mjs"},"./magento/2.4.7/testing":{"types":"./types/daffodil-driver-magento-2.4.7-testing.d.ts","default":"./fesm2022/daffodil-driver-magento-2.4.7-testing.mjs"},"./shopify":{"types":"./types/daffodil-driver-shopify.d.ts","default":"./fesm2022/daffodil-driver-shopify.mjs"},"./shopify/testing":{"types":"./types/daffodil-driver-shopify-testing.d.ts","default":"./fesm2022/daffodil-driver-shopify-testing.mjs"}},"module":"fesm2022/daffodil-driver.mjs","typings":"types/daffodil-driver.d.ts","sideEffects":false,"type":"module","dependencies":{"tslib":"^2.6.2"}}
@@ -1,21 +1,18 @@
1
- import { DaffModelFactory } from '@daffodil/core/testing';
2
- import { HubspotResponse, HubspotError } from '@daffodil/driver/hubspot';
3
- import * as i0 from '@angular/core';
4
-
5
- declare class MockHubspotResponse implements HubspotResponse {
6
- redirectUri?: string;
7
- inlineMessage: string;
8
- errors: HubspotError[];
1
+ import { DaffModelFactory } from "@daffodil/core/testing";
2
+ import { HubspotError, HubspotResponse } from "@daffodil/driver/hubspot";
3
+ import * as i0 from "@angular/core";
4
+ export declare class MockHubspotResponse implements HubspotResponse {
5
+ redirectUri?: string;
6
+ inlineMessage: string;
7
+ errors: HubspotError[];
9
8
  }
10
9
  /**
11
10
  * Model factory for {@link MockHubspotResponse}s.
12
11
  *
13
12
  * Should be used to create {@link MockHubspotResponse}s for testing purposes.
14
13
  */
15
- declare class DaffHubspotResponseFactory extends DaffModelFactory<HubspotResponse> {
16
- constructor();
17
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffHubspotResponseFactory, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffHubspotResponseFactory>;
19
- }
20
-
21
- export { DaffHubspotResponseFactory, MockHubspotResponse };
14
+ export declare class DaffHubspotResponseFactory extends DaffModelFactory<HubspotResponse> {
15
+ constructor();
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffHubspotResponseFactory, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
18
+ }
@@ -1,68 +1,60 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Title } from '@angular/platform-browser';
3
- import { Router } from '@angular/router';
4
- import { Observable } from 'rxjs';
5
-
6
- interface DaffHubspotConfig {
7
- portalId: string;
8
- guid: string;
9
- version?: string;
1
+ import { HttpClient } from "@angular/common/http";
2
+ import { Title } from "@angular/platform-browser";
3
+ import { Router } from "@angular/router";
4
+ import { Observable } from "rxjs";
5
+ export interface DaffHubspotConfig {
6
+ portalId: string;
7
+ guid: string;
8
+ version?: string;
9
+ }
10
+ export interface HubspotError {
11
+ errorType: string;
12
+ message: string;
13
+ }
14
+ export interface HubspotResponse {
15
+ redirectUri?: string;
16
+ inlineMessage: string;
17
+ errors: HubspotError[];
10
18
  }
11
-
12
- interface HubspotError {
13
- errorType: string;
14
- message: string;
15
- }
16
- interface HubspotResponse {
17
- redirectUri?: string;
18
- inlineMessage: string;
19
- errors: HubspotError[];
20
- }
21
-
22
19
  /**
23
20
  * Interface for interacting with Hubspot Forms API.
24
21
  */
25
- interface DaffHubspotFormsInterface {
26
- submit(payload: Record<string, any>): Observable<HubspotResponse>;
22
+ export interface DaffHubspotFormsInterface {
23
+ submit(payload: Record<string, any>): Observable<HubspotResponse>;
27
24
  }
28
-
29
25
  /**
30
26
  * Service for interacting with Hubspot Forms API.
31
27
  */
32
- declare class DaffHubspotFormsService implements DaffHubspotFormsInterface {
33
- private http;
34
- private document;
35
- private route;
36
- private title;
37
- private config;
38
- constructor(http: HttpClient, document: Document, route: Router, title: Title, config: DaffHubspotConfig);
39
- submit(payload: Record<string, any>): Observable<HubspotResponse>;
40
- private makeRequest;
41
- private generateUrl;
42
- private getCookie;
43
- private getPageURI;
44
- }
45
-
46
- interface DaffHubspotRequest {
47
- fields: FieldValue[];
48
- context?: HubspotContext;
28
+ export declare class DaffHubspotFormsService implements DaffHubspotFormsInterface {
29
+ private http;
30
+ private document;
31
+ private route;
32
+ private title;
33
+ private config;
34
+ constructor(http: HttpClient, document: Document, route: Router, title: Title, config: DaffHubspotConfig);
35
+ submit(payload: Record<string, any>): Observable<HubspotResponse>;
36
+ private makeRequest;
37
+ private generateUrl;
38
+ private getCookie;
39
+ private getPageURI;
40
+ }
41
+ export interface DaffHubspotRequest {
42
+ fields: FieldValue[];
43
+ context?: HubspotContext;
49
44
  }
50
45
  interface HubspotContext {
51
- hutk?: string;
52
- ipAddress?: string;
53
- pageName?: string;
54
- pageUri?: string;
55
- pageId?: string;
46
+ hutk?: string;
47
+ ipAddress?: string;
48
+ pageName?: string;
49
+ pageUri?: string;
50
+ pageId?: string;
56
51
  }
57
52
  interface FieldValue {
58
- name: string;
59
- value: string;
53
+ name: string;
54
+ value: string;
60
55
  }
61
-
62
56
  /**
63
57
  * Factory for {@link DaffHubspotFormsService}.
64
58
  */
65
- declare const daffHubspotFormsServiceFactory: (http: HttpClient, document: Document, router: Router, title: Title, config: DaffHubspotConfig) => DaffHubspotFormsInterface;
66
-
67
- export { DaffHubspotFormsService, daffHubspotFormsServiceFactory };
68
- export type { DaffHubspotConfig, DaffHubspotFormsInterface, DaffHubspotRequest, HubspotError, HubspotResponse };
59
+ export declare const daffHubspotFormsServiceFactory: (http: HttpClient, document: Document, router: Router, title: Title, config: DaffHubspotConfig) => DaffHubspotFormsInterface;
60
+ export {};
@@ -1,145 +1,132 @@
1
- import * as _angular_core from '@angular/core';
2
- import { ModuleWithProviders, Type, EnvironmentProviders, InjectionToken } from '@angular/core';
3
- import { RequestInfo, InMemoryDbService, InMemoryBackendConfigArgs } from 'angular-in-memory-web-api';
4
- import * as rxjs from 'rxjs';
5
- import { Observable } from 'rxjs';
6
-
1
+ import { InMemoryBackendConfigArgs, InMemoryDbService, RequestInfo } from "angular-in-memory-web-api";
2
+ import { Observable } from "rxjs";
3
+ import * as i0 from "@angular/core";
4
+ import { EnvironmentProviders, InjectionToken, ModuleWithProviders, Type } from "@angular/core";
7
5
  /**
8
6
  * An interface for defining in memory services that can handle CRUD requests.
9
7
  */
10
- interface DaffInMemoryDataServiceInterface {
11
- /**
12
- * The R in CRUD.
13
- */
14
- get?(reqInfo: RequestInfo): Observable<any>;
15
- /**
16
- * The C in CRUD.
17
- */
18
- post?(reqInfo: RequestInfo): Observable<any>;
19
- /**
20
- * The U in CRUD.
21
- */
22
- put?(reqInfo: RequestInfo): Observable<any>;
23
- /**
24
- * The D in CRUD.
25
- */
26
- delete?(reqInfo: RequestInfo): Observable<any>;
8
+ export interface DaffInMemoryDataServiceInterface {
9
+ /**
10
+ * The R in CRUD.
11
+ */
12
+ get?(reqInfo: RequestInfo): Observable<any>;
13
+ /**
14
+ * The C in CRUD.
15
+ */
16
+ post?(reqInfo: RequestInfo): Observable<any>;
17
+ /**
18
+ * The U in CRUD.
19
+ */
20
+ put?(reqInfo: RequestInfo): Observable<any>;
21
+ /**
22
+ * The D in CRUD.
23
+ */
24
+ delete?(reqInfo: RequestInfo): Observable<any>;
27
25
  }
28
-
29
26
  /**
30
27
  * A routing target that handles a single collection.
31
28
  */
32
- interface DaffInMemorySingleRouteableBackend extends DaffInMemoryDataServiceInterface {
33
- /**
34
- * The collection name of the backend service where the backend only serves one collection.
35
- * Used for routing requests to the correct backend.
36
- */
37
- readonly collectionName: string;
29
+ export interface DaffInMemorySingleRouteableBackend extends DaffInMemoryDataServiceInterface {
30
+ /**
31
+ * The collection name of the backend service where the backend only serves one collection.
32
+ * Used for routing requests to the correct backend.
33
+ */
34
+ readonly collectionName: string;
38
35
  }
39
36
  /**
40
37
  * A routing target that handles multiple collections.
41
38
  */
42
- interface DaffInMemoryMultiRouteableBackend extends DaffInMemoryDataServiceInterface {
43
- /**
44
- * Returns true if the backend can handle the request with the specified collection name.
45
- * Used for backends that handle multiple collections.
46
- */
47
- canHandle(collectionName: string): boolean;
39
+ export interface DaffInMemoryMultiRouteableBackend extends DaffInMemoryDataServiceInterface {
40
+ /**
41
+ * Returns true if the backend can handle the request with the specified collection name.
42
+ * Used for backends that handle multiple collections.
43
+ */
44
+ canHandle(collectionName: string): boolean;
48
45
  }
49
46
  /**
50
47
  * An in-memory backend that can be easily routed to based on the available capabilities.
51
48
  */
52
- type DaffInMemoryRouteableBackend = DaffInMemorySingleRouteableBackend | DaffInMemoryMultiRouteableBackend;
53
-
49
+ export type DaffInMemoryRouteableBackend = DaffInMemorySingleRouteableBackend | DaffInMemoryMultiRouteableBackend;
54
50
  /**
55
51
  * An interface for defining in memory backends that use the angular in memory web api.
56
52
  */
57
- type DaffInMemoryBackendInterface = InMemoryDbService & DaffInMemoryRouteableBackend;
58
-
59
- declare const DAFF_IN_MEMORY_BACKENDS: _angular_core.InjectionToken<DaffInMemoryBackendInterface[]>;
60
- declare const provideDaffInMemoryBackends: <R extends DaffInMemoryBackendInterface = DaffInMemoryBackendInterface>(...classes: _angular_core.Type<R>[]) => Array<_angular_core.ExistingProvider>;
61
-
53
+ export type DaffInMemoryBackendInterface = InMemoryDbService & DaffInMemoryRouteableBackend;
54
+ export declare const DAFF_IN_MEMORY_BACKENDS: import("@angular/core").InjectionToken<DaffInMemoryBackendInterface[]>, provideDaffInMemoryBackends: <R extends DaffInMemoryBackendInterface = DaffInMemoryBackendInterface>(...classes: import("@angular/core").Type<R>[]) => Array<import("@angular/core").ExistingProvider>;
62
55
  declare enum Method {
63
- GET = "get",
64
- POST = "post",
65
- PUT = "put",
66
- DELETE = "delete"
56
+ GET = "get",
57
+ POST = "post",
58
+ PUT = "put",
59
+ DELETE = "delete"
67
60
  }
68
61
  /**
69
62
  * An class that automatically delegates requests to in-memory backends.
70
63
  *
71
64
  * @inheritdoc
72
65
  */
73
- declare class DaffInMemoryBackendDelegate implements DaffInMemoryDataServiceInterface {
74
- protected backends: Array<DaffInMemoryRouteableBackend>;
75
- protected config: DaffInMemoryDriverConfig;
76
- constructor(backends: Array<DaffInMemoryRouteableBackend>, config: DaffInMemoryDriverConfig);
77
- protected delegateRequest(reqInfo: RequestInfo, method: Method): Observable<any>;
78
- get?(reqInfo: RequestInfo): Observable<any>;
79
- post?(reqInfo: RequestInfo): Observable<any>;
80
- put?(reqInfo: RequestInfo): Observable<any>;
81
- delete?(reqInfo: RequestInfo): Observable<any>;
66
+ export declare class DaffInMemoryBackendDelegate implements DaffInMemoryDataServiceInterface {
67
+ protected backends: Array<DaffInMemoryRouteableBackend>;
68
+ protected config: DaffInMemoryDriverConfig;
69
+ constructor(backends: Array<DaffInMemoryRouteableBackend>, config: DaffInMemoryDriverConfig);
70
+ protected delegateRequest(reqInfo: RequestInfo, method: Method): Observable<any>;
71
+ get?(reqInfo: RequestInfo): Observable<any>;
72
+ post?(reqInfo: RequestInfo): Observable<any>;
73
+ put?(reqInfo: RequestInfo): Observable<any>;
74
+ delete?(reqInfo: RequestInfo): Observable<any>;
82
75
  }
83
-
84
76
  /**
85
77
  * An in-memory backend that automatically delegates requests to backends provided to {@link DAFF_IN_MEMORY_BACKENDS}.
86
78
  *
87
79
  * @inheritdoc
88
80
  */
89
- declare class DaffInMemoryRootBackend extends DaffInMemoryBackendDelegate implements DaffInMemoryDataServiceInterface, InMemoryDbService {
90
- private _backends;
91
- private _config;
92
- constructor(_backends: Array<DaffInMemoryBackendInterface>, _config: DaffInMemoryDriverConfig);
93
- createDb(reqInfo?: RequestInfo): rxjs.Observable<{}>;
94
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffInMemoryRootBackend, never>;
95
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<DaffInMemoryRootBackend>;
81
+ export declare class DaffInMemoryRootBackend extends DaffInMemoryBackendDelegate implements DaffInMemoryDataServiceInterface, InMemoryDbService {
82
+ private _backends;
83
+ private _config;
84
+ constructor(_backends: Array<DaffInMemoryBackendInterface>, _config: DaffInMemoryDriverConfig);
85
+ createDb(reqInfo?: RequestInfo): import("rxjs").Observable<{}>;
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryRootBackend, never>;
87
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
96
88
  }
97
-
98
89
  /**
99
90
  * The base class for in-memory drivers.
100
91
  */
101
- declare abstract class DaffInMemoryDriverBase {
102
- private config;
103
- private collectionName;
104
- /**
105
- * The URL of the corresponding backend.
106
- * Does not include a trailing slash, it is of the form: `/<api base>/<collection name>`.
107
- */
108
- protected readonly url: string;
109
- constructor(config: InMemoryBackendConfigArgs, collectionName: string);
92
+ export declare abstract class DaffInMemoryDriverBase {
93
+ private config;
94
+ private collectionName;
95
+ /**
96
+ * The URL of the corresponding backend.
97
+ * Does not include a trailing slash, it is of the form: `/<api base>/<collection name>`.
98
+ */
99
+ protected readonly url: string;
100
+ constructor(config: InMemoryBackendConfigArgs, collectionName: string);
110
101
  }
111
-
112
- interface DaffInMemoryDriverConfig {
113
- /**
114
- * The base path segment of the API route.
115
- */
116
- apiBase: string;
117
- /**
118
- * When enabled, requests that do not match any configured backend
119
- * will be automatically forwarded to the provided backend endpoint.
120
- *
121
- * This acts as a "catch-all" or fallback mechanism, ensuring that
122
- * unknown or unconfigured routes are still proxied instead of being
123
- * rejected.
124
- */
125
- passThroughUnknownRequests?: boolean;
102
+ export interface DaffInMemoryDriverConfig {
103
+ /**
104
+ * The base path segment of the API route.
105
+ */
106
+ apiBase: string;
107
+ /**
108
+ * When enabled, requests that do not match any configured backend
109
+ * will be automatically forwarded to the provided backend endpoint.
110
+ *
111
+ * This acts as a "catch-all" or fallback mechanism, ensuring that
112
+ * unknown or unconfigured routes are still proxied instead of being
113
+ * rejected.
114
+ */
115
+ passThroughUnknownRequests?: boolean;
126
116
  }
127
-
128
- declare const DAFF_IN_MEMORY_DRIVER_CONFIG_DEFAULT: DaffInMemoryDriverConfig;
129
-
130
- declare const DAFF_IN_MEMORY_DRIVER_CONFIG: _angular_core.InjectionToken<DaffInMemoryDriverConfig>;
131
- declare const provideDaffInMemoryDriverConfig: <R extends DaffInMemoryDriverConfig = DaffInMemoryDriverConfig>(config: Partial<R> | _angular_core.InjectionToken<Partial<R>>) => _angular_core.FactoryProvider;
132
-
117
+ export declare const DAFF_IN_MEMORY_DRIVER_CONFIG_DEFAULT: DaffInMemoryDriverConfig;
118
+ export declare const DAFF_IN_MEMORY_DRIVER_CONFIG: import("@angular/core").InjectionToken<DaffInMemoryDriverConfig>, provideDaffInMemoryDriverConfig: <R extends DaffInMemoryDriverConfig = DaffInMemoryDriverConfig>(config: Partial<R> | import("@angular/core").InjectionToken<Partial<R>>) => import("@angular/core").FactoryProvider;
133
119
  /**
134
120
  * Sets up the angular in memory web API with the {@link DaffInMemoryRootBackend}.
121
+ *
122
+ * @deprecated in favor of {@link provideDaffInMemoryDriver} Deprecated in version 0.95.0. Will be removed in version 0.98.0.
135
123
  */
136
- declare class DaffInMemoryDriverModule {
137
- static forRoot(config?: DaffInMemoryDriverConfig): ModuleWithProviders<DaffInMemoryDriverModule>;
138
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffInMemoryDriverModule, never>;
139
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<DaffInMemoryDriverModule, never, never, never>;
140
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<DaffInMemoryDriverModule>;
124
+ export declare class DaffInMemoryDriverModule {
125
+ static forRoot(config?: DaffInMemoryDriverConfig): ModuleWithProviders<DaffInMemoryDriverModule>;
126
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryDriverModule, never>;
127
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DaffInMemoryDriverModule, never, never, never>;
128
+ static ɵinj: i0.ɵɵInjectorDeclaration<DaffInMemoryDriverModule>;
141
129
  }
142
-
143
130
  /**
144
131
  * Configures the Angular in-memory web API with Daffodil backend services.
145
132
  *
@@ -156,35 +143,33 @@ declare class DaffInMemoryDriverModule {
156
143
  * });
157
144
  * ```
158
145
  */
159
- declare const provideDaffInMemoryDriver: (config?: DaffInMemoryDriverConfig, ...backends: Array<Type<DaffInMemoryBackendInterface>>) => EnvironmentProviders[];
160
-
146
+ export declare const provideDaffInMemoryDriver: (config?: DaffInMemoryDriverConfig, ...backends: Array<Type<DaffInMemoryBackendInterface>>) => EnvironmentProviders[];
161
147
  /**
162
148
  * Represents a routable object with a URL and type identifier.
163
149
  * Used by in-memory drivers to enable automatic URL resolution
164
150
  * of in-memory objects. See {@link DaffExternalRouterInMemoryDriver}
165
151
  */
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;
152
+ export interface DaffInMemoryRoutableObject {
153
+ /**
154
+ * The URL path for this routable object (e.g., "/product-123").
155
+ */
156
+ url: string;
157
+ /**
158
+ * The type identifier for this routable object (e.g., "PRODUCTS", "NAVIGATION").
159
+ */
160
+ type: string;
175
161
  }
176
162
  /**
177
163
  * A map of URL paths to their corresponding routable objects.
178
164
  * The key is the URL path.
179
165
  */
180
- type DaffInMemoryRoutableObjects = ReadonlyMap<string, DaffInMemoryRoutableObject>;
181
-
166
+ export type DaffInMemoryRoutableObjects = ReadonlyMap<string, DaffInMemoryRoutableObject>;
182
167
  /**
183
168
  * A function that returns an array of entities with URL properties.
184
169
  * Used to provide routable in-memory object information to the routing system.
185
170
  */
186
- type DaffInMemoryRoutableObjectsResolver = () => Array<{
187
- url: string;
171
+ export type DaffInMemoryRoutableObjectsResolver = () => Array<{
172
+ url: string;
188
173
  }>;
189
174
  /**
190
175
  * Internal injection token that builds and provides the complete map of routable objects.
@@ -195,7 +180,7 @@ type DaffInMemoryRoutableObjectsResolver = () => Array<{
195
180
  *
196
181
  * @docs-private
197
182
  */
198
- declare const DAFF_INMEMORY_ROUTABLE_OBJECTS: InjectionToken<DaffInMemoryRoutableObjects>;
183
+ export declare const DAFF_INMEMORY_ROUTABLE_OBJECTS: InjectionToken<DaffInMemoryRoutableObjects>;
199
184
  /**
200
185
  * Registers routable objects from an in-memory driver with the routing system.
201
186
  *
@@ -233,7 +218,5 @@ declare const DAFF_INMEMORY_ROUTABLE_OBJECTS: InjectionToken<DaffInMemoryRoutabl
233
218
  * };
234
219
  * ```
235
220
  */
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 };
221
+ export declare const provideDaffInMemoryRoutableObjects: (type: string, resolver: DaffInMemoryRoutableObjectsResolver) => EnvironmentProviders;
222
+ export {};
@@ -0,0 +1,18 @@
1
+ import { DaffModelFactory } from "@daffodil/core/testing";
2
+ import { MagentoDiscount, MagentoMoney, MagentoSearchResultPageInfo } from "@daffodil/driver/magento/2.4.7";
3
+ import * as i0 from "@angular/core";
4
+ export declare class MagentoMoneyFactory extends DaffModelFactory<MagentoMoney> {
5
+ constructor();
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<MagentoMoneyFactory, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
8
+ }
9
+ export declare class MagentoDiscountFactory extends DaffModelFactory<MagentoDiscount> {
10
+ constructor();
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<MagentoDiscountFactory, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
13
+ }
14
+ export declare class MagentoSearchResultPageInfoFactory extends DaffModelFactory<MagentoSearchResultPageInfo> {
15
+ constructor();
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<MagentoSearchResultPageInfoFactory, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
18
+ }