@adobe/spacecat-shared-data-access 3.50.1 → 3.52.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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## [@adobe/spacecat-shared-data-access-v3.52.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.51.0...@adobe/spacecat-shared-data-access-v3.52.0) (2026-04-10)
2
+
3
+ ### Features
4
+
5
+ * **data-access:** add enableMoneyPageUrls flag to site config ([#1532](https://github.com/adobe/spacecat-shared/issues/1532)) ([865cd45](https://github.com/adobe/spacecat-shared/commit/865cd456e255ed0e2cb3af354fb087d4ce165ef8))
6
+
7
+ ## [@adobe/spacecat-shared-data-access-v3.51.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.50.1...@adobe/spacecat-shared-data-access-v3.51.0) (2026-04-10)
8
+
9
+ ### Features
10
+
11
+ * add contentSourcePath to deliveryConfig schema ([#1520](https://github.com/adobe/spacecat-shared/issues/1520)) ([80341f3](https://github.com/adobe/spacecat-shared/commit/80341f39e0eb34ffca0622a38824c5a33614c96e))
12
+
1
13
  ## [@adobe/spacecat-shared-data-access-v3.50.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.50.0...@adobe/spacecat-shared-data-access-v3.50.1) (2026-04-10)
2
14
 
3
15
  ### Bug Fixes
package/README.md CHANGED
@@ -170,6 +170,7 @@ The `deliveryConfig` object on a Site stores delivery infrastructure details. It
170
170
  | `tenantId` | string | Cloud Manager tenant identifier (from `/program/{programId}` response) |
171
171
  | `ipAllowlistExists` | boolean | Whether the CM program has real IP allowlists configured (excludes default `0.0.0.0/32` entries) |
172
172
  | `preferContentApi` | boolean | Whether to prefer the Content API for content retrieval |
173
+ | `contentSourcePath` | string | AEM content root path for a site. Used to disambiguate multiple sites that share the same Cloud Manager program and environment. Corresponds to `/content/<site-name>` in the AEM repository. |
173
174
 
174
175
  ## Architecture
175
176
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "3.50.1",
3
+ "version": "3.52.0",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -401,6 +401,7 @@ export const configSchema = Joi.object({
401
401
  contentAiConfig: Joi.object({
402
402
  index: Joi.string().optional(),
403
403
  }).optional(),
404
+ enableMoneyPageUrls: Joi.boolean().optional(),
404
405
  auditTargetURLs: Joi.object({
405
406
  manual: Joi.array().items(Joi.object({
406
407
  url: Joi.string().uri().required(),
@@ -531,6 +532,11 @@ export const Config = (data = {}) => {
531
532
  }
532
533
  };
533
534
 
535
+ self.isMoneyPageUrlsEnabled = () => state?.enableMoneyPageUrls ?? true;
536
+ self.setEnableMoneyPageUrls = (value) => {
537
+ state.enableMoneyPageUrls = value;
538
+ };
539
+
534
540
  self.getAuditTargetURLsConfig = () => state?.auditTargetURLs;
535
541
 
536
542
  self.getAuditTargetURLs = () => {
@@ -947,5 +953,6 @@ Config.toDynamoItem = (config) => ({
947
953
  edgeOptimizeConfig: config.getEdgeOptimizeConfig(),
948
954
  onboardConfig: config.getOnboardConfig?.(),
949
955
  commerceLlmoConfig: config.getCommerceLlmoConfig?.(),
956
+ enableMoneyPageUrls: config.isMoneyPageUrlsEnabled?.() === false ? false : undefined,
950
957
  auditTargetURLs: config.getAuditTargetURLsConfig?.(),
951
958
  });
@@ -52,6 +52,7 @@ export interface DeliveryConfig {
52
52
  tenantId?: string;
53
53
  ipAllowlistExists?: boolean;
54
54
  imsOrgId?: string;
55
+ contentSourcePath?: string;
55
56
  [key: string]: unknown;
56
57
  }
57
58
 
@@ -117,6 +117,7 @@ const schema = new SchemaBuilder(Site, SiteCollection)
117
117
  tenantId: { type: 'string' },
118
118
  ipAllowlistExists: { type: 'boolean' },
119
119
  imsOrgId: { type: 'string' },
120
+ contentSourcePath: { type: 'string' },
120
121
  },
121
122
  })
122
123
  .addAttribute('hlxConfig', {