mirror of
https://github.com/rxliuli/apps.apple.com.git
synced 2025-11-09 23:00:32 +00:00
14 lines
470 B
JavaScript
14 lines
470 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.demoteByEngagements = void 0;
|
|
/**
|
|
* Re-rank candidates by demoting candidates based on engagement events.
|
|
* @param candidates Recommendable entities
|
|
* @param engagementEvents Recorded engagement events
|
|
* @returns Reordered candidates
|
|
*/
|
|
function demoteByEngagements(candidates, _engagementEvents) {
|
|
return [...candidates];
|
|
}
|
|
exports.demoteByEngagements = demoteByEngagements;
|