replace all occurrences of fetch with openapi-fetch in routes

This commit is contained in:
maxDorninger
2025-08-29 21:06:59 +02:00
parent 5a71246623
commit ded9503169
21 changed files with 1043 additions and 1358 deletions

View File

@@ -7,11 +7,12 @@
import { base } from '$app/paths';
import type { MetaDataProviderSearchResult } from '$lib/types.js';
import { SvelteURLSearchParams } from 'svelte/reactivity';
import type {components} from "$lib/api/api";
const apiUrl = env.PUBLIC_API_URL;
let loading = $state(false);
let errorMessage = $state<string | null>(null);
let { result, isShow = true }: { result: MetaDataProviderSearchResult; isShow: boolean } =
let { result, isShow = true }: { result: components['schemas']['MetaDataProviderSearchResult']; isShow: boolean } =
$props();
console.log('Add Show Card Result: ', result);