@artsy/cohesion 4.347.0 → 4.349.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.349.0 (Tue Mar 17 2026)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - chore: update clickedAuctionResultItem example schema for empty state [#687](https://github.com/artsy/cohesion/pull/687) ([@xander-pero](https://github.com/xander-pero))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@xander-pero](https://github.com/xander-pero)
10
+
11
+ ---
12
+
13
+ # v4.348.0 (Wed Mar 11 2026)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - feat: empty state tracking on artist page and auction result tracking [#686](https://github.com/artsy/cohesion/pull/686) ([@xander-pero](https://github.com/xander-pero))
18
+
19
+ #### Authors: 1
20
+
21
+ - [@xander-pero](https://github.com/xander-pero)
22
+
23
+ ---
24
+
1
25
  # v4.347.0 (Tue Feb 24 2026)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -95,7 +95,7 @@ export interface ClickedAddWorksToFair {
95
95
  * destination_page_owner_type: "article",
96
96
  * destination_page_owner_id: "542f1ccc7261694847410400",
97
97
  * destination_page_owner_slug: "acaw-acaw-presenter-charwei-tsai",
98
- * type: "thumbnail"
98
+ * type: "thumbnail" | "viewAll" | "emptyState"
99
99
  * }
100
100
  * ```
101
101
  */
@@ -230,7 +230,7 @@ export interface ClickedAuctionGroup extends ClickedEntityGroup {
230
230
  signal_bid_count?: number;
231
231
  }
232
232
  /**
233
- * A user clicks a result of auctions on web
233
+ * A user clicks an auction result on the artist or auction result page. Leads to price database for artist empty states.
234
234
  *
235
235
  * This schema describes events sent to Segment from [[clickedEntityGroup]]
236
236
  *
@@ -238,15 +238,20 @@ export interface ClickedAuctionGroup extends ClickedEntityGroup {
238
238
  * ```
239
239
  * {
240
240
  * action: "clickedAuctionResultItem",
241
- * context_module: "auctionResult",
242
- * context_page_owner_type: "artistAuctionResults",
243
- * expanded: true
241
+ * context_module: "auctionResults",
242
+ * context_page_owner_type: "artist" | "auctionResult",
243
+ * context_page_owner_id: "4e9743d70307800001001236",
244
+ * context_page_owner_slug?: "paul-jenkins" | null,
245
+ * destination_page_owner_type: "auctionResult" | "priceDatabase",
246
+ * destination_page_owner_id?: "1220512",
247
+ * type: "thumbnail" | "viewAll" | "emptyState"
248
+ * expanded?: true | false | null
244
249
  * }
245
250
  * ```
246
251
  */
247
252
  export interface ClickedAuctionResultItem extends ClickedEntityGroup {
248
253
  action: ActionType.clickedAuctionResultItem;
249
- expanded: boolean;
254
+ expanded?: boolean;
250
255
  }
251
256
  /**
252
257
  * A user clicks a grouping of collections on web
@@ -169,7 +169,7 @@ export declare enum ActionType {
169
169
  */
170
170
  clickedAuctionGroup = "clickedAuctionGroup",
171
171
  /**
172
- * * Corresponds to {@link ClickedAuctionResultItem}
172
+ * Corresponds to {@link ClickedAuctionResultItem}
173
173
  */
174
174
  clickedAuctionResultItem = "clickedAuctionResultItem",
175
175
  /**
@@ -178,4 +178,4 @@ export type ScreenOwnerType = OwnerType.about | OwnerType.account | OwnerType.ac
178
178
  /**
179
179
  * Owner types available in web/mobile web
180
180
  */
181
- export type PageOwnerType = OwnerType.about | OwnerType.activities | OwnerType.activity | OwnerType.alertConfirmation | OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artists | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkRecommendations | OwnerType.auctions | OwnerType.basedOnYourRecentSaves | OwnerType.collect | OwnerType.collection | OwnerType.collections | OwnerType.consign | OwnerType.conversation | OwnerType.demand | OwnerType.editProfile | OwnerType.fair | OwnerType.fairs | OwnerType.galleries | OwnerType.gene | OwnerType.home | OwnerType.marketNews | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.onboarding | OwnerType.ordersAccept | OwnerType.ordersCheckout | OwnerType.ordersCounter | OwnerType.ordersDetail | OwnerType.ordersNewPayment | OwnerType.ordersOffer | OwnerType.ordersPayment | OwnerType.ordersRespond | OwnerType.ordersReview | OwnerType.ordersShipping | OwnerType.ordersSubmitted | OwnerType.partner | OwnerType.partnerShowsArtworks | OwnerType.priceDatabase | OwnerType.profile | OwnerType.recommendedArtists | OwnerType.sale | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.saves | OwnerType.search | OwnerType.sendOffers | OwnerType.show | OwnerType.shows | OwnerType.submitArtworkStepStart | OwnerType.submitArtworkStepSelectArtist | OwnerType.submitArtworkStepAddTitle | OwnerType.submitArtworkStepAddPhotos | OwnerType.submitArtworkStepAddDetails | OwnerType.submitArtworkStepPurchaseHistory | OwnerType.submitArtworkStepAddDimensions | OwnerType.submitArtworkStepAddPhoneNumber | OwnerType.submitArtworkStepCompleteYourSubmission | OwnerType.submitArtworkStepArtistRejected | OwnerType.submitArtworkStepSelectArtworkMyCollectionArtwork | OwnerType.submitArtworkStepShippingLocation | OwnerType.submitArtworkStepFrameInformation | OwnerType.submitArtworkStepAddtionalDocuments | OwnerType.submitArtworkStepCondition | OwnerType.submitArtworkStepCompleteYourSubmissionPostApproval | OwnerType.tag | OwnerType.user | OwnerType.viewingRoom | OwnerType.viewingRooms | OwnerType.worksForYou | OwnerType.newWorksFromGalleriesYouFollow;
181
+ export type PageOwnerType = OwnerType.about | OwnerType.activities | OwnerType.activity | OwnerType.alertConfirmation | OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artists | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctions | OwnerType.basedOnYourRecentSaves | OwnerType.collect | OwnerType.collection | OwnerType.collections | OwnerType.consign | OwnerType.conversation | OwnerType.demand | OwnerType.editProfile | OwnerType.fair | OwnerType.fairs | OwnerType.galleries | OwnerType.gene | OwnerType.home | OwnerType.marketNews | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.onboarding | OwnerType.ordersAccept | OwnerType.ordersCheckout | OwnerType.ordersCounter | OwnerType.ordersDetail | OwnerType.ordersNewPayment | OwnerType.ordersOffer | OwnerType.ordersPayment | OwnerType.ordersRespond | OwnerType.ordersReview | OwnerType.ordersShipping | OwnerType.ordersSubmitted | OwnerType.partner | OwnerType.partnerShowsArtworks | OwnerType.priceDatabase | OwnerType.profile | OwnerType.recommendedArtists | OwnerType.sale | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.saves | OwnerType.search | OwnerType.sendOffers | OwnerType.show | OwnerType.shows | OwnerType.submitArtworkStepStart | OwnerType.submitArtworkStepSelectArtist | OwnerType.submitArtworkStepAddTitle | OwnerType.submitArtworkStepAddPhotos | OwnerType.submitArtworkStepAddDetails | OwnerType.submitArtworkStepPurchaseHistory | OwnerType.submitArtworkStepAddDimensions | OwnerType.submitArtworkStepAddPhoneNumber | OwnerType.submitArtworkStepCompleteYourSubmission | OwnerType.submitArtworkStepArtistRejected | OwnerType.submitArtworkStepSelectArtworkMyCollectionArtwork | OwnerType.submitArtworkStepShippingLocation | OwnerType.submitArtworkStepFrameInformation | OwnerType.submitArtworkStepAddtionalDocuments | OwnerType.submitArtworkStepCondition | OwnerType.submitArtworkStepCompleteYourSubmissionPostApproval | OwnerType.tag | OwnerType.user | OwnerType.viewingRoom | OwnerType.viewingRooms | OwnerType.worksForYou | OwnerType.newWorksFromGalleriesYouFollow;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.347.0",
3
+ "version": "4.349.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {