@adobe/spacecat-shared-data-access 2.76.0 → 2.76.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.76.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.76.0...@adobe/spacecat-shared-data-access-v2.76.1) (2025-10-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **data-access:** include invocationId in audit schema ([#1075](https://github.com/adobe/spacecat-shared/issues/1075)) ([a7aecb2](https://github.com/adobe/spacecat-shared/commit/a7aecb211482e379ec77c20efbe672988071c660))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-data-access-v2.76.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.75.0...@adobe/spacecat-shared-data-access-v2.76.0) (2025-10-29)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -20,6 +20,7 @@ export interface Audit extends BaseModel {
|
|
|
20
20
|
getAuditResult(): object | [];
|
|
21
21
|
getAuditType(): string;
|
|
22
22
|
getFullAuditRef(): string;
|
|
23
|
+
getInvocationId(): string;
|
|
23
24
|
getIsError(): boolean;
|
|
24
25
|
getIsLive(): boolean;
|
|
25
26
|
getLatestAudit(): Promise<LatestAudit | null>;
|
|
@@ -21,6 +21,7 @@ export interface LatestAudit extends BaseModel {
|
|
|
21
21
|
getAuditResult(): object | [];
|
|
22
22
|
getAuditType(): string;
|
|
23
23
|
getFullAuditRef(): string;
|
|
24
|
+
getInvocationId(): string;
|
|
24
25
|
getIsError(): boolean;
|
|
25
26
|
getIsLive(): boolean;
|
|
26
27
|
getOpportunities(): Promise<Opportunity[]>;
|
|
@@ -63,6 +63,10 @@ const schema = new SchemaBuilder(LatestAudit, LatestAuditCollection)
|
|
|
63
63
|
required: true,
|
|
64
64
|
default: false,
|
|
65
65
|
})
|
|
66
|
+
.addAttribute('invocationId', {
|
|
67
|
+
type: 'string',
|
|
68
|
+
required: false,
|
|
69
|
+
})
|
|
66
70
|
.addAttribute('auditedAt', {
|
|
67
71
|
type: 'string',
|
|
68
72
|
required: true,
|