UNPKG

@artsy/cohesion

Version:
29 lines (28 loc) 1.17 kB
import { ClickedCollectionGroup, ContextModule, EntityModuleType, PageOwnerType } from "../../Schema"; export interface ClickedCollectionGroupArgs { contextModule: ContextModule; contextPageOwnerType: PageOwnerType; contextPageOwnerId?: string; contextPageOwnerSlug?: string; destinationPageOwnerId: string; destinationPageOwnerSlug: string; horizontalSlidePosition?: number; type?: EntityModuleType; } /** * A user clicks a grouping of artist series (web) * * @example * ``` * clickedCollectionGroup({ * contextModule: ContextModule.featuredCollectionsRail * contextPageOwnerType: OwnerType.collection, * contextPageOwnerId: "5359794d2a1e86c3741001f8", * contextPageOwnerSlug: "contemporary", * destinationPageOwnerId: "5359794d1a1e86c3740001f7", * destinationPageOwnerSlug: "andy-warhol-skulls", * horizontalSlidePosition: 3 * }) * ``` */ export declare const clickedCollectionGroup: ({ contextModule, contextPageOwnerType, contextPageOwnerId, contextPageOwnerSlug, destinationPageOwnerId, destinationPageOwnerSlug, horizontalSlidePosition, type, }: ClickedCollectionGroupArgs) => ClickedCollectionGroup;