From 53e2891be506244c1986cee3c41d17c1a529d075 Mon Sep 17 00:00:00 2001 From: ArneBo Date: Fri, 21 Feb 2025 11:12:14 +0100 Subject: [PATCH] fix(front): de-couple album card from generated types --- front/src/components/album/Card.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/front/src/components/album/Card.vue b/front/src/components/album/Card.vue index 7de2c2e70..f10379060 100644 --- a/front/src/components/album/Card.vue +++ b/front/src/components/album/Card.vue @@ -11,9 +11,7 @@ import Card from '~/components/ui/Card.vue' import Link from '~/components/ui/Link.vue' import Spacer from '~/components/ui/Spacer.vue' -import { type components } from '~/generated/types.ts' - -type Album = components['schemas']['Album'] +import { type Album } from '~/types' const play = defineEmit<[album: Album]>()