@adobe/spacecat-shared-data-access 2.51.1 → 2.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,10 @@
1
+ # [@adobe/spacecat-shared-data-access-v2.52.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.51.1...@adobe/spacecat-shared-data-access-v2.52.0) (2025-08-12)
2
+
3
+
4
+ ### Features
5
+
6
+ * support extra properties for messages audit -> import ([#911](https://github.com/adobe/spacecat-shared/issues/911)) ([ebbccc1](https://github.com/adobe/spacecat-shared/commit/ebbccc17cdfa02a4f046c705a4410e697894cdb8))
7
+
1
8
  # [@adobe/spacecat-shared-data-access-v2.51.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.51.0...@adobe/spacecat-shared-data-access-v2.51.1) (2025-08-12)
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.51.1",
3
+ "version": "2.52.0",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -97,8 +97,10 @@ class Audit extends BaseModel {
97
97
  * @param {object} stepResult - The result of the audit step.
98
98
  * @param {string} stepResult.type - The import type to trigger.
99
99
  * @param {string} stepResult.siteId - The site ID for which the import is triggered.
100
- * @param {string} stepResult.pageUrl - The page URL for which the import is triggered.
101
- * @param {object[]} stepResult.urlConfigs - The list of URL configs for which the import is
100
+ * @param {string} [stepResult.pageUrl] - The page URL for which the import is triggered.
101
+ * @param {string} [stepResult.startDate] - The start date for the import (optional).
102
+ * @param {string} [stepResult.endDate] - The end date for the import (optional).
103
+ * @param {object[]}[ stepResult.urlConfigs] - The list of URL configs for which the import is
102
104
  * triggered.
103
105
  * @param {object} auditContext - The audit context.
104
106
  * @param {object} auditContext.next - The next audit step to run.
@@ -114,6 +116,8 @@ class Audit extends BaseModel {
114
116
  type: stepResult.type,
115
117
  siteId: stepResult.siteId,
116
118
  pageUrl: stepResult.pageUrl,
119
+ startDate: stepResult.startDate,
120
+ endDate: stepResult.endDate,
117
121
  urlConfigs: stepResult.urlConfigs,
118
122
  allowCache: true,
119
123
  auditContext,