@adobe/spacecat-shared-data-access 3.15.0 → 3.15.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
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [@adobe/spacecat-shared-data-access-v3.15.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.15.0...@adobe/spacecat-shared-data-access-v3.15.1) (2026-03-11)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* update SentimentTopic types and add urls integration test assertion ([#1427](https://github.com/adobe/spacecat-shared/issues/1427)) ([486305f](https://github.com/adobe/spacecat-shared/commit/486305fb92577ab3e63f2e5f32fa0e828709eb82))
|
|
6
|
+
|
|
1
7
|
## [@adobe/spacecat-shared-data-access-v3.15.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.14.0...@adobe/spacecat-shared-data-access-v3.15.0) (2026-03-11)
|
|
2
8
|
|
|
3
9
|
### Features
|
package/package.json
CHANGED
|
@@ -16,11 +16,18 @@ import type { BaseCollection, BaseModel, Site } from '../index';
|
|
|
16
16
|
* SentimentTopic entity representing a topic for sentiment analysis.
|
|
17
17
|
* Composite primary key: siteId (PK) + topicId (SK)
|
|
18
18
|
*/
|
|
19
|
+
export interface SentimentTopicUrl {
|
|
20
|
+
url: string;
|
|
21
|
+
timesCited: number;
|
|
22
|
+
category?: string;
|
|
23
|
+
subPrompts?: string[];
|
|
24
|
+
}
|
|
25
|
+
|
|
19
26
|
export interface SentimentTopic extends BaseModel {
|
|
20
27
|
getTopicId(): string;
|
|
21
28
|
getName(): string;
|
|
22
29
|
getDescription(): string | undefined;
|
|
23
|
-
|
|
30
|
+
getUrls(): SentimentTopicUrl[];
|
|
24
31
|
getEnabled(): boolean;
|
|
25
32
|
getCreatedAt(): string;
|
|
26
33
|
getCreatedBy(): string;
|
|
@@ -31,12 +38,9 @@ export interface SentimentTopic extends BaseModel {
|
|
|
31
38
|
|
|
32
39
|
setName(name: string): SentimentTopic;
|
|
33
40
|
setDescription(description: string): SentimentTopic;
|
|
34
|
-
|
|
41
|
+
setUrls(urls: SentimentTopicUrl[]): SentimentTopic;
|
|
35
42
|
setEnabled(enabled: boolean): SentimentTopic;
|
|
36
43
|
setUpdatedBy(updatedBy: string): SentimentTopic;
|
|
37
|
-
|
|
38
|
-
addSubPrompt(prompt: string): SentimentTopic;
|
|
39
|
-
removeSubPrompt(prompt: string): SentimentTopic;
|
|
40
44
|
}
|
|
41
45
|
|
|
42
46
|
export interface SentimentTopicCollection extends BaseCollection<SentimentTopic> {
|