@adobe/spacecat-shared-data-access 2.10.1 → 2.10.2

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.10.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.10.1...@adobe/spacecat-shared-data-access-v2.10.2) (2025-03-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add all-traffic to import schema ([#647](https://github.com/adobe/spacecat-shared/issues/647)) ([9fb3ee5](https://github.com/adobe/spacecat-shared/commit/9fb3ee56b332d095ff73b8dda235192d6ef31aa7))
7
+
1
8
  # [@adobe/spacecat-shared-data-access-v2.10.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.10.0...@adobe/spacecat-shared-data-access-v2.10.1) (2025-03-04)
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.10.1",
3
+ "version": "2.10.2",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -16,6 +16,7 @@ export const IMPORT_TYPES = {
16
16
  ORGANIC_KEYWORDS: 'organic-keywords',
17
17
  ORGANIC_TRAFFIC: 'organic-traffic',
18
18
  TOP_PAGES: 'top-pages',
19
+ ALL_TRAFFIC: 'all-traffic',
19
20
  };
20
21
 
21
22
  export const IMPORT_DESTINATIONS = {
@@ -25,6 +26,7 @@ export const IMPORT_DESTINATIONS = {
25
26
  export const IMPORT_SOURCES = {
26
27
  AHREFS: 'ahrefs',
27
28
  GSC: 'google',
29
+ RUM: 'rum',
28
30
  };
29
31
 
30
32
  const IMPORT_BASE_KEYS = {
@@ -48,6 +50,10 @@ export const IMPORT_TYPE_SCHEMAS = {
48
50
  type: Joi.string().valid(IMPORT_TYPES.ORGANIC_TRAFFIC).required(),
49
51
  ...IMPORT_BASE_KEYS,
50
52
  }),
53
+ [IMPORT_TYPES.ALL_TRAFFIC]: Joi.object({
54
+ type: Joi.string().valid(IMPORT_TYPES.ALL_TRAFFIC).required(),
55
+ ...IMPORT_BASE_KEYS,
56
+ }),
51
57
  [IMPORT_TYPES.TOP_PAGES]: Joi.object({
52
58
  type: Joi.string().valid(IMPORT_TYPES.TOP_PAGES).required(),
53
59
  ...IMPORT_BASE_KEYS,
@@ -70,6 +76,12 @@ export const DEFAULT_IMPORT_CONFIGS = {
70
76
  sources: ['ahrefs'],
71
77
  enabled: true,
72
78
  },
79
+ 'all-traffic': {
80
+ type: 'all-traffic',
81
+ destinations: ['default'],
82
+ sources: ['rum'],
83
+ enabled: true,
84
+ },
73
85
  'top-pages': {
74
86
  type: 'top-pages',
75
87
  destinations: ['default'],