refactor: re-export ownership utilities from player-manager
Add convenience re-exports of player ownership utilities to player-manager. This makes ownership functions easily accessible alongside other player management functions. Part of player ownership centralization plan (Phase 3/7). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,9 @@ import { and, eq } from 'drizzle-orm'
|
||||
import { db, schema } from '@/db'
|
||||
import type { Player } from '@/db/schema/players'
|
||||
|
||||
// Re-export ownership utilities for convenience
|
||||
export { buildPlayerOwnershipMap, type PlayerOwnershipMap } from './player-ownership'
|
||||
|
||||
/**
|
||||
* Get all players for a user (regardless of isActive status)
|
||||
* @param viewerId - The guestId from the cookie (same as what getViewerId() returns)
|
||||
|
||||
Reference in New Issue
Block a user