@adobe/spacecat-shared-data-access 2.55.0 → 2.56.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 +13 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v2.56.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.55.0...@adobe/spacecat-shared-data-access-v2.56.0) (2025-08-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add cdn filters in llmo config ([#925](https://github.com/adobe/spacecat-shared/issues/925)) ([021110b](https://github.com/adobe/spacecat-shared/commit/021110bbf7da221d41a808af54ed43f5e5f513ea))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-data-access-v2.55.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.54.0...@adobe/spacecat-shared-data-access-v2.55.0) (2025-08-20)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -269,6 +269,13 @@ export const configSchema = Joi.object({
|
|
|
269
269
|
}),
|
|
270
270
|
).optional(),
|
|
271
271
|
tags: Joi.array().items(Joi.string()).optional(),
|
|
272
|
+
cdnlogsFilter: Joi.array().items(
|
|
273
|
+
Joi.object({
|
|
274
|
+
key: Joi.string().required(),
|
|
275
|
+
value: Joi.array().items(Joi.string()).required(),
|
|
276
|
+
type: Joi.string().valid('include', 'exclude').optional(),
|
|
277
|
+
}),
|
|
278
|
+
).optional(),
|
|
272
279
|
}).optional(),
|
|
273
280
|
cdnLogsConfig: Joi.object({
|
|
274
281
|
bucketName: Joi.string().required(),
|
|
@@ -384,6 +391,7 @@ export const Config = (data = {}) => {
|
|
|
384
391
|
const llmoConfig = self.getLlmoConfig();
|
|
385
392
|
return llmoConfig?.customerIntent || [];
|
|
386
393
|
};
|
|
394
|
+
self.getLlmoCdnlogsFilter = () => state?.llmo?.cdnlogsFilter;
|
|
387
395
|
|
|
388
396
|
self.updateSlackConfig = (channel, workspace, invitedUserCount) => {
|
|
389
397
|
state.slack = {
|
|
@@ -525,6 +533,11 @@ export const Config = (data = {}) => {
|
|
|
525
533
|
);
|
|
526
534
|
};
|
|
527
535
|
|
|
536
|
+
self.updateLlmoCdnlogsFilter = (cdnlogsFilter) => {
|
|
537
|
+
state.llmo = state.llmo || {};
|
|
538
|
+
state.llmo.cdnlogsFilter = cdnlogsFilter;
|
|
539
|
+
};
|
|
540
|
+
|
|
528
541
|
self.updateImports = (imports) => {
|
|
529
542
|
state.imports = imports;
|
|
530
543
|
};
|