@adobe/spacecat-shared-data-access 2.60.1 → 2.61.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 +11 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v2.61.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.60.1...@adobe/spacecat-shared-data-access-v2.61.0) (2025-09-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add bucket config inside llmo ([#944](https://github.com/adobe/spacecat-shared/issues/944)) ([0153f33](https://github.com/adobe/spacecat-shared/commit/0153f33615b3ccc51f6adee0475027ad93a41480))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-data-access-v2.60.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.60.0...@adobe/spacecat-shared-data-access-v2.60.1) (2025-08-29)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -276,6 +276,11 @@ export const configSchema = Joi.object({
|
|
|
276
276
|
type: Joi.string().valid('include', 'exclude').optional(),
|
|
277
277
|
}),
|
|
278
278
|
).optional(),
|
|
279
|
+
cdnBucketConfig: Joi.object({
|
|
280
|
+
bucketName: Joi.string().optional(),
|
|
281
|
+
orgId: Joi.string().optional(),
|
|
282
|
+
cdnProvider: Joi.string().optional(),
|
|
283
|
+
}).optional(),
|
|
279
284
|
}).optional(),
|
|
280
285
|
cdnLogsConfig: Joi.object({
|
|
281
286
|
bucketName: Joi.string().required(),
|
|
@@ -392,6 +397,7 @@ export const Config = (data = {}) => {
|
|
|
392
397
|
return llmoConfig?.customerIntent || [];
|
|
393
398
|
};
|
|
394
399
|
self.getLlmoCdnlogsFilter = () => state?.llmo?.cdnlogsFilter;
|
|
400
|
+
self.getLlmoCdnBucketConfig = () => state?.llmo?.cdnBucketConfig;
|
|
395
401
|
|
|
396
402
|
self.updateSlackConfig = (channel, workspace, invitedUserCount) => {
|
|
397
403
|
state.slack = {
|
|
@@ -538,6 +544,11 @@ export const Config = (data = {}) => {
|
|
|
538
544
|
state.llmo.cdnlogsFilter = cdnlogsFilter;
|
|
539
545
|
};
|
|
540
546
|
|
|
547
|
+
self.updateLlmoCdnBucketConfig = (cdnBucketConfig) => {
|
|
548
|
+
state.llmo = state.llmo || {};
|
|
549
|
+
state.llmo.cdnBucketConfig = cdnBucketConfig;
|
|
550
|
+
};
|
|
551
|
+
|
|
541
552
|
self.updateImports = (imports) => {
|
|
542
553
|
state.imports = imports;
|
|
543
554
|
};
|