@artsy/cohesion 4.282.0 → 4.284.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 +24 -0
- package/dist/Schema/Events/Tap.d.ts +21 -0
- package/dist/Schema/Events/index.d.ts +4 -0
- package/dist/Schema/Events/index.js +1 -0
- package/dist/Schema/Values/ContextModule.d.ts +2 -1
- package/dist/Schema/Values/ContextModule.js +1 -0
- package/dist/Schema/Values/OwnerType.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v4.284.0 (Wed Jul 16 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- chore: add price range onboarding events [#617](https://github.com/artsy/cohesion/pull/617) ([@MounirDhahri](https://github.com/MounirDhahri))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Mounir Dhahri ([@MounirDhahri](https://github.com/MounirDhahri))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.283.0 (Mon Jul 14 2025)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- feat(onyx-1828): add artworkRecommendations as PageOwnerType [#616](https://github.com/artsy/cohesion/pull/616) ([@nickskalkin](https://github.com/nickskalkin))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Nikita Skalkin ([@nickskalkin](https://github.com/nickskalkin))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v4.282.0 (Wed Jul 09 2025)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -1441,3 +1441,24 @@ export interface TappedImportFees {
|
|
|
1441
1441
|
destination_screen_owner_slug: string;
|
|
1442
1442
|
flow: string;
|
|
1443
1443
|
}
|
|
1444
|
+
/**
|
|
1445
|
+
* User taps on a Popover
|
|
1446
|
+
*
|
|
1447
|
+
* This schema describes events sent to Segment from [[tappedPopover]]
|
|
1448
|
+
*
|
|
1449
|
+
* @example
|
|
1450
|
+
* ```
|
|
1451
|
+
* {
|
|
1452
|
+
* action: "tappedPopover",
|
|
1453
|
+
* context_module: "bottomTabs",
|
|
1454
|
+
* context_screen_owner_type: "home",
|
|
1455
|
+
* type: "price-range-popover-home"
|
|
1456
|
+
* }
|
|
1457
|
+
* ```
|
|
1458
|
+
*/
|
|
1459
|
+
export interface TappedPopover {
|
|
1460
|
+
action: ActionType.tappedPopover;
|
|
1461
|
+
context_module: ContextModule;
|
|
1462
|
+
context_screen_owner_type: ScreenOwnerType;
|
|
1463
|
+
type: string;
|
|
1464
|
+
}
|
|
@@ -919,6 +919,10 @@ export declare enum ActionType {
|
|
|
919
919
|
* Corresponds to {@link TappedBid}
|
|
920
920
|
*/
|
|
921
921
|
tappedBid = "tappedBid",
|
|
922
|
+
/**
|
|
923
|
+
* Corresponds to {@link TappedPopover}
|
|
924
|
+
*/
|
|
925
|
+
tappedPopover = "tappedPopover",
|
|
922
926
|
/**
|
|
923
927
|
* Corresponds to {@link TappedBrowseSimilarArtworks}
|
|
924
928
|
*/
|
|
@@ -239,6 +239,7 @@ exports.ActionType = ActionType;
|
|
|
239
239
|
ActionType["tappedAuctionGroup"] = "tappedAuctionGroup";
|
|
240
240
|
ActionType["tappedAuctionResultGroup"] = "tappedAuctionResultGroup";
|
|
241
241
|
ActionType["tappedBid"] = "tappedBid";
|
|
242
|
+
ActionType["tappedPopover"] = "tappedPopover";
|
|
242
243
|
ActionType["tappedBrowseSimilarArtworks"] = "tappedBrowseSimilarArtworks";
|
|
243
244
|
ActionType["tappedBuyerProtection"] = "tappedBuyerProtection";
|
|
244
245
|
ActionType["tappedBuyNow"] = "tappedBuyNow";
|
|
@@ -69,6 +69,7 @@ export declare enum ContextModule {
|
|
|
69
69
|
banner = "banner",
|
|
70
70
|
bannerPopUp = "bannerPopUp",
|
|
71
71
|
boothsTab = "boothsTab",
|
|
72
|
+
bottomTabs = "bottomTabs",
|
|
72
73
|
browseFair = "browseFair",
|
|
73
74
|
categoryRail = "categoryRail",
|
|
74
75
|
cityGuideCard = "cityGuideCard",
|
|
@@ -253,4 +254,4 @@ export declare enum ContextModule {
|
|
|
253
254
|
/**
|
|
254
255
|
* Limited ContextModules available for web authentication events
|
|
255
256
|
*/
|
|
256
|
-
export type AuthContextModule = ContextModule.aboutTheWork | ContextModule.accountSettings | ContextModule.accountTransactions | ContextModule.activity | ContextModule.articleTab | ContextModule.artistHeader | ContextModule.artistRecentlySold | ContextModule.artistSeriesRail | ContextModule.artistSeriesTab | ContextModule.artistsTab | ContextModule.artistsToFollowRail | ContextModule.artworkActions | ContextModule.artworkClosedLotHeader | ContextModule.artworkGrid | ContextModule.artworkImage | ContextModule.artworkSidebar | ContextModule.artworksTab | ContextModule.associatedViewingRoom | ContextModule.auctionHome | ContextModule.auctionLots | ContextModule.auctionLotsEndingSoonRail | ContextModule.auctionRail | ContextModule.auctionResult | ContextModule.auctionResultComparableWorks | ContextModule.auctionResults | ContextModule.auctionSidebar | ContextModule.auctionsInfo | ContextModule.auctionTab | ContextModule.bannerPopUp | ContextModule.boothsTab | ContextModule.browseFair | ContextModule.categoryRail | ContextModule.collectionDescription | ContextModule.collectorProfile | ContextModule.consignSubmissionFlow | ContextModule.createAlert | ContextModule.currentShowsRail | ContextModule.fairInfo | ContextModule.fairOrganizerHeader | ContextModule.fairRail | ContextModule.fairsHeader | ContextModule.fairTab | ContextModule.featuredArtists | ContextModule.featuredArtistsRail | ContextModule.featuredGalleriesRail | ContextModule.footer | ContextModule.galleriesNearYouRail | ContextModule.galleryTab | ContextModule.geneHeader | ContextModule.header | ContextModule.heroUnitsRail | ContextModule.inquiry | ContextModule.intextTooltip | ContextModule.liveAuctionRoom | ContextModule.liveAuctionsRail | ContextModule.lotsForYouRail | ContextModule.mainCarousel | ContextModule.marketingCollectionTab | ContextModule.minimalCTABanner | ContextModule.myCollectionAddArtworkAddArtist | ContextModule.myCollectionHome | ContextModule.navBar | ContextModule.newWorksByGalleriesYouFollowRail | ContextModule.newWorksForYouRail | ContextModule.notification | ContextModule.onboardingActivity | ContextModule.onboardingCollectorLevel | ContextModule.onboardingFlow | ContextModule.onboardingInterests | ContextModule.otherWorksByArtistRail | ContextModule.otherWorksFromPartnerRail | ContextModule.otherWorksFromShowRail | ContextModule.otherWorksInAuctionRail | ContextModule.partnerHeader | ContextModule.pastFairs | ContextModule.popularArtistsRail | ContextModule.popUpModal | ContextModule.presentingFair | ContextModule.presentingPartner | ContextModule.priceEstimate | ContextModule.quickLinks | ContextModule.recentlyViewedRail | ContextModule.recentPriceRanges | ContextModule.recommendedArtistsRail | ContextModule.relatedArtistsRail | ContextModule.relatedWorksRail | ContextModule.saveWorksCTA | ContextModule.sell | ContextModule.sellFooter | ContextModule.sellHeader | ContextModule.sellHowItWorks | ContextModule.sellStickyFooter | ContextModule.showHeader | ContextModule.showInfo | ContextModule.showTab | ContextModule.standoutLots | ContextModule.tagHeader | ContextModule.topAuctionLotsRail | ContextModule.topTab | ContextModule.topWorksRail | ContextModule.trendingArtistsRail | ContextModule.trendingLots | ContextModule.viewingRoom | ContextModule.worksByArtistsYouFollowRail | ContextModule.worksByPopularArtistsRail | ContextModule.worksForSaleRail;
|
|
257
|
+
export type AuthContextModule = ContextModule.aboutTheWork | ContextModule.accountSettings | ContextModule.accountTransactions | ContextModule.activity | ContextModule.articleTab | ContextModule.artistHeader | ContextModule.artistRecentlySold | ContextModule.artistSeriesRail | ContextModule.artistSeriesTab | ContextModule.artistsTab | ContextModule.artistsToFollowRail | ContextModule.artworkActions | ContextModule.artworkClosedLotHeader | ContextModule.artworkGrid | ContextModule.artworkImage | ContextModule.artworkSidebar | ContextModule.artworksTab | ContextModule.associatedViewingRoom | ContextModule.auctionHome | ContextModule.auctionLots | ContextModule.auctionLotsEndingSoonRail | ContextModule.auctionRail | ContextModule.auctionResult | ContextModule.auctionResultComparableWorks | ContextModule.auctionResults | ContextModule.auctionSidebar | ContextModule.auctionsInfo | ContextModule.auctionTab | ContextModule.bannerPopUp | ContextModule.boothsTab | ContextModule.bottomTabs | ContextModule.browseFair | ContextModule.categoryRail | ContextModule.collectionDescription | ContextModule.collectorProfile | ContextModule.consignSubmissionFlow | ContextModule.createAlert | ContextModule.currentShowsRail | ContextModule.fairInfo | ContextModule.fairOrganizerHeader | ContextModule.fairRail | ContextModule.fairsHeader | ContextModule.fairTab | ContextModule.featuredArtists | ContextModule.featuredArtistsRail | ContextModule.featuredGalleriesRail | ContextModule.footer | ContextModule.galleriesNearYouRail | ContextModule.galleryTab | ContextModule.geneHeader | ContextModule.header | ContextModule.heroUnitsRail | ContextModule.inquiry | ContextModule.intextTooltip | ContextModule.liveAuctionRoom | ContextModule.liveAuctionsRail | ContextModule.lotsForYouRail | ContextModule.mainCarousel | ContextModule.marketingCollectionTab | ContextModule.minimalCTABanner | ContextModule.myCollectionAddArtworkAddArtist | ContextModule.myCollectionHome | ContextModule.navBar | ContextModule.newWorksByGalleriesYouFollowRail | ContextModule.newWorksForYouRail | ContextModule.notification | ContextModule.onboardingActivity | ContextModule.onboardingCollectorLevel | ContextModule.onboardingFlow | ContextModule.onboardingInterests | ContextModule.otherWorksByArtistRail | ContextModule.otherWorksFromPartnerRail | ContextModule.otherWorksFromShowRail | ContextModule.otherWorksInAuctionRail | ContextModule.partnerHeader | ContextModule.pastFairs | ContextModule.popularArtistsRail | ContextModule.popUpModal | ContextModule.presentingFair | ContextModule.presentingPartner | ContextModule.priceEstimate | ContextModule.quickLinks | ContextModule.recentlyViewedRail | ContextModule.recentPriceRanges | ContextModule.recommendedArtistsRail | ContextModule.relatedArtistsRail | ContextModule.relatedWorksRail | ContextModule.saveWorksCTA | ContextModule.sell | ContextModule.sellFooter | ContextModule.sellHeader | ContextModule.sellHowItWorks | ContextModule.sellStickyFooter | ContextModule.showHeader | ContextModule.showInfo | ContextModule.showTab | ContextModule.standoutLots | ContextModule.tagHeader | ContextModule.topAuctionLotsRail | ContextModule.topTab | ContextModule.topWorksRail | ContextModule.trendingArtistsRail | ContextModule.trendingLots | ContextModule.viewingRoom | ContextModule.worksByArtistsYouFollowRail | ContextModule.worksByPopularArtistsRail | ContextModule.worksForSaleRail;
|
|
@@ -83,6 +83,7 @@ exports.ContextModule = ContextModule;
|
|
|
83
83
|
ContextModule["banner"] = "banner";
|
|
84
84
|
ContextModule["bannerPopUp"] = "bannerPopUp";
|
|
85
85
|
ContextModule["boothsTab"] = "boothsTab";
|
|
86
|
+
ContextModule["bottomTabs"] = "bottomTabs";
|
|
86
87
|
ContextModule["browseFair"] = "browseFair";
|
|
87
88
|
ContextModule["categoryRail"] = "categoryRail";
|
|
88
89
|
ContextModule["cityGuideCard"] = "cityGuideCard";
|
|
@@ -173,4 +173,4 @@ export type ScreenOwnerType = OwnerType.about | OwnerType.account | OwnerType.ac
|
|
|
173
173
|
/**
|
|
174
174
|
* Owner types available in web/mobile web
|
|
175
175
|
*/
|
|
176
|
-
export type PageOwnerType = OwnerType.about | OwnerType.activities | OwnerType.activity | OwnerType.alertConfirmation | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artists | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctions | OwnerType.collect | OwnerType.collection | OwnerType.collections | OwnerType.consign | 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.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;
|
|
176
|
+
export type PageOwnerType = OwnerType.about | OwnerType.activities | OwnerType.activity | OwnerType.alertConfirmation | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artists | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkRecommendations | OwnerType.auctions | OwnerType.collect | OwnerType.collection | OwnerType.collections | OwnerType.consign | 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.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;
|