@adobe/spacecat-shared-data-access 4.16.1 → 4.17.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,9 @@
|
|
|
1
|
+
## [@adobe/spacecat-shared-data-access-v4.17.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v4.16.1...@adobe/spacecat-shared-data-access-v4.17.0) (2026-08-07)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* **data-access:** add SITE to Opportunity.SCOPE_TYPES (SITES-49175) ([#1866](https://github.com/adobe/spacecat-shared/issues/1866)) ([c33a236](https://github.com/adobe/spacecat-shared/commit/c33a23677101ad6b6b839c5fb12f1810d1612571))
|
|
6
|
+
|
|
1
7
|
## [@adobe/spacecat-shared-data-access-v4.16.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v4.16.0...@adobe/spacecat-shared-data-access-v4.16.1) (2026-08-03)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -40,7 +40,11 @@ class Opportunity extends BaseModel {
|
|
|
40
40
|
RESOLVED: 'RESOLVED',
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
+
// SITES-49175 — `SITE` makes explicit the previously-implicit scope so V1
|
|
44
|
+
// and V2 writers stamp the same `scopeType='site'` value, unblocking the
|
|
45
|
+
// partial unique index on `(siteId, type)`.
|
|
43
46
|
static SCOPE_TYPES = {
|
|
47
|
+
SITE: 'site',
|
|
44
48
|
BRAND: 'brand',
|
|
45
49
|
};
|
|
46
50
|
|