@adobe/spacecat-shared-data-access 2.97.1 → 2.98.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,17 @@
1
+ # [@adobe/spacecat-shared-data-access-v2.98.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.97.2...@adobe/spacecat-shared-data-access-v2.98.0) (2026-01-29)
2
+
3
+
4
+ ### Features
5
+
6
+ * new flag opted added in edgeoptimizeconfig ([#1294](https://github.com/adobe/spacecat-shared/issues/1294)) ([8386e38](https://github.com/adobe/spacecat-shared/commit/8386e3805e9e67c18e4569428bef7ac5723eb991))
7
+
8
+ # [@adobe/spacecat-shared-data-access-v2.97.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.97.1...@adobe/spacecat-shared-data-access-v2.97.2) (2026-01-28)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * page-citability adding new field in schema ([#1293](https://github.com/adobe/spacecat-shared/issues/1293)) ([9b4728e](https://github.com/adobe/spacecat-shared/commit/9b4728e1e97c8c4f80c2c9ccd011cc14195f5214))
14
+
1
15
  # [@adobe/spacecat-shared-data-access-v2.97.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.97.0...@adobe/spacecat-shared-data-access-v2.97.1) (2026-01-23)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "2.97.1",
3
+ "version": "2.98.0",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -21,6 +21,7 @@ export interface PageCitability extends BaseModel {
21
21
  getWordDifference(): number | undefined;
22
22
  getBotWords(): number | undefined;
23
23
  getNormalWords(): number | undefined;
24
+ getIsDeployedAtEdge(): boolean | undefined;
24
25
 
25
26
  setSiteId(siteId: string): PageCitability;
26
27
  setUrl(url: string): PageCitability;
@@ -29,6 +30,7 @@ export interface PageCitability extends BaseModel {
29
30
  setWordDifference(wordDifference?: number): PageCitability;
30
31
  setBotWords(botWords?: number): PageCitability;
31
32
  setNormalWords(normalWords?: number): PageCitability;
33
+ setIsDeployedAtEdge(isDeployedAtEdge?: boolean): PageCitability;
32
34
  }
33
35
 
34
36
  export interface PageCitabilityCollection extends BaseCollection<PageCitability> {
@@ -68,6 +68,12 @@ const schema = new SchemaBuilder(PageCitability, PageCitabilityCollection)
68
68
  validate: (value) => !value || (typeof value === 'number' && !Number.isNaN(value)),
69
69
  })
70
70
 
71
+ // flag indicating if URL is deployed on Edge Delivery/Tokowaka
72
+ .addAttribute('isDeployedAtEdge', {
73
+ type: 'boolean',
74
+ required: false,
75
+ })
76
+
71
77
  // optionally track who last updated
72
78
  .addAttribute('updatedBy', {
73
79
  type: 'string',
@@ -343,6 +343,7 @@ export const configSchema = Joi.object({
343
343
  }).optional(),
344
344
  edgeOptimizeConfig: Joi.object({
345
345
  enabled: Joi.boolean().required(),
346
+ opted: Joi.boolean().optional(),
346
347
  }).optional(),
347
348
  contentAiConfig: Joi.object({
348
349
  index: Joi.string().optional(),