fix(openapi-ts): replace api call with generated api client

This commit is contained in:
2026-05-23 19:51:08 +02:00
parent f1afb2096f
commit 43b314bb20
6 changed files with 29 additions and 24 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
<script setup lang="ts">
import { ref, onMounted } from "vue";
import { gamesApiListGames } from "./api";
import type { GamesApiListGamesResponse } from "./api/types.gen";
const games = ref<any[]>([]);
const games = ref<GamesApiListGamesResponse | undefined>();
const loading = ref(true);
const imageErrors = ref<Set<number>>(new Set());