@artsy/cohesion 4.20.0 → 4.24.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 +53 -0
- package/dist/DeprecatedHelpers/index.d.ts +0 -1
- package/dist/DeprecatedHelpers/index.js +0 -12
- package/dist/Schema/Events/Click.d.ts +50 -0
- package/dist/Schema/Events/Toggle.d.ts +3 -3
- package/dist/Schema/Events/index.d.ts +10 -2
- package/dist/Schema/Events/index.js +2 -0
- package/dist/Schema/Values/ContextModule.d.ts +2 -1
- package/dist/Schema/Values/ContextModule.js +1 -0
- package/package.json +2 -2
- package/dist/DeprecatedHelpers/Click/ClickedArticleGroup.d.ts +0 -2
- package/dist/DeprecatedHelpers/Click/ClickedArticleGroup.js +0 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,56 @@
|
|
|
1
|
+
# v4.24.0 (Mon Nov 29 2021)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- [FX-3344] Remove deprecated clickedArticleGroup helper [#267](https://github.com/artsy/cohesion/pull/267) ([@lidimayra](https://github.com/lidimayra))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Lidiane Taquehara ([@lidimayra](https://github.com/lidimayra))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.23.0 (Tue Nov 23 2021)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- [AS-2774] Creating new event for the new offer submission flow [#266](https://github.com/artsy/cohesion/pull/266) (dayanetavares@Dayanes-MBP.fritz.box)
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Dayane Tavares ([@daytavares](https://github.com/daytavares))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
# v4.22.0 (Tue Nov 23 2021)
|
|
26
|
+
|
|
27
|
+
#### 🚀 Enhancement
|
|
28
|
+
|
|
29
|
+
- Web Alert events [#262](https://github.com/artsy/cohesion/pull/262) ([@louislecluse](https://github.com/louislecluse))
|
|
30
|
+
|
|
31
|
+
#### Authors: 1
|
|
32
|
+
|
|
33
|
+
- [@louislecluse](https://github.com/louislecluse)
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
# v4.21.0 (Thu Nov 18 2021)
|
|
38
|
+
|
|
39
|
+
#### 🚀 Enhancement
|
|
40
|
+
|
|
41
|
+
- feat: Added auction result comparable works [#265](https://github.com/artsy/cohesion/pull/265) ([@rajsam003](https://github.com/rajsam003))
|
|
42
|
+
|
|
43
|
+
#### 🏠 Internal
|
|
44
|
+
|
|
45
|
+
- chore(deps): update dep typescript from 4.4.4 to v4.5.2 [#264](https://github.com/artsy/cohesion/pull/264) ([@renovate-bot](https://github.com/renovate-bot))
|
|
46
|
+
|
|
47
|
+
#### Authors: 2
|
|
48
|
+
|
|
49
|
+
- Sam Raj ([@rajsam003](https://github.com/rajsam003))
|
|
50
|
+
- WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
1
54
|
# v4.20.0 (Wed Nov 17 2021)
|
|
2
55
|
|
|
3
56
|
#### 🚀 Enhancement
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from "./AddToCalendar";
|
|
2
2
|
export * from "./Share";
|
|
3
3
|
export * from "./Click/ClickedAppDownload";
|
|
4
|
-
export * from "./Click/ClickedArticleGroup";
|
|
5
4
|
export * from "./Click/ClickedArtistSeriesGroup";
|
|
6
5
|
export * from "./Click/ClickedCollectionGroup";
|
|
7
6
|
export * from "./Click/ClickedEntityGroup";
|
|
@@ -40,18 +40,6 @@ Object.keys(_ClickedAppDownload).forEach(function (key) {
|
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
var _ClickedArticleGroup = require("./Click/ClickedArticleGroup");
|
|
44
|
-
|
|
45
|
-
Object.keys(_ClickedArticleGroup).forEach(function (key) {
|
|
46
|
-
if (key === "default" || key === "__esModule") return;
|
|
47
|
-
Object.defineProperty(exports, key, {
|
|
48
|
-
enumerable: true,
|
|
49
|
-
get: function get() {
|
|
50
|
-
return _ClickedArticleGroup[key];
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
|
|
55
43
|
var _ClickedArtistSeriesGroup = require("./Click/ClickedArtistSeriesGroup");
|
|
56
44
|
|
|
57
45
|
Object.keys(_ClickedArtistSeriesGroup).forEach(function (key) {
|
|
@@ -491,6 +491,35 @@ export interface ClickedNavigationTab {
|
|
|
491
491
|
destination_path: string;
|
|
492
492
|
subject: string;
|
|
493
493
|
}
|
|
494
|
+
/**
|
|
495
|
+
* User clicks in one of the price options on the offer page
|
|
496
|
+
*
|
|
497
|
+
* This schema describes events sent to Segment from [[clickedOfferOption]]
|
|
498
|
+
*
|
|
499
|
+
* @example
|
|
500
|
+
* ```
|
|
501
|
+
* {
|
|
502
|
+
* action: "clickedOfferOption",
|
|
503
|
+
* flow: "Make Offer",
|
|
504
|
+
* context_page_owner_type: "orders-offer",
|
|
505
|
+
* context_page_owner_id: "dd0cbbb5-300b-4c49-92a1-fed55b077fa9",
|
|
506
|
+
* order_id: "407dd09f-4afd-4aad-a6cc-1d6704dc2b11",
|
|
507
|
+
* offer: "20% below the list price",
|
|
508
|
+
* amount: 2000,
|
|
509
|
+
* currency: "USD"
|
|
510
|
+
* }
|
|
511
|
+
* ```
|
|
512
|
+
*/
|
|
513
|
+
export interface ClickedOfferOption {
|
|
514
|
+
action: ActionType.clickedOfferOption;
|
|
515
|
+
flow: string;
|
|
516
|
+
context_page_owner_type: string;
|
|
517
|
+
context_page_owner_id: string;
|
|
518
|
+
order_id: string;
|
|
519
|
+
offer: string;
|
|
520
|
+
amount: number;
|
|
521
|
+
currency: string;
|
|
522
|
+
}
|
|
494
523
|
/**
|
|
495
524
|
* A Partner clicks on Artwork weight (without packaging) bar in the artwork edit page
|
|
496
525
|
* in CMS.
|
|
@@ -928,3 +957,24 @@ export interface ClickedPromoSpace {
|
|
|
928
957
|
destination_path: string;
|
|
929
958
|
subject: string;
|
|
930
959
|
}
|
|
960
|
+
/**
|
|
961
|
+
* A user clicks create alert button
|
|
962
|
+
*
|
|
963
|
+
* This schema describes events sent to Segment from [[clickedCreateAlert]]
|
|
964
|
+
*
|
|
965
|
+
* @example
|
|
966
|
+
* ```
|
|
967
|
+
* {
|
|
968
|
+
* action: "clickedCreateAlert",
|
|
969
|
+
* context_page_owner_type: "artist",
|
|
970
|
+
* context_page_owner_id: "5359794d1a1e86c3740001f7",
|
|
971
|
+
* context_page_owner_slug: "anthony-hunter",
|
|
972
|
+
* }
|
|
973
|
+
* ```
|
|
974
|
+
*/
|
|
975
|
+
export interface ClickedCreateAlert {
|
|
976
|
+
action: ActionType.clickedCreateAlert;
|
|
977
|
+
context_page_owner_type: PageOwnerType;
|
|
978
|
+
context_page_owner_id?: string;
|
|
979
|
+
context_page_owner_slug?: string;
|
|
980
|
+
}
|
|
@@ -34,7 +34,7 @@ export interface ToggledNotification {
|
|
|
34
34
|
subject: PushNotificationType;
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* A user toggles a saved search on/off on
|
|
37
|
+
* A user toggles a saved search on/off on an app or web
|
|
38
38
|
*
|
|
39
39
|
* This schema describes events sent to Segment from [[toggledNotification]]
|
|
40
40
|
*
|
|
@@ -56,7 +56,7 @@ export interface ToggledSavedSearch {
|
|
|
56
56
|
context_screen_owner_type: ScreenOwnerType;
|
|
57
57
|
context_screen_owner_id?: string;
|
|
58
58
|
context_screen_owner_slug?: string;
|
|
59
|
-
modified
|
|
60
|
-
original
|
|
59
|
+
modified?: boolean;
|
|
60
|
+
original?: boolean;
|
|
61
61
|
search_criteria_id: string;
|
|
62
62
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AddToCalendar } from "./AddToCalendar";
|
|
2
2
|
import { AuthImpression, CreatedAccount, OnboardingUserInputData, ResetYourPassword, SuccessfullyLoggedIn } from "./Authentication";
|
|
3
|
-
import { ClickedAddNewShippingAddress, ClickedAddWorksToFair, ClickedAppDownload, ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedBuyerProtection, ClickedChangePage, ClickedChangePaymentMethod, ClickedChangeShippingAddress, ClickedChangeShippingMethod, ClickedCollectionGroup, ClickedDeliveryMethod, ClickedEditArtwork, ClickedExpansionToggle, ClickedFairCard, ClickedFairGroup, ClickedGalleryGroup, ClickedLoadMore, ClickedMainArtworkGrid, ClickedNavigationTab, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnSubmitOrder, ClickedPartnerCard, ClickedPromoSpace, ClickedSelectShippingOption, ClickedShippingAddress, ClickedShowGroup, ClickedShowMore, ClickedSnooze, ClickedVerifyIdentity, ClickedViewingRoomCard } from "./Click";
|
|
3
|
+
import { ClickedAddNewShippingAddress, ClickedAddWorksToFair, ClickedAppDownload, ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedBuyerProtection, ClickedChangePage, ClickedChangePaymentMethod, ClickedChangeShippingAddress, ClickedChangeShippingMethod, ClickedCollectionGroup, ClickedCreateAlert, ClickedDeliveryMethod, ClickedEditArtwork, ClickedExpansionToggle, ClickedFairCard, ClickedFairGroup, ClickedGalleryGroup, ClickedLoadMore, ClickedMainArtworkGrid, ClickedNavigationTab, ClickedOfferOption, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnSubmitOrder, ClickedPartnerCard, ClickedPromoSpace, ClickedSelectShippingOption, ClickedShippingAddress, ClickedShowGroup, ClickedShowMore, ClickedSnooze, ClickedVerifyIdentity, ClickedViewingRoomCard } from "./Click";
|
|
4
4
|
import { ConsignmentSubmitted } from "./Consignments";
|
|
5
5
|
import { FocusedOnConversationMessageInput, SentConversationMessage, TappedInboxConversation, TappedMakeOffer, TappedViewOffer } from "./Conversations";
|
|
6
6
|
import { AuctionResultsFilterParamsChanged, CommercialFilterParamsChanged, PriceDatabaseFilterParamsChanged } from "./FilterAndSort";
|
|
@@ -18,7 +18,7 @@ import { ToggledNotification, ToggledSavedSearch } from "./Toggle";
|
|
|
18
18
|
*
|
|
19
19
|
* Each event describes one ActionType
|
|
20
20
|
*/
|
|
21
|
-
export declare type Event = AddToCalendar | AddCollectedArtwork | AuctionResultsFilterParamsChanged | AuthImpression | CreatedAccount | ClickedAddNewShippingAddress | ClickedAddWorksToFair | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedBuyerProtection | ClickedChangePage | ClickedChangePaymentMethod | ClickedChangeShippingAddress | ClickedChangeShippingMethod | ClickedCollectionGroup | ClickedDeliveryMethod | ClickedEditArtwork | ClickedExpansionToggle | ClickedFairCard | ClickedFairGroup | ClickedGalleryGroup | ClickedLoadMore | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedOnArtworkShippingWeight | ClickedOnArtworkShippingUnitsDropdown | ClickedOnFramedMeasurements | ClickedOnFramedMeasurementsDropdown | ClickedOnSubmitOrder | ClickedSnooze | ClickedPartnerCard | ClickedPromoSpace | ClickedSelectShippingOption | ClickedShippingAddress | ClickedShowGroup | ClickedShowMore | ClickedVerifyIdentity | ClickedViewingRoomCard | CommercialFilterParamsChanged | ConsignmentArtistFailed | ConsignmentSubmitted | DeleteCollectedArtwork | DeletedSavedSearch | EditCollectedArtwork | EditedSavedSearch | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | ResetYourPassword | SaleScreenLoadComplete | Screen | SearchedPriceDatabase | SearchedWithNoResults | SelectedItemFromSearch | SelectedItemFromPriceDatabaseSearch | SentConversationMessage | Share | SuccessfullyLoggedIn | TappedArticleGroup | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedAuctionResultGroup | TappedBid | TappedBuyNow | TappedCollectedArtwork | TappedCollectedArtworkImages | TappedCollectionGroup | TappedConsign | TappedContactGallery | TappedCreateAlert | TappedExploreGroup | TappedFairCard | TappedFairGroup | TappedInboxConversation | TappedInfoBubble | TappedLink | TappedNavigationTab | TappedMainArtworkGrid | TappedMakeOffer | TappedPartnerCard | TappedPromoSpace | TappedSell | TappedShowMore | TappedTabBar | TappedVerifyIdentity | TappedViewingRoomCard | TappedViewingRoomGroup | TappedViewOffer | TimeOnPage | ToggledNotification | ToggledSavedSearch;
|
|
21
|
+
export declare type Event = AddToCalendar | AddCollectedArtwork | AuctionResultsFilterParamsChanged | AuthImpression | CreatedAccount | ClickedAddNewShippingAddress | ClickedAddWorksToFair | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedBuyerProtection | ClickedChangePage | ClickedChangePaymentMethod | ClickedChangeShippingAddress | ClickedChangeShippingMethod | ClickedCollectionGroup | ClickedCreateAlert | ClickedDeliveryMethod | ClickedEditArtwork | ClickedExpansionToggle | ClickedFairCard | ClickedFairGroup | ClickedGalleryGroup | ClickedLoadMore | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedOfferOption | ClickedOnArtworkShippingWeight | ClickedOnArtworkShippingUnitsDropdown | ClickedOnFramedMeasurements | ClickedOnFramedMeasurementsDropdown | ClickedOnSubmitOrder | ClickedSnooze | ClickedPartnerCard | ClickedPromoSpace | ClickedSelectShippingOption | ClickedShippingAddress | ClickedShowGroup | ClickedShowMore | ClickedVerifyIdentity | ClickedViewingRoomCard | CommercialFilterParamsChanged | ConsignmentArtistFailed | ConsignmentSubmitted | DeleteCollectedArtwork | DeletedSavedSearch | EditCollectedArtwork | EditedSavedSearch | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | ResetYourPassword | SaleScreenLoadComplete | Screen | SearchedPriceDatabase | SearchedWithNoResults | SelectedItemFromSearch | SelectedItemFromPriceDatabaseSearch | SentConversationMessage | Share | SuccessfullyLoggedIn | TappedArticleGroup | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedAuctionResultGroup | TappedBid | TappedBuyNow | TappedCollectedArtwork | TappedCollectedArtworkImages | TappedCollectionGroup | TappedConsign | TappedContactGallery | TappedCreateAlert | TappedExploreGroup | TappedFairCard | TappedFairGroup | TappedInboxConversation | TappedInfoBubble | TappedLink | TappedNavigationTab | TappedMainArtworkGrid | TappedMakeOffer | TappedPartnerCard | TappedPromoSpace | TappedSell | TappedShowMore | TappedTabBar | TappedVerifyIdentity | TappedViewingRoomCard | TappedViewingRoomGroup | TappedViewOffer | TimeOnPage | ToggledNotification | ToggledSavedSearch;
|
|
22
22
|
/**
|
|
23
23
|
* The top-level actions an Event describes.
|
|
24
24
|
*
|
|
@@ -97,6 +97,10 @@ export declare enum ActionType {
|
|
|
97
97
|
* Corresponds to {@link ClickedCollectionGroup}
|
|
98
98
|
*/
|
|
99
99
|
clickedCollectionGroup = "clickedCollectionGroup",
|
|
100
|
+
/**
|
|
101
|
+
* Corresponds to {@link ClickedCreateAlert}
|
|
102
|
+
*/
|
|
103
|
+
clickedCreateAlert = "clickedCreateAlert",
|
|
100
104
|
/**
|
|
101
105
|
* Corresponds to {@link ClickedDeliveryMethod}
|
|
102
106
|
*/
|
|
@@ -137,6 +141,10 @@ export declare enum ActionType {
|
|
|
137
141
|
/**
|
|
138
142
|
* Corresponds to {@link ClickedOnArtworkShippingUnitsDropdown}
|
|
139
143
|
*/
|
|
144
|
+
clickedOfferOption = "clickedOfferOption",
|
|
145
|
+
/**
|
|
146
|
+
* Corresponds to {@link ClickedOfferOption}
|
|
147
|
+
*/
|
|
140
148
|
clickedOnArtworkShippingUnitsDropdown = "clickedOnArtworkShippingUnitsDropdown",
|
|
141
149
|
/**
|
|
142
150
|
* Corresponds to {@link ClickedOnArtworkShippingWeight}
|
|
@@ -38,6 +38,7 @@ exports.ActionType = ActionType;
|
|
|
38
38
|
ActionType["clickedChangeShippingMethod"] = "clickedChangeShippingMethod";
|
|
39
39
|
ActionType["clickedChangePaymentMethod"] = "clickedChangePaymentMethod";
|
|
40
40
|
ActionType["clickedCollectionGroup"] = "clickedCollectionGroup";
|
|
41
|
+
ActionType["clickedCreateAlert"] = "clickedCreateAlert";
|
|
41
42
|
ActionType["clickedDeliveryMethod"] = "clickedDeliveryMethod";
|
|
42
43
|
ActionType["clickedEditArtwork"] = "clickedEditArtwork";
|
|
43
44
|
ActionType["clickedExpansionToggle"] = "clickedExpansionToggle";
|
|
@@ -47,6 +48,7 @@ exports.ActionType = ActionType;
|
|
|
47
48
|
ActionType["clickedLoadMore"] = "clickedLoadMore";
|
|
48
49
|
ActionType["clickedMainArtworkGrid"] = "clickedMainArtworkGrid";
|
|
49
50
|
ActionType["clickedNavigationTab"] = "clickedNavigationTab";
|
|
51
|
+
ActionType["clickedOfferOption"] = "clickedOfferOption";
|
|
50
52
|
ActionType["clickedOnArtworkShippingUnitsDropdown"] = "clickedOnArtworkShippingUnitsDropdown";
|
|
51
53
|
ActionType["clickedOnArtworkShippingWeight"] = "clickedOnArtworkShippingWeight";
|
|
52
54
|
ActionType["clickedOnFramedMeasurements"] = "clickedOnFramedMeasurements";
|
|
@@ -34,6 +34,7 @@ export declare enum ContextModule {
|
|
|
34
34
|
auctionResults = "auctionResults",
|
|
35
35
|
auctionResultsForArtistsYouFollow = "auctionResultsForArtistsYouFollow",
|
|
36
36
|
auctionResultsRail = "auctionResultsRail",
|
|
37
|
+
auctionResultComparableWorks = "auctionResultComparableWorks",
|
|
37
38
|
auctionSidebar = "auctionSidebar",
|
|
38
39
|
auctionsInfo = "auctionsInfo",
|
|
39
40
|
auctionTab = "auctionTab",
|
|
@@ -157,4 +158,4 @@ export declare enum ContextModule {
|
|
|
157
158
|
/**
|
|
158
159
|
* Limited ContextModules available for web authentication events
|
|
159
160
|
*/
|
|
160
|
-
export declare type AuthContextModule = ContextModule.aboutTheWork | ContextModule.artistHeader | ContextModule.artistRecentlySold | ContextModule.artistSeriesRail | ContextModule.artistSeriesTab | ContextModule.artistsTab | ContextModule.artistsToFollowRail | ContextModule.artworkGrid | ContextModule.artworkImage | ContextModule.artworkSidebar | ContextModule.artworksTab | ContextModule.associatedViewingRoom | ContextModule.auctionHome | ContextModule.auctionLots | ContextModule.auctionRail | ContextModule.auctionResult | ContextModule.auctionResults | ContextModule.auctionSidebar | ContextModule.auctionsInfo | ContextModule.auctionTab | ContextModule.bannerPopUp | ContextModule.boothsTab | ContextModule.browseFair | ContextModule.categoryRail | ContextModule.collectionDescription | 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.minimalCTABanner | 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.recommendedArtistsRail | ContextModule.relatedArtistsRail | ContextModule.relatedWorksRail | ContextModule.saveWorksCTA | ContextModule.showHeader | ContextModule.showInfo | ContextModule.showTab | ContextModule.standoutLots | ContextModule.tagHeader | ContextModule.topWorksRail | ContextModule.topTab | ContextModule.trendingArtistsRail | ContextModule.trendingLots | ContextModule.viewingRoom | ContextModule.worksByArtistsYouFollowRail | ContextModule.worksByPopularArtistsRail | ContextModule.worksForSaleRail;
|
|
161
|
+
export declare type AuthContextModule = ContextModule.aboutTheWork | ContextModule.artistHeader | ContextModule.artistRecentlySold | ContextModule.artistSeriesRail | ContextModule.artistSeriesTab | ContextModule.artistsTab | ContextModule.artistsToFollowRail | ContextModule.artworkGrid | ContextModule.artworkImage | ContextModule.artworkSidebar | ContextModule.artworksTab | ContextModule.associatedViewingRoom | ContextModule.auctionHome | ContextModule.auctionLots | ContextModule.auctionRail | ContextModule.auctionResult | ContextModule.auctionResults | ContextModule.auctionResultComparableWorks | ContextModule.auctionSidebar | ContextModule.auctionsInfo | ContextModule.auctionTab | ContextModule.bannerPopUp | ContextModule.boothsTab | ContextModule.browseFair | ContextModule.categoryRail | ContextModule.collectionDescription | 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.minimalCTABanner | 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.recommendedArtistsRail | ContextModule.relatedArtistsRail | ContextModule.relatedWorksRail | ContextModule.saveWorksCTA | ContextModule.showHeader | ContextModule.showInfo | ContextModule.showTab | ContextModule.standoutLots | ContextModule.tagHeader | ContextModule.topWorksRail | ContextModule.topTab | ContextModule.trendingArtistsRail | ContextModule.trendingLots | ContextModule.viewingRoom | ContextModule.worksByArtistsYouFollowRail | ContextModule.worksByPopularArtistsRail | ContextModule.worksForSaleRail;
|
|
@@ -48,6 +48,7 @@ exports.ContextModule = ContextModule;
|
|
|
48
48
|
ContextModule["auctionResults"] = "auctionResults";
|
|
49
49
|
ContextModule["auctionResultsForArtistsYouFollow"] = "auctionResultsForArtistsYouFollow";
|
|
50
50
|
ContextModule["auctionResultsRail"] = "auctionResultsRail";
|
|
51
|
+
ContextModule["auctionResultComparableWorks"] = "auctionResultComparableWorks";
|
|
51
52
|
ContextModule["auctionSidebar"] = "auctionSidebar";
|
|
52
53
|
ContextModule["auctionsInfo"] = "auctionsInfo";
|
|
53
54
|
ContextModule["auctionTab"] = "auctionTab";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artsy/cohesion",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.24.0",
|
|
4
4
|
"description": "Analytics schema",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"lint-staged": "10.1.7",
|
|
48
48
|
"prettier": "2.0.5",
|
|
49
49
|
"typedoc": "0.17.7",
|
|
50
|
-
"typescript": "4.
|
|
50
|
+
"typescript": "4.5.2"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"core-js": "3"
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.clickedArticleGroup = void 0;
|
|
7
|
-
|
|
8
|
-
var _Schema = require("../../Schema");
|
|
9
|
-
|
|
10
|
-
var clickedArticleGroup = function clickedArticleGroup(props) {
|
|
11
|
-
return {
|
|
12
|
-
action: _Schema.ActionType.clickedArticleGroup,
|
|
13
|
-
context_module: _Schema.ContextModule.relatedArticles,
|
|
14
|
-
context_page_owner_type: props.context_page_owner_type,
|
|
15
|
-
destination_page_owner_id: props.destination_page_owner_id,
|
|
16
|
-
destination_page_owner_slug: props.destination_page_owner_slug,
|
|
17
|
-
destination_page_owner_type: props.destination_page_owner_type,
|
|
18
|
-
type: "thumbnail"
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
exports.clickedArticleGroup = clickedArticleGroup;
|