Remove all api endpoints from frontend project

This commit is contained in:
Pablu23
2025-10-10 10:36:08 +02:00
parent 5dda281985
commit 9a44b91099
13 changed files with 87 additions and 258 deletions

34
src/app.d.ts vendored
View File

@@ -1,21 +1,25 @@
// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
interface Locals {
user: {
isLoggedIn: boolean;
email: string | null;
username: string | null;
}
}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
namespace App {
// interface Error {}
interface Locals {
// user: {
// isLoggedIn: boolean;
// email: string | null;
// username: string | null;
// }
}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
}
export interface User {
email: string | null;
username: string | null;
}
export interface Player {
@@ -45,4 +49,4 @@ export interface GameSettings {
export type WebSocketMessage = {
type: string;
[key: string]: any;
}
};