@artsy/cohesion 4.201.0 → 4.203.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.203.0 (Tue Sep 10 2024)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat: add TappedHeroUnitsGroup [#524](https://github.com/artsy/cohesion/pull/524) ([@MounirDhahri](https://github.com/MounirDhahri))
6
+
7
+ #### Authors: 1
8
+
9
+ - Mounir Dhahri ([@MounirDhahri](https://github.com/MounirDhahri))
10
+
11
+ ---
12
+
13
+ # v4.202.0 (Tue Aug 27 2024)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - feat: adding a value for the new first step of the signup flow [#523](https://github.com/artsy/cohesion/pull/523) ([@leodmz](https://github.com/leodmz))
18
+
19
+ #### Authors: 1
20
+
21
+ - Leo Demazeau ([@leodmz](https://github.com/leodmz))
22
+
23
+ ---
24
+
1
25
  # v4.201.0 (Fri Aug 23 2024)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -142,7 +142,9 @@ export declare enum AuthModalType {
142
142
  /** Log in to an existing account */
143
143
  login = "login",
144
144
  /** Sign up for a new account */
145
- signup = "signup"
145
+ signup = "signup",
146
+ /** Fill out your email to enter the signup or login flow */
147
+ welcome = "welcome"
146
148
  }
147
149
  /**
148
150
  * The type of action that opened the authentication modal
@@ -110,6 +110,7 @@ exports.AuthModalType = AuthModalType;
110
110
  AuthModalType["forgot"] = "forgot";
111
111
  AuthModalType["login"] = "login";
112
112
  AuthModalType["signup"] = "signup";
113
+ AuthModalType["welcome"] = "welcome";
113
114
  })(AuthModalType || (exports.AuthModalType = AuthModalType = {}));
114
115
  /**
115
116
  * the service the user used to authenticate
@@ -85,6 +85,29 @@ export interface TappedArtistSeriesGroup extends TappedEntityGroup {
85
85
  action: ActionType.tappedArtistSeriesGroup;
86
86
  destination_screen_owner_type: OwnerType.artistSeries;
87
87
  }
88
+ /**
89
+ * A user taps a grouping of hero units
90
+ *
91
+ * This schema describes events sent to Segment from [[tappedHeroUnitsGroup]]
92
+ *
93
+ * @example
94
+ * ```
95
+ * {
96
+ * action: "tappedHeroUnitsGroup",
97
+ * context_module: "home-view-section-hero-units-rail",
98
+ * context_screen_owner_type: "home",
99
+ * destination_screen_owner_id: "5359794d1a1e86c3740001f7",
100
+ * destination_screen_owner_type: Collection,
101
+ * destination_screen_owner_url: "fair/fair-name"
102
+ * horizontal_slide_position: 1,
103
+ * type: "thumbnail"
104
+ * }
105
+ * ```
106
+ */
107
+ export interface TappedHeroUnitsGroup extends TappedEntityGroup {
108
+ action: ActionType.tappedHeroUnitsGroup;
109
+ destination_screen_owner_url: string;
110
+ }
88
111
  /**
89
112
  * A user taps a grouping of artworks on iOS
90
113
  *
@@ -252,7 +275,7 @@ export interface TappedFairGroup extends TappedEntityGroup {
252
275
  * This schema describes events sent to Segment from [[tappedEntityGroup]]
253
276
  */
254
277
  export interface TappedEntityGroup {
255
- action: ActionType.tappedActivityGroup | ActionType.tappedArticleGroup | ActionType.tappedShowGroup | ActionType.tappedArtistGroup | ActionType.tappedArtistSeriesGroup | ActionType.tappedArtworkGroup | ActionType.tappedAuctionGroup | ActionType.tappedAuctionResultGroup | ActionType.tappedBrowseSimilarArtworks | ActionType.tappedCollectionGroup | ActionType.tappedExploreGroup | ActionType.tappedFairGroup | ActionType.tappedViewingRoomGroup;
278
+ action: ActionType.tappedActivityGroup | ActionType.tappedArticleGroup | ActionType.tappedShowGroup | ActionType.tappedArtistGroup | ActionType.tappedArtistSeriesGroup | ActionType.tappedArtworkGroup | ActionType.tappedAuctionGroup | ActionType.tappedAuctionResultGroup | ActionType.tappedBrowseSimilarArtworks | ActionType.tappedCollectionGroup | ActionType.tappedExploreGroup | ActionType.tappedFairGroup | ActionType.tappedViewingRoomGroup | ActionType.tappedHeroUnitsGroup;
256
279
  context_module: ContextModule;
257
280
  context_screen_owner_type: ScreenOwnerType;
258
281
  context_screen_owner_id?: string;
@@ -852,6 +852,10 @@ export declare enum ActionType {
852
852
  * Corresponds to {@link TappedFairGroup}
853
853
  */
854
854
  tappedFairGroup = "tappedFairGroup",
855
+ /**
856
+ * Corresponds to {@link TappedHeroUnitsGroup}
857
+ */
858
+ tappedHeroUnitsGroup = "tappedHeroUnitsGroup",
855
859
  /**
856
860
  * Corresponds to {@link TappedInboxConversation}
857
861
  */
@@ -223,6 +223,7 @@ exports.ActionType = ActionType;
223
223
  ActionType["tappedExploreMyCollection"] = "tappedExploreMyCollection";
224
224
  ActionType["tappedFairCard"] = "tappedFairCard";
225
225
  ActionType["tappedFairGroup"] = "tappedFairGroup";
226
+ ActionType["tappedHeroUnitsGroup"] = "tappedHeroUnitsGroup";
226
227
  ActionType["tappedInboxConversation"] = "tappedInboxConversation";
227
228
  ActionType["tappedInfoBubble"] = "tappedInfoBubble";
228
229
  ActionType["tappedLearnMore"] = "tappedLearnMore";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.201.0",
3
+ "version": "4.203.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {