- Add Prisma schema for AdminUser, Source, Article, SearchRule, SearchRun, and encrypted ApiKey storage. - Implement JWT session middleware and admin login/logout. - Add AES-256-GCM encryption helpers for API keys. - Seed default news sources and admin credentials. - Create admin shell layout and login page.
6 lines
187 B
TypeScript
6 lines
187 B
TypeScript
import AdminLayout from '@/components/admin/AdminLayout';
|
|
|
|
export default function Layout({ children }: { children: React.ReactNode }) {
|
|
return <AdminLayout>{children}</AdminLayout>;
|
|
}
|