@adobe/spacecat-shared-data-access 3.26.0 → 3.27.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 +6 -0
- package/package.json +1 -1
- package/src/models/site/config.js +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [@adobe/spacecat-shared-data-access-v3.27.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.26.0...@adobe/spacecat-shared-data-access-v3.27.0) (2026-03-20)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* add countryCodeIgnoreList to site llmo config ([#1447](https://github.com/adobe/spacecat-shared/issues/1447)) ([6d824f8](https://github.com/adobe/spacecat-shared/commit/6d824f855aeadf623776a31e305270ae15fa1be2))
|
|
6
|
+
|
|
1
7
|
## [@adobe/spacecat-shared-data-access-v3.26.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.25.0...@adobe/spacecat-shared-data-access-v3.26.0) (2026-03-19)
|
|
2
8
|
|
|
3
9
|
### Features
|
package/package.json
CHANGED
|
@@ -343,6 +343,9 @@ export const configSchema = Joi.object({
|
|
|
343
343
|
type: Joi.string().valid('include', 'exclude').optional(),
|
|
344
344
|
}),
|
|
345
345
|
).optional(),
|
|
346
|
+
countryCodeIgnoreList: Joi.array().items(
|
|
347
|
+
Joi.string().length(2),
|
|
348
|
+
).optional(),
|
|
346
349
|
cdnBucketConfig: Joi.object({
|
|
347
350
|
bucketName: Joi.string().optional(),
|
|
348
351
|
orgId: Joi.string().optional(),
|
|
@@ -487,6 +490,7 @@ export const Config = (data = {}) => {
|
|
|
487
490
|
return llmoConfig?.customerIntent || [];
|
|
488
491
|
};
|
|
489
492
|
self.getLlmoCdnlogsFilter = () => state?.llmo?.cdnlogsFilter;
|
|
493
|
+
self.getLlmoCountryCodeIgnoreList = () => state?.llmo?.countryCodeIgnoreList;
|
|
490
494
|
self.getLlmoCdnBucketConfig = () => state?.llmo?.cdnBucketConfig;
|
|
491
495
|
self.getTokowakaConfig = () => state?.tokowakaConfig;
|
|
492
496
|
self.getEdgeOptimizeConfig = () => state?.edgeOptimizeConfig;
|
|
@@ -635,6 +639,11 @@ export const Config = (data = {}) => {
|
|
|
635
639
|
state.llmo.cdnlogsFilter = cdnlogsFilter;
|
|
636
640
|
};
|
|
637
641
|
|
|
642
|
+
self.updateLlmoCountryCodeIgnoreList = (countryCodeIgnoreList) => {
|
|
643
|
+
state.llmo = state.llmo || {};
|
|
644
|
+
state.llmo.countryCodeIgnoreList = countryCodeIgnoreList;
|
|
645
|
+
};
|
|
646
|
+
|
|
638
647
|
self.updateLlmoCdnBucketConfig = (cdnBucketConfig) => {
|
|
639
648
|
state.llmo = state.llmo || {};
|
|
640
649
|
state.llmo.cdnBucketConfig = cdnBucketConfig;
|