@artsy/cohesion 4.164.0 → 4.166.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.
@@ -14,6 +14,6 @@
14
14
  "editor.defaultFormatter": "esbenp.prettier-vscode",
15
15
  "editor.formatOnSave": true,
16
16
  "editor.codeActionsOnSave": {
17
- "source.fixAll.eslint": true
17
+ "source.fixAll.eslint": "explicit"
18
18
  }
19
19
  }
package/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ # v4.166.0 (Thu Jan 25 2024)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat: add selected suggested filter event [#483](https://github.com/artsy/cohesion/pull/483) ([@MounirDhahri](https://github.com/MounirDhahri))
6
+
7
+ #### Authors: 1
8
+
9
+ - Mounir Dhahri ([@MounirDhahri](https://github.com/MounirDhahri))
10
+
11
+ ---
12
+
13
+ # v4.165.0 (Wed Jan 24 2024)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - feat: Add activity context module [#482](https://github.com/artsy/cohesion/pull/482) ([@olerichter00](https://github.com/olerichter00))
18
+
19
+ #### Authors: 1
20
+
21
+ - Ole ([@olerichter00](https://github.com/olerichter00))
22
+
23
+ ---
24
+
1
25
  # v4.164.0 (Wed Jan 24 2024)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -3,7 +3,7 @@ import { AddToCalendar } from "./AddToCalendar";
3
3
  import { AddedArtworkToArtworkList, CreatedArtworkList, DeletedArtworkList, EditedArtworkList, ViewedArtworkList } from "./ArtworkLists";
4
4
  import { AuctionPageView, BidPageView, ClickedActiveBid, ClickedRegisterToBid, ConfirmBid, ConfirmRegistrationPageview, EnterLiveAuction, MaxBidSelected, RegistrationPageView, RegistrationSubmitted } from "./Auction";
5
5
  import { AuthImpression, CompletedOnboarding, CreatedAccount, OnboardingUserInputData, ResetYourPassword, StartedOnboarding, SuccessfullyLoggedIn } from "./Authentication";
6
- import { CheckedAccountBalance, ClickedAddFilters, ClickedAddMissingArtworksDetails, ClickedAddNewShippingAddress, ClickedAddWorksToFair, ClickedAlertsFilters, ClickedAppDownload, ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedAuctionResultItem, ClickedBuyerProtection, ClickedChangePage, ClickedChangePaymentMethod, ClickedChangeShippingAddress, ClickedChangeShippingMethod, ClickedCloseValidationAddressModal, ClickedCollectionGroup, ClickedConversationsFilter, ClickedCreateAlert, ClickedDeliveryMethod, ClickedDismissInquiry, ClickedEditArtwork, ClickedExpandFilterPanel, ClickedExpansionToggle, ClickedFairCard, ClickedFairGroup, ClickedGalleryGroup, ClickedLoadMore, ClickedMainArtworkGrid, ClickedMarketingModal, ClickedMarkSold, ClickedMarkSpam, ClickedNavBar, ClickedNavigationTab, ClickedOfferActions, ClickedOfferOption, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnBuyNowCheckbox, ClickedOnDuplicateArtwork, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnMakeOfferCheckbox, ClickedOnPagination, ClickedOnPriceDisplayDropdown, ClickedOnSubmitOrder, ClickedOrderPage, ClickedOrderSummary, ClickedPartnerCard, ClickedPartnerLink, ClickedPaymentDetails, ClickedPaymentMethod, ClickedPromoSpace, ClickedPublish, ClickedSelectShippingOption, ClickedSendPartnerOffer, ClickedShippingAddress, ClickedShowGroup, ClickedShowMore, ClickedSnooze, ClickedStartPartnerOffer, ClickedUploadArtwork, ClickedUpdateArtwork, ClickedValidationAddressOptions, ClickedVerifyIdentity, ClickedViewingRoomCard } from "./Click";
6
+ import { CheckedAccountBalance, ClickedAddFilters, ClickedAddMissingArtworksDetails, ClickedAddNewShippingAddress, ClickedAddWorksToFair, ClickedAlertsFilters, ClickedAppDownload, ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedAuctionResultItem, ClickedBuyerProtection, ClickedChangePage, ClickedChangePaymentMethod, ClickedChangeShippingAddress, ClickedChangeShippingMethod, ClickedCloseValidationAddressModal, ClickedCollectionGroup, ClickedConversationsFilter, ClickedCreateAlert, ClickedDeliveryMethod, ClickedDismissInquiry, ClickedEditArtwork, ClickedExpandFilterPanel, ClickedExpansionToggle, ClickedFairCard, ClickedFairGroup, ClickedGalleryGroup, ClickedLoadMore, ClickedMainArtworkGrid, ClickedMarketingModal, ClickedMarkSold, ClickedMarkSpam, ClickedNavBar, ClickedNavigationTab, ClickedOfferActions, ClickedOfferOption, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnBuyNowCheckbox, ClickedOnDuplicateArtwork, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnMakeOfferCheckbox, ClickedOnPagination, ClickedOnPriceDisplayDropdown, ClickedOnSubmitOrder, ClickedOrderPage, ClickedOrderSummary, ClickedPartnerCard, ClickedPartnerLink, ClickedPaymentDetails, ClickedPaymentMethod, ClickedPromoSpace, ClickedPublish, ClickedSelectShippingOption, ClickedSendPartnerOffer, ClickedShippingAddress, ClickedShowGroup, ClickedShowMore, ClickedSnooze, ClickedStartPartnerOffer, ClickedUpdateArtwork, ClickedUploadArtwork, ClickedValidationAddressOptions, ClickedVerifyIdentity, ClickedViewingRoomCard } from "./Click";
7
7
  import { EditedUserProfile } from "./CollectorProfile";
8
8
  import { ArtworkDetailsCompleted, ConsignmentSubmitted, ContactInformationCompleted, SentConsignmentInquiry, SubmitAnotherArtwork, UploadPhotosCompleted, ViewArtworkMyCollection } from "./Consignments";
9
9
  import { FocusedOnConversationMessageInput, SentConversationMessage, TappedInboxConversation, TappedMakeOffer, TappedViewOffer } from "./Conversations";
@@ -365,8 +365,8 @@ export declare enum ActionType {
365
365
  */
366
366
  clickedMarketingModal = "clickedMarketingModal",
367
367
  /**
368
- * Corresponds to {@link ClickedShowMore}
369
- */
368
+ * Corresponds to {@link ClickedShowMore}
369
+ */
370
370
  clickedShowMore = "clickedShowMore",
371
371
  /**
372
372
  * Corresponds to {@link ClickedSnooze}
@@ -824,6 +824,10 @@ export declare enum ActionType {
824
824
  * Corresponds to {@link TappedMakeOffer}
825
825
  */
826
826
  tappedMakeOffer = "tappedMakeOffer",
827
+ /**
828
+ * Corresponds to {@link TappedMenuItem}
829
+ */
830
+ tappeMenuItem = "tappeMenuItem",
827
831
  /**
828
832
  * Corresponds to {@link TappedMyCollectionAddArtworkArtist}
829
833
  */
@@ -216,6 +216,7 @@ exports.ActionType = ActionType;
216
216
  ActionType["tappedLink"] = "tappedLink";
217
217
  ActionType["tappedMainArtworkGrid"] = "tappedMainArtworkGrid";
218
218
  ActionType["tappedMakeOffer"] = "tappedMakeOffer";
219
+ ActionType["tappeMenuItem"] = "tappeMenuItem";
219
220
  ActionType["tappedMyCollectionAddArtworkArtist"] = "tappedMyCollectionAddArtworkArtist";
220
221
  ActionType["tappedMyCollectionInsightsMedianAuctionPriceChartCareerHighlight"] = "tappedMyCollectionInsightsMedianAuctionPriceChartCareerHighlight";
221
222
  ActionType["tappedMyCollectionInsightsMedianAuctionPriceChartCategory"] = "TappedMyCollectionInsightsMedianAuctionPriceChartCategory";
@@ -7,7 +7,9 @@
7
7
  export declare enum ContextModule {
8
8
  aboutTheWork = "aboutTheWork",
9
9
  aboutThisAuction = "aboutThisAuction",
10
+ account = "account",
10
11
  adServer = "adServer",
12
+ activity = "activity",
11
13
  activityRail = "activityRail",
12
14
  alertConfirmation = "alertConfirmation",
13
15
  alertDetails = "alertDetails",
@@ -209,4 +211,4 @@ export declare enum ContextModule {
209
211
  /**
210
212
  * Limited ContextModules available for web authentication events
211
213
  */
212
- export type AuthContextModule = ContextModule.aboutTheWork | ContextModule.articleTab | ContextModule.artistHeader | ContextModule.artistRecentlySold | ContextModule.artistSeriesRail | ContextModule.artistSeriesTab | ContextModule.artistsTab | ContextModule.artistsToFollowRail | 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.inquiry | ContextModule.intextTooltip | ContextModule.liveAuctionRoom | ContextModule.liveAuctionsRail | ContextModule.mainCarousel | ContextModule.marketingCollectionTab | ContextModule.minimalCTABanner | ContextModule.myCollectionAddArtworkAddArtist | ContextModule.myCollectionHome | ContextModule.navBar | ContextModule.newWorksByGalleriesYouFollowRail | 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.recentlyViewedRail | ContextModule.recentPriceRanges | ContextModule.recommendedArtistsRail | ContextModule.relatedArtistsRail | ContextModule.relatedWorksRail | ContextModule.saveWorksCTA | ContextModule.showHeader | ContextModule.showInfo | ContextModule.showTab | ContextModule.standoutLots | ContextModule.tagHeader | ContextModule.topTab | ContextModule.topWorksRail | ContextModule.trendingArtistsRail | ContextModule.trendingLots | ContextModule.viewingRoom | ContextModule.worksByArtistsYouFollowRail | ContextModule.worksByPopularArtistsRail | ContextModule.worksForSaleRail;
214
+ export type AuthContextModule = ContextModule.activity | ContextModule.aboutTheWork | ContextModule.articleTab | ContextModule.artistHeader | ContextModule.artistRecentlySold | ContextModule.artistSeriesRail | ContextModule.artistSeriesTab | ContextModule.artistsTab | ContextModule.artistsToFollowRail | 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.inquiry | ContextModule.intextTooltip | ContextModule.liveAuctionRoom | ContextModule.liveAuctionsRail | ContextModule.mainCarousel | ContextModule.marketingCollectionTab | ContextModule.minimalCTABanner | ContextModule.myCollectionAddArtworkAddArtist | ContextModule.myCollectionHome | ContextModule.navBar | ContextModule.newWorksByGalleriesYouFollowRail | 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.recentlyViewedRail | ContextModule.recentPriceRanges | ContextModule.recommendedArtistsRail | ContextModule.relatedArtistsRail | ContextModule.relatedWorksRail | ContextModule.saveWorksCTA | ContextModule.showHeader | ContextModule.showInfo | ContextModule.showTab | ContextModule.standoutLots | ContextModule.tagHeader | ContextModule.topTab | ContextModule.topWorksRail | ContextModule.trendingArtistsRail | ContextModule.trendingLots | ContextModule.viewingRoom | ContextModule.worksByArtistsYouFollowRail | ContextModule.worksByPopularArtistsRail | ContextModule.worksForSaleRail;
@@ -21,7 +21,9 @@ exports.ContextModule = ContextModule;
21
21
  (function (ContextModule) {
22
22
  ContextModule["aboutTheWork"] = "aboutTheWork";
23
23
  ContextModule["aboutThisAuction"] = "aboutThisAuction";
24
+ ContextModule["account"] = "account";
24
25
  ContextModule["adServer"] = "adServer";
26
+ ContextModule["activity"] = "activity";
25
27
  ContextModule["activityRail"] = "activityRail";
26
28
  ContextModule["alertConfirmation"] = "alertConfirmation";
27
29
  ContextModule["alertDetails"] = "alertDetails";
@@ -87,6 +87,7 @@ export declare enum OwnerType {
87
87
  saves = "saves",
88
88
  savesAndFollows = "savesAndFollows",
89
89
  search = "search",
90
+ settings = "settings",
90
91
  sell = "sell",
91
92
  sendOffers = "sendOffers",
92
93
  show = "show",
@@ -105,7 +106,7 @@ export declare enum OwnerType {
105
106
  /**
106
107
  * Owner types available in iOS/Android
107
108
  */
108
- export type ScreenOwnerType = OwnerType.activities | OwnerType.activity | OwnerType.allArtistSeries | OwnerType.alerts | OwnerType.alertDetails | OwnerType.alertConfirmation | OwnerType.alertFilters | 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.createAlert | OwnerType.editAlert | OwnerType.editProfile | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.galleriesForYou | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.lotsByArtistsYouFollow | 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.priceDatabase | OwnerType.profile | OwnerType.recentlyViewed | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.saves | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.show | OwnerType.shows | OwnerType.similarToRecentlyViewed | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
109
+ export type ScreenOwnerType = OwnerType.activities | OwnerType.activity | OwnerType.allArtistSeries | OwnerType.alerts | OwnerType.alertDetails | OwnerType.alertConfirmation | OwnerType.alertFilters | 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.createAlert | OwnerType.editAlert | OwnerType.editProfile | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.galleriesForYou | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.lotsByArtistsYouFollow | 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.priceDatabase | OwnerType.profile | OwnerType.recentlyViewed | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.saves | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.settings | OwnerType.show | OwnerType.shows | OwnerType.similarToRecentlyViewed | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
109
110
  /**
110
111
  * Owner types available in web/mobile web
111
112
  */
@@ -105,6 +105,7 @@ exports.OwnerType = OwnerType;
105
105
  OwnerType["saves"] = "saves";
106
106
  OwnerType["savesAndFollows"] = "savesAndFollows";
107
107
  OwnerType["search"] = "search";
108
+ OwnerType["settings"] = "settings";
108
109
  OwnerType["sell"] = "sell";
109
110
  OwnerType["sendOffers"] = "sendOffers";
110
111
  OwnerType["show"] = "show";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.164.0",
3
+ "version": "4.166.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {