Replace entire repo content with code from /root/shahikitchen-google/

This commit is contained in:
root
2026-07-03 02:51:15 +00:00
parent c8b7dc95e4
commit 8ccf033329
79 changed files with 7611 additions and 439 deletions
+16
View File
@@ -0,0 +1,16 @@
import { NextResponse } from 'next/server';
import { isMenuManagerEmail } from '@/domain/auth/menu-managers';
import { getCustomerSession } from '@/infrastructure/auth/customer-session';
export const dynamic = 'force-dynamic';
export async function GET() {
const session = await getCustomerSession();
const email = session?.email ?? null;
return NextResponse.json({
authenticated: Boolean(session),
email,
name: session?.name ?? null,
isMenuManager: isMenuManagerEmail(email),
});
}