@artsy/cohesion 4.165.0 → 4.167.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.
@@ -14,6 +14,6 @@
14
14
  "editor.defaultFormatter": "esbenp.prettier-vscode",
15
15
  "editor.formatOnSave": true,
16
16
  "editor.codeActionsOnSave": {
17
- "source.fixAll.eslint": true
17
+ "source.fixAll.eslint": "explicit"
18
18
  }
19
19
  }
package/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ # v4.167.0 (Wed Feb 07 2024)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - chore(folio): Update types [#484](https://github.com/artsy/cohesion/pull/484) ([@damassi](https://github.com/damassi))
6
+
7
+ #### Authors: 1
8
+
9
+ - Christopher Pappas ([@damassi](https://github.com/damassi))
10
+
11
+ ---
12
+
13
+ # v4.166.0 (Thu Jan 25 2024)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - feat: add selected suggested filter event [#483](https://github.com/artsy/cohesion/pull/483) ([@MounirDhahri](https://github.com/MounirDhahri))
18
+
19
+ #### Authors: 1
20
+
21
+ - Mounir Dhahri ([@MounirDhahri](https://github.com/MounirDhahri))
22
+
23
+ ---
24
+
1
25
  # v4.165.0 (Wed Jan 24 2024)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -16,6 +16,8 @@ import { ActionType } from ".";
16
16
  * context_screen_owner_type: "artwork",
17
17
  * context_screen_owner_id: "id"
18
18
  * context_screen_owner_slug: "slug"
19
+ * artwork_id: ["id"]
20
+ * album_id: "id"
19
21
  * }
20
22
  * ```
21
23
  */
@@ -24,6 +26,8 @@ export interface SentContent {
24
26
  context_screen_owner_type: ScreenOwnerType;
25
27
  context_screen_owner_id?: string;
26
28
  context_screen_owner_slug?: string;
29
+ artwork_id: string[];
30
+ album_id: string;
27
31
  }
28
32
  /**
29
33
  * A user creates an Album in Folio
@@ -55,7 +59,7 @@ export interface CreatedAlbum {
55
59
  * ```
56
60
  * {
57
61
  * action: "addedToAlbum",
58
- * context_screen_owner_type: "artwork",
62
+ * context_screen_owner_type: "album",
59
63
  * context_screen_owner_id: "id"
60
64
  * context_screen_owner_slug: "slug"
61
65
  * album_name: "My Album"
@@ -3,7 +3,7 @@ import { AddToCalendar } from "./AddToCalendar";
3
3
  import { AddedArtworkToArtworkList, CreatedArtworkList, DeletedArtworkList, EditedArtworkList, ViewedArtworkList } from "./ArtworkLists";
4
4
  import { AuctionPageView, BidPageView, ClickedActiveBid, ClickedRegisterToBid, ConfirmBid, ConfirmRegistrationPageview, EnterLiveAuction, MaxBidSelected, RegistrationPageView, RegistrationSubmitted } from "./Auction";
5
5
  import { AuthImpression, CompletedOnboarding, CreatedAccount, OnboardingUserInputData, ResetYourPassword, StartedOnboarding, SuccessfullyLoggedIn } from "./Authentication";
6
- import { CheckedAccountBalance, ClickedAddFilters, ClickedAddMissingArtworksDetails, ClickedAddNewShippingAddress, ClickedAddWorksToFair, ClickedAlertsFilters, ClickedAppDownload, ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedAuctionResultItem, ClickedBuyerProtection, ClickedChangePage, ClickedChangePaymentMethod, ClickedChangeShippingAddress, ClickedChangeShippingMethod, ClickedCloseValidationAddressModal, ClickedCollectionGroup, ClickedConversationsFilter, ClickedCreateAlert, ClickedDeliveryMethod, ClickedDismissInquiry, ClickedEditArtwork, ClickedExpandFilterPanel, ClickedExpansionToggle, ClickedFairCard, ClickedFairGroup, ClickedGalleryGroup, ClickedLoadMore, ClickedMainArtworkGrid, ClickedMarketingModal, ClickedMarkSold, ClickedMarkSpam, ClickedNavBar, ClickedNavigationTab, ClickedOfferActions, ClickedOfferOption, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnBuyNowCheckbox, ClickedOnDuplicateArtwork, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnMakeOfferCheckbox, ClickedOnPagination, ClickedOnPriceDisplayDropdown, ClickedOnSubmitOrder, ClickedOrderPage, ClickedOrderSummary, ClickedPartnerCard, ClickedPartnerLink, ClickedPaymentDetails, ClickedPaymentMethod, ClickedPromoSpace, ClickedPublish, ClickedSelectShippingOption, ClickedSendPartnerOffer, ClickedShippingAddress, ClickedShowGroup, ClickedShowMore, ClickedSnooze, ClickedStartPartnerOffer, ClickedUploadArtwork, ClickedUpdateArtwork, ClickedValidationAddressOptions, ClickedVerifyIdentity, ClickedViewingRoomCard } from "./Click";
6
+ import { CheckedAccountBalance, ClickedAddFilters, ClickedAddMissingArtworksDetails, ClickedAddNewShippingAddress, ClickedAddWorksToFair, ClickedAlertsFilters, ClickedAppDownload, ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedAuctionResultItem, ClickedBuyerProtection, ClickedChangePage, ClickedChangePaymentMethod, ClickedChangeShippingAddress, ClickedChangeShippingMethod, ClickedCloseValidationAddressModal, ClickedCollectionGroup, ClickedConversationsFilter, ClickedCreateAlert, ClickedDeliveryMethod, ClickedDismissInquiry, ClickedEditArtwork, ClickedExpandFilterPanel, ClickedExpansionToggle, ClickedFairCard, ClickedFairGroup, ClickedGalleryGroup, ClickedLoadMore, ClickedMainArtworkGrid, ClickedMarketingModal, ClickedMarkSold, ClickedMarkSpam, ClickedNavBar, ClickedNavigationTab, ClickedOfferActions, ClickedOfferOption, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnBuyNowCheckbox, ClickedOnDuplicateArtwork, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnMakeOfferCheckbox, ClickedOnPagination, ClickedOnPriceDisplayDropdown, ClickedOnSubmitOrder, ClickedOrderPage, ClickedOrderSummary, ClickedPartnerCard, ClickedPartnerLink, ClickedPaymentDetails, ClickedPaymentMethod, ClickedPromoSpace, ClickedPublish, ClickedSelectShippingOption, ClickedSendPartnerOffer, ClickedShippingAddress, ClickedShowGroup, ClickedShowMore, ClickedSnooze, ClickedStartPartnerOffer, ClickedUpdateArtwork, ClickedUploadArtwork, ClickedValidationAddressOptions, ClickedVerifyIdentity, ClickedViewingRoomCard } from "./Click";
7
7
  import { EditedUserProfile } from "./CollectorProfile";
8
8
  import { ArtworkDetailsCompleted, ConsignmentSubmitted, ContactInformationCompleted, SentConsignmentInquiry, SubmitAnotherArtwork, UploadPhotosCompleted, ViewArtworkMyCollection } from "./Consignments";
9
9
  import { FocusedOnConversationMessageInput, SentConversationMessage, TappedInboxConversation, TappedMakeOffer, TappedViewOffer } from "./Conversations";
@@ -365,8 +365,8 @@ export declare enum ActionType {
365
365
  */
366
366
  clickedMarketingModal = "clickedMarketingModal",
367
367
  /**
368
- * Corresponds to {@link ClickedShowMore}
369
- */
368
+ * Corresponds to {@link ClickedShowMore}
369
+ */
370
370
  clickedShowMore = "clickedShowMore",
371
371
  /**
372
372
  * Corresponds to {@link ClickedSnooze}
@@ -824,6 +824,10 @@ export declare enum ActionType {
824
824
  * Corresponds to {@link TappedMakeOffer}
825
825
  */
826
826
  tappedMakeOffer = "tappedMakeOffer",
827
+ /**
828
+ * Corresponds to {@link TappedMenuItem}
829
+ */
830
+ tappeMenuItem = "tappeMenuItem",
827
831
  /**
828
832
  * Corresponds to {@link TappedMyCollectionAddArtworkArtist}
829
833
  */
@@ -216,6 +216,7 @@ exports.ActionType = ActionType;
216
216
  ActionType["tappedLink"] = "tappedLink";
217
217
  ActionType["tappedMainArtworkGrid"] = "tappedMainArtworkGrid";
218
218
  ActionType["tappedMakeOffer"] = "tappedMakeOffer";
219
+ ActionType["tappeMenuItem"] = "tappeMenuItem";
219
220
  ActionType["tappedMyCollectionAddArtworkArtist"] = "tappedMyCollectionAddArtworkArtist";
220
221
  ActionType["tappedMyCollectionInsightsMedianAuctionPriceChartCareerHighlight"] = "tappedMyCollectionInsightsMedianAuctionPriceChartCareerHighlight";
221
222
  ActionType["tappedMyCollectionInsightsMedianAuctionPriceChartCategory"] = "TappedMyCollectionInsightsMedianAuctionPriceChartCategory";
@@ -7,6 +7,7 @@
7
7
  export declare enum ContextModule {
8
8
  aboutTheWork = "aboutTheWork",
9
9
  aboutThisAuction = "aboutThisAuction",
10
+ account = "account",
10
11
  adServer = "adServer",
11
12
  activity = "activity",
12
13
  activityRail = "activityRail",
@@ -21,6 +21,7 @@ exports.ContextModule = ContextModule;
21
21
  (function (ContextModule) {
22
22
  ContextModule["aboutTheWork"] = "aboutTheWork";
23
23
  ContextModule["aboutThisAuction"] = "aboutThisAuction";
24
+ ContextModule["account"] = "account";
24
25
  ContextModule["adServer"] = "adServer";
25
26
  ContextModule["activity"] = "activity";
26
27
  ContextModule["activityRail"] = "activityRail";
@@ -6,6 +6,7 @@
6
6
  export declare enum OwnerType {
7
7
  activities = "activities",
8
8
  activity = "activity",
9
+ album = "album",
9
10
  allArtistSeries = "allArtistSeries",
10
11
  alerts = "alerts",
11
12
  alertDetails = "alertDetails",
@@ -87,6 +88,7 @@ export declare enum OwnerType {
87
88
  saves = "saves",
88
89
  savesAndFollows = "savesAndFollows",
89
90
  search = "search",
91
+ settings = "settings",
90
92
  sell = "sell",
91
93
  sendOffers = "sendOffers",
92
94
  show = "show",
@@ -105,7 +107,7 @@ export declare enum OwnerType {
105
107
  /**
106
108
  * Owner types available in iOS/Android
107
109
  */
108
- export type ScreenOwnerType = OwnerType.activities | OwnerType.activity | OwnerType.allArtistSeries | OwnerType.alerts | OwnerType.alertDetails | OwnerType.alertConfirmation | OwnerType.alertFilters | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkPriceFilter | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentInquiry | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.createAlert | OwnerType.editAlert | OwnerType.editProfile | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.galleriesForYou | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.lotsByArtistsYouFollow | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.myCollectionInsightsMedianAuctionPrice | OwnerType.myCollectionOnboarding | OwnerType.newWorksForYou | OwnerType.newWorksFromGalleriesYouFollow | OwnerType.onboarding | OwnerType.partner | OwnerType.priceDatabase | OwnerType.profile | OwnerType.recentlyViewed | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.saves | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.show | OwnerType.shows | OwnerType.similarToRecentlyViewed | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
110
+ export type ScreenOwnerType = OwnerType.album | OwnerType.activities | OwnerType.activity | OwnerType.allArtistSeries | OwnerType.alerts | OwnerType.alertDetails | OwnerType.alertConfirmation | OwnerType.alertFilters | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkPriceFilter | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentInquiry | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.createAlert | OwnerType.editAlert | OwnerType.editProfile | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.galleriesForYou | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.lotsByArtistsYouFollow | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.myCollectionInsightsMedianAuctionPrice | OwnerType.myCollectionOnboarding | OwnerType.newWorksForYou | OwnerType.newWorksFromGalleriesYouFollow | OwnerType.onboarding | OwnerType.partner | OwnerType.priceDatabase | OwnerType.profile | OwnerType.recentlyViewed | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.saves | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.settings | OwnerType.show | OwnerType.shows | OwnerType.similarToRecentlyViewed | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
109
111
  /**
110
112
  * Owner types available in web/mobile web
111
113
  */
@@ -24,6 +24,7 @@ exports.OwnerType = OwnerType;
24
24
  (function (OwnerType) {
25
25
  OwnerType["activities"] = "activities";
26
26
  OwnerType["activity"] = "activity";
27
+ OwnerType["album"] = "album";
27
28
  OwnerType["allArtistSeries"] = "allArtistSeries";
28
29
  OwnerType["alerts"] = "alerts";
29
30
  OwnerType["alertDetails"] = "alertDetails";
@@ -105,6 +106,7 @@ exports.OwnerType = OwnerType;
105
106
  OwnerType["saves"] = "saves";
106
107
  OwnerType["savesAndFollows"] = "savesAndFollows";
107
108
  OwnerType["search"] = "search";
109
+ OwnerType["settings"] = "settings";
108
110
  OwnerType["sell"] = "sell";
109
111
  OwnerType["sendOffers"] = "sendOffers";
110
112
  OwnerType["show"] = "show";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.165.0",
3
+ "version": "4.167.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {