@adobe/spacecat-shared-data-access 2.71.0 → 2.71.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,10 @@
1
+ # [@adobe/spacecat-shared-data-access-v2.71.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.71.0...@adobe/spacecat-shared-data-access-v2.71.1) (2025-10-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add interface for code config ([#1023](https://github.com/adobe/spacecat-shared/issues/1023)) ([74138b9](https://github.com/adobe/spacecat-shared/commit/74138b9adf135b536059a860315d89af67128601))
7
+
1
8
  # [@adobe/spacecat-shared-data-access-v2.71.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.70.0...@adobe/spacecat-shared-data-access-v2.71.0) (2025-10-10)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "2.71.0",
3
+ "version": "2.71.1",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -34,6 +34,15 @@ export interface HlxConfig {
34
34
  };
35
35
  }
36
36
 
37
+ export interface CodeConfig {
38
+ type: string;
39
+ owner: string;
40
+ repo: string;
41
+ ref: string;
42
+ installationId?: string;
43
+ url: string;
44
+ }
45
+
37
46
  export type IMPORT_TYPES = {
38
47
  readonly ORGANIC_KEYWORDS: 'organic-keywords';
39
48
  readonly ORGANIC_TRAFFIC: 'organic-traffic';
@@ -201,6 +210,7 @@ export interface Site extends BaseModel {
201
210
  ): Promise<Experiment[]>;
202
211
  getGitHubURL(): string;
203
212
  getHlxConfig(): HlxConfig;
213
+ getCode(): CodeConfig;
204
214
  getDeliveryConfig(): object;
205
215
  getIsLive(): boolean;
206
216
  getIsSandbox(): boolean;
@@ -235,6 +245,7 @@ export interface Site extends BaseModel {
235
245
  setAuthoringType(authoringType: string): Site;
236
246
  setGitHubURL(gitHubURL: string): Site;
237
247
  setHlxConfig(hlxConfig: HlxConfig): Site;
248
+ setCode(code: CodeConfig): Site;
238
249
  setDeliveryConfig(deliveryConfig: object): Site;
239
250
  setIsLive(isLive: boolean): Site;
240
251
  setIsSandbox(isSandbox: boolean): Site;