@artsy/cohesion
Advanced tools
Comparing version 1.24.1-canary.87.1270.0 to 1.25.0
@@ -0,1 +1,13 @@ | ||
# v1.25.0 (Mon Aug 03 2020) | ||
#### 🚀 Enhancement | ||
- Add "artists" and "galleries" to OwnerType [#88](https://github.com/artsy/cohesion/pull/88) ([@eessex](https://github.com/eessex)) | ||
#### Authors: 1 | ||
- Eve Essex ([@eessex](https://github.com/eessex)) | ||
--- | ||
# v1.24.0 (Thu Jul 30 2020) | ||
@@ -2,0 +14,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { ContextModule, EntityModuleHeight, EntityModuleType, OwnerType, ScreenOwnerType, TappedArtistGroup, TappedArtworkGroup, TappedAuctionGroup, TappedCollectionGroup, TappedExploreGroup, TappedFairGroup, TappedViewingRoomGroup } from "../../Schema"; | ||
export declare type TappedEntityDestinationType = OwnerType.artist | OwnerType.artwork | OwnerType.collection | OwnerType.explore | OwnerType.fair | OwnerType.sale | OwnerType.auctions | OwnerType.savesAndFollows | OwnerType.gene | OwnerType.worksForYou | OwnerType.viewingRoom; | ||
import { ContextModule, EntityModuleHeight, EntityModuleType, OwnerType, ScreenOwnerType, TappedArtistGroup, TappedArtworkGroup, TappedAuctionGroup, TappedCollectionGroup, TappedExploreGroup, TappedFairGroup } from "../../Schema"; | ||
export declare type TappedEntityDestinationType = OwnerType.artist | OwnerType.artwork | OwnerType.collection | OwnerType.explore | OwnerType.fair | OwnerType.sale | OwnerType.auctions | OwnerType.savesAndFollows | OwnerType.gene | OwnerType.worksForYou; | ||
export interface TappedEntityGroupArgs { | ||
@@ -34,2 +34,2 @@ contextModule: ContextModule; | ||
*/ | ||
export declare const tappedEntityGroup: ({ contextModule, contextScreenOwnerType, contextScreenOwnerId, contextScreenOwnerSlug, destinationScreenOwnerType, destinationScreenOwnerId, destinationScreenOwnerSlug, horizontalSlidePosition, moduleHeight, type, }: TappedEntityGroupArgs) => TappedArtistGroup | TappedArtworkGroup | TappedAuctionGroup | TappedCollectionGroup | TappedExploreGroup | TappedViewingRoomGroup | TappedFairGroup; | ||
export declare const tappedEntityGroup: ({ contextModule, contextScreenOwnerType, contextScreenOwnerId, contextScreenOwnerSlug, destinationScreenOwnerType, destinationScreenOwnerId, destinationScreenOwnerSlug, horizontalSlidePosition, moduleHeight, type, }: TappedEntityGroupArgs) => TappedArtistGroup | TappedArtworkGroup | TappedAuctionGroup | TappedCollectionGroup | TappedExploreGroup | TappedFairGroup; |
@@ -71,6 +71,2 @@ "use strict"; | ||
break; | ||
case _Schema.OwnerType.viewingRoom: | ||
action = _Schema.ActionType.tappedViewingRoomGroup; | ||
break; | ||
} | ||
@@ -77,0 +73,0 @@ |
@@ -8,2 +8,3 @@ /** | ||
artist = "artist", | ||
artists = "artists", | ||
artwork = "artwork", | ||
@@ -21,2 +22,3 @@ auctions = "auctions", | ||
fair = "fair", | ||
galleries = "galleries", | ||
home = "home", | ||
@@ -42,2 +44,2 @@ inbox = "inbox", | ||
*/ | ||
export declare type PageOwnerType = OwnerType.artist | OwnerType.artwork | OwnerType.auctions | OwnerType.collect | OwnerType.collection | OwnerType.consign | OwnerType.fair | OwnerType.gene | OwnerType.home | OwnerType.partner | OwnerType.sale | OwnerType.search | OwnerType.worksForYou; | ||
export declare type PageOwnerType = OwnerType.artist | OwnerType.artists | OwnerType.artwork | OwnerType.auctions | OwnerType.collect | OwnerType.collection | OwnerType.consign | OwnerType.fair | OwnerType.galleries | OwnerType.gene | OwnerType.home | OwnerType.partner | OwnerType.sale | OwnerType.search | OwnerType.worksForYou; |
@@ -22,2 +22,3 @@ "use strict"; | ||
OwnerType["artist"] = "artist"; | ||
OwnerType["artists"] = "artists"; | ||
OwnerType["artwork"] = "artwork"; | ||
@@ -35,2 +36,3 @@ OwnerType["auctions"] = "auctions"; | ||
OwnerType["fair"] = "fair"; | ||
OwnerType["galleries"] = "galleries"; | ||
OwnerType["home"] = "home"; | ||
@@ -37,0 +39,0 @@ OwnerType["inbox"] = "inbox"; |
{ | ||
"name": "@artsy/cohesion", | ||
"version": "1.24.1-canary.87.1270.0", | ||
"version": "1.25.0", | ||
"description": "Analytics schema and library helpers", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
105321
2442
0