@adobe/spacecat-shared-data-access 1.41.8 → 1.42.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/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/models/site/config.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v1.42.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.41.8...@adobe/spacecat-shared-data-access-v1.42.0) (2024-08-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* introduce url inspect in google client ([#326](https://github.com/adobe/spacecat-shared/issues/326)) ([eb9e8ae](https://github.com/adobe/spacecat-shared/commit/eb9e8ae67f7a95ca5e4abb993f8b625400735312))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-data-access-v1.41.8](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.41.7...@adobe/spacecat-shared-data-access-v1.41.8) (2024-08-20)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -30,6 +30,7 @@ export const configSchema = Joi.object({
|
|
|
30
30
|
brokenTargetURL: Joi.string().optional(),
|
|
31
31
|
targetURL: Joi.string().optional(),
|
|
32
32
|
})).optional(),
|
|
33
|
+
productDetailPages: Joi.array().items(Joi.string()),
|
|
33
34
|
}).unknown(true)).unknown(true),
|
|
34
35
|
}).unknown(true);
|
|
35
36
|
|
|
@@ -63,6 +64,7 @@ export const Config = (data = {}) => {
|
|
|
63
64
|
self.getExcludedURLs = (type) => state?.handlers[type]?.excludedURLs;
|
|
64
65
|
self.getManualOverwrites = (type) => state?.handlers[type]?.manualOverwrites;
|
|
65
66
|
self.getFixedURLs = (type) => state?.handlers[type]?.fixedURLs;
|
|
67
|
+
self.getProductDetailPages = (type) => state?.handlers[type]?.productDetailPages;
|
|
66
68
|
|
|
67
69
|
self.updateSlackConfig = (channel, workspace, invitedUserCount) => {
|
|
68
70
|
state.slack = {
|