@adobe/spacecat-shared-data-access 2.81.0 → 2.82.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 +7 -0
- package/package.json +1 -1
- package/src/models/site/config.js +14 -0
- package/src/models/site/index.d.ts +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v2.82.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.81.0...@adobe/spacecat-shared-data-access-v2.82.0) (2025-11-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add ahref-paid-import ([#1120](https://github.com/adobe/spacecat-shared/issues/1120)) ([3818671](https://github.com/adobe/spacecat-shared/commit/381867174c60d157c2b5cd9fe68dc6f6a30fb71b))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-data-access-v2.81.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.80.2...@adobe/spacecat-shared-data-access-v2.81.0) (2025-11-11)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -22,6 +22,7 @@ export const IMPORT_TYPES = {
|
|
|
22
22
|
ORGANIC_KEYWORDS_QUESTIONS: 'organic-keywords-questions',
|
|
23
23
|
ORGANIC_TRAFFIC: 'organic-traffic',
|
|
24
24
|
TOP_PAGES: 'top-pages',
|
|
25
|
+
AHREF_PAID_PAGES: 'ahref-paid-pages',
|
|
25
26
|
ALL_TRAFFIC: 'all-traffic',
|
|
26
27
|
CWV_DAILY: 'cwv-daily',
|
|
27
28
|
CWV_WEEKLY: 'cwv-weekly',
|
|
@@ -134,6 +135,13 @@ export const IMPORT_TYPE_SCHEMAS = {
|
|
|
134
135
|
limit: Joi.number().integer().min(1).max(2000)
|
|
135
136
|
.optional(),
|
|
136
137
|
}),
|
|
138
|
+
[IMPORT_TYPES.AHREF_PAID_PAGES]: Joi.object({
|
|
139
|
+
type: Joi.string().valid(IMPORT_TYPES.AHREF_PAID_PAGES).required(),
|
|
140
|
+
...IMPORT_BASE_KEYS,
|
|
141
|
+
geo: Joi.string().optional(),
|
|
142
|
+
limit: Joi.number().integer().min(1).max(2000)
|
|
143
|
+
.optional(),
|
|
144
|
+
}),
|
|
137
145
|
[IMPORT_TYPES.CWV_DAILY]: Joi.object({
|
|
138
146
|
type: Joi.string().valid(IMPORT_TYPES.CWV_DAILY).required(),
|
|
139
147
|
...IMPORT_BASE_KEYS,
|
|
@@ -210,6 +218,12 @@ export const DEFAULT_IMPORT_CONFIGS = {
|
|
|
210
218
|
enabled: true,
|
|
211
219
|
geo: 'global',
|
|
212
220
|
},
|
|
221
|
+
'ahref-paid-pages': {
|
|
222
|
+
type: 'ahref-paid-pages',
|
|
223
|
+
destinations: ['default'],
|
|
224
|
+
sources: ['ahrefs'],
|
|
225
|
+
enabled: true,
|
|
226
|
+
},
|
|
213
227
|
'cwv-daily': {
|
|
214
228
|
type: 'cwv-daily',
|
|
215
229
|
destinations: ['default'],
|
|
@@ -47,6 +47,7 @@ export type IMPORT_TYPES = {
|
|
|
47
47
|
readonly ORGANIC_KEYWORDS: 'organic-keywords';
|
|
48
48
|
readonly ORGANIC_TRAFFIC: 'organic-traffic';
|
|
49
49
|
readonly TOP_PAGES: 'top-pages';
|
|
50
|
+
readonly AHREF_PAID_PAGES: 'ahref-paid-pages';
|
|
50
51
|
readonly TOP_FORMS: 'top-forms';
|
|
51
52
|
};
|
|
52
53
|
|
|
@@ -59,7 +60,7 @@ export type IMPORT_SOURCES = {
|
|
|
59
60
|
readonly GSC: 'google';
|
|
60
61
|
};
|
|
61
62
|
|
|
62
|
-
export type ImportType = 'organic-keywords' | 'organic-traffic' | 'top-pages' | 'top-forms';
|
|
63
|
+
export type ImportType = 'organic-keywords' | 'organic-traffic' | 'top-pages' | 'top-forms' | 'ahref-paid-pages' ;
|
|
63
64
|
export type ImportDestination = 'default';
|
|
64
65
|
export type ImportSource = 'ahrefs' | 'google';
|
|
65
66
|
|