@adobe/spacecat-shared-data-access 1.43.1 → 1.43.2
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 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v1.43.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.43.1...@adobe/spacecat-shared-data-access-v1.43.2) (2024-08-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add property to include specific urls in the site config ([#343](https://github.com/adobe/spacecat-shared/issues/343)) ([184107a](https://github.com/adobe/spacecat-shared/commit/184107a5329a89653e6ec55cfbb9e4c86f1eea55))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-data-access-v1.43.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.43.0...@adobe/spacecat-shared-data-access-v1.43.1) (2024-08-22)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -30,7 +30,7 @@ export const configSchema = Joi.object({
|
|
|
30
30
|
brokenTargetURL: Joi.string().optional(),
|
|
31
31
|
targetURL: Joi.string().optional(),
|
|
32
32
|
})).optional(),
|
|
33
|
-
|
|
33
|
+
includedURLs: Joi.array().items(Joi.string()),
|
|
34
34
|
}).unknown(true)).unknown(true),
|
|
35
35
|
}).unknown(true);
|
|
36
36
|
|
|
@@ -64,7 +64,7 @@ export const Config = (data = {}) => {
|
|
|
64
64
|
self.getExcludedURLs = (type) => state?.handlers[type]?.excludedURLs;
|
|
65
65
|
self.getManualOverwrites = (type) => state?.handlers[type]?.manualOverwrites;
|
|
66
66
|
self.getFixedURLs = (type) => state?.handlers[type]?.fixedURLs;
|
|
67
|
-
self.
|
|
67
|
+
self.getIncludedURLs = (type) => state?.handlers[type]?.includedURLs;
|
|
68
68
|
|
|
69
69
|
self.updateSlackConfig = (channel, workspace, invitedUserCount) => {
|
|
70
70
|
state.slack = {
|