@artsy/cohesion 4.128.0 → 4.130.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.130.0 (Thu Jun 01 2023)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat(long-press): add event for long pressing artworks [#436](https://github.com/artsy/cohesion/pull/436) ([@brainbicycle](https://github.com/brainbicycle))
6
+
7
+ #### Authors: 1
8
+
9
+ - Brian Beckerle ([@brainbicycle](https://github.com/brainbicycle))
10
+
11
+ ---
12
+
13
+ # v4.129.0 (Fri May 26 2023)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - feat: Add galleriesForYouBanner context module [#435](https://github.com/artsy/cohesion/pull/435) ([@olerichter00](https://github.com/olerichter00))
18
+
19
+ #### Authors: 1
20
+
21
+ - Ole ([@olerichter00](https://github.com/olerichter00))
22
+
23
+ ---
24
+
1
25
  # v4.128.0 (Fri May 26 2023)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -829,3 +829,26 @@ export interface TappedLearnMore {
829
829
  /** The text of the tapped button */
830
830
  subject: string;
831
831
  }
832
+ /**
833
+ * A user long presses an artwork in the app to show a menu
834
+ *
835
+ * This schema describes events sent to Segment from [[longPressedArtwork]]
836
+ *
837
+ * @example
838
+ * ```
839
+ * {
840
+ * action: "longPressedArtwork",
841
+ * context_module: "artworkGrid",
842
+ * context_screen_owner_type: "artist",
843
+ * context_owner_id: "6164889300d643000db86504",
844
+ * context_owner_slug: "radna-segal-pearl",
845
+ * }
846
+ * ```
847
+ */
848
+ export interface LongPressedArtwork {
849
+ action: ActionType.longPressedArtwork;
850
+ context_module: ContextModule;
851
+ context_screen_owner_type: ScreenOwnerType;
852
+ context_screen_owner_id?: string;
853
+ context_screen_owner_slug?: string;
854
+ }
@@ -461,6 +461,10 @@ export declare enum ActionType {
461
461
  * Corresponds to {@link Impression}
462
462
  */
463
463
  impression = "impression",
464
+ /**
465
+ * Corresponds to {@link LongPressedArtwork}
466
+ */
467
+ longPressedArtwork = "longPressedArtwork",
464
468
  /**
465
469
  * Corresponds to {@link MaxBidSelected}
466
470
  */
@@ -125,6 +125,7 @@ exports.ActionType = ActionType;
125
125
  ActionType["followedGene"] = "followedGene";
126
126
  ActionType["followedPartner"] = "followedPartner";
127
127
  ActionType["impression"] = "impression";
128
+ ActionType["longPressedArtwork"] = "longPressedArtwork";
128
129
  ActionType["maxBidSelected"] = "maxBidSelected";
129
130
  ActionType["myCollectionOnboardingCompleted"] = "myCollectionOnboardingCompleted";
130
131
  ActionType["onboardingUserInputData"] = "onboardingUserInputData";
@@ -86,6 +86,7 @@ export declare enum ContextModule {
86
86
  findTheArtYouWant = "findTheArtYouWant",
87
87
  footer = "footer",
88
88
  frequentlyAskedQuestions = "frequentlyAskedQuestions",
89
+ galleriesForYouBanner = "galleriesForYouBanner",
89
90
  galleryBoothRail = "galleryBoothRail",
90
91
  galleryTab = "galleryTab",
91
92
  geneHeader = "geneHeader",
@@ -100,6 +100,7 @@ exports.ContextModule = ContextModule;
100
100
  ContextModule["findTheArtYouWant"] = "findTheArtYouWant";
101
101
  ContextModule["footer"] = "footer";
102
102
  ContextModule["frequentlyAskedQuestions"] = "frequentlyAskedQuestions";
103
+ ContextModule["galleriesForYouBanner"] = "galleriesForYouBanner";
103
104
  ContextModule["galleryBoothRail"] = "galleryBoothRail";
104
105
  ContextModule["galleryTab"] = "galleryTab";
105
106
  ContextModule["geneHeader"] = "geneHeader";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.128.0",
3
+ "version": "4.130.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {