@adobe/spacecat-shared-data-access 3.0.1 → 3.2.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,15 @@
|
|
|
1
|
+
## [@adobe/spacecat-shared-data-access-v3.2.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.1.0...@adobe/spacecat-shared-data-access-v3.2.0) (2026-02-21)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* cloud manager client ([#1335](https://github.com/adobe/spacecat-shared/issues/1335)) ([2e4b013](https://github.com/adobe/spacecat-shared/commit/2e4b01359641706d633c16907b8292334581ce39))
|
|
6
|
+
|
|
7
|
+
## [@adobe/spacecat-shared-data-access-v3.1.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.0.1...@adobe/spacecat-shared-data-access-v3.1.0) (2026-02-18)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add methods to manage LLMO tags | LLMO-3058 ([#1362](https://github.com/adobe/spacecat-shared/issues/1362)) ([c678d1a](https://github.com/adobe/spacecat-shared/commit/c678d1ad6e12febeeae6cc60211bb0cbf9f922a4))
|
|
12
|
+
|
|
1
13
|
## [@adobe/spacecat-shared-data-access-v3.0.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.0.0...@adobe/spacecat-shared-data-access-v3.0.1) (2026-02-17)
|
|
2
14
|
|
|
3
15
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -605,6 +605,19 @@ export const Config = (data = {}) => {
|
|
|
605
605
|
state.llmo.cdnBucketConfig = cdnBucketConfig;
|
|
606
606
|
};
|
|
607
607
|
|
|
608
|
+
self.addLlmoTag = (tag) => {
|
|
609
|
+
state.llmo = state.llmo || {};
|
|
610
|
+
state.llmo.tags = state.llmo.tags || [];
|
|
611
|
+
if (!state.llmo.tags.includes(tag)) {
|
|
612
|
+
state.llmo.tags.push(tag);
|
|
613
|
+
}
|
|
614
|
+
};
|
|
615
|
+
|
|
616
|
+
self.removeLlmoTag = (tag) => {
|
|
617
|
+
if (!state.llmo?.tags) return;
|
|
618
|
+
state.llmo.tags = state.llmo.tags.filter((t) => t !== tag);
|
|
619
|
+
};
|
|
620
|
+
|
|
608
621
|
self.updateImports = (imports) => {
|
|
609
622
|
state.imports = imports;
|
|
610
623
|
};
|
|
@@ -41,6 +41,7 @@ export interface CodeConfig {
|
|
|
41
41
|
ref: string;
|
|
42
42
|
installationId?: string;
|
|
43
43
|
url: string;
|
|
44
|
+
s3StoragePath?: string;
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
export type IMPORT_TYPES = {
|
|
@@ -194,6 +195,8 @@ export interface SiteConfig {
|
|
|
194
195
|
addLlmoCustomerIntent(customerIntentItems: Array<LlmoCustomerIntent>): void;
|
|
195
196
|
removeLlmoCustomerIntent(intentKey: string): void;
|
|
196
197
|
updateLlmoCustomerIntent(intentKey: string, updateData: Partial<LlmoCustomerIntent>): void;
|
|
198
|
+
addLlmoTag(tag: string): void;
|
|
199
|
+
removeLlmoTag(tag: string): void;
|
|
197
200
|
}
|
|
198
201
|
|
|
199
202
|
export interface Site extends BaseModel {
|
|
@@ -89,6 +89,7 @@ const schema = new SchemaBuilder(Site, SiteCollection)
|
|
|
89
89
|
ref: { type: 'string', required: true },
|
|
90
90
|
installationId: { type: 'string', required: false },
|
|
91
91
|
url: { type: 'string', required: true, validate: (value) => isValidUrl(value) },
|
|
92
|
+
s3StoragePath: { type: 'string', required: false },
|
|
92
93
|
},
|
|
93
94
|
})
|
|
94
95
|
.addAttribute('deliveryType', {
|