@lustre/sdk 1.6.0-dev.2 → 2.0.0-dev.1

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 (116) hide show
  1. package/dist/api/QueryResolver.js +2 -9
  2. package/dist/api/QueryResolver.js.map +1 -1
  3. package/dist/{actions.js → api/QueryTypes.js} +1 -1
  4. package/dist/api/QueryTypes.js.map +1 -0
  5. package/dist/api/fetchEntity.js.map +1 -1
  6. package/dist/api/fetchQuery.js.map +1 -1
  7. package/dist/api/prepareEntities.js +24 -0
  8. package/dist/api/prepareEntities.js.map +1 -0
  9. package/dist/api/prepareEntity.js +24 -0
  10. package/dist/api/prepareEntity.js.map +1 -0
  11. package/dist/api/prepareQueries.js +24 -0
  12. package/dist/api/prepareQueries.js.map +1 -0
  13. package/dist/api/prepareQuery.js +24 -0
  14. package/dist/api/prepareQuery.js.map +1 -0
  15. package/dist/hooks/useEntities.js +3 -36
  16. package/dist/hooks/useEntities.js.map +1 -1
  17. package/dist/hooks/useEntity.js +3 -5
  18. package/dist/hooks/useEntity.js.map +1 -1
  19. package/dist/hooks/useQueries.js +3 -50
  20. package/dist/hooks/useQueries.js.map +1 -1
  21. package/dist/hooks/useQuery.js +3 -5
  22. package/dist/hooks/useQuery.js.map +1 -1
  23. package/dist/index.js +21 -15
  24. package/dist/index.js.map +1 -1
  25. package/package.json +2 -20
  26. package/types/api/QueryResolver.d.ts +0 -3
  27. package/types/api/QueryResolver.d.ts.map +1 -1
  28. package/types/api/QueryTypes.d.ts +16 -0
  29. package/types/api/QueryTypes.d.ts.map +1 -0
  30. package/types/api/fetchEntity.d.ts +3 -3
  31. package/types/api/fetchEntity.d.ts.map +1 -1
  32. package/types/api/fetchQuery.d.ts +4 -3
  33. package/types/api/fetchQuery.d.ts.map +1 -1
  34. package/types/api/prepareEntities.d.ts +8 -0
  35. package/types/api/prepareEntities.d.ts.map +1 -0
  36. package/types/api/prepareEntity.d.ts +8 -0
  37. package/types/api/prepareEntity.d.ts.map +1 -0
  38. package/types/api/prepareQueries.d.ts +8 -0
  39. package/types/api/prepareQueries.d.ts.map +1 -0
  40. package/types/api/prepareQuery.d.ts +8 -0
  41. package/types/api/prepareQuery.d.ts.map +1 -0
  42. package/types/hooks/useEntities.d.ts +5 -7
  43. package/types/hooks/useEntities.d.ts.map +1 -1
  44. package/types/hooks/useEntity.d.ts +5 -7
  45. package/types/hooks/useEntity.d.ts.map +1 -1
  46. package/types/hooks/useQueries.d.ts +5 -7
  47. package/types/hooks/useQueries.d.ts.map +1 -1
  48. package/types/hooks/useQuery.d.ts +5 -7
  49. package/types/hooks/useQuery.d.ts.map +1 -1
  50. package/types/index.d.ts +10 -5
  51. package/types/index.d.ts.map +1 -1
  52. package/types/schema/index.d.ts +0 -2
  53. package/types/schema/index.d.ts.map +1 -1
  54. package/types/schema/queries.d.ts +0 -1
  55. package/types/schema/queries.d.ts.map +1 -1
  56. package/types/schema/responses.d.ts +0 -1
  57. package/types/schema/responses.d.ts.map +1 -1
  58. package/dist/Context.js +0 -6
  59. package/dist/Context.js.map +0 -1
  60. package/dist/Provider.js +0 -14
  61. package/dist/Provider.js.map +0 -1
  62. package/dist/actions.js.map +0 -1
  63. package/dist/hooks/index.js +0 -18
  64. package/dist/hooks/index.js.map +0 -1
  65. package/dist/hooks/useApiDispatch.js +0 -10
  66. package/dist/hooks/useApiDispatch.js.map +0 -1
  67. package/dist/hooks/useApiSelector.js +0 -10
  68. package/dist/hooks/useApiSelector.js.map +0 -1
  69. package/dist/hooks/useApiStore.js +0 -10
  70. package/dist/hooks/useApiStore.js.map +0 -1
  71. package/dist/schema/queries/competitorsAnalysis.js +0 -3
  72. package/dist/schema/queries/competitorsAnalysis.js.map +0 -1
  73. package/dist/store/entities/index.js +0 -26
  74. package/dist/store/entities/index.js.map +0 -1
  75. package/dist/store/entities/makeEntityReducer.js +0 -24
  76. package/dist/store/entities/makeEntityReducer.js.map +0 -1
  77. package/dist/store/errors/index.js +0 -24
  78. package/dist/store/errors/index.js.map +0 -1
  79. package/dist/store/errors/makeErrorReducer.js +0 -24
  80. package/dist/store/errors/makeErrorReducer.js.map +0 -1
  81. package/dist/store/index.js +0 -17
  82. package/dist/store/index.js.map +0 -1
  83. package/dist/store/responses/index.js +0 -93
  84. package/dist/store/responses/index.js.map +0 -1
  85. package/dist/store/responses/makeResponseReducer.js +0 -24
  86. package/dist/store/responses/makeResponseReducer.js.map +0 -1
  87. package/types/Context.d.ts +0 -5
  88. package/types/Context.d.ts.map +0 -1
  89. package/types/Provider.d.ts +0 -4
  90. package/types/Provider.d.ts.map +0 -1
  91. package/types/actions.d.ts +0 -8
  92. package/types/actions.d.ts.map +0 -1
  93. package/types/hooks/index.d.ts +0 -8
  94. package/types/hooks/index.d.ts.map +0 -1
  95. package/types/hooks/useApiDispatch.d.ts +0 -4
  96. package/types/hooks/useApiDispatch.d.ts.map +0 -1
  97. package/types/hooks/useApiSelector.d.ts +0 -5
  98. package/types/hooks/useApiSelector.d.ts.map +0 -1
  99. package/types/hooks/useApiStore.d.ts +0 -3
  100. package/types/hooks/useApiStore.d.ts.map +0 -1
  101. package/types/schema/queries/competitorsAnalysis.d.ts +0 -34
  102. package/types/schema/queries/competitorsAnalysis.d.ts.map +0 -1
  103. package/types/store/entities/index.d.ts +0 -24
  104. package/types/store/entities/index.d.ts.map +0 -1
  105. package/types/store/entities/makeEntityReducer.d.ts +0 -6
  106. package/types/store/entities/makeEntityReducer.d.ts.map +0 -1
  107. package/types/store/errors/index.d.ts +0 -5
  108. package/types/store/errors/index.d.ts.map +0 -1
  109. package/types/store/errors/makeErrorReducer.d.ts +0 -6
  110. package/types/store/errors/makeErrorReducer.d.ts.map +0 -1
  111. package/types/store/index.d.ts +0 -119
  112. package/types/store/index.d.ts.map +0 -1
  113. package/types/store/responses/index.d.ts +0 -91
  114. package/types/store/responses/index.d.ts.map +0 -1
  115. package/types/store/responses/makeResponseReducer.d.ts +0 -6
  116. package/types/store/responses/makeResponseReducer.d.ts.map +0 -1
@@ -1,93 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const redux_1 = require("redux");
7
- const makeResponseReducer_1 = __importDefault(require("./makeResponseReducer"));
8
- exports.default = redux_1.combineReducers({
9
- affiliateUrl: makeResponseReducer_1.default("affiliateUrl"),
10
- analyticsTrack: makeResponseReducer_1.default("analyticsTrack"),
11
- appliedCategoryIdListBySomeId: makeResponseReducer_1.default("appliedCategoryIdListBySomeId"),
12
- baseScore: makeResponseReducer_1.default("baseScore"),
13
- baseScoreRatingIdList: makeResponseReducer_1.default("baseScoreRatingIdList"),
14
- baseScoresByCategoryId: makeResponseReducer_1.default("baseScoresByCategoryId"),
15
- bestInClass: makeResponseReducer_1.default("bestInClass"),
16
- brandIdBySomeId: makeResponseReducer_1.default("brandIdBySomeId"),
17
- brandIdList: makeResponseReducer_1.default("brandIdList"),
18
- brandAliasResolution: makeResponseReducer_1.default("brandAliasResolution"),
19
- brandCategoryRankings: makeResponseReducer_1.default("brandCategoryRankings"),
20
- brandSocialMediaPostList: makeResponseReducer_1.default("brandSocialMediaPostList"),
21
- categoryAliasResolution: makeResponseReducer_1.default("categoryAliasResolution"),
22
- categoryDisplayMode: makeResponseReducer_1.default("categoryDisplayMode"),
23
- categoryIdByUrlSlug: makeResponseReducer_1.default("categoryIdByUrlSlug"),
24
- categoryIdList: makeResponseReducer_1.default("categoryIdList"),
25
- categoryIdListBySomeId: makeResponseReducer_1.default("categoryIdListBySomeId"),
26
- categoryIdListBySourceId: makeResponseReducer_1.default("categoryIdListBySourceId"),
27
- categoryRankings: makeResponseReducer_1.default("categoryRankings"),
28
- categorySearchList: makeResponseReducer_1.default("categorySearchList"),
29
- categoryStatusList: makeResponseReducer_1.default("categoryStatusList"),
30
- competitorsAnalysis: makeResponseReducer_1.default("competitorsAnalysis"),
31
- crawlIdList: makeResponseReducer_1.default("crawlIdList"),
32
- crawlIdListByUrl: makeResponseReducer_1.default("crawlIdListByUrl"),
33
- descriptionMarkdown: makeResponseReducer_1.default("descriptionMarkdown"),
34
- entityType: makeResponseReducer_1.default("entityType"),
35
- fallbackPriceByProductTypeId: makeResponseReducer_1.default("fallbackPriceByProductTypeId"),
36
- inputLayerVersion: makeResponseReducer_1.default("inputLayerVersion"),
37
- latestRatingIdList: makeResponseReducer_1.default("latestRatingIdList"),
38
- latestRatingIdListBySomeId: makeResponseReducer_1.default("latestRatingIdListBySomeId"),
39
- mediaIdListBySomeId: makeResponseReducer_1.default("mediaIdListBySomeId"),
40
- categoryModifierSearchList: makeResponseReducer_1.default("categoryModifierSearchList"),
41
- noteMarkdown: makeResponseReducer_1.default("noteMarkdown"),
42
- offerIdListByStorePageId: makeResponseReducer_1.default("offerIdListByStorePageId"),
43
- possibleAliasIdListBySomeId: makeResponseReducer_1.default("possibleAliasIdListBySomeId"),
44
- possibleStorePageIdListBySomeId: makeResponseReducer_1.default("possibleStorePageIdListBySomeId"),
45
- preferredCategoryIdListByProductId: makeResponseReducer_1.default("preferredCategoryIdListByProductId"),
46
- preferredLatestRatingIdListBySomeId: makeResponseReducer_1.default("preferredLatestRatingIdListBySomeId"),
47
- preferredStorePageList: makeResponseReducer_1.default("preferredStorePageList"),
48
- priceHistoryLookup: makeResponseReducer_1.default("priceHistoryLookup"),
49
- pricePointCompetitors: makeResponseReducer_1.default("pricePointCompetitors"),
50
- priceRangeByCategoryId: makeResponseReducer_1.default("priceRangeByCategoryId"),
51
- productConfigurationIdListBySomeId: makeResponseReducer_1.default("productConfigurationIdListBySomeId"),
52
- productDealList: makeResponseReducer_1.default("productDealList"),
53
- productDocumentByStoreUrl: makeResponseReducer_1.default("productDocumentByStoreUrl"),
54
- productDocumentsByProductIds: makeResponseReducer_1.default("productDocumentsByProductIds"),
55
- productFamilyIdBySomeId: makeResponseReducer_1.default("productFamilyIdBySomeId"),
56
- productFamilyIdListBySomeId: makeResponseReducer_1.default("productFamilyIdListBySomeId"),
57
- productGenerationIdBySomeId: makeResponseReducer_1.default("productGenerationIdBySomeId"),
58
- productGenerationIdListBySomeId: makeResponseReducer_1.default("productGenerationIdListBySomeId"),
59
- productListSort: makeResponseReducer_1.default("productListSort"),
60
- productPricePointList: makeResponseReducer_1.default("productPricePointList"),
61
- productSearchList: makeResponseReducer_1.default("productSearchList"),
62
- productTypeIdBySomeId: makeResponseReducer_1.default("productTypeIdBySomeId"),
63
- productTypeIdByStoreUrl: makeResponseReducer_1.default("productTypeIdByStoreUrl"),
64
- productTypeIdListByCategoryId: makeResponseReducer_1.default("productTypeIdListByCategoryId"),
65
- productTypeIdListByModifiers: makeResponseReducer_1.default("productTypeIdListByModifiers"),
66
- productTypeIdListBySomeId: makeResponseReducer_1.default("productTypeIdListBySomeId"),
67
- saleMetrics: makeResponseReducer_1.default("saleMetrics"),
68
- searchSuggestionList: makeResponseReducer_1.default("searchSuggestionList"),
69
- sectionDataByCrawlId: makeResponseReducer_1.default("sectionDataByCrawlId"),
70
- sourceIdList: makeResponseReducer_1.default("sourceIdList"),
71
- specIdListBySomeId: makeResponseReducer_1.default("specIdListBySomeId"),
72
- specTypeIdList: makeResponseReducer_1.default("specTypeIdList"),
73
- specTypeValidValues: makeResponseReducer_1.default("specTypeValidValues"),
74
- specValueRangeListByCategoryId: makeResponseReducer_1.default("specValueRangeListByCategoryId"),
75
- stablePriceByProductId: makeResponseReducer_1.default("stablePriceByProductId"),
76
- stablePriceByProductIdAndStoreName: makeResponseReducer_1.default("stablePriceByProductIdAndStoreName"),
77
- stablePriceByStorePageId: makeResponseReducer_1.default("stablePriceByStorePageId"),
78
- storePageFetchData: makeResponseReducer_1.default("storePageFetchData"),
79
- storePageIdByUrl: makeResponseReducer_1.default("storePageIdByUrl"),
80
- storePageIdListBySomeId: makeResponseReducer_1.default("storePageIdListBySomeId"),
81
- storePageInfoBySku: makeResponseReducer_1.default("storePageInfoBySku"),
82
- storePageInfo: makeResponseReducer_1.default("storePageInfo"),
83
- storePageScrapeData: makeResponseReducer_1.default("storePageScrapeData"),
84
- subCategoryIdListByCategoryId: makeResponseReducer_1.default("subCategoryIdListByCategoryId"),
85
- subsetModifierDataByModifiers: makeResponseReducer_1.default("subsetModifierDataByModifiers"),
86
- topProductDocumentList: makeResponseReducer_1.default("topProductDocumentList"),
87
- unstableMediaIdListByCategoryId: makeResponseReducer_1.default("unstableMediaIdListByCategoryId"),
88
- userReviewAnalysis: makeResponseReducer_1.default("userReviewAnalysis"),
89
- unstableSourceTrust: makeResponseReducer_1.default("unstableSourceTrust"),
90
- userIdList: makeResponseReducer_1.default("userIdList"),
91
- userPermissionsByUserId: makeResponseReducer_1.default("userPermissionsByUserId"),
92
- });
93
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/store/responses/index.ts"],"names":[],"mappings":"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"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const makeResponseReducer = (name) => {
4
- return (state, action) => {
5
- if (state === undefined) {
6
- return {};
7
- }
8
- if (action.type !== "response_arrived") {
9
- return state;
10
- }
11
- const allRawResponses = action.response.responses;
12
- if (allRawResponses === undefined) {
13
- return state;
14
- }
15
- const rawResponses = allRawResponses[name];
16
- if (rawResponses === undefined) {
17
- return state;
18
- }
19
- const next = Object.assign({}, state, rawResponses);
20
- return next;
21
- };
22
- };
23
- exports.default = makeResponseReducer;
24
- //# sourceMappingURL=makeResponseReducer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"makeResponseReducer.js","sourceRoot":"","sources":["../../../src/store/responses/makeResponseReducer.ts"],"names":[],"mappings":";;AASA,MAAM,mBAAmB,GAAG,CAI1B,IAAa,EACiB,EAAE;IAChC,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QACvB,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,OAAO,EAAa,CAAA;SACrB;QACD,IAAI,MAAM,CAAC,IAAI,KAAK,kBAAkB,EAAE;YACtC,OAAO,KAAK,CAAA;SACb;QACD,MAAM,eAAe,GAAG,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAA;QACjD,IAAI,eAAe,KAAK,SAAS,EAAE;YACjC,OAAO,KAAK,CAAA;SACb;QACD,MAAM,YAAY,GAAG,eAAe,CAAC,IAAI,CAAC,CAAA;QAC1C,IAAI,YAAY,KAAK,SAAS,EAAE;YAC9B,OAAO,KAAK,CAAA;SACb;QAED,MAAM,IAAI,GAAY,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,YAAY,CAAC,CAAA;QAC5D,OAAO,IAAI,CAAA;IACb,CAAC,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,mBAAmB,CAAA"}
@@ -1,5 +0,0 @@
1
- import { Context } from "react";
2
- import { ReactReduxContextValue } from "react-redux";
3
- declare const _default;
4
- export default _default;
5
- //# sourceMappingURL=Context.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../src/Context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAiB,MAAM,OAAO,CAAA;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;;AASpD,wBAAyE"}
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- declare const ApiProvider: React.FC<React.PropsWithChildren<unknown>>;
3
- export default ApiProvider;
4
- //# sourceMappingURL=Provider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../src/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAM3D,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1,8 +0,0 @@
1
- import type { Api } from "./schema";
2
- export declare type ApiAction<Type extends string, Body extends Record<string, unknown>> = {
3
- type: Type;
4
- } & Body;
5
- export declare type ApiActions = ApiAction<"response_arrived", {
6
- response: Api;
7
- }>;
8
- //# sourceMappingURL=actions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,iBAAgB;AAGnC,oBAAY,SAAS,CAAC,IAAI,SAAS,MAAM,EAAE,IAAI,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;IACjF,IAAI,EAAE,IAAI,CAAA;CACX,GAAG,IAAI,CAAA;AAER,oBAAY,UAAU,GAAG,SAAS,CAAC,kBAAkB,EAAE;IAAE,QAAQ,EAAE,GAAG,CAAA;CAAE,CAAC,CAAA"}
@@ -1,8 +0,0 @@
1
- export { useApiDispatch } from "./useApiDispatch";
2
- export { useApiSelector } from "./useApiSelector";
3
- export { useApiStore } from "./useApiStore";
4
- export { useEntities } from "./useEntities";
5
- export { useEntity } from "./useEntity";
6
- export { useQueries } from "./useQueries";
7
- export { useQuery } from "./useQuery";
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAG3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA"}
@@ -1,4 +0,0 @@
1
- import { ApiActions } from "../actions";
2
- export declare const useApiDispatch: () => (dispatch: ApiActions) => void;
3
- export declare type ApiDispatch = ReturnType<typeof useApiDispatch>;
4
- //# sourceMappingURL=useApiDispatch.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useApiDispatch.d.ts","sourceRoot":"","sources":["../../src/hooks/useApiDispatch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,mBAAiB;AAItC,eAAO,MAAM,cAAc,mBAAsD,UAAU,KAAK,IAAI,CAAA;AAEpG,oBAAY,WAAW,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { Store } from "../store";
2
- declare type ApiStateSelector<R> = (state: Store) => R;
3
- export declare const useApiSelector: <T>(sel: ApiStateSelector<T>, eq?: ((prev: Store, next: Store) => boolean) | undefined) => T;
4
- export {};
5
- //# sourceMappingURL=useApiSelector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useApiSelector.d.ts","sourceRoot":"","sources":["../../src/hooks/useApiSelector.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,iBAAe;AAE/B,aAAK,gBAAgB,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,KAAK,CAAC,CAAA;AAE9C,eAAO,MAAM,cAAc,6CAEb,KAAK,QAAQ,KAAK,KAAK,OAAO,mBACtC,CAAA"}
@@ -1,3 +0,0 @@
1
- import { Store } from "redux";
2
- export declare const useApiStore: () => Store;
3
- //# sourceMappingURL=useApiStore.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useApiStore.d.ts","sourceRoot":"","sources":["../../src/hooks/useApiStore.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAI7B,eAAO,MAAM,WAAW,EAAE,MAAM,KAAmC,CAAA"}
@@ -1,34 +0,0 @@
1
- import { Timestamp, Url } from "../builtins";
2
- export interface CompetitorsAnalysisQuery {
3
- domain: string;
4
- sku: string;
5
- }
6
- export interface CompetitorsAnalysisResponse {
7
- categoryName: string | null;
8
- attributes: Attribute[];
9
- roundups: Roundup[];
10
- competitors: Competitor[];
11
- }
12
- interface Attribute {
13
- attributeName: string;
14
- }
15
- interface Roundup {
16
- url: Url;
17
- title: string;
18
- publishedAt: Timestamp | null;
19
- trust: 0 | 1 | 2 | 3;
20
- }
21
- interface StorePage {
22
- url: Url;
23
- sku: string | null;
24
- }
25
- interface Citation {
26
- roundupUrl: Url;
27
- }
28
- interface Competitor {
29
- productName: string;
30
- storePages: StorePage[];
31
- citations: Citation[];
32
- }
33
- export {};
34
- //# sourceMappingURL=competitorsAnalysis.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"competitorsAnalysis.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/competitorsAnalysis.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAyB;AAElD,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,2BAA2B;IAC1C,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,UAAU,EAAE,SAAS,EAAE,CAAA;IACvB,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,WAAW,EAAE,UAAU,EAAE,CAAA;CAC1B;AAED,UAAU,SAAS;IACjB,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,UAAU,OAAO;IACf,GAAG,EAAE,GAAG,CAAA;IACR,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,SAAS,GAAG,IAAI,CAAA;IAC7B,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;CACrB;AAED,UAAU,SAAS;IACjB,GAAG,EAAE,GAAG,CAAA;IACR,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;CACnB;AAED,UAAU,QAAQ;IAChB,UAAU,EAAE,GAAG,CAAA;CAChB;AAED,UAAU,UAAU;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,SAAS,EAAE,CAAA;IACvB,SAAS,EAAE,QAAQ,EAAE,CAAA;CACtB"}
@@ -1,24 +0,0 @@
1
- declare const _default: import("redux").Reducer<import("redux").CombinedState<{
2
- alias: any;
3
- brand: any;
4
- category: any;
5
- crawl: any;
6
- media: any;
7
- productConfiguration: any;
8
- productFamily: any;
9
- productGeneration: any;
10
- productType: any;
11
- rating: any;
12
- source: any;
13
- spec: any;
14
- specType: any;
15
- specTypeChoice: any;
16
- storePage: any;
17
- user: any;
18
- }>, {
19
- type: "response_arrived";
20
- } & {
21
- response: import("../..").Api;
22
- }>;
23
- export default _default;
24
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/store/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAIA,wBAiBE"}
@@ -1,6 +0,0 @@
1
- import { Reducer } from "redux";
2
- import { ApiActions } from "../../actions";
3
- import type { ApiEntities } from "../../schema";
4
- declare const makeEntityReducer: <RawName extends keyof ApiEntities, OutType = ApiEntities[RawName]>(name: RawName) => Reducer<OutType, ApiActions>;
5
- export default makeEntityReducer;
6
- //# sourceMappingURL=makeEntityReducer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"makeEntityReducer.d.ts","sourceRoot":"","sources":["../../../src/store/entities/makeEntityReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,EAAE,UAAU,EAAE,sBAAiB;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,qBAAgB;AAU3C,QAAA,MAAM,iBAAiB,oHA+BtB,CAAA;AAED,eAAe,iBAAiB,CAAA"}
@@ -1,5 +0,0 @@
1
- import { ApiActions } from "../../actions";
2
- import { Store } from "./..";
3
- declare const errorsReducer: (state: Store["errors"] | Record<string, never>, action: ApiActions) => Store["errors"] | Record<string, never>;
4
- export default errorsReducer;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/store/errors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,sBAAiB;AACtC,OAAO,EAAE,KAAK,EAAE,aAAe;AAE/B,QAAA,MAAM,aAAa,UACV,KAAK,CAAC,QAAQ,CAAC,GAAG,OAAO,MAAM,EAAE,KAAK,CAAC,UACtC,UAAU,KACjB,KAAK,CAAC,QAAQ,CAAC,GAAG,OAAO,MAAM,EAAE,KAAK,CAwBxC,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -1,6 +0,0 @@
1
- import { Reducer } from "redux";
2
- import { ApiActions } from "../../actions";
3
- import type { ApiErrors } from "../../schema";
4
- declare const makeErrorReducer: <RawName extends keyof import("../../schema").ApiQueries, OutType = ApiErrors[RawName]>(name: RawName) => Reducer<OutType, ApiActions>;
5
- export default makeErrorReducer;
6
- //# sourceMappingURL=makeErrorReducer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"makeErrorReducer.d.ts","sourceRoot":"","sources":["../../../src/store/errors/makeErrorReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,EAAE,UAAU,EAAE,sBAAiB;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAgB;AAMzC,QAAA,MAAM,gBAAgB,wIAyBrB,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1,119 +0,0 @@
1
- import type { ApiEntities, ApiErrors, ApiQueries, ApiResponses } from "../schema";
2
- export declare type Store = {
3
- entities: ApiEntities;
4
- queries: ApiQueries;
5
- responses: ApiResponses;
6
- errors: ApiErrors;
7
- };
8
- declare const store: import("redux").Store<import("redux").EmptyObject & {
9
- entities: import("redux").CombinedState<{
10
- alias: any;
11
- brand: any;
12
- category: any;
13
- crawl: any;
14
- media: any;
15
- productConfiguration: any;
16
- productFamily: any;
17
- productGeneration: any;
18
- productType: any;
19
- rating: any;
20
- source: any;
21
- spec: any;
22
- specType: any;
23
- specTypeChoice: any;
24
- storePage: any;
25
- user: any;
26
- }>;
27
- responses: import("redux").CombinedState<{
28
- affiliateUrl: any;
29
- analyticsTrack: any;
30
- appliedCategoryIdListBySomeId: any;
31
- baseScore: any;
32
- baseScoreRatingIdList: any;
33
- baseScoresByCategoryId: any;
34
- bestInClass: any;
35
- brandIdBySomeId: any;
36
- brandIdList: any;
37
- brandAliasResolution: any;
38
- brandCategoryRankings: any;
39
- brandSocialMediaPostList: any;
40
- categoryAliasResolution: any;
41
- categoryDisplayMode: any;
42
- categoryIdByUrlSlug: any;
43
- categoryIdList: any;
44
- categoryIdListBySomeId: any;
45
- categoryIdListBySourceId: any;
46
- categoryRankings: any;
47
- categorySearchList: any;
48
- categoryStatusList: any;
49
- competitorsAnalysis: any;
50
- crawlIdList: any;
51
- crawlIdListByUrl: any;
52
- descriptionMarkdown: any;
53
- entityType: any;
54
- fallbackPriceByProductTypeId: any;
55
- inputLayerVersion: any;
56
- latestRatingIdList: any;
57
- latestRatingIdListBySomeId: any;
58
- mediaIdListBySomeId: any;
59
- categoryModifierSearchList: any;
60
- noteMarkdown: any;
61
- offerIdListByStorePageId: any;
62
- possibleAliasIdListBySomeId: any;
63
- possibleStorePageIdListBySomeId: any;
64
- preferredCategoryIdListByProductId: any;
65
- preferredLatestRatingIdListBySomeId: any;
66
- preferredStorePageList: any;
67
- priceHistoryLookup: any;
68
- pricePointCompetitors: any;
69
- priceRangeByCategoryId: any;
70
- productConfigurationIdListBySomeId: any;
71
- productDealList: any;
72
- productDocumentByStoreUrl: any;
73
- productDocumentsByProductIds: any;
74
- productFamilyIdBySomeId: any;
75
- productFamilyIdListBySomeId: any;
76
- productGenerationIdBySomeId: any;
77
- productGenerationIdListBySomeId: any;
78
- productListSort: any;
79
- productPricePointList: any;
80
- productSearchList: any;
81
- productTypeIdBySomeId: any;
82
- productTypeIdByStoreUrl: any;
83
- productTypeIdListByCategoryId: any;
84
- productTypeIdListByModifiers: any;
85
- productTypeIdListBySomeId: any;
86
- saleMetrics: any;
87
- searchSuggestionList: any;
88
- sectionDataByCrawlId: any;
89
- sourceIdList: any;
90
- specIdListBySomeId: any;
91
- specTypeIdList: any;
92
- specTypeValidValues: any;
93
- specValueRangeListByCategoryId: any;
94
- stablePriceByProductId: any;
95
- stablePriceByProductIdAndStoreName: any;
96
- stablePriceByStorePageId: any;
97
- storePageFetchData: any;
98
- storePageIdByUrl: any;
99
- storePageIdListBySomeId: any;
100
- storePageInfoBySku: any;
101
- storePageInfo: any;
102
- storePageScrapeData: any;
103
- subCategoryIdListByCategoryId: any;
104
- subsetModifierDataByModifiers: any;
105
- topProductDocumentList: any;
106
- unstableMediaIdListByCategoryId: any;
107
- userReviewAnalysis: any;
108
- unstableSourceTrust: any;
109
- userIdList: any;
110
- userPermissionsByUserId: any;
111
- }>;
112
- errors: never;
113
- }, {
114
- type: "response_arrived";
115
- } & {
116
- response: import("../schema").Api;
117
- }>;
118
- export default store;
119
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAE,kBAAgB;AAQhF,oBAAY,KAAK,GAAG;IAClB,QAAQ,EAAE,WAAW,CAAA;IACrB,OAAO,EAAE,UAAU,CAAA;IACnB,SAAS,EAAE,YAAY,CAAA;IACvB,MAAM,EAAE,SAAS,CAAA;CAClB,CAAA;AAQD,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAwB,CAAA;AAEnC,eAAe,KAAK,CAAA"}
@@ -1,91 +0,0 @@
1
- declare const _default: import("redux").Reducer<import("redux").CombinedState<{
2
- affiliateUrl: any;
3
- analyticsTrack: any;
4
- appliedCategoryIdListBySomeId: any;
5
- baseScore: any;
6
- baseScoreRatingIdList: any;
7
- baseScoresByCategoryId: any;
8
- bestInClass: any;
9
- brandIdBySomeId: any;
10
- brandIdList: any;
11
- brandAliasResolution: any;
12
- brandCategoryRankings: any;
13
- brandSocialMediaPostList: any;
14
- categoryAliasResolution: any;
15
- categoryDisplayMode: any;
16
- categoryIdByUrlSlug: any;
17
- categoryIdList: any;
18
- categoryIdListBySomeId: any;
19
- categoryIdListBySourceId: any;
20
- categoryRankings: any;
21
- categorySearchList: any;
22
- categoryStatusList: any;
23
- competitorsAnalysis: any;
24
- crawlIdList: any;
25
- crawlIdListByUrl: any;
26
- descriptionMarkdown: any;
27
- entityType: any;
28
- fallbackPriceByProductTypeId: any;
29
- inputLayerVersion: any;
30
- latestRatingIdList: any;
31
- latestRatingIdListBySomeId: any;
32
- mediaIdListBySomeId: any;
33
- categoryModifierSearchList: any;
34
- noteMarkdown: any;
35
- offerIdListByStorePageId: any;
36
- possibleAliasIdListBySomeId: any;
37
- possibleStorePageIdListBySomeId: any;
38
- preferredCategoryIdListByProductId: any;
39
- preferredLatestRatingIdListBySomeId: any;
40
- preferredStorePageList: any;
41
- priceHistoryLookup: any;
42
- pricePointCompetitors: any;
43
- priceRangeByCategoryId: any;
44
- productConfigurationIdListBySomeId: any;
45
- productDealList: any;
46
- productDocumentByStoreUrl: any;
47
- productDocumentsByProductIds: any;
48
- productFamilyIdBySomeId: any;
49
- productFamilyIdListBySomeId: any;
50
- productGenerationIdBySomeId: any;
51
- productGenerationIdListBySomeId: any;
52
- productListSort: any;
53
- productPricePointList: any;
54
- productSearchList: any;
55
- productTypeIdBySomeId: any;
56
- productTypeIdByStoreUrl: any;
57
- productTypeIdListByCategoryId: any;
58
- productTypeIdListByModifiers: any;
59
- productTypeIdListBySomeId: any;
60
- saleMetrics: any;
61
- searchSuggestionList: any;
62
- sectionDataByCrawlId: any;
63
- sourceIdList: any;
64
- specIdListBySomeId: any;
65
- specTypeIdList: any;
66
- specTypeValidValues: any;
67
- specValueRangeListByCategoryId: any;
68
- stablePriceByProductId: any;
69
- stablePriceByProductIdAndStoreName: any;
70
- stablePriceByStorePageId: any;
71
- storePageFetchData: any;
72
- storePageIdByUrl: any;
73
- storePageIdListBySomeId: any;
74
- storePageInfoBySku: any;
75
- storePageInfo: any;
76
- storePageScrapeData: any;
77
- subCategoryIdListByCategoryId: any;
78
- subsetModifierDataByModifiers: any;
79
- topProductDocumentList: any;
80
- unstableMediaIdListByCategoryId: any;
81
- userReviewAnalysis: any;
82
- unstableSourceTrust: any;
83
- userIdList: any;
84
- userPermissionsByUserId: any;
85
- }>, {
86
- type: "response_arrived";
87
- } & {
88
- response: import("../..").Api;
89
- }>;
90
- export default _default;
91
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/store/responses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAoFE"}
@@ -1,6 +0,0 @@
1
- import { Reducer } from "redux";
2
- import { ApiActions } from "../../actions";
3
- import type { ApiResponses } from "../../schema";
4
- declare const makeResponseReducer: <RawName extends keyof ApiResponses, OutType = ApiResponses[RawName]>(name: RawName) => Reducer<OutType, ApiActions>;
5
- export default makeResponseReducer;
6
- //# sourceMappingURL=makeResponseReducer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"makeResponseReducer.d.ts","sourceRoot":"","sources":["../../../src/store/responses/makeResponseReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,EAAE,UAAU,EAAE,sBAAiB;AACtC,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAgB;AAM5C,QAAA,MAAM,mBAAmB,sHAyBxB,CAAA;AAED,eAAe,mBAAmB,CAAA"}