Files
peakskills/services/index.ts
2025-08-24 22:03:15 +02:00

28 lines
974 B
TypeScript

// Server-side services (Node.js only)
// Note: These exports are only for server-side usage (API routes)
// Don't import from this index in client-side code to avoid bundling server dependencies
// Database services (server-only)
export { getPool, closePool } from "./database";
// User services (server-only)
export { UserService, userService } from "./user-service";
// Evaluation services (server-only)
export { EvaluationService, evaluationService } from "./evaluation-service";
// Teams services (server-only)
export { TeamsService } from "./teams-service";
// Skills services (server-only)
export { SkillsService } from "./skills-service";
// Admin services (server-only)
export { AdminService } from "./admin-service";
// Admin types (can be imported anywhere)
export type { TeamMember, TeamStats, DirectionStats } from "@/lib/admin-types";
// Server auth service (server-side only)
export { AuthService, COOKIE_NAME, COOKIE_MAX_AGE } from "./auth-service";