managarten/games/worldream/apps/web/src/app.d.ts
Till-JS bb0e0cf5cb 🚚 feat(context): integrate context app into monorepo
Restructure the context app (formerly basetext) to follow the monorepo
pattern with proper workspace configuration.

Changes:
- Move app files to apps/context/apps/mobile/
- Rename package to @context/mobile
- Update bundle ID to com.manacore.context
- Create pnpm-workspace.yaml for project workspace
- Add dev scripts to root package.json
- Update CLAUDE.md with project documentation

The app structure is prepared for future web/backend additions.

Note: Existing TypeScript errors in the original codebase are preserved.
These should be fixed in a follow-up PR.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 15:09:04 +01:00

20 lines
591 B
TypeScript

import type { SupabaseClient, Session, User } from '@supabase/supabase-js';
// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces
declare global {
namespace App {
interface Locals {
supabase: SupabaseClient;
// Session helpers - returns mock session while transitioning to Mana Core Auth
safeGetSession: () => Promise<{ session: Session | null; user: User | null }>;
getSession: () => Promise<Session | null>;
}
// interface PageData {}
// interface Error {}
// interface PageState {}
// interface Platform {}
}
}
export {};