From 45055232f0bf753c259776675d8c2e2955d12031 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Wed, 17 Dec 2025 10:46:37 +0100 Subject: [PATCH] fix: remove unused import and clean up type definitions --- app/components/content/HoverText.vue | 1 + app/components/home/Link.vue | 1 + content.config.ts | 2 +- worker-configuration.d.ts | 4 ++-- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/components/content/HoverText.vue b/app/components/content/HoverText.vue index df893eb..1019bb1 100644 --- a/app/components/content/HoverText.vue +++ b/app/components/content/HoverText.vue @@ -12,6 +12,7 @@ defineProps({ }, position: { type: String as PropType<'top' | 'right' | 'bottom' | 'left'>, + default: 'top', }, }) diff --git a/app/components/home/Link.vue b/app/components/home/Link.vue index 2b7d8f3..68439cb 100644 --- a/app/components/home/Link.vue +++ b/app/components/home/Link.vue @@ -10,6 +10,7 @@ defineProps({ }, icon: { type: String, + default: '' }, blanked: { type: Boolean, diff --git a/content.config.ts b/content.config.ts index f915919..c3283b7 100644 --- a/content.config.ts +++ b/content.config.ts @@ -1,4 +1,4 @@ -import { defineCollection, z } from '@nuxt/content' +import { defineCollection } from '@nuxt/content' export const collections = { main: defineCollection({ diff --git a/worker-configuration.d.ts b/worker-configuration.d.ts index ccd7dee..853434a 100644 --- a/worker-configuration.d.ts +++ b/worker-configuration.d.ts @@ -8603,7 +8603,7 @@ type AIGatewayHeaders = { [key: string]: string | number | boolean | object; }; type AIGatewayUniversalRequest = { - provider: AIGatewayProviders | string; // eslint-disable-line + provider: AIGatewayProviders | string; endpoint: string; headers: Partial; query: unknown; @@ -8619,7 +8619,7 @@ declare abstract class AiGateway { gateway?: UniversalGatewayOptions; extraHeaders?: object; }): Promise; - getUrl(provider?: AIGatewayProviders | string): Promise; // eslint-disable-line + getUrl(provider?: AIGatewayProviders | string): Promise; } interface AutoRAGInternalError extends Error { }