Feat: New project chat, uload refactor (postgress), hosting plans, uload landingpage

This commit is contained in:
Till-JS 2025-11-25 13:01:41 +01:00
parent 559eb08d8c
commit fcf3a344b1
123 changed files with 7106 additions and 3715 deletions

View file

@ -1,8 +1,9 @@
// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces
import type { DB } from '$lib/db';
import type { AvailableLanguageTag } from '$paraglide/runtime';
import type { ParaglideLocals } from '@inlang/paraglide-sveltekit';
// Supported locales
export type SupportedLocale = 'en' | 'de' | 'es' | 'fr' | 'it';
// User type (will be replaced by external auth later)
export interface User {
@ -20,7 +21,7 @@ declare global {
interface Locals {
db: DB;
user: User | null;
paraglide: ParaglideLocals<AvailableLanguageTag>;
locale: SupportedLocale;
}
interface PageData {
user: User | null;