@artsy/cohesion
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -0,1 +1,23 @@ | ||
# v1.0.4 (Wed May 20 2020) | ||
#### 🐛 Bug Fix | ||
- Sell tab tracking in iOS [#39](https://github.com/artsy/cohesion/pull/39) ([@louislecluse](https://github.com/louislecluse)) | ||
#### 🏠 Internal | ||
- Update dep typescript from 3.9.2 to v3.9.3 [#45](https://github.com/artsy/cohesion/pull/45) ([@renovate-bot](https://github.com/renovate-bot)) | ||
- Update dep tslint from 6.1.1 to v6.1.2 [#41](https://github.com/artsy/cohesion/pull/41) ([@renovate-bot](https://github.com/renovate-bot) [@renovate[bot]](https://github.com/renovate[bot])) | ||
- Update dep typedoc from 0.17.4 to v0.17.7 [#42](https://github.com/artsy/cohesion/pull/42) ([@renovate-bot](https://github.com/renovate-bot) [@renovate[bot]](https://github.com/renovate[bot])) | ||
- Update dep babel-jest from 25.4.0 to v26 [#43](https://github.com/artsy/cohesion/pull/43) ([@renovate-bot](https://github.com/renovate-bot) [@renovate[bot]](https://github.com/renovate[bot])) | ||
- Update dep jest from 25.4.0 to v26 [#44](https://github.com/artsy/cohesion/pull/44) ([@renovate-bot](https://github.com/renovate-bot) [@renovate[bot]](https://github.com/renovate[bot])) | ||
#### Authors: 3 | ||
- [@louislecluse](https://github.com/louislecluse) | ||
- [@renovate[bot]](https://github.com/renovate[bot]) | ||
- WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot)) | ||
--- | ||
# v1.0.3 (Wed May 13 2020) | ||
@@ -2,0 +24,0 @@ |
@@ -10,2 +10,3 @@ /** | ||
artistHeader = "artistHeader", | ||
artistHighDemandGrid = "artistHighDemandGrid", | ||
artistRecentlySold = "artistRecentlySold", | ||
@@ -16,2 +17,3 @@ artistsTab = "artistsTab", | ||
artworkImage = "artworkImage", | ||
artworkRecentlySoldGrid = "artworkRecentlySoldGrid", | ||
artworkSidebar = "artworkSidebar", | ||
@@ -61,2 +63,4 @@ auctionSidebar = "auctionSidebar", | ||
saveWorksCTA = "saveWorksCTA", | ||
sellFooter = "sellFooter", | ||
sellHeader = "sellHeader", | ||
showHeader = "showHeader", | ||
@@ -63,0 +67,0 @@ showInfo = "showInfo", |
@@ -24,2 +24,3 @@ "use strict"; | ||
ContextModule["artistHeader"] = "artistHeader"; | ||
ContextModule["artistHighDemandGrid"] = "artistHighDemandGrid"; | ||
ContextModule["artistRecentlySold"] = "artistRecentlySold"; | ||
@@ -30,2 +31,3 @@ ContextModule["artistsTab"] = "artistsTab"; | ||
ContextModule["artworkImage"] = "artworkImage"; | ||
ContextModule["artworkRecentlySoldGrid"] = "artworkRecentlySoldGrid"; | ||
ContextModule["artworkSidebar"] = "artworkSidebar"; | ||
@@ -75,2 +77,4 @@ ContextModule["auctionSidebar"] = "auctionSidebar"; | ||
ContextModule["saveWorksCTA"] = "saveWorksCTA"; | ||
ContextModule["sellFooter"] = "sellFooter"; | ||
ContextModule["sellHeader"] = "sellHeader"; | ||
ContextModule["showHeader"] = "showHeader"; | ||
@@ -77,0 +81,0 @@ ContextModule["showInfo"] = "showInfo"; |
@@ -1,2 +0,2 @@ | ||
import { TappedFairGroup, TappedArtistGroup, TappedArtworkGroup, TappedAuctionGroup, TappedCollectionGroup, TappedExploreGroup } from "./Events/Tap"; | ||
import { TappedFairGroup, TappedArtistGroup, TappedArtworkGroup, TappedAuctionGroup, TappedCollectionGroup, TappedExploreGroup, TappedConsign } from "./Events/Tap"; | ||
import { AuthImpression, CreatedAccount, ResetYourPassword, SuccessfullyLoggedIn } from "./Events/Authentication"; | ||
@@ -48,3 +48,7 @@ /** | ||
*/ | ||
tappedFairGroup = "tappedFairGroup" | ||
tappedFairGroup = "tappedFairGroup", | ||
/** | ||
* Corresponds to {@link TappedConsign} | ||
*/ | ||
tappedConsign = "tappedConsign" | ||
} | ||
@@ -56,2 +60,2 @@ /** | ||
*/ | ||
export declare type Event = AuthImpression | CreatedAccount | ResetYourPassword | SuccessfullyLoggedIn | TappedArtistGroup | TappedArtworkGroup | TappedAuctionGroup | TappedCollectionGroup | TappedExploreGroup | TappedFairGroup; | ||
export declare type Event = AuthImpression | CreatedAccount | ResetYourPassword | SuccessfullyLoggedIn | TappedArtistGroup | TappedArtworkGroup | TappedAuctionGroup | TappedCollectionGroup | TappedExploreGroup | TappedFairGroup | TappedConsign; |
@@ -33,2 +33,3 @@ "use strict"; | ||
ActionType["tappedFairGroup"] = "tappedFairGroup"; | ||
ActionType["tappedConsign"] = "tappedConsign"; | ||
})(ActionType || (exports.ActionType = ActionType = {})); |
@@ -166,1 +166,24 @@ import { ActionType } from "../Event"; | ||
export declare type EntityModuleType = "thumbnail" | "header" | "stub"; | ||
/** | ||
* A user taps a Consign button in iOS | ||
* | ||
* This schema describes events sent to Segment from [[tappedConsign]] | ||
* | ||
* @example | ||
* ``` | ||
* { | ||
* action: "tappedConsign", | ||
* context_module : "sellHeader", | ||
* context_screen_owner_type: "sell", | ||
* destination_screen_owner_type: "consignmentSubmission", | ||
* subject: "startSelling" | ||
* } | ||
* ``` | ||
*/ | ||
export interface TappedConsign { | ||
action: ActionType.tappedConsign; | ||
context_module: ContextModule; | ||
context_screen_owner_type: ScreenOwnerType; | ||
destination_screen_owner_type: ScreenOwnerType; | ||
subject: string; | ||
} |
@@ -14,2 +14,3 @@ /** | ||
collection = "collection", | ||
consignmentSubmission = "consignmentSubmission", | ||
consign = "consign", | ||
@@ -22,2 +23,3 @@ explore = "explore", | ||
search = "search", | ||
sell = "sell", | ||
savesAndFollows = "savesAndFollows", | ||
@@ -31,3 +33,3 @@ viewingRoom = "viewingRoom", | ||
*/ | ||
export declare type ScreenOwnerType = OwnerType.artist | OwnerType.artwork | OwnerType.auctions | OwnerType.gene | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consign | OwnerType.explore | OwnerType.fair | OwnerType.home | OwnerType.inbox | OwnerType.sale | OwnerType.search | OwnerType.savesAndFollows | OwnerType.viewingRoom | OwnerType.viewingRoomArtworks | OwnerType.worksForYou; | ||
export declare type ScreenOwnerType = OwnerType.artist | OwnerType.artwork | OwnerType.auctions | OwnerType.gene | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consignmentSubmission | OwnerType.consign | OwnerType.explore | OwnerType.fair | OwnerType.home | OwnerType.inbox | OwnerType.sale | OwnerType.search | OwnerType.savesAndFollows | OwnerType.sell | OwnerType.viewingRoom | OwnerType.viewingRoomArtworks | OwnerType.worksForYou; | ||
/** | ||
@@ -34,0 +36,0 @@ * Owner types available in web/mobile web |
@@ -28,2 +28,3 @@ "use strict"; | ||
OwnerType["collection"] = "collection"; | ||
OwnerType["consignmentSubmission"] = "consignmentSubmission"; | ||
OwnerType["consign"] = "consign"; | ||
@@ -36,2 +37,3 @@ OwnerType["explore"] = "explore"; | ||
OwnerType["search"] = "search"; | ||
OwnerType["sell"] = "sell"; | ||
OwnerType["savesAndFollows"] = "savesAndFollows"; | ||
@@ -38,0 +40,0 @@ OwnerType["viewingRoom"] = "viewingRoom"; |
{ | ||
"name": "@artsy/cohesion", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Analytics schema and library helpers", | ||
@@ -33,12 +33,12 @@ "main": "dist/index.js", | ||
"@types/jest": "25.2.1", | ||
"babel-jest": "25.4.0", | ||
"babel-jest": "26.0.1", | ||
"concurrently": "5.1.0", | ||
"husky": "4.2.5", | ||
"jest": "25.4.0", | ||
"jest": "26.0.1", | ||
"jest-junit": "10.0.0", | ||
"lint-staged": "10.1.7", | ||
"prettier": "2.0.5", | ||
"tslint": "6.1.1", | ||
"typedoc": "0.17.4", | ||
"typescript": "3.9.2" | ||
"tslint": "6.1.2", | ||
"typedoc": "0.17.7", | ||
"typescript": "3.9.3" | ||
}, | ||
@@ -45,0 +45,0 @@ "dependencies": {}, |
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
61584
1381