@artsy/cohesion 4.61.0 → 4.62.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 +17 -0
- package/dist/Schema/Events/ReverseImageSearch.d.ts +158 -0
- package/dist/Schema/Events/ReverseImageSearch.js +1 -0
- package/dist/Schema/Events/index.d.ts +27 -2
- package/dist/Schema/Events/index.js +6 -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,20 @@
|
|
|
1
|
+
# v4.62.0 (Thu Sep 08 2022)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat(FX-4209): add events for reverse image search [#348](https://github.com/artsy/cohesion/pull/348) ([@dimatretyak](https://github.com/dimatretyak))
|
|
6
|
+
|
|
7
|
+
#### 🏠 Internal
|
|
8
|
+
|
|
9
|
+
- chore(deps): update dep typescript from 4.7.4 to v4.8.2 [#347](https://github.com/artsy/cohesion/pull/347) ([@renovate[bot]](https://github.com/renovate[bot]))
|
|
10
|
+
|
|
11
|
+
#### Authors: 2
|
|
12
|
+
|
|
13
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
|
14
|
+
- Dima Tretyak (Dzmitry Tratsiak) ([@dimatretyak](https://github.com/dimatretyak))
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
1
18
|
# v4.61.0 (Tue Aug 09 2022)
|
|
2
19
|
|
|
3
20
|
#### 🚀 Enhancement
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { ScreenOwnerType } from "../Values/OwnerType";
|
|
2
|
+
import { ActionType } from ".";
|
|
3
|
+
/**
|
|
4
|
+
* Schema describing 'Reverse Image Search' events
|
|
5
|
+
* @packageDocumentation
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* A user taps the reverse image search button on a fair or show screen
|
|
9
|
+
*
|
|
10
|
+
* This schema describes events sent to Segment from [[tappedReverseImageSearch]]
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```
|
|
14
|
+
* {
|
|
15
|
+
* action: "tappedReverseImageSearch",
|
|
16
|
+
* context_screen_owner_type: "reverseImageSearch",
|
|
17
|
+
* owner_type: "fair",
|
|
18
|
+
* owner_id: "6303add6f2f46c000d17c449",
|
|
19
|
+
* owner_slug: "spring-slash-break-art-show-2022"
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export interface TappedReverseImageSearch {
|
|
24
|
+
action: ActionType.tappedReverseImageSearch;
|
|
25
|
+
context_screen_owner_type: ScreenOwnerType;
|
|
26
|
+
owner_type: ScreenOwnerType;
|
|
27
|
+
owner_id: string;
|
|
28
|
+
owner_slug: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A user taps the flash button on the reverse image search camera screen
|
|
32
|
+
*
|
|
33
|
+
* This schema describes events sent to Segment from [[tappedToggleCameraFlash]]
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```
|
|
37
|
+
* {
|
|
38
|
+
* action: "tappedToggleCameraFlash",
|
|
39
|
+
* context_screen_owner_type: "reverseImageSearch"
|
|
40
|
+
* owner_type: "fair",
|
|
41
|
+
* owner_id: "6303add6f2f46c000d17c449",
|
|
42
|
+
* owner_slug: "spring-slash-break-art-show-2022",
|
|
43
|
+
* }
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export interface TappedToggleCameraFlash {
|
|
47
|
+
action: ActionType.tappedToggleCameraFlash;
|
|
48
|
+
context_screen_owner_type: ScreenOwnerType;
|
|
49
|
+
owner_type: ScreenOwnerType;
|
|
50
|
+
owner_id: string;
|
|
51
|
+
owner_slug: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* A user taps the library button on the reverse image search camera screen
|
|
55
|
+
*
|
|
56
|
+
* This schema describes events sent to Segment from [[tappedPickImageFromLibrary]]
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```
|
|
60
|
+
* {
|
|
61
|
+
* action: "tappedPickImageFromLibrary",
|
|
62
|
+
* context_screen_owner_type: "reverseImageSearch"
|
|
63
|
+
* owner_type: "fair",
|
|
64
|
+
* owner_id: "6303add6f2f46c000d17c449",
|
|
65
|
+
* owner_slug: "spring-slash-break-art-show-2022",
|
|
66
|
+
* }
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export interface TappedPickImageFromLibrary {
|
|
70
|
+
action: ActionType.tappedPickImageFromLibrary;
|
|
71
|
+
context_screen_owner_type: ScreenOwnerType;
|
|
72
|
+
owner_type: ScreenOwnerType;
|
|
73
|
+
owner_id: string;
|
|
74
|
+
owner_slug: string;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* A user searches with a reverse image query with results
|
|
78
|
+
*
|
|
79
|
+
* This schema describes events sent to Segment from [[searchedReverseImageWithResults]]
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* ```
|
|
83
|
+
* {
|
|
84
|
+
* action: "searchedReverseImageWithResults",
|
|
85
|
+
* context_screen_owner_type: "reverseImageSearch",
|
|
86
|
+
* owner_type: "fair",
|
|
87
|
+
* owner_id: "6303add6f2f46c000d17c449",
|
|
88
|
+
* owner_slug: "spring-slash-break-art-show-2022",
|
|
89
|
+
* total_matches_count: 3
|
|
90
|
+
* artwork_ids: "5f7190cc9e4a6f000d02085c,60b755f8052e35000f05820d,611ab14f3bb0e9000fc1a057"
|
|
91
|
+
* }
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
export interface SearchedReverseImageWithResults {
|
|
95
|
+
action: ActionType.searchedReverseImageWithResults;
|
|
96
|
+
context_screen_owner_type?: ScreenOwnerType;
|
|
97
|
+
owner_type: ScreenOwnerType;
|
|
98
|
+
owner_id: string;
|
|
99
|
+
owner_slug: string;
|
|
100
|
+
total_matches_count: number;
|
|
101
|
+
artwork_ids: string;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* A user searches with a reverse image query with no results
|
|
105
|
+
*
|
|
106
|
+
* This schema describes events sent to Segment from [[searchedReverseImageWithNoResults]]
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* ```
|
|
110
|
+
* {
|
|
111
|
+
* action: "searchedReverseImageWithNoResults",
|
|
112
|
+
* context_screen_owner_type: "reverseImageSearch",
|
|
113
|
+
* owner_type: "fair",
|
|
114
|
+
* owner_id: "6303add6f2f46c000d17c449",
|
|
115
|
+
* owner_slug: "spring-slash-break-art-show-2022"
|
|
116
|
+
* }
|
|
117
|
+
* ```
|
|
118
|
+
*/
|
|
119
|
+
export interface SearchedReverseImageWithNoResults {
|
|
120
|
+
action: ActionType.searchedReverseImageWithNoResults;
|
|
121
|
+
context_screen_owner_type: ScreenOwnerType;
|
|
122
|
+
owner_type: ScreenOwnerType;
|
|
123
|
+
owner_id: string;
|
|
124
|
+
owner_slug: string;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* A user selects an artwork from reverse image search results
|
|
128
|
+
*
|
|
129
|
+
* This schema describes events sent to Segment from [[selectedArtworkFromReverseImageSearch]]
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* ```
|
|
133
|
+
* {
|
|
134
|
+
* action: "selectedArtworkFromReverseImageSearch",
|
|
135
|
+
* context_screen_owner_type: "reverseImageSearch",
|
|
136
|
+
* destination_owner_type: "artwork",
|
|
137
|
+
* destination_owner_id: "5f7190cc9e4a6f000d02085c",
|
|
138
|
+
* destination_owner_slug: "kaarina-kaikkonen-i-no-longer-hear-you-singing",
|
|
139
|
+
* owner_type: "fair",
|
|
140
|
+
* owner_id: "6303add6f2f46c000d17c449",
|
|
141
|
+
* owner_slug: "spring-slash-break-art-show-2022"
|
|
142
|
+
* total_matches_count: 3,
|
|
143
|
+
* position: 1
|
|
144
|
+
* }
|
|
145
|
+
* ```
|
|
146
|
+
*/
|
|
147
|
+
export interface SelectedArtworkFromReverseImageSearch {
|
|
148
|
+
action: ActionType.selectedArtworkFromReverseImageSearch;
|
|
149
|
+
context_screen_owner_type: ScreenOwnerType;
|
|
150
|
+
destination_owner_type: ScreenOwnerType;
|
|
151
|
+
destination_owner_id?: string;
|
|
152
|
+
destination_owner_slug: string;
|
|
153
|
+
owner_type: ScreenOwnerType;
|
|
154
|
+
owner_id: string;
|
|
155
|
+
owner_slug: string;
|
|
156
|
+
total_matches_count: number;
|
|
157
|
+
position: number;
|
|
158
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AddToCalendar } from "./AddToCalendar";
|
|
2
2
|
import { AuctionPageView, BidPageView, ClickedActiveBid, ClickedRegisterToBid, ConfirmBid, ConfirmRegistrationPageview, EnterLiveAuction, MaxBidSelected, RegistrationPageView, RegistrationSubmitted } from "./Auction";
|
|
3
3
|
import { AuthImpression, CompletedOnboarding, CreatedAccount, OnboardingUserInputData, ResetYourPassword, StartedOnboarding, SuccessfullyLoggedIn } from "./Authentication";
|
|
4
|
-
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, ClickedOfferActions, ClickedOfferOption, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnSubmitOrder, ClickedOrderPage, ClickedPartnerCard, ClickedPartnerLink, ClickedPaymentDetails, ClickedPaymentMethod,
|
|
4
|
+
import { CheckedAccountBalance, ClickedAddNewShippingAddress, ClickedAddWorksToFair, ClickedAppDownload, ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedBuyerProtection, ClickedChangePage, ClickedChangePaymentMethod, ClickedChangeShippingAddress, ClickedChangeShippingMethod, ClickedCollectionGroup, ClickedCreateAlert, ClickedDeliveryMethod, ClickedEditArtwork, ClickedExpansionToggle, ClickedFairCard, ClickedFairGroup, ClickedGalleryGroup, ClickedLoadMore, ClickedMainArtworkGrid, ClickedNavigationTab, ClickedOfferActions, ClickedOfferOption, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnSubmitOrder, ClickedOrderPage, ClickedPartnerCard, ClickedPartnerLink, ClickedPaymentDetails, ClickedPaymentMethod, ClickedPromoSpace, ClickedSelectShippingOption, ClickedShippingAddress, ClickedShowGroup, ClickedShowMore, ClickedSnooze, ClickedVerifyIdentity, ClickedViewingRoomCard } from "./Click";
|
|
5
5
|
import { ArtworkDetailsCompleted, ConsignmentSubmitted, SubmitAnotherArtwork, UploadPhotosCompleted, ViewArtworkMyCollection } from "./Consignments";
|
|
6
6
|
import { FocusedOnConversationMessageInput, SentConversationMessage, TappedInboxConversation, TappedMakeOffer, TappedViewOffer } from "./Conversations";
|
|
7
7
|
import { ExperimentViewed } from "./ExperimentViewed";
|
|
@@ -9,6 +9,7 @@ import { AuctionResultsFilterParamsChanged, CommercialFilterParamsChanged, Price
|
|
|
9
9
|
import { Impression } from "./Impression";
|
|
10
10
|
import { AddCollectedArtwork, DeleteCollectedArtwork, EditCollectedArtwork, SentRequestPriceEstimate, TappedCollectedArtwork, TappedCollectedArtworkImages, TappedRequestPriceEstimate } from "./MyCollection";
|
|
11
11
|
import { PromptForReview } from "./PromptForReview";
|
|
12
|
+
import { SearchedReverseImageWithNoResults, SearchedReverseImageWithResults, SelectedArtworkFromReverseImageSearch, TappedPickImageFromLibrary, TappedReverseImageSearch, TappedToggleCameraFlash } from "./ReverseImageSearch";
|
|
12
13
|
import { DeletedSavedSearch, EditedSavedSearch } from "./SavedSearch";
|
|
13
14
|
import { FollowEvents } from "./SavesAndFollows";
|
|
14
15
|
import { ConsignmentArtistFailed, FocusedOnPriceDatabaseSearchInput, FocusedOnSearchInput, SearchedPriceDatabase, SearchedWithNoResults, SelectedItemFromPriceDatabaseSearch, SelectedItemFromSearch } from "./Search";
|
|
@@ -22,7 +23,7 @@ import { ToggledAccordion } from "./UserExperienceInteractions";
|
|
|
22
23
|
*
|
|
23
24
|
* Each event describes one ActionType
|
|
24
25
|
*/
|
|
25
|
-
export declare type Event = AddToCalendar | AddCollectedArtwork | ArtworkDetailsCompleted | AuctionPageView | AuctionResultsFilterParamsChanged | AuthImpression | BidPageView | CreatedAccount | ClickedActiveBid | 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 | ClickedPartnerLink | ClickedPaymentMethod | ClickedPaymentDetails | CheckedAccountBalance | ClickedPromoSpace | ClickedRegisterToBid | ClickedSelectShippingOption | ClickedShippingAddress | ClickedShowGroup | ClickedShowMore | ClickedVerifyIdentity | ClickedViewingRoomCard | ClickedOfferActions | ClickedOrderPage | CommercialFilterParamsChanged | CompletedOnboarding | ConfirmBid | ConfirmRegistrationPageview | ConsignmentArtistFailed | ConsignmentSubmitted | DeleteCollectedArtwork | DeletedSavedSearch | EditCollectedArtwork | EditedSavedSearch | EnterLiveAuction | ExperimentViewed | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | Impression | MaxBidSelected | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | RegistrationPageView | RegistrationSubmitted | ResetYourPassword | SaleScreenLoadComplete | Screen | SearchedPriceDatabase | SearchedWithNoResults | SelectedItemFromSearch | SelectedItemFromPriceDatabaseSearch | SentConversationMessage | SentRequestPriceEstimate | Share | StartedOnboarding | SubmitAnotherArtwork | 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 | TappedRequestPriceEstimate | TappedSell | TappedSellArtwork | TappedShowMore | TappedLearnMore | TappedSkip | TappedTabBar | TappedVerifyIdentity | TappedViewingRoomCard | TappedViewingRoomGroup | TappedViewOffer | TimeOnPage | ToggledAccordion | ToggledNotification | ToggledSavedSearch | UploadPhotosCompleted | ViewArtworkMyCollection;
|
|
26
|
+
export declare type Event = AddToCalendar | AddCollectedArtwork | ArtworkDetailsCompleted | AuctionPageView | AuctionResultsFilterParamsChanged | AuthImpression | BidPageView | CreatedAccount | ClickedActiveBid | 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 | ClickedPartnerLink | ClickedPaymentMethod | ClickedPaymentDetails | CheckedAccountBalance | ClickedPromoSpace | ClickedRegisterToBid | ClickedSelectShippingOption | ClickedShippingAddress | ClickedShowGroup | ClickedShowMore | ClickedVerifyIdentity | ClickedViewingRoomCard | ClickedOfferActions | ClickedOrderPage | CommercialFilterParamsChanged | CompletedOnboarding | ConfirmBid | ConfirmRegistrationPageview | ConsignmentArtistFailed | ConsignmentSubmitted | DeleteCollectedArtwork | DeletedSavedSearch | EditCollectedArtwork | EditedSavedSearch | EnterLiveAuction | ExperimentViewed | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | Impression | MaxBidSelected | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | RegistrationPageView | RegistrationSubmitted | ResetYourPassword | SaleScreenLoadComplete | Screen | SearchedPriceDatabase | SearchedReverseImageWithNoResults | SearchedReverseImageWithResults | SearchedWithNoResults | SelectedArtworkFromReverseImageSearch | SelectedItemFromSearch | SelectedItemFromPriceDatabaseSearch | SentConversationMessage | SentRequestPriceEstimate | Share | StartedOnboarding | SubmitAnotherArtwork | 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 | TappedPickImageFromLibrary | TappedPromoSpace | TappedRequestPriceEstimate | TappedReverseImageSearch | TappedSell | TappedSellArtwork | TappedShowMore | TappedLearnMore | TappedSkip | TappedTabBar | TappedToggleCameraFlash | TappedVerifyIdentity | TappedViewingRoomCard | TappedViewingRoomGroup | TappedViewOffer | TimeOnPage | ToggledAccordion | ToggledNotification | ToggledSavedSearch | UploadPhotosCompleted | ViewArtworkMyCollection;
|
|
26
27
|
/**
|
|
27
28
|
* The top-level actions an Event describes.
|
|
28
29
|
*
|
|
@@ -394,10 +395,22 @@ export declare enum ActionType {
|
|
|
394
395
|
* Corresponds to {@link SearchedPriceDatabase}
|
|
395
396
|
*/
|
|
396
397
|
searchedPriceDatabase = "searchedPriceDatabase",
|
|
398
|
+
/**
|
|
399
|
+
* Corresponds to {@link SearchedReverseImageWithNoResults}
|
|
400
|
+
*/
|
|
401
|
+
searchedReverseImageWithNoResults = "searchedReverseImageWithNoResults",
|
|
402
|
+
/**
|
|
403
|
+
* Corresponds to {@link SearchedReverseImageWithResults}
|
|
404
|
+
*/
|
|
405
|
+
searchedReverseImageWithResults = "searchedReverseImageWithResults",
|
|
397
406
|
/**
|
|
398
407
|
* Corresponds to {@link SearchedWithNoResults}
|
|
399
408
|
*/
|
|
400
409
|
searchedWithNoResults = "searchedWithNoResults",
|
|
410
|
+
/**
|
|
411
|
+
* Corresponds to {@link SelectedArtworkFromReverseImageSearch}
|
|
412
|
+
*/
|
|
413
|
+
selectedArtworkFromReverseImageSearch = "selectedArtworkFromReverseImageSearch",
|
|
401
414
|
/**
|
|
402
415
|
* Corresponds to {@link SelectedItemFromSearch}
|
|
403
416
|
*/
|
|
@@ -542,6 +555,10 @@ export declare enum ActionType {
|
|
|
542
555
|
* Corresponds to {@link TappedPartnerCard}
|
|
543
556
|
*/
|
|
544
557
|
tappedPartnerCard = "tappedPartnerCard",
|
|
558
|
+
/**
|
|
559
|
+
* Corresponds to {@link TappedPickImageFromLibrary}
|
|
560
|
+
*/
|
|
561
|
+
tappedPickImageFromLibrary = "tappedPickImageFromLibrary",
|
|
545
562
|
/**
|
|
546
563
|
* Corresponds to {@link TappedPromoSpace}
|
|
547
564
|
*/
|
|
@@ -554,6 +571,10 @@ export declare enum ActionType {
|
|
|
554
571
|
* Corresponds to {@link TappedRequestPriceEstimate}
|
|
555
572
|
*/
|
|
556
573
|
tappedRequestPriceEstimate = "tappedRequestPriceEstimate",
|
|
574
|
+
/**
|
|
575
|
+
* Corresponds to {@link TappedReverseImageSearch}
|
|
576
|
+
*/
|
|
577
|
+
tappedReverseImageSearch = "tappedReverseImageSearch",
|
|
557
578
|
/**
|
|
558
579
|
* Corresponds to {@link TappedSell}
|
|
559
580
|
*/
|
|
@@ -578,6 +599,10 @@ export declare enum ActionType {
|
|
|
578
599
|
* Corresponds to {@link TappedTabBar}
|
|
579
600
|
*/
|
|
580
601
|
tappedTabBar = "tappedTabBar",
|
|
602
|
+
/**
|
|
603
|
+
* Corresponds to {@link TappedToggleCameraFlash}
|
|
604
|
+
*/
|
|
605
|
+
tappedToggleCameraFlash = "tappedToggleCameraFlash",
|
|
581
606
|
/**
|
|
582
607
|
* Corresponds to {@link TappedVerifyIdentity}
|
|
583
608
|
*/
|
|
@@ -111,7 +111,10 @@ exports.ActionType = ActionType;
|
|
|
111
111
|
ActionType["saleScreenLoadComplete"] = "saleScreenLoadComplete";
|
|
112
112
|
ActionType["screen"] = "screen";
|
|
113
113
|
ActionType["searchedPriceDatabase"] = "searchedPriceDatabase";
|
|
114
|
+
ActionType["searchedReverseImageWithNoResults"] = "searchedReverseImageWithNoResults";
|
|
115
|
+
ActionType["searchedReverseImageWithResults"] = "searchedReverseImageWithResults";
|
|
114
116
|
ActionType["searchedWithNoResults"] = "searchedWithNoResults";
|
|
117
|
+
ActionType["selectedArtworkFromReverseImageSearch"] = "selectedArtworkFromReverseImageSearch";
|
|
115
118
|
ActionType["selectedItemFromSearch"] = "selectedItemFromSearch";
|
|
116
119
|
ActionType["selectedItemFromPriceDatabaseSearch"] = "selectedItemFromPriceDatabaseSearch";
|
|
117
120
|
ActionType["sentArtworkInquiry"] = "sentArtworkInquiry";
|
|
@@ -148,15 +151,18 @@ exports.ActionType = ActionType;
|
|
|
148
151
|
ActionType["tappedMakeOffer"] = "tappedMakeOffer";
|
|
149
152
|
ActionType["tappedNavigationTab"] = "tappedNavigationTab";
|
|
150
153
|
ActionType["tappedPartnerCard"] = "tappedPartnerCard";
|
|
154
|
+
ActionType["tappedPickImageFromLibrary"] = "tappedPickImageFromLibrary";
|
|
151
155
|
ActionType["tappedPromoSpace"] = "tappedPromoSpace";
|
|
152
156
|
ActionType["tappedRegisterToBid"] = "tappedRegisterToBid";
|
|
153
157
|
ActionType["tappedRequestPriceEstimate"] = "tappedRequestPriceEstimate";
|
|
158
|
+
ActionType["tappedReverseImageSearch"] = "tappedReverseImageSearch";
|
|
154
159
|
ActionType["tappedSell"] = "tappedSell";
|
|
155
160
|
ActionType["tappedSellArtwork"] = "tappedSellArtwork";
|
|
156
161
|
ActionType["tappedShowMore"] = "tappedShowMore";
|
|
157
162
|
ActionType["tappedLearnMore"] = "tappedLearnMore";
|
|
158
163
|
ActionType["tappedSkip"] = "tappedSkip";
|
|
159
164
|
ActionType["tappedTabBar"] = "tappedTabBar";
|
|
165
|
+
ActionType["tappedToggleCameraFlash"] = "tappedToggleCameraFlash";
|
|
160
166
|
ActionType["tappedVerifyIdentity"] = "tappedVerifyIdentity";
|
|
161
167
|
ActionType["tappedViewingRoomCard"] = "tappedViewingRoomCard";
|
|
162
168
|
ActionType["tappedViewingRoomGroup"] = "tappedViewingRoomGroup";
|
|
@@ -60,6 +60,7 @@ export declare enum OwnerType {
|
|
|
60
60
|
partnerShowsArtworks = "partnerShowsArtworks",
|
|
61
61
|
priceDatabase = "priceDatabase",
|
|
62
62
|
profile = "profile",
|
|
63
|
+
reverseImageSearch = "reverseImageSearch",
|
|
63
64
|
sale = "sale",
|
|
64
65
|
saleInformation = "saleInformation",
|
|
65
66
|
savedSearch = "savedSearch",
|
|
@@ -81,7 +82,7 @@ export declare enum OwnerType {
|
|
|
81
82
|
/**
|
|
82
83
|
* Owner types available in iOS/Android
|
|
83
84
|
*/
|
|
84
|
-
export declare type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.newWorksForYou | OwnerType.onboarding | OwnerType.partner | OwnerType.profile | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.show | OwnerType.shows | OwnerType.tag | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
|
|
85
|
+
export declare type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.newWorksForYou | OwnerType.onboarding | OwnerType.partner | OwnerType.profile | OwnerType.sale | OwnerType.reverseImageSearch | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.show | OwnerType.shows | OwnerType.tag | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
|
|
85
86
|
/**
|
|
86
87
|
* Owner types available in web/mobile web
|
|
87
88
|
*/
|
|
@@ -78,6 +78,7 @@ exports.OwnerType = OwnerType;
|
|
|
78
78
|
OwnerType["partnerShowsArtworks"] = "partnerShowsArtworks";
|
|
79
79
|
OwnerType["priceDatabase"] = "priceDatabase";
|
|
80
80
|
OwnerType["profile"] = "profile";
|
|
81
|
+
OwnerType["reverseImageSearch"] = "reverseImageSearch";
|
|
81
82
|
OwnerType["sale"] = "sale";
|
|
82
83
|
OwnerType["saleInformation"] = "saleInformation";
|
|
83
84
|
OwnerType["savedSearch"] = "savedSearch";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artsy/cohesion",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.62.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.8.2"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"core-js": "3"
|