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
+15
View File
@@ -0,0 +1,15 @@
/** Google accounts allowed to access Menu Management (/admin). */
const MENU_MANAGER_EMAILS = new Set([
'imraswe@gmail.com',
'zeeshanatnorth@gmail.com',
]);
export function normalizeEmail(email: string): string {
return email.trim().toLowerCase();
}
export function isMenuManagerEmail(email: string | null | undefined): boolean {
if (!email) return false;
return MENU_MANAGER_EMAILS.has(normalizeEmail(email));
}