mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 18:26:41 +02:00
Fix wrong type
import, make auth and chat work
This commit is contained in:
parent
b8f9bc107c
commit
9c47119535
261 changed files with 24453 additions and 443 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { type Handle } from '@sveltejs/kit';
|
||||
import {Handle } from '@sveltejs/kit';
|
||||
|
||||
/**
|
||||
* Server hooks for Nutriphi Web
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue