UNPKG

@artsy/cohesion

Version:
34 lines (30 loc) 918 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.tappedCollectedArtworkImages = void 0; var _Schema = require("../../Schema"); /** * * A user taps into images of an artwork in their My Collection * * @example * ``` * tappedCollectedArtworkImages({ * contextOwnerId: "my-artwork-id", * contextOwnerSlug: "my-artwork-slug" * }) * ``` */ var tappedCollectedArtworkImages = function tappedCollectedArtworkImages(_ref) { var contextOwnerId = _ref.contextOwnerId, contextOwnerSlug = _ref.contextOwnerSlug; return { action: _Schema.ActionType.tappedCollectedArtworkImages, context_module: _Schema.ContextModule.myCollectionArtwork, context_owner_id: contextOwnerId, context_owner_slug: contextOwnerSlug, context_owner_type: _Schema.OwnerType.myCollectionArtwork }; }; exports.tappedCollectedArtworkImages = tappedCollectedArtworkImages;