@adobe/spacecat-shared-data-access 2.64.6 → 2.65.1
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 +14 -0
- package/package.json +1 -1
- package/src/models/audit/audit.model.js +1 -0
- package/src/models/base/schema.js +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v2.65.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.65.0...@adobe/spacecat-shared-data-access-v2.65.1) (2025-10-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove accessor logging ([#992](https://github.com/adobe/spacecat-shared/issues/992)) ([22a8be3](https://github.com/adobe/spacecat-shared/commit/22a8be32b910bb03521400bc572d1ba084ccc381))
|
|
7
|
+
|
|
8
|
+
# [@adobe/spacecat-shared-data-access-v2.65.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.64.6...@adobe/spacecat-shared-data-access-v2.65.0) (2025-09-29)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **COMOPT-1168:** add PRODUCT_METATAGS to AUDIT_TYPES and update tests ([#972](https://github.com/adobe/spacecat-shared/issues/972)) ([236086f](https://github.com/adobe/spacecat-shared/commit/236086f459622e59b7ce7caf764323a9e9f1da3c))
|
|
14
|
+
|
|
1
15
|
# [@adobe/spacecat-shared-data-access-v2.64.6](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.64.5...@adobe/spacecat-shared-data-access-v2.64.6) (2025-09-25)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -322,6 +322,7 @@ class Schema {
|
|
|
322
322
|
|
|
323
323
|
const indexAccessors = this.getIndexAccessors();
|
|
324
324
|
const accessorConfigs = [];
|
|
325
|
+
const createdAccessors = [];
|
|
325
326
|
|
|
326
327
|
indexAccessors.forEach(({ indexName, keySets }) => {
|
|
327
328
|
// generate a method for each prefix of the keySets array
|
|
@@ -345,11 +346,14 @@ class Schema {
|
|
|
345
346
|
name: keyNamesToMethodName(subset, 'findBy'),
|
|
346
347
|
requiredKeys: subset,
|
|
347
348
|
});
|
|
348
|
-
|
|
349
|
-
log.debug(`Created accessors for index [${indexName}] with keys [${subset.join(', ')}]`);
|
|
349
|
+
createdAccessors.push(`index [${indexName}] with keys [${subset.join(', ')}]`);
|
|
350
350
|
});
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
+
if (createdAccessors.length > 0) {
|
|
354
|
+
log.debug(`Created accessors:\n${createdAccessors.map((accessor) => ` - ${accessor}`).join('\n')}`);
|
|
355
|
+
}
|
|
356
|
+
|
|
353
357
|
return accessorConfigs;
|
|
354
358
|
}
|
|
355
359
|
|