@artsy/cohesion 4.167.0 → 4.169.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,27 @@
1
+ # v4.169.0 (Wed Apr 03 2024)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat(ONYX-804): add lotsForYouRail and topAuctionLotsRail [#487](https://github.com/artsy/cohesion/pull/487) ([@tam-kis](https://github.com/tam-kis))
6
+
7
+ #### Authors: 1
8
+
9
+ - Tam ([@tam-kis](https://github.com/tam-kis))
10
+
11
+ ---
12
+
13
+ # v4.168.0 (Tue Apr 02 2024)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - Adding event tracking for news taps on app [#486](https://github.com/artsy/cohesion/pull/486) ([@leodmz](https://github.com/leodmz))
18
+
19
+ #### Authors: 1
20
+
21
+ - Leo Demazeau ([@leodmz](https://github.com/leodmz))
22
+
23
+ ---
24
+
1
25
  # v4.167.0 (Wed Feb 07 2024)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -972,3 +972,28 @@ export interface TappedHighlightAchievement {
972
972
  context_screen_owner_id: string;
973
973
  context_screen_owner_slug?: string;
974
974
  }
975
+ /**
976
+ * A user taps the dedicated section to news in the app
977
+ *
978
+ * This schema describes events sent to Segment from [[tappedNewsSection]]
979
+ *
980
+ * @example
981
+ * ```
982
+ * {
983
+ * action: "tappedNewsSection",
984
+ * context_module : "", Home or News
985
+ * context_screen_owner_type: "Home",
986
+ * context_screen_owner_id: "58de681f275b2464fcdde097",
987
+ * destination_screen_owner_type: "Artwork"
988
+ * destination_screen_owner_id: "58de681f275b2464fcdde097"
989
+ * }
990
+ * ```
991
+ */
992
+ export interface TappedNewsSection {
993
+ action: ActionType.tappedNewsSection;
994
+ context_module: ContextModule;
995
+ context_screen_owner_type: ScreenOwnerType;
996
+ context_screen_owner_id: string;
997
+ destination_screen_owner_type: ScreenOwnerType;
998
+ destination_screen_owner_id: string;
999
+ }
@@ -928,6 +928,10 @@ export declare enum ActionType {
928
928
  * Corresponds to {@link TappedHighlightAchievement}
929
929
  */
930
930
  tappedHighlightAchievement = "tappedHighlightAchievement",
931
+ /**
932
+ * Corresponds to {@link TappedNewsSection}
933
+ */
934
+ tappedNewsSection = "tappedNewsSection",
931
935
  /**
932
936
  * Corresponds to {@link TimeOnPage}
933
937
  */
@@ -242,6 +242,7 @@ exports.ActionType = ActionType;
242
242
  ActionType["tappedVerifiedRepresentative"] = "tappedVerifiedRepresentative";
243
243
  ActionType["tappedGene"] = "tappedGene";
244
244
  ActionType["tappedHighlightAchievement"] = "tappedHighlightAchievement";
245
+ ActionType["tappedNewsSection"] = "tappedNewsSection";
245
246
  ActionType["timeOnPage"] = "timeOnPage";
246
247
  ActionType["toggledAccordion"] = "toggledAccordion";
247
248
  ActionType["toggledNotification"] = "toggledNotification";
@@ -114,6 +114,7 @@ export declare enum ContextModule {
114
114
  latestViewingRoomsRail = "latestViewingRoomsRail",
115
115
  liveAuctionRoom = "liveAuctionRoom",
116
116
  liveAuctionsRail = "liveAuctionsRail",
117
+ lotsForYouRail = "lotsForYouRail",
117
118
  mainCarousel = "mainCarousel",
118
119
  marketInsights = "marketInsights",
119
120
  marketNews = "marketNews",
@@ -193,6 +194,7 @@ export declare enum ContextModule {
193
194
  tabBar = "tabBar",
194
195
  tagHeader = "tagHeader",
195
196
  toDoList = "toDoList",
197
+ topAuctionLotsRail = "topAuctionLotsRail",
196
198
  topTab = "topTab",
197
199
  topWorksRail = "topWorksRail",
198
200
  trendingArtistsRail = "trendingArtistsRail",
@@ -128,6 +128,7 @@ exports.ContextModule = ContextModule;
128
128
  ContextModule["latestViewingRoomsRail"] = "latestViewingRoomsRail";
129
129
  ContextModule["liveAuctionRoom"] = "liveAuctionRoom";
130
130
  ContextModule["liveAuctionsRail"] = "liveAuctionsRail";
131
+ ContextModule["lotsForYouRail"] = "lotsForYouRail";
131
132
  ContextModule["mainCarousel"] = "mainCarousel";
132
133
  ContextModule["marketInsights"] = "marketInsights";
133
134
  ContextModule["marketNews"] = "marketNews";
@@ -207,6 +208,7 @@ exports.ContextModule = ContextModule;
207
208
  ContextModule["tabBar"] = "tabBar";
208
209
  ContextModule["tagHeader"] = "tagHeader";
209
210
  ContextModule["toDoList"] = "toDoList";
211
+ ContextModule["topAuctionLotsRail"] = "topAuctionLotsRail";
210
212
  ContextModule["topTab"] = "topTab";
211
213
  ContextModule["topWorksRail"] = "topWorksRail";
212
214
  ContextModule["trendingArtistsRail"] = "trendingArtistsRail";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.167.0",
3
+ "version": "4.169.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {