Skip to content

Commit d98cee8

Browse files
feat: register commerce-product-enrichments-yearly audit type
Add COMMERCE_PRODUCT_ENRICHMENTS_YEARLY to the AUDIT_TYPES enum to support the new yearly sitemap-based commerce product enrichments audit.
1 parent 7491791 commit d98cee8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/spacecat-shared-data-access/src/models/audit/audit.model.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class Audit extends BaseModel {
8484
TOC: 'toc',
8585
WIKIPEDIA_ANALYSIS: 'wikipedia-analysis',
8686
COMMERCE_PRODUCT_ENRICHMENTS: 'commerce-product-enrichments',
87+
COMMERCE_PRODUCT_ENRICHMENTS_YEARLY: 'commerce-product-enrichments-yearly',
8788
COMMERCE_PRODUCT_PAGE_ENRICHMENT: 'commerce-product-page-enrichment',
8889
COMMERCE_PRODUCT_CATALOG_ENRICHMENT: 'commerce-product-catalog-enrichment',
8990
};

packages/spacecat-shared-data-access/test/unit/models/audit/audit.model.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ describe('AuditModel', () => {
211211
TOC: 'toc',
212212
WIKIPEDIA_ANALYSIS: 'wikipedia-analysis',
213213
COMMERCE_PRODUCT_ENRICHMENTS: 'commerce-product-enrichments',
214+
COMMERCE_PRODUCT_ENRICHMENTS_YEARLY: 'commerce-product-enrichments-yearly',
214215
COMMERCE_PRODUCT_PAGE_ENRICHMENT: 'commerce-product-page-enrichment',
215216
COMMERCE_PRODUCT_CATALOG_ENRICHMENT: 'commerce-product-catalog-enrichment',
216217
};

0 commit comments

Comments
 (0)