UNPKG

@artsy/cohesion

Version:
26 lines (25 loc) 958 B
import { ClickedMainArtworkGrid, PageOwnerType } from "../../Schema"; export interface ClickedMainArtworkGridArgs { contextPageOwnerType: PageOwnerType; contextPageOwnerId?: string; contextPageOwnerSlug?: string; destinationPageOwnerId: string; destinationPageOwnerSlug: string; position?: number; sort?: string; } /** * A user clicks an artwork in the main artowrkGrid (web) * * @example * ``` * clickedMainArtworkGrid({ * contextPageOwnerType: OwnerType.artist, * contextPageOwnerId: "5359794d2a1e86c3741001f8", * contextPageOwnerSlug: "andy-warhol", * destinationPageOwnerId: "5359794d1a1e86c3740001f7", * destinationPageOwnerSlug: "andy-warhol-skull", * }) * ``` */ export declare const clickedMainArtworkGrid: ({ contextPageOwnerType, contextPageOwnerId, contextPageOwnerSlug, destinationPageOwnerId, destinationPageOwnerSlug, position, sort, }: ClickedMainArtworkGridArgs) => ClickedMainArtworkGrid;