Fix wrong type

import, make auth and chat work
This commit is contained in:
Wuesteon 2025-12-04 23:25:25 +01:00
parent b8f9bc107c
commit 9c47119535
261 changed files with 24453 additions and 443 deletions

View file

@ -1,4 +1,4 @@
import { type Handle } from '@sveltejs/kit';
import {Handle } from '@sveltejs/kit';
/**
* Server hooks for Nutriphi Web

View file

@ -1,5 +1,6 @@
<script lang="ts">
import { AppSlider, type AppItem } from '@manacore/shared-ui';
import { AppSlider } from '@manacore/shared-ui';
import type { AppItem } from '@manacore/shared-ui';
import { MANA_APPS, APP_STATUS_LABELS, APP_SLIDER_LABELS } from '@manacore/shared-branding';
// Convert MANA_APPS to AppItem format (German)

View file

@ -3,7 +3,8 @@
* Handles JWT token lifecycle, refresh logic, and request queueing
*/
import { authService, type UserData } from './authService';
import { authService } from './authService';
import type { UserData } from './authService';
import { browser } from '$app/environment';
export enum TokenState {

View file

@ -5,7 +5,8 @@
import { writable, derived } from 'svelte/store';
import { browser } from '$app/environment';
import { authService, type UserData } from '$lib/services/authService';
import { authService } from '$lib/services/authService';
import type { UserData } from '$lib/services/authService';
import { tokenManager } from '$lib/services/tokenManager';
const STORAGE_KEYS = {