Files
mealprep/frontend/src/app.d.ts
Marcel Raddatz aeaca76534 fix(auth): handle users without household — fallback to 'Kein Haushalt'
Removes non-null assertions on householdId/householdName. Users who
haven't joined a household get a fallback name in the sidebar.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 13:58:37 +02:00

26 lines
453 B
TypeScript

// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces
declare global {
namespace App {
interface Error {
meldung?: string;
}
interface Locals {
benutzer?: {
id: string;
name: string;
rolle: 'planer' | 'mitglied';
};
haushalt?: {
id: string | undefined;
name: string;
};
}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
}
export {};