@artsy/cohesion
Version:
Analytics schema
13 lines (12 loc) • 675 B
TypeScript
import { ContextModule, ScreenOwnerType, TappedLink } from "../../Schema";
export interface TappedLinkArgs {
contextModule: ContextModule;
contextScreenOwnerType: ScreenOwnerType;
contextScreenOwnerId?: string;
contextScreenOwnerSlug?: string;
destinationPath: string;
destinationScreenOwnerId?: string;
destinationScreenOwnerSlug?: string;
destinationScreenOwnerType?: ScreenOwnerType;
}
export declare const tappedLink: ({ contextModule, contextScreenOwnerType, contextScreenOwnerId, contextScreenOwnerSlug, destinationPath, destinationScreenOwnerSlug, destinationScreenOwnerId, destinationScreenOwnerType, }: TappedLinkArgs) => TappedLink;