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>
26 lines
453 B
TypeScript
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 {};
|