@artsy/cohesion
Advanced tools
Comparing version 4.88.0 to 4.89.0
@@ -40,2 +40,6 @@ import { ClickedActivityPanelNotificationItem, ClickedActivityPanelTab, ClickedNotificationsBell } from "./ActivityPanel"; | ||
/** | ||
* Corresponds to {@link AddArtworkDetails} | ||
*/ | ||
addArtworkDetails = "addArtworkDetails", | ||
/** | ||
* Corresponds to {@link AddCollectedArtwork} | ||
@@ -45,2 +49,6 @@ */ | ||
/** | ||
* Corresponds to {@link AddNewArtistName} | ||
*/ | ||
addNewArtistName = "addNewArtistName", | ||
/** | ||
* Corresponds to {@link AddToCalendar} | ||
@@ -466,2 +474,10 @@ */ | ||
/** | ||
* Corresponds to {@link SelectArtistFromSearch} | ||
*/ | ||
selectArtistFromSearch = "selectArtistFromSearch", | ||
/** | ||
* Corresponds to {@link selectArtworkFromGrid} | ||
*/ | ||
selectArtworkFromGrid = "selectArtworkFromGrid", | ||
/** | ||
* Corresponds to {@link SelectedArtworkFromReverseImageSearch} | ||
@@ -468,0 +484,0 @@ */ |
@@ -23,3 +23,5 @@ "use strict"; | ||
(function (ActionType) { | ||
ActionType["addArtworkDetails"] = "addArtworkDetails"; | ||
ActionType["addCollectedArtwork"] = "addCollectedArtwork"; | ||
ActionType["addNewArtistName"] = "addNewArtistName"; | ||
ActionType["addToCalendar"] = "addToCalendar"; | ||
@@ -130,2 +132,4 @@ ActionType["artworkDetailsCompleted"] = "artworkDetailsCompleted"; | ||
ActionType["searchedWithNoResults"] = "searchedWithNoResults"; | ||
ActionType["selectArtistFromSearch"] = "selectArtistFromSearch"; | ||
ActionType["selectArtworkFromGrid"] = "selectArtworkFromGrid"; | ||
ActionType["selectedArtworkFromReverseImageSearch"] = "selectedArtworkFromReverseImageSearch"; | ||
@@ -132,0 +136,0 @@ ActionType["selectedItemFromPriceDatabaseSearch"] = "selectedItemFromPriceDatabaseSearch"; |
@@ -0,4 +1,4 @@ | ||
import { ActionType } from "."; | ||
import { ContextModule } from "../Values/ContextModule"; | ||
import { OwnerType } from "../Values/OwnerType"; | ||
import { ActionType } from "."; | ||
export type Platform = "web" | "mobile"; | ||
@@ -185,2 +185,86 @@ /** | ||
/** | ||
* Users clicks "Add their name" on the artist selection page | ||
* | ||
* This schema describes events sent to Segment from [[addNewArtistName]] | ||
* | ||
* @example | ||
* ``` | ||
* { | ||
* action: "addNewArtistName", | ||
* context_module: "myCollection", | ||
* context_screen_owner_type: "myCollectionUploadingFlow", | ||
* platform: "web", | ||
* } | ||
* ``` | ||
*/ | ||
export interface MyColectionAddNewArtistName { | ||
action: ActionType.addNewArtistName; | ||
context_screen: OwnerType.myCollection; | ||
context_screen_owner_type: ContextModule.myCollectionUploadingFlow; | ||
platform: Platform; | ||
} | ||
/** | ||
* Users selects artist from search on the artist selection page | ||
* | ||
* This schema describes events sent to Segment from [[selectArtistFromSearch]] | ||
* | ||
* @example | ||
* ``` | ||
* { | ||
* action: "selectArtistFromSearch", | ||
* context_module: "myCollection", | ||
* context_screen_owner_type: "myCollectionUploadingFlow", | ||
* platform: "web", | ||
* } | ||
* ``` | ||
*/ | ||
export interface MyCollectionSelectArtistFromSearch { | ||
action: ActionType.selectArtistFromSearch; | ||
context_screen: OwnerType.myCollection; | ||
context_screen_owner_type: ContextModule.myCollectionUploadingFlow; | ||
platform: Platform; | ||
} | ||
/** | ||
* Users clicks "Skip" button or "add artwork details" on the "Select an artwork" page | ||
* | ||
* This schema describes events sent to Segment from [[addArtworkDetails]] | ||
* | ||
* @example | ||
* ``` | ||
* { | ||
* action: "addArtworkDetails", | ||
* context_module: "myCollection", | ||
* context_screen_owner_type: "myCollectionUploadingFlow", | ||
* platform: "web", | ||
* } | ||
* ``` | ||
*/ | ||
export interface MyCollectionAddArtworkDetails { | ||
action: ActionType.addArtworkDetails; | ||
context_screen: OwnerType.myCollection; | ||
context_screen_owner_type: ContextModule.myCollectionUploadingFlow; | ||
platform: Platform; | ||
} | ||
/** | ||
* Users selects artwork from grid on the "Select an artwork" screen | ||
* | ||
* This schema describes events sent to Segment from [[selectArtworkFromGrid]] | ||
* | ||
* @example | ||
* ``` | ||
* { | ||
* action: "selectArtworkFromGrid", | ||
* context_module: "myCollection", | ||
* context_screen_owner_type: "myCollectionUploadingFlow", | ||
* platform: "web", | ||
* } | ||
* ``` | ||
*/ | ||
export interface MyCollectionSelectArtworkFromGrid { | ||
action: ActionType.selectArtworkFromGrid; | ||
context_screen: OwnerType.myCollection; | ||
context_screen_owner_type: ContextModule.myCollectionUploadingFlow; | ||
platform: Platform; | ||
} | ||
/** | ||
* A user taps on the “request a price estimate” banner | ||
@@ -187,0 +271,0 @@ * |
@@ -112,2 +112,3 @@ /** | ||
myCollectionOnboarding = "myCollectionOnboarding", | ||
myCollectionUploadingFlow = "myCollectionUploadingFlow", | ||
newWorksByArtistsYouFollowRail = "newWorksByArtistsYouFollowRail", | ||
@@ -114,0 +115,0 @@ newWorksForYouRail = "newWorksForYouRail", |
@@ -126,2 +126,3 @@ "use strict"; | ||
ContextModule["myCollectionOnboarding"] = "myCollectionOnboarding"; | ||
ContextModule["myCollectionUploadingFlow"] = "myCollectionUploadingFlow"; | ||
ContextModule["newWorksByArtistsYouFollowRail"] = "newWorksByArtistsYouFollowRail"; | ||
@@ -128,0 +129,0 @@ ContextModule["newWorksForYouRail"] = "newWorksForYouRail"; |
{ | ||
"name": "@artsy/cohesion", | ||
"version": "4.88.0", | ||
"version": "4.89.0", | ||
"description": "Analytics schema", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
433954
9692