From ca7c50aa43a14dc6a2b8cc8b3c5cbc98c9073f11 Mon Sep 17 00:00:00 2001 From: Daniel Huser Date: Fri, 17 Oct 2025 07:57:13 +0200 Subject: [PATCH 1/3] pipeline test --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index b1f043668..c61c9c524 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,16 @@ # spacecat-shared + Shared modules for Spacecat Services ## Modules + - `spacecat-shared-data-access` - Models and data access layer - `spacecat-shared-http-utils` - HTTP utility functions - `spacecat-shared-utils` - Utility functions - `spacecat-shared-rum-api-client` - Client for RUM Bundler API: [DOCS](https://github.com/adobe/spacecat-shared/blob/main/packages/spacecat-shared-rum-api-client/README.md) ## Installation + ```bash $ npm install @adobe/spacecat-shared-data-access $ npm install @adobe/spacecat-shared-http-utils @@ -15,4 +18,7 @@ $ npm install @adobe/spacecat-shared-utils ``` ## Usage + See the [API documentation](docs/API.md). + +DUMMY ENTRY From 3276905ec59e2c2da557bf07d76c2f8cd3427428 Mon Sep 17 00:00:00 2001 From: Daniel Huser Date: Fri, 17 Oct 2025 08:03:06 +0200 Subject: [PATCH 2/3] added dummy chanage --- .../src/models/audit/audit.model.js | 4 ++-- .../test/unit/models/audit/audit.model.test.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/spacecat-shared-data-access/src/models/audit/audit.model.js b/packages/spacecat-shared-data-access/src/models/audit/audit.model.js index 771a7a8cd..29bf35c6c 100644 --- a/packages/spacecat-shared-data-access/src/models/audit/audit.model.js +++ b/packages/spacecat-shared-data-access/src/models/audit/audit.model.js @@ -62,7 +62,7 @@ class Audit extends BaseModel { READABILITY: 'readability', PRERENDER: 'prerender', PRODUCT_METATAGS: 'product-metatags', - SUMMARIZATION: 'summarization', + SUMMARIZATION: 'summarization2', }; static AUDIT_TYPE_PROPERTIES = { @@ -205,7 +205,7 @@ class Audit extends BaseModel { if (( auditType === Audit.AUDIT_CONFIG.TYPES.LHS_MOBILE - || auditType === Audit.AUDIT_CONFIG.TYPES.LHS_DESKTOP + || auditType === Audit.AUDIT_CONFIG.TYPES.LHS_DESKTOP ) && !isObject(auditResult.scores)) { throw new ValidationError(`Missing scores property for audit type '${auditType}'`); diff --git a/packages/spacecat-shared-data-access/test/unit/models/audit/audit.model.test.js b/packages/spacecat-shared-data-access/test/unit/models/audit/audit.model.test.js index 2d5797358..f5653fd66 100755 --- a/packages/spacecat-shared-data-access/test/unit/models/audit/audit.model.test.js +++ b/packages/spacecat-shared-data-access/test/unit/models/audit/audit.model.test.js @@ -189,7 +189,7 @@ describe('AuditModel', () => { READABILITY: 'readability', PRERENDER: 'prerender', PRODUCT_METATAGS: 'product-metatags', - SUMMARIZATION: 'summarization', + SUMMARIZATION: 'summarization2', }; it('should have all audit types present in AUDIT_TYPES', () => { From 903224409c7d983dcbf0856154c5548b9f905cb7 Mon Sep 17 00:00:00 2001 From: Daniel Huser Date: Fri, 17 Oct 2025 08:04:43 +0200 Subject: [PATCH 3/3] Update audit.model.js --- .../spacecat-shared-data-access/src/models/audit/audit.model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/spacecat-shared-data-access/src/models/audit/audit.model.js b/packages/spacecat-shared-data-access/src/models/audit/audit.model.js index 29bf35c6c..2917406cf 100644 --- a/packages/spacecat-shared-data-access/src/models/audit/audit.model.js +++ b/packages/spacecat-shared-data-access/src/models/audit/audit.model.js @@ -205,7 +205,7 @@ class Audit extends BaseModel { if (( auditType === Audit.AUDIT_CONFIG.TYPES.LHS_MOBILE - || auditType === Audit.AUDIT_CONFIG.TYPES.LHS_DESKTOP + || auditType === Audit.AUDIT_CONFIG.TYPES.LHS_DESKTOP ) && !isObject(auditResult.scores)) { throw new ValidationError(`Missing scores property for audit type '${auditType}'`);