@adobe/spacecat-shared-data-access 2.59.0 → 2.60.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/models/audit/audit.model.js +2 -1
- package/src/models/entitlement/index.d.ts +2 -2
- package/src/models/organization-identity-provider/index.d.ts +2 -2
- package/src/models/site-enrollment/index.d.ts +2 -2
- package/src/models/trial-user/index.d.ts +4 -4
- package/src/models/trial-user-activity/index.d.ts +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v2.60.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.60.0...@adobe/spacecat-shared-data-access-v2.60.1) (2025-08-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Fix findBy typescript definitions for LLMO tier types ([#942](https://github.com/adobe/spacecat-shared/issues/942)) ([396ca6f](https://github.com/adobe/spacecat-shared/commit/396ca6f1c4a251652c63449f9d67b89472f0065c))
|
|
7
|
+
|
|
8
|
+
# [@adobe/spacecat-shared-data-access-v2.60.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.59.0...@adobe/spacecat-shared-data-access-v2.60.0) (2025-08-29)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add headings audit ([#943](https://github.com/adobe/spacecat-shared/issues/943)) ([17d45dd](https://github.com/adobe/spacecat-shared/commit/17d45dd624d5ada1feafa25ea541ff841a490d34))
|
|
14
|
+
|
|
1
15
|
# [@adobe/spacecat-shared-data-access-v2.59.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.58.0...@adobe/spacecat-shared-data-access-v2.59.0) (2025-08-29)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -53,6 +53,7 @@ class Audit extends BaseModel {
|
|
|
53
53
|
SECURITY_CSP: 'security-csp',
|
|
54
54
|
PAID: 'paid',
|
|
55
55
|
HREFLANG: 'hreflang',
|
|
56
|
+
HEADINGS: 'headings',
|
|
56
57
|
PAID_TRAFFIC_ANALYSIS_WEEKLY: 'paid-traffic-analysis-weekly',
|
|
57
58
|
PAID_TRAFFIC_ANALYSIS_MONTHLY: 'paid-traffic-analysis-monthly',
|
|
58
59
|
READABILITY: 'readability',
|
|
@@ -93,7 +94,7 @@ class Audit extends BaseModel {
|
|
|
93
94
|
* },
|
|
94
95
|
* [Audit.AUDIT_STEP_DESTINATIONS.SCRAPE_CLIENT]: {
|
|
95
96
|
* formatPayload: function
|
|
96
|
-
* }}
|
|
97
|
+
* }}}
|
|
97
98
|
*/
|
|
98
99
|
static AUDIT_STEP_DESTINATION_CONFIGS = {
|
|
99
100
|
[Audit.AUDIT_STEP_DESTINATIONS.IMPORT_WORKER]: {
|
|
@@ -39,9 +39,9 @@ export interface EntitlementCollection extends
|
|
|
39
39
|
productCode: EntitlementProductCode,
|
|
40
40
|
): Promise<Entitlement[]>;
|
|
41
41
|
|
|
42
|
-
findByOrganizationId(organizationId: string): Promise<Entitlement
|
|
42
|
+
findByOrganizationId(organizationId: string): Promise<Entitlement | null>;
|
|
43
43
|
findByOrganizationIdAndProductCode(
|
|
44
44
|
organizationId: string,
|
|
45
45
|
productCode: EntitlementProductCode,
|
|
46
|
-
): Promise<Entitlement
|
|
46
|
+
): Promise<Entitlement | null>;
|
|
47
47
|
}
|
|
@@ -33,8 +33,8 @@ export interface OrganizationIdentityProviderCollection extends
|
|
|
33
33
|
allByProviderAndExternalId(provider: ProviderType, externalId: string):
|
|
34
34
|
Promise<OrganizationIdentityProvider[]>;
|
|
35
35
|
allByOrganizationId(organizationId: string): Promise<OrganizationIdentityProvider[]>;
|
|
36
|
-
findByProvider(provider: ProviderType): Promise<OrganizationIdentityProvider
|
|
36
|
+
findByProvider(provider: ProviderType): Promise<OrganizationIdentityProvider | null>;
|
|
37
37
|
findByProviderAndExternalId(provider: ProviderType, externalId: string):
|
|
38
38
|
Promise<OrganizationIdentityProvider | null>;
|
|
39
|
-
findByOrganizationId(organizationId: string): Promise<OrganizationIdentityProvider
|
|
39
|
+
findByOrganizationId(organizationId: string): Promise<OrganizationIdentityProvider | null>;
|
|
40
40
|
}
|
|
@@ -28,6 +28,6 @@ export interface SiteEnrollmentCollection extends
|
|
|
28
28
|
allBySiteId(siteId: string): Promise<SiteEnrollment[]>;
|
|
29
29
|
allByEntitlementId(entitlementId: string): Promise<SiteEnrollment[]>;
|
|
30
30
|
|
|
31
|
-
findBySiteId(siteId: string): Promise<SiteEnrollment
|
|
32
|
-
findByEntitlementId(entitlementId: string): Promise<SiteEnrollment
|
|
31
|
+
findBySiteId(siteId: string): Promise<SiteEnrollment | null>;
|
|
32
|
+
findByEntitlementId(entitlementId: string): Promise<SiteEnrollment | null>;
|
|
33
33
|
}
|
|
@@ -43,9 +43,9 @@ export interface TrialUserCollection extends BaseCollection<TrialUser> {
|
|
|
43
43
|
allByProviderAndExternalUserId(provider: ProviderType, externalId: string): Promise<TrialUser[]>;
|
|
44
44
|
allByOrganizationId(organizationId: string): Promise<TrialUser[]>;
|
|
45
45
|
allByEmailId(emailId: string): Promise<TrialUser[]>;
|
|
46
|
-
findByProvider(provider: ProviderType): Promise<TrialUser
|
|
46
|
+
findByProvider(provider: ProviderType): Promise<TrialUser | null>;
|
|
47
47
|
findByProviderAndExternalUserId(provider: ProviderType, externalId: string):
|
|
48
|
-
Promise<TrialUser
|
|
49
|
-
findByOrganizationId(organizationId: string): Promise<TrialUser
|
|
50
|
-
findByEmailId(emailId: string): Promise<TrialUser
|
|
48
|
+
Promise<TrialUser | null>;
|
|
49
|
+
findByOrganizationId(organizationId: string): Promise<TrialUser | null>;
|
|
50
|
+
findByEmailId(emailId: string): Promise<TrialUser | null>;
|
|
51
51
|
}
|
|
@@ -36,9 +36,9 @@ export interface TrialUserActivityCollection extends BaseCollection<TrialUserAct
|
|
|
36
36
|
Promise<TrialUserActivity[]>;
|
|
37
37
|
allBySiteId(siteId: string): Promise<TrialUserActivity[]>;
|
|
38
38
|
|
|
39
|
-
findByEntitlementId(entitlementId: string): Promise<TrialUserActivity
|
|
40
|
-
findByProductCode(productCode: EntitlementProductCode): Promise<TrialUserActivity
|
|
39
|
+
findByEntitlementId(entitlementId: string): Promise<TrialUserActivity | null>;
|
|
40
|
+
findByProductCode(productCode: EntitlementProductCode): Promise<TrialUserActivity | null>;
|
|
41
41
|
findByProductCodeAndCreatedAt(productCode: EntitlementProductCode, createdAt: string):
|
|
42
|
-
Promise<TrialUserActivity
|
|
43
|
-
findBySiteId(siteId: string): Promise<TrialUserActivity
|
|
42
|
+
Promise<TrialUserActivity | null>;
|
|
43
|
+
findBySiteId(siteId: string): Promise<TrialUserActivity | null>;
|
|
44
44
|
}
|