@artsy/cohesion 4.250.0 → 4.251.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.251.0 (Tue Apr 08 2025)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - chore(ONYX-1646): follows tracking followup [#577](https://github.com/artsy/cohesion/pull/577) ([@dariakoko](https://github.com/dariakoko))
6
+
7
+ #### Authors: 1
8
+
9
+ - Daria Kozlova ([@dariakoko](https://github.com/dariakoko))
10
+
11
+ ---
12
+
1
13
  # v4.250.0 (Tue Apr 08 2025)
2
14
 
3
15
  #### 🚀 Enhancement
@@ -68,10 +68,11 @@ export interface TappedArtworkList {
68
68
  * }
69
69
  * ```
70
70
  */
71
+ export type SelectedFromDrawerSubject = "artists" | "galleries" | "categories" | "shows";
71
72
  export interface SelectedFromDrawer {
72
73
  action: ActionType.selectedFromDrawer;
73
74
  context_screen: OwnerType.favoritesFollows;
74
- subject: "artists" | "galleries" | "categories" | "shows";
75
+ subject: SelectedFromDrawerSubject;
75
76
  }
76
77
  /**
77
78
  * A user taps a grouping of Follows group
@@ -99,7 +100,7 @@ export interface TappedFollowsGroup extends TappedEntityGroup {
99
100
  /**
100
101
  * A user taps a grouping of Alerts
101
102
  *
102
- * This schema describes events sent to Segment from [[tappedEntityGroup]]
103
+ * This schema describes events sent to Segment from [[TappedAlertsGroup]]
103
104
  *
104
105
  * @example
105
106
  * ```
@@ -112,7 +113,7 @@ export interface TappedFollowsGroup extends TappedEntityGroup {
112
113
  * }
113
114
  * ```
114
115
  */
115
- export interface TappedAlertsGroup extends TappedEntityGroup {
116
+ export interface TappedAlertsGroup {
116
117
  action: ActionType.tappedAlertsGroup;
117
118
  context_screen: OwnerType.favoritesAlerts;
118
119
  destination_screen_owner_type: OwnerType.alert;
@@ -451,7 +451,7 @@ export interface TappedInfoBubble {
451
451
  context_screen_owner_type: ScreenOwnerType;
452
452
  context_screen_owner_id?: string;
453
453
  context_screen_owner_slug?: string;
454
- subject: "auctionResults" | "demandIndex" | "priceEstimate" | "artistMarketStatistics" | "auctionResultSalePrice" | "alertsHeader" | "followsHeader" | "signalYourInterestToGalleries";
454
+ subject: "auctionResults" | "demandIndex" | "priceEstimate" | "artistMarketStatistics" | "auctionResultSalePrice" | "alertsHeader" | "followsHeader" | "signalYourInterestToGalleries" | "favoritesHeader";
455
455
  }
456
456
  /**
457
457
  * A user taps on an artwork in the main artwork grid, which is the main product feed we can find on our core merchandising surfaces.
@@ -99,6 +99,9 @@ export declare enum ContextModule {
99
99
  fairRail = "fairRail",
100
100
  fairsHeader = "fairsHeader",
101
101
  fairTab = "fairTab",
102
+ favoritesAlerts = "favoritesAlerts",
103
+ favoritesFollows = "favoritesFollows",
104
+ favoritesSaves = "favoritesSaves",
102
105
  featuredArtists = "featuredArtists",
103
106
  featuredArtistsRail = "featuredArtistsRail",
104
107
  featuredCollection = "featuredCollection",
@@ -113,6 +113,9 @@ exports.ContextModule = ContextModule;
113
113
  ContextModule["fairRail"] = "fairRail";
114
114
  ContextModule["fairsHeader"] = "fairsHeader";
115
115
  ContextModule["fairTab"] = "fairTab";
116
+ ContextModule["favoritesAlerts"] = "favoritesAlerts";
117
+ ContextModule["favoritesFollows"] = "favoritesFollows";
118
+ ContextModule["favoritesSaves"] = "favoritesSaves";
116
119
  ContextModule["featuredArtists"] = "featuredArtists";
117
120
  ContextModule["featuredArtistsRail"] = "featuredArtistsRail";
118
121
  ContextModule["featuredCollection"] = "featuredCollection";
@@ -162,7 +162,7 @@ export declare enum OwnerType {
162
162
  /**
163
163
  * Owner types available in iOS/Android
164
164
  */
165
- export type ScreenOwnerType = OwnerType.about | OwnerType.account | OwnerType.accountDarkMode | OwnerType.accountDeleteMyAccount | OwnerType.accountEmail | OwnerType.accountNotifications | OwnerType.accountOrders | OwnerType.accountPassword | OwnerType.accountPayment | OwnerType.accountAddPayment | OwnerType.accountPersonalDataRequest | OwnerType.accountPhoneNumber | OwnerType.accountPriceRange | OwnerType.accountSettings | OwnerType.activities | OwnerType.activity | OwnerType.album | OwnerType.alertConfirmation | OwnerType.alertDetails | OwnerType.alertFilters | OwnerType.alerts | OwnerType.alert | OwnerType.alertsInfoModal | OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistArticles | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkPriceFilter | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.category | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.collectionsCategory | OwnerType.confirmYourBid | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentInquiry | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.createAlert | OwnerType.editAlert | OwnerType.editProfile | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.favorites | OwnerType.featuredFairs | OwnerType.follows | OwnerType.gallery | OwnerType.galleriesForYou | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.infiniteDiscoveryArtwork | OwnerType.infiniteDiscoveryOnboarding | OwnerType.lotsByArtistsYouFollow | OwnerType.lotsForYou | OwnerType.marketNews | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.myCollectionInsightsMedianAuctionPrice | OwnerType.myCollectionOnboarding | OwnerType.newWorksForYou | OwnerType.newWorksFromGalleriesYouFollow | OwnerType.notification | OwnerType.onboarding | OwnerType.partner | OwnerType.priceDatabase | OwnerType.profile | OwnerType.quickLinks | OwnerType.recentlyViewed | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.savedSearchArtworkMatches | OwnerType.saves | OwnerType.savesAndFollows | OwnerType.savesInfoModal | OwnerType.search | OwnerType.sell | OwnerType.settings | OwnerType.show | OwnerType.shows | OwnerType.similarToRecentlyViewed | OwnerType.submitArtworkStepAddDetails | OwnerType.submitArtworkStepAddDimensions | OwnerType.submitArtworkStepAddPhoneNumber | OwnerType.submitArtworkStepAddPhotos | OwnerType.submitArtworkStepAddtionalDocuments | OwnerType.submitArtworkStepAddTitle | OwnerType.submitArtworkStepArtistRejected | OwnerType.submitArtworkStepCompleteYourSubmission | OwnerType.submitArtworkStepCompleteYourSubmissionPostApproval | OwnerType.submitArtworkStepCondition | OwnerType.submitArtworkStepFrameInformation | OwnerType.submitArtworkStepPurchaseHistory | OwnerType.submitArtworkStepSelectArtist | OwnerType.submitArtworkStepSelectArtworkMyCollectionArtwork | OwnerType.submitArtworkStepShippingLocation | OwnerType.submitArtworkStepStart | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou | OwnerType.yourMaxBid;
165
+ export type ScreenOwnerType = OwnerType.about | OwnerType.account | OwnerType.accountDarkMode | OwnerType.accountDeleteMyAccount | OwnerType.accountEmail | OwnerType.accountNotifications | OwnerType.accountOrders | OwnerType.accountPassword | OwnerType.accountPayment | OwnerType.accountAddPayment | OwnerType.accountPersonalDataRequest | OwnerType.accountPhoneNumber | OwnerType.accountPriceRange | OwnerType.accountSettings | OwnerType.activities | OwnerType.activity | OwnerType.album | OwnerType.alertConfirmation | OwnerType.alertDetails | OwnerType.alertFilters | OwnerType.alerts | OwnerType.alert | OwnerType.alertsInfoModal | OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistArticles | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkPriceFilter | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.category | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.collectionsCategory | OwnerType.confirmYourBid | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentInquiry | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.createAlert | OwnerType.editAlert | OwnerType.editProfile | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.favorites | OwnerType.favoritesAlerts | OwnerType.favoritesFollows | OwnerType.favoritesSaves | OwnerType.featuredFairs | OwnerType.follows | OwnerType.gallery | OwnerType.galleriesForYou | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.infiniteDiscoveryArtwork | OwnerType.infiniteDiscoveryOnboarding | OwnerType.lotsByArtistsYouFollow | OwnerType.lotsForYou | OwnerType.marketNews | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.myCollectionInsightsMedianAuctionPrice | OwnerType.myCollectionOnboarding | OwnerType.newWorksForYou | OwnerType.newWorksFromGalleriesYouFollow | OwnerType.notification | OwnerType.onboarding | OwnerType.partner | OwnerType.priceDatabase | OwnerType.profile | OwnerType.quickLinks | OwnerType.recentlyViewed | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.savedSearchArtworkMatches | OwnerType.saves | OwnerType.savesAndFollows | OwnerType.savesInfoModal | OwnerType.search | OwnerType.sell | OwnerType.settings | OwnerType.show | OwnerType.shows | OwnerType.similarToRecentlyViewed | OwnerType.submitArtworkStepAddDetails | OwnerType.submitArtworkStepAddDimensions | OwnerType.submitArtworkStepAddPhoneNumber | OwnerType.submitArtworkStepAddPhotos | OwnerType.submitArtworkStepAddtionalDocuments | OwnerType.submitArtworkStepAddTitle | OwnerType.submitArtworkStepArtistRejected | OwnerType.submitArtworkStepCompleteYourSubmission | OwnerType.submitArtworkStepCompleteYourSubmissionPostApproval | OwnerType.submitArtworkStepCondition | OwnerType.submitArtworkStepFrameInformation | OwnerType.submitArtworkStepPurchaseHistory | OwnerType.submitArtworkStepSelectArtist | OwnerType.submitArtworkStepSelectArtworkMyCollectionArtwork | OwnerType.submitArtworkStepShippingLocation | OwnerType.submitArtworkStepStart | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou | OwnerType.yourMaxBid;
166
166
  /**
167
167
  * Owner types available in web/mobile web
168
168
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.250.0",
3
+ "version": "4.251.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {