UNPKG

@artsy/cohesion

Version:
37 lines (33 loc) 1.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.tappedRegisterToBid = void 0; var _Schema = require("../../Schema"); /** * A user taps on register to bid button within the iOS app * * @example * ``` * tappedRegisterToBid({ * contextModule: true, * contextScreenOwnerId: "5359794d2a1e86c3741001f8", * contextScreenOwnerSlug "auction-slug": * contextScreenOwnerType: "sale", * }) * ``` */ var tappedRegisterToBid = function tappedRegisterToBid(_ref) { var contextModule = _ref.contextModule, contextScreenOwnerType = _ref.contextScreenOwnerType, contextScreenOwnerId = _ref.contextScreenOwnerId, contextScreenOwnerSlug = _ref.contextScreenOwnerSlug; return { action: _Schema.ActionType.tappedRegisterToBid, context_module: contextModule, context_screen_owner_id: contextScreenOwnerId, context_screen_owner_slug: contextScreenOwnerSlug, context_screen_owner_type: contextScreenOwnerType }; }; exports.tappedRegisterToBid = tappedRegisterToBid;