@adobe/spacecat-shared-data-access 1.50.0 → 1.51.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 +14 -0
- package/package.json +4 -4
- package/src/models/site/config.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v1.51.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.50.1...@adobe/spacecat-shared-data-access-v1.51.0) (2024-11-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* enable internal workspace reporting ([2425c88](https://github.com/adobe/spacecat-shared/commit/2425c881b147272645ea29c0028ebe11878a5e26))
|
|
7
|
+
|
|
8
|
+
# [@adobe/spacecat-shared-data-access-v1.50.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.50.0...@adobe/spacecat-shared-data-access-v1.50.1) (2024-11-11)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update external fixes ([#434](https://github.com/adobe/spacecat-shared/issues/434)) ([b71b615](https://github.com/adobe/spacecat-shared/commit/b71b61528513821f9e34c50a095d47cb4e14f8db))
|
|
14
|
+
|
|
1
15
|
# [@adobe/spacecat-shared-data-access-v1.50.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.49.8...@adobe/spacecat-shared-data-access-v1.50.0) (2024-11-08)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spacecat-shared-data-access",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0",
|
|
4
4
|
"description": "Shared modules of the Spacecat Services - Data Access",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@adobe/spacecat-shared-dynamo": "1.3.
|
|
37
|
-
"@adobe/spacecat-shared-utils": "1.22.
|
|
36
|
+
"@adobe/spacecat-shared-dynamo": "1.3.47",
|
|
37
|
+
"@adobe/spacecat-shared-utils": "1.22.4",
|
|
38
38
|
"@aws-sdk/client-dynamodb": "3.687.0",
|
|
39
39
|
"@aws-sdk/lib-dynamodb": "3.687.0",
|
|
40
40
|
"@types/joi": "17.2.3",
|
|
41
41
|
"joi": "17.13.3",
|
|
42
|
-
"uuid": "11.0.
|
|
42
|
+
"uuid": "11.0.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"chai": "5.1.2",
|
|
@@ -57,6 +57,7 @@ export const Config = (data = {}) => {
|
|
|
57
57
|
const state = { ...validConfig };
|
|
58
58
|
const self = { state };
|
|
59
59
|
self.getSlackConfig = () => state.slack;
|
|
60
|
+
self.isInternalCustomer = () => state?.slack?.workspace === 'internal';
|
|
60
61
|
self.getSlackMentions = (type) => state?.handlers?.[type]?.mentions?.slack;
|
|
61
62
|
self.getHandlerConfig = (type) => state?.handlers?.[type];
|
|
62
63
|
self.getHandlers = () => state.handlers;
|