@artsy/cohesion 4.137.0 → 4.139.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/DeprecatedHelpers/Click/ClickedEntityGroup.d.ts +1 -1
- package/dist/DeprecatedHelpers/Click/ClickedEntityGroup.js +4 -0
- package/dist/Schema/Values/ContextModule.d.ts +1 -1
- package/dist/Schema/Values/OwnerType.d.ts +2 -1
- package/dist/Schema/Values/OwnerType.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v4.139.0 (Wed Sep 06 2023)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat(demand): Add OwnerType.demand [#452](https://github.com/artsy/cohesion/pull/452) ([@damassi](https://github.com/damassi))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Christopher Pappas ([@damassi](https://github.com/damassi))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.138.0 (Wed Sep 06 2023)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- feat: Add newWorksByGalleriesYouFollowRail to auth context modules [#451](https://github.com/artsy/cohesion/pull/451) ([@olerichter00](https://github.com/olerichter00))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Ole ([@olerichter00](https://github.com/olerichter00))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v4.137.0 (Thu Aug 31 2023)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClickedArtistGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedCollectionGroup, ClickedFairGroup, ContextModule, EntityModuleType, OwnerType, PageOwnerType } from "../../Schema";
|
|
2
|
-
export type ClickedEntityDestinationType = OwnerType.artist | OwnerType.artwork | OwnerType.collection | OwnerType.fair | OwnerType.sale | OwnerType.auctions | OwnerType.gene | OwnerType.worksForYou;
|
|
2
|
+
export type ClickedEntityDestinationType = OwnerType.artist | OwnerType.artwork | OwnerType.collection | OwnerType.fair | OwnerType.sale | OwnerType.auctions | OwnerType.gene | OwnerType.worksForYou | OwnerType.newWorksFromGalleriesYouFollow;
|
|
3
3
|
export interface ClickedEntityGroupArgs {
|
|
4
4
|
contextModule: ContextModule;
|
|
5
5
|
contextPageOwnerType: PageOwnerType;
|
|
@@ -48,6 +48,10 @@ var clickedEntityGroup = function clickedEntityGroup(_ref) {
|
|
|
48
48
|
action = _Schema.ActionType.clickedArtworkGroup;
|
|
49
49
|
break;
|
|
50
50
|
|
|
51
|
+
case _Schema.OwnerType.newWorksFromGalleriesYouFollow:
|
|
52
|
+
action = _Schema.ActionType.clickedArtworkGroup;
|
|
53
|
+
break;
|
|
54
|
+
|
|
51
55
|
case _Schema.OwnerType.collection:
|
|
52
56
|
action = _Schema.ActionType.clickedCollectionGroup;
|
|
53
57
|
break;
|
|
@@ -199,4 +199,4 @@ export declare enum ContextModule {
|
|
|
199
199
|
/**
|
|
200
200
|
* Limited ContextModules available for web authentication events
|
|
201
201
|
*/
|
|
202
|
-
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.currentShowsRail | ContextModule.fairInfo | ContextModule.fairOrganizerHeader | ContextModule.fairRail | ContextModule.fairsHeader | ContextModule.fairTab | ContextModule.featuredArtists | ContextModule.featuredArtistsRail | ContextModule.featuredGalleriesRail | ContextModule.footer | 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.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;
|
|
202
|
+
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.currentShowsRail | ContextModule.fairInfo | ContextModule.fairOrganizerHeader | ContextModule.fairRail | ContextModule.fairsHeader | ContextModule.fairTab | ContextModule.featuredArtists | ContextModule.featuredArtistsRail | ContextModule.featuredGalleriesRail | ContextModule.footer | 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;
|
|
@@ -31,6 +31,7 @@ export declare enum OwnerType {
|
|
|
31
31
|
consignmentSubmission = "consignmentSubmission",
|
|
32
32
|
conversation = "conversation",
|
|
33
33
|
conversationMakeOfferConfirmArtwork = "conversationMakeOfferConfirmArtwork",
|
|
34
|
+
demand = "demand",
|
|
34
35
|
editProfile = "editProfile",
|
|
35
36
|
explore = "explore",
|
|
36
37
|
fair = "fair",
|
|
@@ -99,4 +100,4 @@ export type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.article | Ow
|
|
|
99
100
|
/**
|
|
100
101
|
* Owner types available in web/mobile web
|
|
101
102
|
*/
|
|
102
|
-
export type PageOwnerType = 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.editProfile | OwnerType.fair | OwnerType.fairs | OwnerType.galleries | OwnerType.gene | OwnerType.home | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.onboarding | OwnerType.ordersAccept | OwnerType.ordersCounter | 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.show | OwnerType.shows | OwnerType.tag | OwnerType.user | OwnerType.viewingRoom | OwnerType.viewingRooms | OwnerType.worksForYou;
|
|
103
|
+
export type PageOwnerType = 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.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.onboarding | OwnerType.ordersAccept | OwnerType.ordersCounter | 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.show | OwnerType.shows | OwnerType.tag | OwnerType.user | OwnerType.viewingRoom | OwnerType.viewingRooms | OwnerType.worksForYou | OwnerType.newWorksFromGalleriesYouFollow;
|
|
@@ -49,6 +49,7 @@ exports.OwnerType = OwnerType;
|
|
|
49
49
|
OwnerType["consignmentSubmission"] = "consignmentSubmission";
|
|
50
50
|
OwnerType["conversation"] = "conversation";
|
|
51
51
|
OwnerType["conversationMakeOfferConfirmArtwork"] = "conversationMakeOfferConfirmArtwork";
|
|
52
|
+
OwnerType["demand"] = "demand";
|
|
52
53
|
OwnerType["editProfile"] = "editProfile";
|
|
53
54
|
OwnerType["explore"] = "explore";
|
|
54
55
|
OwnerType["fair"] = "fair";
|