@adobe/spacecat-shared-utils 1.107.0 → 1.109.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 +12 -0
- package/package.json +1 -1
- package/src/strategy-schema.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [@adobe/spacecat-shared-utils-v1.109.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.108.0...@adobe/spacecat-shared-utils-v1.109.0) (2026-03-30)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* extend library opportunity with metadata field ([#1481](https://github.com/adobe/spacecat-shared/issues/1481)) ([45fa866](https://github.com/adobe/spacecat-shared/commit/45fa8662443c1787c99eaf766af5b10df6cd63f1))
|
|
6
|
+
|
|
7
|
+
## [@adobe/spacecat-shared-utils-v1.108.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.107.0...@adobe/spacecat-shared-utils-v1.108.0) (2026-03-30)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Add metadata field to strategyOpportunity schema ([#1480](https://github.com/adobe/spacecat-shared/issues/1480)) ([dbe1ba6](https://github.com/adobe/spacecat-shared/commit/dbe1ba6af78285e844719d4a9c0f0ded99216009))
|
|
12
|
+
|
|
1
13
|
## [@adobe/spacecat-shared-utils-v1.107.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.106.1...@adobe/spacecat-shared-utils-v1.107.0) (2026-03-30)
|
|
2
14
|
|
|
3
15
|
### Features
|
package/package.json
CHANGED
package/src/strategy-schema.js
CHANGED
|
@@ -46,6 +46,7 @@ const opportunity = z.object({
|
|
|
46
46
|
name: nonEmptyString,
|
|
47
47
|
description: z.string(),
|
|
48
48
|
category: nonEmptyString,
|
|
49
|
+
metadata: z.record(z.string(), z.any()).optional(),
|
|
49
50
|
});
|
|
50
51
|
|
|
51
52
|
/**
|
|
@@ -61,6 +62,7 @@ const strategyOpportunity = z.object({
|
|
|
61
62
|
status: workflowStatus,
|
|
62
63
|
assignee: z.string(),
|
|
63
64
|
completedAt: z.string().optional(), // ISO 8601 date string
|
|
65
|
+
metadata: z.record(z.string(), z.any()).optional(),
|
|
64
66
|
});
|
|
65
67
|
|
|
66
68
|
const strategyPromptSelection = z.object({
|