@adobe/spacecat-shared-data-access 2.100.0 → 2.100.2

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,17 @@
1
+ # [@adobe/spacecat-shared-data-access-v2.100.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.100.1...@adobe/spacecat-shared-data-access-v2.100.2) (2026-02-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * opted changed to timestamp ([#1306](https://github.com/adobe/spacecat-shared/issues/1306)) ([24d34dc](https://github.com/adobe/spacecat-shared/commit/24d34dc9353460043441335ddb4f2a4f8b41584f))
7
+
8
+ # [@adobe/spacecat-shared-data-access-v2.100.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.100.0...@adobe/spacecat-shared-data-access-v2.100.1) (2026-02-02)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * improve suggestion schema documentation ([#1304](https://github.com/adobe/spacecat-shared/issues/1304)) ([8d87f3f](https://github.com/adobe/spacecat-shared/commit/8d87f3f474dae73a0207d51cdf1e1b040befcf89))
14
+
1
15
  # [@adobe/spacecat-shared-data-access-v2.100.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.99.0...@adobe/spacecat-shared-data-access-v2.100.0) (2026-02-02)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "2.100.0",
3
+ "version": "2.100.2",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -343,7 +343,7 @@ export const configSchema = Joi.object({
343
343
  }).optional(),
344
344
  edgeOptimizeConfig: Joi.object({
345
345
  enabled: Joi.boolean().required(),
346
- opted: Joi.boolean().optional(),
346
+ opted: Joi.number().optional(),
347
347
  }).optional(),
348
348
  contentAiConfig: Joi.object({
349
349
  index: Joi.string().optional(),
@@ -16,6 +16,11 @@
16
16
  *
17
17
  * Validation schemas should be used in audit-worker when creating/updating suggestions
18
18
  * to ensure data structure consistency before writing to the database.
19
+ *
20
+ * Each schema defines:
21
+ * - Required fields (those in minimal projection) used for listing page in ASO UI
22
+ * - Optional fields for additional data
23
+ * - Projection configurations for minimal views
19
24
  */
20
25
 
21
26
  import Joi from 'joi';