@artsy/cohesion 4.18.0 → 4.22.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/Schema/Events/Click.d.ts +21 -0
- package/dist/Schema/Events/PromptForReview.d.ts +30 -0
- package/dist/Schema/Events/PromptForReview.js +1 -0
- package/dist/Schema/Events/Toggle.d.ts +3 -3
- package/dist/Schema/Events/index.d.ts +11 -2
- package/dist/Schema/Events/index.js +2 -0
- package/dist/Schema/Values/ContextModule.d.ts +3 -1
- package/dist/Schema/Values/ContextModule.js +2 -0
- package/dist/Schema/Values/OwnerType.d.ts +2 -1
- package/dist/Schema/Values/OwnerType.js +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,56 @@
|
|
|
1
|
+
# v4.22.0 (Tue Nov 23 2021)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Web Alert events [#262](https://github.com/artsy/cohesion/pull/262) ([@louislecluse](https://github.com/louislecluse))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- [@louislecluse](https://github.com/louislecluse)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.21.0 (Thu Nov 18 2021)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- feat: Added auction result comparable works [#265](https://github.com/artsy/cohesion/pull/265) ([@rajsam003](https://github.com/rajsam003))
|
|
18
|
+
|
|
19
|
+
#### 🏠 Internal
|
|
20
|
+
|
|
21
|
+
- 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))
|
|
22
|
+
|
|
23
|
+
#### Authors: 2
|
|
24
|
+
|
|
25
|
+
- Sam Raj ([@rajsam003](https://github.com/rajsam003))
|
|
26
|
+
- WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# v4.20.0 (Wed Nov 17 2021)
|
|
31
|
+
|
|
32
|
+
#### 🚀 Enhancement
|
|
33
|
+
|
|
34
|
+
- Added order submitted [#263](https://github.com/artsy/cohesion/pull/263) ([@rajsam003](https://github.com/rajsam003))
|
|
35
|
+
|
|
36
|
+
#### Authors: 1
|
|
37
|
+
|
|
38
|
+
- Sam Raj ([@rajsam003](https://github.com/rajsam003))
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
# v4.19.0 (Wed Nov 03 2021)
|
|
43
|
+
|
|
44
|
+
#### 🚀 Enhancement
|
|
45
|
+
|
|
46
|
+
- feat(CX-2146): add promptForReview event [#260](https://github.com/artsy/cohesion/pull/260) ([@MounirDhahri](https://github.com/MounirDhahri))
|
|
47
|
+
|
|
48
|
+
#### Authors: 1
|
|
49
|
+
|
|
50
|
+
- Mounir Dhahri ([@MounirDhahri](https://github.com/MounirDhahri))
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
1
54
|
# v4.18.0 (Thu Oct 21 2021)
|
|
2
55
|
|
|
3
56
|
#### 🚀 Enhancement
|
|
@@ -928,3 +928,24 @@ export interface ClickedPromoSpace {
|
|
|
928
928
|
destination_path: string;
|
|
929
929
|
subject: string;
|
|
930
930
|
}
|
|
931
|
+
/**
|
|
932
|
+
* A user clicks create alert button
|
|
933
|
+
*
|
|
934
|
+
* This schema describes events sent to Segment from [[clickedCreateAlert]]
|
|
935
|
+
*
|
|
936
|
+
* @example
|
|
937
|
+
* ```
|
|
938
|
+
* {
|
|
939
|
+
* action: "clickedCreateAlert",
|
|
940
|
+
* context_page_owner_type: "artist",
|
|
941
|
+
* context_page_owner_id: "5359794d1a1e86c3740001f7",
|
|
942
|
+
* context_page_owner_slug: "anthony-hunter",
|
|
943
|
+
* }
|
|
944
|
+
* ```
|
|
945
|
+
*/
|
|
946
|
+
export interface ClickedCreateAlert {
|
|
947
|
+
action: ActionType.clickedCreateAlert;
|
|
948
|
+
context_page_owner_type: PageOwnerType;
|
|
949
|
+
context_page_owner_id?: string;
|
|
950
|
+
context_page_owner_slug?: string;
|
|
951
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ContextModule } from "../Values/ContextModule";
|
|
2
|
+
import { OwnerType } from "../Values/OwnerType";
|
|
3
|
+
import { ActionType } from ".";
|
|
4
|
+
/**
|
|
5
|
+
* Schema describing 'Prompt for review' events (iOS and Android only)
|
|
6
|
+
* @packageDocumentation
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* A user gets prompted for 'Review our app'
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```
|
|
13
|
+
* {
|
|
14
|
+
* action: "promptForReview",
|
|
15
|
+
* context_module: "artistHeader",
|
|
16
|
+
* context_owner_type: "artist",
|
|
17
|
+
* context_owner_id: "5f99e0ba4c24bc000d02b8d7",
|
|
18
|
+
* context_owner_slug: "andy-warhol",
|
|
19
|
+
* platform: "ios"
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export interface PromptForReview {
|
|
24
|
+
action: ActionType.promptForReview;
|
|
25
|
+
context_module: ContextModule;
|
|
26
|
+
context_owner_type: OwnerType;
|
|
27
|
+
context_owner_id?: string;
|
|
28
|
+
context_owner_slug?: string;
|
|
29
|
+
platform: "ios" | "android";
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -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,10 +1,11 @@
|
|
|
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, 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";
|
|
7
7
|
import { AddCollectedArtwork, DeleteCollectedArtwork, EditCollectedArtwork, TappedCollectedArtwork, TappedCollectedArtworkImages } from "./MyCollection";
|
|
8
|
+
import { PromptForReview } from "./PromptForReview";
|
|
8
9
|
import { DeletedSavedSearch, EditedSavedSearch } from "./SavedSearch";
|
|
9
10
|
import { FollowEvents } from "./SavesAndFollows";
|
|
10
11
|
import { ConsignmentArtistFailed, FocusedOnPriceDatabaseSearchInput, FocusedOnSearchInput, SearchedPriceDatabase, SearchedWithNoResults, SelectedItemFromPriceDatabaseSearch, SelectedItemFromSearch } from "./Search";
|
|
@@ -17,7 +18,7 @@ import { ToggledNotification, ToggledSavedSearch } from "./Toggle";
|
|
|
17
18
|
*
|
|
18
19
|
* Each event describes one ActionType
|
|
19
20
|
*/
|
|
20
|
-
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 | 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 | 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
22
|
/**
|
|
22
23
|
* The top-level actions an Event describes.
|
|
23
24
|
*
|
|
@@ -96,6 +97,10 @@ export declare enum ActionType {
|
|
|
96
97
|
* Corresponds to {@link ClickedCollectionGroup}
|
|
97
98
|
*/
|
|
98
99
|
clickedCollectionGroup = "clickedCollectionGroup",
|
|
100
|
+
/**
|
|
101
|
+
* Corresponds to {@link ClickedCreateAlert}
|
|
102
|
+
*/
|
|
103
|
+
clickedCreateAlert = "clickedCreateAlert",
|
|
99
104
|
/**
|
|
100
105
|
* Corresponds to {@link ClickedDeliveryMethod}
|
|
101
106
|
*/
|
|
@@ -261,6 +266,10 @@ export declare enum ActionType {
|
|
|
261
266
|
* Corresponds to {@link PriceDatabaseFilterParamsChanged}
|
|
262
267
|
*/
|
|
263
268
|
priceDatabaseFilterParamsChanged = "priceDatabaseFilterParamsChanged",
|
|
269
|
+
/**
|
|
270
|
+
* Corresponds to {@link PromptForReview}
|
|
271
|
+
*/
|
|
272
|
+
promptForReview = "promptForReview",
|
|
264
273
|
/**
|
|
265
274
|
* Corresponds to {@link ResetYourPassword}
|
|
266
275
|
*/
|
|
@@ -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";
|
|
@@ -79,6 +80,7 @@ exports.ActionType = ActionType;
|
|
|
79
80
|
ActionType["followedPartner"] = "followedPartner";
|
|
80
81
|
ActionType["onboardingUserInputData"] = "onboardingUserInputData";
|
|
81
82
|
ActionType["priceDatabaseFilterParamsChanged"] = "priceDatabaseFilterParamsChanged";
|
|
83
|
+
ActionType["promptForReview"] = "promptForReview";
|
|
82
84
|
ActionType["resetYourPassword"] = "resetYourPassword";
|
|
83
85
|
ActionType["saleScreenLoadComplete"] = "saleScreenLoadComplete";
|
|
84
86
|
ActionType["screen"] = "screen";
|
|
@@ -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",
|
|
@@ -103,6 +104,7 @@ export declare enum ContextModule {
|
|
|
103
104
|
ordersRespond = "ordersRespond",
|
|
104
105
|
ordersReview = "ordersReview",
|
|
105
106
|
ordersShipping = "ordersShipping",
|
|
107
|
+
ordersSubmitted = "ordersSubmitted",
|
|
106
108
|
otherCollectionsRail = "otherCollectionsRail",
|
|
107
109
|
otherWorksByArtistRail = "otherWorksByArtistRail",
|
|
108
110
|
otherWorksFromPartnerRail = "otherWorksFromPartnerRail",
|
|
@@ -156,4 +158,4 @@ export declare enum ContextModule {
|
|
|
156
158
|
/**
|
|
157
159
|
* Limited ContextModules available for web authentication events
|
|
158
160
|
*/
|
|
159
|
-
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";
|
|
@@ -117,6 +118,7 @@ exports.ContextModule = ContextModule;
|
|
|
117
118
|
ContextModule["ordersRespond"] = "ordersRespond";
|
|
118
119
|
ContextModule["ordersReview"] = "ordersReview";
|
|
119
120
|
ContextModule["ordersShipping"] = "ordersShipping";
|
|
121
|
+
ContextModule["ordersSubmitted"] = "ordersSubmitted";
|
|
120
122
|
ContextModule["otherCollectionsRail"] = "otherCollectionsRail";
|
|
121
123
|
ContextModule["otherWorksByArtistRail"] = "otherWorksByArtistRail";
|
|
122
124
|
ContextModule["otherWorksFromPartnerRail"] = "otherWorksFromPartnerRail";
|
|
@@ -49,6 +49,7 @@ export declare enum OwnerType {
|
|
|
49
49
|
ordersRespond = "orders-respond",
|
|
50
50
|
ordersReview = "orders-review",
|
|
51
51
|
ordersShipping = "orders-shipping",
|
|
52
|
+
ordersSubmitted = "orders-submitted",
|
|
52
53
|
partner = "partner",
|
|
53
54
|
partnerShowsArtworks = "partnerShowsArtworks",
|
|
54
55
|
priceDatabase = "priceDatabase",
|
|
@@ -77,4 +78,4 @@ export declare type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.arti
|
|
|
77
78
|
/**
|
|
78
79
|
* Owner types available in web/mobile web
|
|
79
80
|
*/
|
|
80
|
-
export declare type PageOwnerType = OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artists | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctions | OwnerType.collect | OwnerType.collection | OwnerType.collections | OwnerType.consign | OwnerType.fair | OwnerType.fairs | OwnerType.galleries | OwnerType.gene | OwnerType.home | OwnerType.onboarding | OwnerType.ordersAccept | OwnerType.ordersCounter | OwnerType.ordersNewPayment | OwnerType.ordersOffer | OwnerType.ordersPayment | OwnerType.ordersRespond | OwnerType.ordersReview | OwnerType.ordersShipping | OwnerType.partner | OwnerType.partnerShowsArtworks | OwnerType.priceDatabase | OwnerType.profile | OwnerType.sale | OwnerType.search | OwnerType.show | OwnerType.shows | OwnerType.user | OwnerType.viewingRoom | OwnerType.viewingRooms | OwnerType.worksForYou;
|
|
81
|
+
export declare type PageOwnerType = OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artists | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctions | OwnerType.collect | OwnerType.collection | OwnerType.collections | OwnerType.consign | OwnerType.fair | OwnerType.fairs | OwnerType.galleries | OwnerType.gene | OwnerType.home | 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.search | OwnerType.show | OwnerType.shows | OwnerType.user | OwnerType.viewingRoom | OwnerType.viewingRooms | OwnerType.worksForYou;
|
|
@@ -67,6 +67,7 @@ exports.OwnerType = OwnerType;
|
|
|
67
67
|
OwnerType["ordersRespond"] = "orders-respond";
|
|
68
68
|
OwnerType["ordersReview"] = "orders-review";
|
|
69
69
|
OwnerType["ordersShipping"] = "orders-shipping";
|
|
70
|
+
OwnerType["ordersSubmitted"] = "orders-submitted";
|
|
70
71
|
OwnerType["partner"] = "partner";
|
|
71
72
|
OwnerType["partnerShowsArtworks"] = "partnerShowsArtworks";
|
|
72
73
|
OwnerType["priceDatabase"] = "priceDatabase";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artsy/cohesion",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.22.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"
|