17 lines
576 B
JavaScript
17 lines
576 B
JavaScript
/**
|
|
* Zen Admin Module
|
|
* Admin panel functionality with role-based access control
|
|
*/
|
|
|
|
// Middleware exports
|
|
export { protectAdmin, isAdmin } from './middleware/protect.js';
|
|
|
|
// Component exports (for catch-all routes)
|
|
export { AdminPagesClient, AdminPagesLayout } from './pages.js';
|
|
|
|
// NOTE: Server-only navigation builder is in '@hykocx/zen/admin/navigation'
|
|
// Do NOT import from this file to avoid bundling database code into client
|
|
|
|
// NOTE: Admin server actions are exported separately to avoid bundling issues
|
|
// Import them from '@hykocx/zen/admin/actions' instead
|