@adobe/spacecat-shared-data-access 3.77.0 → 3.79.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,15 @@
|
|
|
1
|
+
## [@adobe/spacecat-shared-data-access-v3.79.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.78.0...@adobe/spacecat-shared-data-access-v3.79.0) (2026-06-19)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* **data-access:** add brand pendingSemrushProvisioning attribute ([#1692](https://github.com/adobe/spacecat-shared/issues/1692)) ([1c2bc2a](https://github.com/adobe/spacecat-shared/commit/1c2bc2a2043246268e0ebe421de7c2c9e9241cdc))
|
|
6
|
+
|
|
7
|
+
## [@adobe/spacecat-shared-data-access-v3.78.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.77.0...@adobe/spacecat-shared-data-access-v3.78.0) (2026-06-17)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **data-access:** register money-pages as a supported audit type ([#1682](https://github.com/adobe/spacecat-shared/issues/1682)) ([1d2842f](https://github.com/adobe/spacecat-shared/commit/1d2842f6a9b42afb5c5c55cbb890d39f85a31f97))
|
|
12
|
+
|
|
1
13
|
## [@adobe/spacecat-shared-data-access-v3.77.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.76.0...@adobe/spacecat-shared-data-access-v3.77.0) (2026-06-17)
|
|
2
14
|
|
|
3
15
|
### Features
|
package/package.json
CHANGED
|
@@ -96,6 +96,7 @@ class Audit extends BaseModel {
|
|
|
96
96
|
CWV_TRENDS_AUDIT: 'cwv-trends-audit',
|
|
97
97
|
OFFSITE_BRAND_PRESENCE: 'offsite-brand-presence',
|
|
98
98
|
SEMANTIC_VALUE_VISIBILITY: 'semantic-value-visibility',
|
|
99
|
+
MONEY_PAGES: 'money-pages',
|
|
99
100
|
};
|
|
100
101
|
|
|
101
102
|
static AUDIT_TYPE_PROPERTIES = {
|
|
@@ -46,6 +46,15 @@ const schema = new SchemaBuilder(Brand, BrandCollection)
|
|
|
46
46
|
type: 'string',
|
|
47
47
|
validate: (value) => value == null || hasText(value),
|
|
48
48
|
})
|
|
49
|
+
// Nullable JSONB blob holding deferred Semrush provisioning data for a
|
|
50
|
+
// pending (draft) brand. Maps to brands.pending_semrush_provisioning
|
|
51
|
+
// (migration 20260618120000). Validated loosely here (object-or-null); the
|
|
52
|
+
// DB CHECK enforces the object shape and the controller owns field-level
|
|
53
|
+
// validation and the activate-flow consumption semantics.
|
|
54
|
+
.addAttribute('pendingSemrushProvisioning', {
|
|
55
|
+
type: 'any',
|
|
56
|
+
validate: (value) => value == null || (typeof value === 'object' && !Array.isArray(value)),
|
|
57
|
+
})
|
|
49
58
|
// Uniqueness is enforced at the DB level via the UNIQUE constraint on
|
|
50
59
|
// brands.semrush_workspace_id (mysticat-data-service migration
|
|
51
60
|
// 20260615102123), so findBySemrushWorkspaceId returns at most one row.
|