@artsy/cohesion 4.89.0 → 4.91.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,27 @@
1
+ # v4.91.0 (Fri Jan 06 2023)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - fix: Adjsut new My Collection event owner type [#388](https://github.com/artsy/cohesion/pull/388) ([@olerichter00](https://github.com/olerichter00))
6
+
7
+ #### Authors: 1
8
+
9
+ - Ole ([@olerichter00](https://github.com/olerichter00))
10
+
11
+ ---
12
+
13
+ # v4.90.0 (Fri Jan 06 2023)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - fix: Adjust new My Collection event owner types [#387](https://github.com/artsy/cohesion/pull/387) ([@olerichter00](https://github.com/olerichter00))
18
+
19
+ #### Authors: 1
20
+
21
+ - Ole ([@olerichter00](https://github.com/olerichter00))
22
+
23
+ ---
24
+
1
25
  # v4.89.0 (Fri Jan 06 2023)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -1,6 +1,6 @@
1
- import { ActionType } from ".";
2
1
  import { ContextModule } from "../Values/ContextModule";
3
2
  import { OwnerType } from "../Values/OwnerType";
3
+ import { ActionType } from ".";
4
4
  export type Platform = "web" | "mobile";
5
5
  /**
6
6
  * Schema describing 'Add Collected Artwork' events
@@ -198,8 +198,8 @@ export interface TappedMyCollectionAddArtworkArtist {
198
198
  */
199
199
  export interface MyColectionAddNewArtistName {
200
200
  action: ActionType.addNewArtistName;
201
- context_screen: OwnerType.myCollection;
202
- context_screen_owner_type: ContextModule.myCollectionUploadingFlow;
201
+ context_module: ContextModule.myCollection;
202
+ context_screen_owner_type: OwnerType.myCollectionUploadingFlow;
203
203
  platform: Platform;
204
204
  }
205
205
  /**
@@ -219,8 +219,8 @@ export interface MyColectionAddNewArtistName {
219
219
  */
220
220
  export interface MyCollectionSelectArtistFromSearch {
221
221
  action: ActionType.selectArtistFromSearch;
222
- context_screen: OwnerType.myCollection;
223
- context_screen_owner_type: ContextModule.myCollectionUploadingFlow;
222
+ context_mudule: ContextModule.myCollection;
223
+ context_screen_owner_type: OwnerType.myCollectionUploadingFlow;
224
224
  platform: Platform;
225
225
  }
226
226
  /**
@@ -240,8 +240,8 @@ export interface MyCollectionSelectArtistFromSearch {
240
240
  */
241
241
  export interface MyCollectionAddArtworkDetails {
242
242
  action: ActionType.addArtworkDetails;
243
- context_screen: OwnerType.myCollection;
244
- context_screen_owner_type: ContextModule.myCollectionUploadingFlow;
243
+ context_module: ContextModule.myCollection;
244
+ context_screen_owner_type: OwnerType.myCollectionUploadingFlow;
245
245
  platform: Platform;
246
246
  }
247
247
  /**
@@ -261,8 +261,8 @@ export interface MyCollectionAddArtworkDetails {
261
261
  */
262
262
  export interface MyCollectionSelectArtworkFromGrid {
263
263
  action: ActionType.selectArtworkFromGrid;
264
- context_screen: OwnerType.myCollection;
265
- context_screen_owner_type: ContextModule.myCollectionUploadingFlow;
264
+ context_module: ContextModule.myCollection;
265
+ context_screen_owner_type: OwnerType.myCollectionUploadingFlow;
266
266
  platform: Platform;
267
267
  }
268
268
  /**
@@ -98,6 +98,7 @@ export declare enum ContextModule {
98
98
  minimalCTABanner = "minimalCTABanner",
99
99
  moreFromThisSeries = "moreFromThisSeries",
100
100
  moreSeriesByThisArtist = "moreSeriesByThisArtist",
101
+ myCollection = "myCollection",
101
102
  myCollectionArtwork = "myCollectionArtwork",
102
103
  myCollectionAddArtworkAddArtist = "myCollectionAddArtworkAddArtist",
103
104
  myCollectionArtworkInsights = "myCollectionArtworkInsights",
@@ -109,7 +110,6 @@ export declare enum ContextModule {
109
110
  myCollectionInsightsMedianAuctionPriceChart = "myCollectionInsightsMedianAuctionPriceChart",
110
111
  myCollectionMarketSignals = "myCollectionMarketSignals",
111
112
  myCollectionOnboarding = "myCollectionOnboarding",
112
- myCollectionUploadingFlow = "myCollectionUploadingFlow",
113
113
  newWorksByArtistsYouFollowRail = "newWorksByArtistsYouFollowRail",
114
114
  newWorksForYouRail = "newWorksForYouRail",
115
115
  newWorksByGalleriesYouFollowRail = "newWorksByGalleriesYouFollowRail",
@@ -112,6 +112,7 @@ exports.ContextModule = ContextModule;
112
112
  ContextModule["minimalCTABanner"] = "minimalCTABanner";
113
113
  ContextModule["moreFromThisSeries"] = "moreFromThisSeries";
114
114
  ContextModule["moreSeriesByThisArtist"] = "moreSeriesByThisArtist";
115
+ ContextModule["myCollection"] = "myCollection";
115
116
  ContextModule["myCollectionArtwork"] = "myCollectionArtwork";
116
117
  ContextModule["myCollectionAddArtworkAddArtist"] = "myCollectionAddArtworkAddArtist";
117
118
  ContextModule["myCollectionArtworkInsights"] = "myCollectionArtworkInsights";
@@ -123,7 +124,6 @@ exports.ContextModule = ContextModule;
123
124
  ContextModule["myCollectionInsightsMedianAuctionPriceChart"] = "myCollectionInsightsMedianAuctionPriceChart";
124
125
  ContextModule["myCollectionMarketSignals"] = "myCollectionMarketSignals";
125
126
  ContextModule["myCollectionOnboarding"] = "myCollectionOnboarding";
126
- ContextModule["myCollectionUploadingFlow"] = "myCollectionUploadingFlow";
127
127
  ContextModule["newWorksByArtistsYouFollowRail"] = "newWorksByArtistsYouFollowRail";
128
128
  ContextModule["newWorksForYouRail"] = "newWorksForYouRail";
129
129
  ContextModule["newWorksByGalleriesYouFollowRail"] = "newWorksByGalleriesYouFollowRail";
@@ -43,6 +43,7 @@ export declare enum OwnerType {
43
43
  inboxConversation = "inboxConversation",
44
44
  inboxInquiries = "inboxInquiries",
45
45
  myCollection = "myCollection",
46
+ myCollectionUploadingFlow = "myCollectionUploadingFlow",
46
47
  myCollectionAddArtworkArtist = "myCollectionAddArtworkArtist",
47
48
  myCollectionArtwork = "myCollectionArtwork",
48
49
  myCollectionArtworkAbout = "MyCollectionArtworkAbout",
@@ -61,6 +61,7 @@ exports.OwnerType = OwnerType;
61
61
  OwnerType["inboxConversation"] = "inboxConversation";
62
62
  OwnerType["inboxInquiries"] = "inboxInquiries";
63
63
  OwnerType["myCollection"] = "myCollection";
64
+ OwnerType["myCollectionUploadingFlow"] = "myCollectionUploadingFlow";
64
65
  OwnerType["myCollectionAddArtworkArtist"] = "myCollectionAddArtworkArtist";
65
66
  OwnerType["myCollectionArtwork"] = "myCollectionArtwork";
66
67
  OwnerType["myCollectionArtworkAbout"] = "MyCollectionArtworkAbout";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.89.0",
3
+ "version": "4.91.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {