@artsy/cohesion 4.296.0 → 4.297.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 CHANGED
@@ -1,3 +1,15 @@
1
+ # v4.297.0 (Tue Aug 12 2025)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - chore: Add graph_data subfield to cms graph [#632](https://github.com/artsy/cohesion/pull/632) ([@xander-pero](https://github.com/xander-pero))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@xander-pero](https://github.com/xander-pero)
10
+
11
+ ---
12
+
1
13
  # v4.296.0 (Thu Aug 07 2025)
2
14
 
3
15
  #### 🚀 Enhancement
@@ -75,7 +75,8 @@ export interface CmsAnalyticsPageClickedMostViewed {
75
75
  * action: "viewedGraph",
76
76
  * context_module: "analyticsMostViewed" | "analyticsPublishedArtworks" | "analyticsViews" | "analyticsInquiries" | "analyticsSales" | "analyticsAudience",
77
77
  * context_page_owner_type: "analytics",
78
- * graph_type: "cumulative_line" | "donut" | "horizontal_bar" | "vertical_bar"
78
+ * graph_type: "cumulative_line" | "donut" | "horizontal_bar" | "vertical_bar",
79
+ * graph_data?: "device" | "medium" | "country" | "landing" | null
79
80
  * }
80
81
  * ```
81
82
  */
@@ -84,6 +85,7 @@ export interface CmsAnalyticsPageViewedGraph {
84
85
  context_module: CmsContextModule;
85
86
  context_page_owner_type: CmsOwnerType.analytics;
86
87
  graph_type: string;
88
+ graph_data?: string;
87
89
  }
88
90
  /**
89
91
  * A partner views a datapoint on a graph on the analytics page
@@ -95,6 +97,7 @@ export interface CmsAnalyticsPageViewedGraph {
95
97
  * context_module: "analyticsMostViewed" | "analyticsPublishedArtworks" | "analyticsViews" | "analyticsInquiries" | "analyticsSales" | "analyticsAudience",
96
98
  * context_page_owner_type: "analytics",
97
99
  * graph_type: "cumulative_line" | "donut" | "horizontal_bar" | "vertical_bar",
100
+ * graph_data?: "device" | "medium" | "country" | "landing" | null,
98
101
  * datapoint_bucket_size?: "daily" | "weekly" | "monthly" | null,
99
102
  * datapoint_is_other?: true | false | null
100
103
  * }
@@ -105,6 +108,7 @@ export interface CmsAnalyticsPageViewedGraphDatapoint {
105
108
  context_module: CmsContextModule;
106
109
  context_page_owner_type: CmsOwnerType.analytics;
107
110
  graph_type: string;
111
+ graph_data?: string;
108
112
  datapoint_bucket_size?: string;
109
113
  datapoint_is_other?: boolean;
110
114
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.296.0",
3
+ "version": "4.297.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {