@adobe/spacecat-shared-data-access 1.45.5 → 1.45.6
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 +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v1.45.6](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.45.5...@adobe/spacecat-shared-data-access-v1.45.6) (2024-10-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* content client should use the hlxConfig ([8e74827](https://github.com/adobe/spacecat-shared/commit/8e74827613421828eaef29cf1372d329433526cc))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-data-access-v1.45.5](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.45.4...@adobe/spacecat-shared-data-access-v1.45.5) (2024-09-30)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -60,7 +60,6 @@ export const Config = (data = {}) => {
|
|
|
60
60
|
self.getSlackMentions = (type) => state?.handlers[type]?.mentions?.slack;
|
|
61
61
|
self.getHandlerConfig = (type) => state?.handlers[type];
|
|
62
62
|
self.getHandlers = () => state.handlers;
|
|
63
|
-
self.getHlxContentConfig = () => state.content;
|
|
64
63
|
self.getImports = () => state.imports;
|
|
65
64
|
self.getExcludedURLs = (type) => state?.handlers[type]?.excludedURLs;
|
|
66
65
|
self.getManualOverwrites = (type) => state?.handlers[type]?.manualOverwrites;
|
|
@@ -75,13 +74,6 @@ export const Config = (data = {}) => {
|
|
|
75
74
|
};
|
|
76
75
|
};
|
|
77
76
|
|
|
78
|
-
self.updateHlxContentConfig = (source, path) => {
|
|
79
|
-
state.content = {
|
|
80
|
-
source,
|
|
81
|
-
path,
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
|
|
85
77
|
self.updateImports = (imports) => {
|
|
86
78
|
state.imports = imports;
|
|
87
79
|
};
|
|
@@ -118,7 +110,6 @@ Config.fromDynamoItem = (dynamoItem) => Config(dynamoItem);
|
|
|
118
110
|
|
|
119
111
|
Config.toDynamoItem = (config) => ({
|
|
120
112
|
slack: config.getSlackConfig(),
|
|
121
|
-
content: config.getHlxContentConfig(),
|
|
122
113
|
handlers: config.getHandlers(),
|
|
123
114
|
imports: config.getImports(),
|
|
124
115
|
});
|