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,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

@ -4,7 +4,8 @@
*/
import { browser } from '$app/environment';
import { initializeWebAuth, type UserData } from '@manacore/shared-auth';
import { initializeWebAuth } from '@manacore/shared-auth';
import type { UserData } from '@manacore/shared-auth';
// Initialize Mana Core Auth only on the client side
const MANA_AUTH_URL = 'http://localhost:3001';

View file

@ -1,4 +1,5 @@
import { writable, derived, type Writable } from 'svelte/store';
import { writable, derived } from 'svelte/store';
import type { Writable } from 'svelte/store';
import { browser } from '$app/environment';
import type { TranscriptionJob } from '$lib/api/client';

View file

@ -1,6 +1,7 @@
<script lang="ts">
import { onMount } from 'svelte';
import { api, type Stats } from '$lib/api/client';
import { api } from '$lib/api/client';
import type { Stats } from '$lib/api/client';
import { activeJobs, jobList } from '$lib/stores/jobs';
let stats: Stats | null = $state(null);

View file

@ -1,6 +1,7 @@
<script lang="ts">
import { onMount } from 'svelte';
import { api, type Playlist } from '$lib/api/client';
import { api } from '$lib/api/client';
import type { Playlist } from '$lib/api/client';
let playlists = $state<Playlist[]>([]);
let loading = $state(true);