@artsy/cohesion 4.49.0 → 4.52.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,39 @@
1
+ # v4.52.0 (Thu Jun 02 2022)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - chore(CX-2610): add my collection insights context modules [#334](https://github.com/artsy/cohesion/pull/334) ([@MounirDhahri](https://github.com/MounirDhahri))
6
+
7
+ #### Authors: 1
8
+
9
+ - Mounir Dhahri ([@MounirDhahri](https://github.com/MounirDhahri))
10
+
11
+ ---
12
+
13
+ # v4.51.0 (Thu Jun 02 2022)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - fix example [#333](https://github.com/artsy/cohesion/pull/333) ([@dariakoko](https://github.com/dariakoko))
18
+
19
+ #### Authors: 1
20
+
21
+ - Daria Kozlova ([@dariakoko](https://github.com/dariakoko))
22
+
23
+ ---
24
+
25
+ # v4.50.0 (Thu Jun 02 2022)
26
+
27
+ #### 🚀 Enhancement
28
+
29
+ - remove context_screen from TappedRequestPriceEstimate interfase [#332](https://github.com/artsy/cohesion/pull/332) ([@dariakoko](https://github.com/dariakoko))
30
+
31
+ #### Authors: 1
32
+
33
+ - Daria Kozlova ([@dariakoko](https://github.com/dariakoko))
34
+
35
+ ---
36
+
1
37
  # v4.49.0 (Thu Jun 02 2022)
2
38
 
3
39
  #### 🚀 Enhancement
@@ -159,7 +159,6 @@ export interface TappedMyCollectionAddArtworkArtist {
159
159
  * {
160
160
  * action: "tappedRequestPriceEstimate",
161
161
  * context_module: "myCollectionArtworkInsights",
162
- * context_screen: "myCollectionArtwork",
163
162
  * context_screen_owner_id: "5fad78273c8451000d0c53b9"
164
163
  * context_screen_owner_slug: "andy-warhol"
165
164
  * demand_index: 8.9
@@ -169,7 +168,6 @@ export interface TappedMyCollectionAddArtworkArtist {
169
168
  */
170
169
  export interface TappedRequestPriceEstimate {
171
170
  action: ActionType.tappedRequestPriceEstimate;
172
- context_screen: OwnerType.myCollectionArtwork;
173
171
  context_module: ContextModule.myCollectionArtworkInsights;
174
172
  context_screen_owner_id?: string;
175
173
  context_screen_owner_slug?: string;
@@ -8,8 +8,8 @@ export declare enum OwnerType {
8
8
  article = "article",
9
9
  articles = "articles",
10
10
  artist = "artist",
11
- artists = "artists",
12
11
  artistAuctionResults = "artistAuctionResults",
12
+ artists = "artists",
13
13
  artistSeries = "artistSeries",
14
14
  artwork = "artwork",
15
15
  auction = "auction",
@@ -23,9 +23,9 @@ export declare enum OwnerType {
23
23
  collect = "collect",
24
24
  collection = "collection",
25
25
  collections = "collections",
26
+ consign = "consign",
26
27
  consignmentFlow = "consignmentFlow",
27
28
  consignmentSubmission = "consignmentSubmission",
28
- consign = "consign",
29
29
  conversation = "conversation",
30
30
  conversationMakeOfferConfirmArtwork = "conversationMakeOfferConfirmArtwork",
31
31
  explore = "explore",
@@ -40,8 +40,10 @@ export declare enum OwnerType {
40
40
  inboxConversation = "inboxConversation",
41
41
  inboxInquiries = "inboxInquiries",
42
42
  myCollection = "myCollection",
43
- myCollectionArtwork = "myCollectionArtwork",
44
43
  myCollectionAddArtworkArtist = "myCollectionAddArtworkArtist",
44
+ myCollectionArtwork = "myCollectionArtwork",
45
+ myCollectionArtworkAbout = "MyCollectionArtworkAbout",
46
+ myCollectionArtworkInsights = "MyCollectionArtworkInsights",
45
47
  myCollectionInsights = "myCollectionInsights",
46
48
  newWorksForYou = "newWorksForYou",
47
49
  onboarding = "onboarding",
@@ -62,23 +64,23 @@ export declare enum OwnerType {
62
64
  saleInformation = "saleInformation",
63
65
  savedSearch = "savedSearch",
64
66
  savedSearches = "savedSearches",
67
+ savesAndFollows = "savesAndFollows",
65
68
  search = "search",
66
69
  sell = "sell",
67
70
  show = "show",
68
71
  shows = "shows",
69
- savesAndFollows = "savesAndFollows",
70
72
  user = "user",
71
73
  viewingRoom = "viewingRoom",
72
- viewingRooms = "viewingRooms",
74
+ viewingRoomArtworkPage = "viewingRoomArtworkPage",
73
75
  viewingRoomArtworks = "viewingRoomArtworks",
74
76
  viewingRoomList = "viewingRoomList",
75
- viewingRoomArtworkPage = "viewingRoomArtworkPage",
77
+ viewingRooms = "viewingRooms",
76
78
  worksForYou = "worksForYou"
77
79
  }
78
80
  /**
79
81
  * Owner types available in iOS/Android
80
82
  */
81
- 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.gene | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consignmentFlow | OwnerType.consignmentSubmission | OwnerType.consign | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.myCollection | OwnerType.myCollectionArtwork | OwnerType.myCollectionAddArtworkArtist | OwnerType.newWorksForYou | OwnerType.onboarding | OwnerType.partner | OwnerType.profile | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.search | OwnerType.savesAndFollows | OwnerType.sell | OwnerType.show | OwnerType.shows | OwnerType.viewingRoom | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.viewingRoomArtworkPage | OwnerType.worksForYou;
83
+ 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.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
82
84
  /**
83
85
  * Owner types available in web/mobile web
84
86
  */
@@ -26,8 +26,8 @@ exports.OwnerType = OwnerType;
26
26
  OwnerType["article"] = "article";
27
27
  OwnerType["articles"] = "articles";
28
28
  OwnerType["artist"] = "artist";
29
- OwnerType["artists"] = "artists";
30
29
  OwnerType["artistAuctionResults"] = "artistAuctionResults";
30
+ OwnerType["artists"] = "artists";
31
31
  OwnerType["artistSeries"] = "artistSeries";
32
32
  OwnerType["artwork"] = "artwork";
33
33
  OwnerType["auction"] = "auction";
@@ -41,9 +41,9 @@ exports.OwnerType = OwnerType;
41
41
  OwnerType["collect"] = "collect";
42
42
  OwnerType["collection"] = "collection";
43
43
  OwnerType["collections"] = "collections";
44
+ OwnerType["consign"] = "consign";
44
45
  OwnerType["consignmentFlow"] = "consignmentFlow";
45
46
  OwnerType["consignmentSubmission"] = "consignmentSubmission";
46
- OwnerType["consign"] = "consign";
47
47
  OwnerType["conversation"] = "conversation";
48
48
  OwnerType["conversationMakeOfferConfirmArtwork"] = "conversationMakeOfferConfirmArtwork";
49
49
  OwnerType["explore"] = "explore";
@@ -58,8 +58,10 @@ exports.OwnerType = OwnerType;
58
58
  OwnerType["inboxConversation"] = "inboxConversation";
59
59
  OwnerType["inboxInquiries"] = "inboxInquiries";
60
60
  OwnerType["myCollection"] = "myCollection";
61
- OwnerType["myCollectionArtwork"] = "myCollectionArtwork";
62
61
  OwnerType["myCollectionAddArtworkArtist"] = "myCollectionAddArtworkArtist";
62
+ OwnerType["myCollectionArtwork"] = "myCollectionArtwork";
63
+ OwnerType["myCollectionArtworkAbout"] = "MyCollectionArtworkAbout";
64
+ OwnerType["myCollectionArtworkInsights"] = "MyCollectionArtworkInsights";
63
65
  OwnerType["myCollectionInsights"] = "myCollectionInsights";
64
66
  OwnerType["newWorksForYou"] = "newWorksForYou";
65
67
  OwnerType["onboarding"] = "onboarding";
@@ -80,16 +82,16 @@ exports.OwnerType = OwnerType;
80
82
  OwnerType["saleInformation"] = "saleInformation";
81
83
  OwnerType["savedSearch"] = "savedSearch";
82
84
  OwnerType["savedSearches"] = "savedSearches";
85
+ OwnerType["savesAndFollows"] = "savesAndFollows";
83
86
  OwnerType["search"] = "search";
84
87
  OwnerType["sell"] = "sell";
85
88
  OwnerType["show"] = "show";
86
89
  OwnerType["shows"] = "shows";
87
- OwnerType["savesAndFollows"] = "savesAndFollows";
88
90
  OwnerType["user"] = "user";
89
91
  OwnerType["viewingRoom"] = "viewingRoom";
90
- OwnerType["viewingRooms"] = "viewingRooms";
92
+ OwnerType["viewingRoomArtworkPage"] = "viewingRoomArtworkPage";
91
93
  OwnerType["viewingRoomArtworks"] = "viewingRoomArtworks";
92
94
  OwnerType["viewingRoomList"] = "viewingRoomList";
93
- OwnerType["viewingRoomArtworkPage"] = "viewingRoomArtworkPage";
95
+ OwnerType["viewingRooms"] = "viewingRooms";
94
96
  OwnerType["worksForYou"] = "worksForYou";
95
97
  })(OwnerType || (exports.OwnerType = OwnerType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.49.0",
3
+ "version": "4.52.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {