@adobe/spacecat-shared-utils 1.68.0 → 1.69.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/schemas.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-utils-v1.69.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.69.0...@adobe/spacecat-shared-utils-v1.69.1) (2025-10-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove duplicate origins in LLMO schema ([#1076](https://github.com/adobe/spacecat-shared/issues/1076)) ([616888a](https://github.com/adobe/spacecat-shared/commit/616888a81d870188a02e2c3c4a36a25fc6af9e1a))
|
|
7
|
+
|
|
8
|
+
# [@adobe/spacecat-shared-utils-v1.69.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.68.0...@adobe/spacecat-shared-utils-v1.69.0) (2025-10-30)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* update llmo schemas to store origin and status ([#1074](https://github.com/adobe/spacecat-shared/issues/1074)) ([a0a983c](https://github.com/adobe/spacecat-shared/commit/a0a983cc9f39c508498c0909336483c589e56068))
|
|
14
|
+
|
|
1
15
|
# [@adobe/spacecat-shared-utils-v1.68.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.67.0...@adobe/spacecat-shared-utils-v1.68.0) (2025-10-29)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
package/src/schemas.js
CHANGED
|
@@ -43,6 +43,7 @@ const prompt = z.object({
|
|
|
43
43
|
regions: z.array(region),
|
|
44
44
|
origin: z.union([z.literal('human'), z.literal('ai'), z.string()]),
|
|
45
45
|
source: z.union([z.literal('config'), z.literal('api'), z.string()]),
|
|
46
|
+
status: z.union([z.literal('completed'), z.literal('processing'), z.string()]).optional(),
|
|
46
47
|
});
|
|
47
48
|
|
|
48
49
|
const entity = z.object({
|
|
@@ -77,12 +78,13 @@ const topic = z.object({
|
|
|
77
78
|
name: nonEmptyString,
|
|
78
79
|
prompts: z.array(prompt).min(1),
|
|
79
80
|
category: z.union([z.uuid(), nonEmptyString]),
|
|
81
|
+
origin: z.union([z.literal('human'), z.literal('ai'), z.string()]).optional(),
|
|
80
82
|
});
|
|
81
83
|
|
|
82
84
|
const deletedPrompt = prompt.extend({
|
|
83
85
|
topic: nonEmptyString,
|
|
84
86
|
category: nonEmptyString,
|
|
85
|
-
|
|
87
|
+
topicOrigin: z.union([z.literal('human'), z.literal('ai'), z.string()]).optional(),
|
|
86
88
|
});
|
|
87
89
|
|
|
88
90
|
export const llmoConfig = z.object({
|