@artsy/cohesion
Version:
Analytics schema
27 lines (23 loc) • 814 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.tappedSell = void 0;
var _Schema = require("../../Schema");
var tappedSell = function tappedSell(_ref) {
var contextModule = _ref.contextModule,
contextScreenOwnerType = _ref.contextScreenOwnerType,
contextScreenOwnerId = _ref.contextScreenOwnerId,
contextScreenOwnerSlug = _ref.contextScreenOwnerSlug,
subject = _ref.subject;
return {
action: _Schema.ActionType.tappedSell,
context_module: contextModule,
context_screen_owner_id: contextScreenOwnerId,
context_screen_owner_slug: contextScreenOwnerSlug,
context_screen_owner_type: contextScreenOwnerType,
destination_screen_owner_type: _Schema.OwnerType.sell,
subject: subject
};
};
exports.tappedSell = tappedSell;