@artsy/cohesion 4.166.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
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
|
+
|
|
1
13
|
# v4.166.0 (Thu Jan 25 2024)
|
|
2
14
|
|
|
3
15
|
#### 🚀 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: "
|
|
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"
|
|
@@ -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",
|
|
@@ -106,7 +107,7 @@ export declare enum OwnerType {
|
|
|
106
107
|
/**
|
|
107
108
|
* Owner types available in iOS/Android
|
|
108
109
|
*/
|
|
109
|
-
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.settings | 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;
|
|
110
111
|
/**
|
|
111
112
|
* Owner types available in web/mobile web
|
|
112
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";
|