@artsy/cohesion 4.79.0 → 4.81.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/Schema/Events/Tap.d.ts +1 -49
- package/dist/Schema/Events/UploadSizeLimitExceeded.d.ts +27 -0
- package/dist/Schema/Events/UploadSizeLimitExceeded.js +1 -0
- package/dist/Schema/Events/index.d.ts +7 -10
- package/dist/Schema/Events/index.js +1 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v4.81.0 (Wed Nov 30 2022)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- chore(CX-3187): add exceeded upload size event type [#374](https://github.com/artsy/cohesion/pull/374) ([@MounirDhahri](https://github.com/MounirDhahri))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Mounir Dhahri ([@MounirDhahri](https://github.com/MounirDhahri))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.80.0 (Fri Nov 25 2022)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- refactor: remove unused code [#373](https://github.com/artsy/cohesion/pull/373) ([@dimatretyak](https://github.com/dimatretyak))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Dima Tretyak ([@dimatretyak](https://github.com/dimatretyak))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v4.79.0 (Fri Nov 25 2022)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -227,7 +227,7 @@ export interface TappedFairGroup extends TappedEntityGroup {
|
|
|
227
227
|
* This schema describes events sent to Segment from [[tappedEntityGroup]]
|
|
228
228
|
*/
|
|
229
229
|
export interface TappedEntityGroup {
|
|
230
|
-
action: ActionType.tappedArticleGroup | ActionType.tappedShowGroup | ActionType.tappedArtistGroup | ActionType.tappedArtistSeriesGroup | ActionType.tappedArtworkGroup | ActionType.tappedAuctionGroup | ActionType.tappedAuctionResultGroup | ActionType.tappedCollectionGroup | ActionType.tappedExploreGroup | ActionType.tappedFairGroup | ActionType.tappedViewingRoomGroup
|
|
230
|
+
action: ActionType.tappedArticleGroup | ActionType.tappedShowGroup | ActionType.tappedArtistGroup | ActionType.tappedArtistSeriesGroup | ActionType.tappedArtworkGroup | ActionType.tappedAuctionGroup | ActionType.tappedAuctionResultGroup | ActionType.tappedCollectionGroup | ActionType.tappedExploreGroup | ActionType.tappedFairGroup | ActionType.tappedViewingRoomGroup;
|
|
231
231
|
context_module: ContextModule;
|
|
232
232
|
context_screen_owner_type: ScreenOwnerType;
|
|
233
233
|
context_screen_owner_id?: string;
|
|
@@ -265,33 +265,6 @@ export interface TappedConsign {
|
|
|
265
265
|
/** The text of the tapped button */
|
|
266
266
|
subject: string;
|
|
267
267
|
}
|
|
268
|
-
/**
|
|
269
|
-
* A user taps on an Artsy curated collection on a search tab
|
|
270
|
-
*
|
|
271
|
-
* This schema describes events sent to Segment from [[tappedCuratedCollection]]
|
|
272
|
-
*
|
|
273
|
-
* @example
|
|
274
|
-
* ```
|
|
275
|
-
* {
|
|
276
|
-
* action: "tappedCuratedCollection",
|
|
277
|
-
* context_module: "curatedCollections",
|
|
278
|
-
* context_screen_owner_type: "search",
|
|
279
|
-
* destination_screen_owner_type: "collection",
|
|
280
|
-
* destination_screen_owner_slug: "trending-this-week",
|
|
281
|
-
* destination_screen_owner_id: "d78e9a17-ccf6-4104-b4e9-95c18f6412df",
|
|
282
|
-
* position: 1
|
|
283
|
-
* }
|
|
284
|
-
* ```
|
|
285
|
-
*/
|
|
286
|
-
export interface TappedCuratedCollection {
|
|
287
|
-
action: ActionType.tappedCuratedCollection;
|
|
288
|
-
context_module: ContextModule.curatedCollections;
|
|
289
|
-
context_screen_owner_type: ScreenOwnerType;
|
|
290
|
-
destination_screen_owner_type: ScreenOwnerType;
|
|
291
|
-
destination_screen_owner_slug: string;
|
|
292
|
-
destination_screen_owner_id: string;
|
|
293
|
-
position: number;
|
|
294
|
-
}
|
|
295
268
|
/**
|
|
296
269
|
* A user taps a fair card
|
|
297
270
|
*
|
|
@@ -481,27 +454,6 @@ export interface TappedTabBar {
|
|
|
481
454
|
context_screen_owner_type: ScreenOwnerType;
|
|
482
455
|
tab: Tab;
|
|
483
456
|
}
|
|
484
|
-
/**
|
|
485
|
-
* A user taps a trending artist
|
|
486
|
-
*
|
|
487
|
-
* This schema describes events sent to Segment from [[tappedTrendingArtist]]
|
|
488
|
-
*
|
|
489
|
-
* @example
|
|
490
|
-
* ```
|
|
491
|
-
* {
|
|
492
|
-
* action: "tappedTrendingArtist",
|
|
493
|
-
* context_module: "trendingArtistsRail",
|
|
494
|
-
* context_screen_owner_type: "search",
|
|
495
|
-
* destination_screen_owner_id: "4dd1584de0091e000100207c",
|
|
496
|
-
* destination_screen_owner_slug: "banksy",
|
|
497
|
-
* destination_screen_owner_type: "artist",
|
|
498
|
-
* horizontal_slide_position: 0
|
|
499
|
-
* }
|
|
500
|
-
* ```
|
|
501
|
-
*/
|
|
502
|
-
export interface TappedTrendingArtist extends TappedEntityGroup {
|
|
503
|
-
action: ActionType.tappedTrendingArtist;
|
|
504
|
-
}
|
|
505
457
|
/**
|
|
506
458
|
* A user taps a grouping of viewing rooms on iOS
|
|
507
459
|
*
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OwnerType } from "../Values/OwnerType";
|
|
2
|
+
import { ActionType } from ".";
|
|
3
|
+
/**
|
|
4
|
+
* Schemas describing events for specific user experience design types.
|
|
5
|
+
* @packageDocumentation
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* User has exceeded the upload size limit
|
|
9
|
+
*
|
|
10
|
+
* This schema describes events sent to Segment from [[uploadSizeLimitExceeded]].
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```
|
|
14
|
+
* {
|
|
15
|
+
* action: "uploadSizeLimitExceeded",
|
|
16
|
+
* context_owner_type: "sell",
|
|
17
|
+
* upload_size_in_kb: 30134512,
|
|
18
|
+
* expand: TRUE
|
|
19
|
+
* }
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export interface UploadSizeLimitExceeded {
|
|
23
|
+
action: ActionType.uploadSizeLimitExceeded;
|
|
24
|
+
context_owner_type: OwnerType;
|
|
25
|
+
upload_size_in_kb: number;
|
|
26
|
+
number_of_files: number;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -18,8 +18,9 @@ import { FollowEvents } from "./SavesAndFollows";
|
|
|
18
18
|
import { ConsignmentArtistFailed, FocusedOnPriceDatabaseSearchInput, FocusedOnSearchInput, SearchedPriceDatabase, SearchedWithNoResults, SelectedItemFromPriceDatabaseSearch, SelectedItemFromSearch } from "./Search";
|
|
19
19
|
import { Share } from "./Share";
|
|
20
20
|
import { SaleScreenLoadComplete, Screen, TimeOnPage } from "./System";
|
|
21
|
-
import { TappedArticleGroup, TappedArtistGroup, TappedArtistSeriesGroup, TappedArtworkGroup, TappedAuctionGroup, TappedAuctionResultGroup, TappedBid, TappedBuyNow, TappedCollectionGroup, TappedConsign, TappedContactGallery, TappedCreateAlert,
|
|
21
|
+
import { TappedArticleGroup, TappedArtistGroup, TappedArtistSeriesGroup, TappedArtworkGroup, TappedAuctionGroup, TappedAuctionResultGroup, TappedBid, TappedBuyNow, TappedCollectionGroup, TappedConsign, TappedContactGallery, TappedCreateAlert, TappedExploreGroup, TappedFairCard, TappedFairGroup, TappedInfoBubble, TappedLearnMore, TappedLink, TappedMainArtworkGrid, TappedNavigationTab, TappedPartnerCard, TappedPromoSpace, TappedSell, TappedSellArtwork, TappedShowMore, TappedSkip, TappedTabBar, TappedVerifyIdentity, TappedViewingRoomCard, TappedViewingRoomGroup } from "./Tap";
|
|
22
22
|
import { ToggledNotification, ToggledSavedSearch } from "./Toggle";
|
|
23
|
+
import { UploadSizeLimitExceeded } from "./UploadSizeLimitExceeded";
|
|
23
24
|
import { ToggledAccordion } from "./UserExperienceInteractions";
|
|
24
25
|
import { ViewedVideo } from "./Video";
|
|
25
26
|
/**
|
|
@@ -27,7 +28,7 @@ import { ViewedVideo } from "./Video";
|
|
|
27
28
|
*
|
|
28
29
|
* Each event describes one ActionType
|
|
29
30
|
*/
|
|
30
|
-
export type Event = AddToCalendar | AddCollectedArtwork | ArtworkDetailsCompleted | AuctionPageView | AuctionResultsFilterParamsChanged | AuthImpression | BidPageView | CreatedAccount | ClickedActiveBid | ClickedActivityPanelNotificationItem | ClickedActivityPanelTab | ClickedAddNewShippingAddress | ClickedAddWorksToFair | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedAuctionResultItem | ClickedBuyerProtection | ClickedChangePage | ClickedChangePaymentMethod | ClickedChangeShippingAddress | ClickedChangeShippingMethod | ClickedCollectionGroup | ClickedCreateAlert | ClickedDeliveryMethod | ClickedEditArtwork | ClickedExpansionToggle | ClickedFairCard | ClickedFairGroup | ClickedGalleryGroup | ClickedLoadMore | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedNotificationsBell | 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 | ContactInformationCompleted | DeleteCollectedArtwork | DeletedSavedSearch | EditCollectedArtwork | EditedSavedSearch | EnterLiveAuction | ExperimentViewed | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | Impression | MaxBidSelected | MyCollectionOnboardingCompleted | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | RegistrationPageView | RegistrationSubmitted | ResetYourPassword | SaleScreenLoadComplete | SaveCollectedArtwork | Screen | SearchedPriceDatabase | SearchedReverseImageWithNoResults | SearchedReverseImageWithResults | SearchedWithNoResults | SelectedArtworkFromReverseImageSearch | SelectedItemFromSearch | SelectedItemFromPriceDatabaseSearch | SelectedRecentPriceRange | SentConversationMessage | SentRequestPriceEstimate | Share | StartedOnboarding | SubmitAnotherArtwork | SuccessfullyLoggedIn | TappedArticleGroup | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedAuctionResultGroup | TappedBid | TappedBuyNow | TappedCollectedArtwork | TappedCollectedArtworkImages | TappedCollectionGroup | TappedConsign | TappedContactGallery | TappedCreateAlert |
|
|
31
|
+
export type Event = AddToCalendar | AddCollectedArtwork | ArtworkDetailsCompleted | AuctionPageView | AuctionResultsFilterParamsChanged | AuthImpression | BidPageView | CreatedAccount | ClickedActiveBid | ClickedActivityPanelNotificationItem | ClickedActivityPanelTab | ClickedAddNewShippingAddress | ClickedAddWorksToFair | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedAuctionResultItem | ClickedBuyerProtection | ClickedChangePage | ClickedChangePaymentMethod | ClickedChangeShippingAddress | ClickedChangeShippingMethod | ClickedCollectionGroup | ClickedCreateAlert | ClickedDeliveryMethod | ClickedEditArtwork | ClickedExpansionToggle | ClickedFairCard | ClickedFairGroup | ClickedGalleryGroup | ClickedLoadMore | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedNotificationsBell | 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 | ContactInformationCompleted | DeleteCollectedArtwork | DeletedSavedSearch | EditCollectedArtwork | EditedSavedSearch | EnterLiveAuction | ExperimentViewed | UploadSizeLimitExceeded | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | Impression | MaxBidSelected | MyCollectionOnboardingCompleted | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | RegistrationPageView | RegistrationSubmitted | ResetYourPassword | SaleScreenLoadComplete | SaveCollectedArtwork | Screen | SearchedPriceDatabase | SearchedReverseImageWithNoResults | SearchedReverseImageWithResults | SearchedWithNoResults | SelectedArtworkFromReverseImageSearch | SelectedItemFromSearch | SelectedItemFromPriceDatabaseSearch | SelectedRecentPriceRange | SentConversationMessage | SentRequestPriceEstimate | Share | StartedOnboarding | SubmitAnotherArtwork | SuccessfullyLoggedIn | TappedArticleGroup | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedAuctionResultGroup | TappedBid | TappedBuyNow | TappedCollectedArtwork | TappedCollectedArtworkImages | TappedCollectionGroup | TappedConsign | TappedContactGallery | TappedCreateAlert | TappedExploreGroup | TappedExploreMyCollection | TappedFairCard | TappedFairGroup | TappedInboxConversation | TappedInfoBubble | TappedLink | TappedNavigationTab | TappedMainArtworkGrid | TappedMakeOffer | TappedMyCollectionInsightsMedianAuctionRailItem | TappedMyCollectionInsightsMedianAuctionPriceChartCareerHighlight | TappedMyCollectionInsightsMedianAuctionPriceChartCategory | TappedMyCollectionInsightsMedianAuctionPriceChartTimeframe | TappedPartnerCard | TappedPickImageFromLibrary | TappedPromoSpace | TappedRequestPriceEstimate | TappedReverseImageSearch | TappedSell | TappedSellArtwork | TappedShowMore | TappedLearnMore | TappedSkip | TappedTabBar | TappedToggleCameraFlash | TappedVerifyIdentity | TappedViewingRoomCard | TappedViewingRoomGroup | TappedViewOffer | TimeOnPage | ToggledAccordion | ToggledNotification | ToggledSavedSearch | UploadPhotosCompleted | ViewArtworkMyCollection | ViewedVideo | VisitMyCollection | VisitMyCollectionOnboardingSlide;
|
|
31
32
|
/**
|
|
32
33
|
* The top-level actions an Event describes.
|
|
33
34
|
*
|
|
@@ -350,6 +351,10 @@ export declare enum ActionType {
|
|
|
350
351
|
* Corresponds to {@link ExperimentViewed}
|
|
351
352
|
*/
|
|
352
353
|
experimentViewed = "experimentViewed",
|
|
354
|
+
/**
|
|
355
|
+
* Corresponds to {@link UploadSizeLimitExceeded}
|
|
356
|
+
*/
|
|
357
|
+
uploadSizeLimitExceeded = "uploadSizeLimitExceeded",
|
|
353
358
|
/**
|
|
354
359
|
* Corresponds to {@link FocusedOnConversationMessageInput}
|
|
355
360
|
*/
|
|
@@ -542,10 +547,6 @@ export declare enum ActionType {
|
|
|
542
547
|
* Corresponds to {@link TappedCreateAlert}
|
|
543
548
|
*/
|
|
544
549
|
tappedCreateAlert = "tappedCreateAlert",
|
|
545
|
-
/**
|
|
546
|
-
* Corresponds to {@link TappedCuratedCollection}
|
|
547
|
-
*/
|
|
548
|
-
tappedCuratedCollection = "tappedCuratedCollection",
|
|
549
550
|
/**
|
|
550
551
|
* Corresponds to {@link TappedExploreGroup}
|
|
551
552
|
*/
|
|
@@ -662,10 +663,6 @@ export declare enum ActionType {
|
|
|
662
663
|
* Corresponds to {@link TappedToggleCameraFlash}
|
|
663
664
|
*/
|
|
664
665
|
tappedToggleCameraFlash = "tappedToggleCameraFlash",
|
|
665
|
-
/**
|
|
666
|
-
* Corresponds to {@link TappedTrendingArtist}
|
|
667
|
-
*/
|
|
668
|
-
tappedTrendingArtist = "tappedTrendingArtist",
|
|
669
666
|
/**
|
|
670
667
|
* Corresponds to {@link TappedUploadAnotherArtwork}
|
|
671
668
|
*/
|
|
@@ -99,6 +99,7 @@ exports.ActionType = ActionType;
|
|
|
99
99
|
ActionType["editedSavedSearch"] = "editedSavedSearch";
|
|
100
100
|
ActionType["enterLiveAuction"] = "enterLiveAuction";
|
|
101
101
|
ActionType["experimentViewed"] = "experimentViewed";
|
|
102
|
+
ActionType["uploadSizeLimitExceeded"] = "uploadSizeLimitExceeded";
|
|
102
103
|
ActionType["focusedOnConversationMessageInput"] = "focusedOnConversationMessageInput";
|
|
103
104
|
ActionType["focusedOnPriceDatabaseSearchInput"] = "focusedOnPriceDatabaseSearchInput";
|
|
104
105
|
ActionType["focusedOnSearchInput"] = "focusedOnSearchInput";
|
|
@@ -147,7 +148,6 @@ exports.ActionType = ActionType;
|
|
|
147
148
|
ActionType["tappedConsign"] = "tappedConsign";
|
|
148
149
|
ActionType["tappedContactGallery"] = "tappedContactGallery";
|
|
149
150
|
ActionType["tappedCreateAlert"] = "tappedCreateAlert";
|
|
150
|
-
ActionType["tappedCuratedCollection"] = "tappedCuratedCollection";
|
|
151
151
|
ActionType["tappedExploreGroup"] = "tappedExploreGroup";
|
|
152
152
|
ActionType["tappedExploreMyCollection"] = "tappedExploreMyCollection";
|
|
153
153
|
ActionType["tappedFairCard"] = "tappedFairCard";
|
|
@@ -177,7 +177,6 @@ exports.ActionType = ActionType;
|
|
|
177
177
|
ActionType["tappedSkip"] = "tappedSkip";
|
|
178
178
|
ActionType["tappedTabBar"] = "tappedTabBar";
|
|
179
179
|
ActionType["tappedToggleCameraFlash"] = "tappedToggleCameraFlash";
|
|
180
|
-
ActionType["tappedTrendingArtist"] = "tappedTrendingArtist";
|
|
181
180
|
ActionType["tappedUploadAnotherArtwork"] = "tappedUploadAnotherArtwork";
|
|
182
181
|
ActionType["tappedVerifyIdentity"] = "tappedVerifyIdentity";
|
|
183
182
|
ActionType["tappedViewingRoomCard"] = "tappedViewingRoomCard";
|