@adobe/spacecat-shared-data-access 2.97.1 → 2.97.2

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,10 @@
1
+ # [@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)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * 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))
7
+
1
8
  # [@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
9
 
3
10
 
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.97.2",
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',