// See https://svelte.dev/docs/kit/types#app.d.ts import type { PrismaClient } from '@prisma/client'; export interface TenantThemeData { lightPageBg?: string | null; lightPageBgImage?: string | null; lightNavBg?: string | null; lightNavBgImage?: string | null; lightColumnBg?: string | null; lightColumnBorder?: string | null; lightColumnText?: string | null; lightColumnOpacity?: number | null; lightCardBg?: string | null; lightCardBorder?: string | null; lightCardText?: string | null; lightCardOpacity?: number | null; lightCardRadius?: string | null; lightPrimary?: string | null; lightPrimaryHover?: string | null; lightDanger?: string | null; lightDangerHover?: string | null; lightSuccess?: string | null; lightWarning?: string | null; darkPageBg?: string | null; darkPageBgImage?: string | null; darkNavBg?: string | null; darkNavBgImage?: string | null; darkColumnBg?: string | null; darkColumnBorder?: string | null; darkColumnText?: string | null; darkColumnOpacity?: number | null; darkCardBg?: string | null; darkCardBorder?: string | null; darkCardText?: string | null; darkCardOpacity?: number | null; darkCardRadius?: string | null; darkPrimary?: string | null; darkPrimaryHover?: string | null; darkDanger?: string | null; darkDangerHover?: string | null; darkSuccess?: string | null; darkWarning?: string | null; } declare global { namespace App { interface Error { message: string; code?: string; } interface Locals { tenant: { id: string; name: string; slug: string; logoUrl?: string | null; logoText?: string | null; theme?: TenantThemeData | null; } | null; user: { id: string; email: string; name: string; globalRole: string; tenantRole: string | null; avatarUrl: string | null; } | null; session: { id: string; } | null; theme?: string; } // interface PageData {} // interface PageState {} // interface Platform {} } } export {};