chore(nutriphi): update config and type definitions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Till-JS 2025-11-27 14:47:28 +01:00
parent c561c4c8d8
commit cc6ca028a7
3 changed files with 3 additions and 13 deletions

View file

@ -18,7 +18,7 @@
"type": "state-management"
},
{
"name": "supabase",
"name": "mana-core-auth",
"type": "authentication"
}
],

View file

@ -1,7 +1,3 @@
# Supabase Configuration (same as mobile app)
PUBLIC_SUPABASE_URL=https://your-project.supabase.co
PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key
# Nutriphi Backend API
PUBLIC_BACKEND_URL=http://localhost:3002
@ -9,9 +5,6 @@ PUBLIC_BACKEND_URL=http://localhost:3002
PUBLIC_NUTRIPHI_MIDDLEWARE_URL=https://api.manacore.de
PUBLIC_MIDDLEWARE_APP_ID=nutriphi
# Storage
PUBLIC_STORAGE_BUCKET=meal-photos
# OAuth (optional)
PUBLIC_GOOGLE_CLIENT_ID=your-google-client-id
PUBLIC_APPLE_CLIENT_ID=your-apple-client-id

View file

@ -1,17 +1,14 @@
// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces
import type { Session, User } from '@supabase/supabase-js';
declare global {
namespace App {
// interface Error {}
interface Locals {
supabase: ReturnType<typeof import('@supabase/ssr').createServerClient>;
safeGetSession: () => Promise<{ session: Session | null; user: User | null }>;
// Authentication handled via Mana Middleware (client-side)
}
interface PageData {
session: Session | null;
user: User | null;
// Page data types
}
// interface PageState {}
// interface Platform {}