@artsy/cohesion 4.111.0 → 4.113.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.113.0 (Thu Mar 02 2023)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat: add searchSuggestionQuickNavigationItemSelected event [#411](https://github.com/artsy/cohesion/pull/411) ([@dblandin](https://github.com/dblandin))
6
+
7
+ #### Authors: 1
8
+
9
+ - devon blandin ([@dblandin](https://github.com/dblandin))
10
+
11
+ ---
12
+
13
+ # v4.112.0 (Thu Mar 02 2023)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - feat: Add newWorksFromGalleriesYouFollow screen owner type [#410](https://github.com/artsy/cohesion/pull/410) ([@olerichter00](https://github.com/olerichter00))
18
+
19
+ #### Authors: 1
20
+
21
+ - Ole ([@olerichter00](https://github.com/olerichter00))
22
+
23
+ ---
24
+
1
25
  # v4.111.0 (Tue Feb 28 2023)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -179,3 +179,24 @@ export interface ConsignmentArtistFailed {
179
179
  context_owner_type: OwnerType.consign;
180
180
  query: string;
181
181
  }
182
+ /**
183
+ * A user selects a quick navigation item within a search suggestion
184
+ *
185
+ * This schema describes events sent to Segment from [[searchSuggestionQuickNavigationItemSelected]]
186
+ *
187
+ * @example
188
+ * ```
189
+ * {
190
+ * action: "searchSuggestionQuickNavigationItemSelected",
191
+ * context_module: "header",
192
+ * destination_path: "/artist/andy-warhol/works-for-sale",
193
+ * label: "Auction Results"
194
+ * }
195
+ * ```
196
+ */
197
+ export interface SearchSuggestionQuickNavigationItemSelected {
198
+ action: ActionType.searchSuggestionQuickNavigationItemSelected;
199
+ context_module?: ContextModule;
200
+ destination_path: string;
201
+ label: "Artworks" | "Auction Results";
202
+ }
@@ -474,6 +474,10 @@ export declare enum ActionType {
474
474
  * Corresponds to {@link Screen}
475
475
  */
476
476
  screen = "screen",
477
+ /**
478
+ * Corresponds to {@link SearchSuggestionQuickNavigationItemSelected}
479
+ */
480
+ searchSuggestionQuickNavigationItemSelected = "searchSuggestionQuickNavigationItemSelected",
477
481
  /**
478
482
  * Corresponds to {@link SearchedPriceDatabase}
479
483
  */
@@ -129,6 +129,7 @@ exports.ActionType = ActionType;
129
129
  ActionType["saleScreenLoadComplete"] = "saleScreenLoadComplete";
130
130
  ActionType["saveCollectedArtwork"] = "saveCollectedArtwork";
131
131
  ActionType["screen"] = "screen";
132
+ ActionType["searchSuggestionQuickNavigationItemSelected"] = "searchSuggestionQuickNavigationItemSelected";
132
133
  ActionType["searchedPriceDatabase"] = "searchedPriceDatabase";
133
134
  ActionType["searchedReverseImageWithNoResults"] = "searchedReverseImageWithNoResults";
134
135
  ActionType["searchedReverseImageWithResults"] = "searchedReverseImageWithResults";
@@ -53,6 +53,7 @@ export declare enum OwnerType {
53
53
  myCollectionOnboarding = "myCollectionOnboarding",
54
54
  myCollectionUploadingFlow = "myCollectionUploadingFlow",
55
55
  newWorksForYou = "newWorksForYou",
56
+ newWorksFromGalleriesYouFollow = "newWorksFromGalleriesYouFollow",
56
57
  onboarding = "onboarding",
57
58
  ordersAccept = "orders-accept",
58
59
  ordersCounter = "orders-counter",
@@ -91,7 +92,7 @@ export declare enum OwnerType {
91
92
  /**
92
93
  * Owner types available in iOS/Android
93
94
  */
94
- export type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkPriceFilter | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentInquiry | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.editProfile | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.myCollectionInsightsMedianAuctionPrice | OwnerType.myCollectionOnboarding | OwnerType.newWorksForYou | OwnerType.onboarding | OwnerType.partner | OwnerType.profile | OwnerType.recentlyViewed | OwnerType.reverseImageSearch | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.show | OwnerType.shows | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
95
+ export type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkPriceFilter | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentInquiry | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.editProfile | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.myCollectionInsightsMedianAuctionPrice | OwnerType.myCollectionOnboarding | OwnerType.newWorksForYou | OwnerType.newWorksFromGalleriesYouFollow | OwnerType.onboarding | OwnerType.partner | OwnerType.profile | OwnerType.recentlyViewed | OwnerType.reverseImageSearch | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.show | OwnerType.shows | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
95
96
  /**
96
97
  * Owner types available in web/mobile web
97
98
  */
@@ -71,6 +71,7 @@ exports.OwnerType = OwnerType;
71
71
  OwnerType["myCollectionOnboarding"] = "myCollectionOnboarding";
72
72
  OwnerType["myCollectionUploadingFlow"] = "myCollectionUploadingFlow";
73
73
  OwnerType["newWorksForYou"] = "newWorksForYou";
74
+ OwnerType["newWorksFromGalleriesYouFollow"] = "newWorksFromGalleriesYouFollow";
74
75
  OwnerType["onboarding"] = "onboarding";
75
76
  OwnerType["ordersAccept"] = "orders-accept";
76
77
  OwnerType["ordersCounter"] = "orders-counter";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.111.0",
3
+ "version": "4.113.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {