Spaces:
Runtime error
Runtime error
File size: 924 Bytes
cd8bd0a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | /**
* Gamification module — barrel export.
*
* @module lib/gamification
*/
export { emitGamificationEvent } from "./events";
export {
updateScore,
getRank,
getTopN,
getNeighbors,
rotateScope,
type LeaderboardScope,
type LeaderboardEntry,
} from "./leaderboard";
export { validateScoreChange, getAnomalies } from "./antiCheat";
export { BUILTIN_BADGES } from "./badges";
export {
xpForLevel,
cumulativeXpForLevel,
calculateLevel,
xpToNextLevel,
getLevelTitle,
getLevelTier,
XP_REWARDS,
type XpAction,
} from "./xp";
export { updateStreak } from "./streaks";
export {
recordBadgeUnlock,
consumeBadgeUnlocks,
createBadgeNotificationStream,
} from "./notifications";
export { transferTokens, getBalance, getHistory } from "./sharing";
export { createInvite, redeemInvite as redeemInviteCode } from "./invites";
export { connectServer, disconnectServer, listServers } from "./servers";
|