From 7e8723ce570bd49557977b910bdf96c0c067faf0 Mon Sep 17 00:00:00 2001 From: Meier Lukas Date: Sat, 14 Mar 2026 13:53:07 +0100 Subject: [PATCH] chore(docs): remove temporary ts-expect-error for documentation-url --- packages/definitions/src/docs/homarr-docs-sitemap.ts | 7 +++++++ packages/definitions/src/integration.ts | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/definitions/src/docs/homarr-docs-sitemap.ts b/packages/definitions/src/docs/homarr-docs-sitemap.ts index 7d8447264..555dad16c 100644 --- a/packages/definitions/src/docs/homarr-docs-sitemap.ts +++ b/packages/definitions/src/docs/homarr-docs-sitemap.ts @@ -109,7 +109,9 @@ export type HomarrDocumentationPath = | "/docs/tags/variables" | "/docs/advanced/command-line" | "/docs/advanced/command-line/fix-usernames" + | "/docs/advanced/command-line/integrations" | "/docs/advanced/command-line/password-recovery" + | "/docs/advanced/command-line/users" | "/docs/advanced/development/getting-started" | "/docs/advanced/development/kubernetes" | "/docs/advanced/environment-variables" @@ -164,6 +166,7 @@ export type HomarrDocumentationPath = | "/docs/integrations/glances" | "/docs/integrations/home-assistant" | "/docs/integrations/ical" + | "/docs/integrations/immich" | "/docs/integrations/jellyfin" | "/docs/integrations/jellyseerr" | "/docs/integrations/kubernetes" @@ -189,6 +192,7 @@ export type HomarrDocumentationPath = | "/docs/integrations/slskd" | "/docs/integrations/sonarr" | "/docs/integrations/tdarr" + | "/docs/integrations/tracearr" | "/docs/integrations/transmission" | "/docs/integrations/truenas" | "/docs/integrations/unifi-controller" @@ -214,6 +218,8 @@ export type HomarrDocumentationPath = | "/docs/widgets/firewall" | "/docs/widgets/health-monitoring" | "/docs/widgets/iframe" + | "/docs/widgets/immich-album-carousel" + | "/docs/widgets/immich-server-stats" | "/docs/widgets/indexer-manager" | "/docs/widgets/media-releases" | "/docs/widgets/media-request-list" @@ -231,6 +237,7 @@ export type HomarrDocumentationPath = | "/docs/widgets/smart-home-execute-automation" | "/docs/widgets/stock-price" | "/docs/widgets/system-resources" + | "/docs/widgets/tracearr" | "/docs/widgets/video" | "/docs/widgets/weather" | "" diff --git a/packages/definitions/src/integration.ts b/packages/definitions/src/integration.ts index 2f64023c2..bbcfcde5f 100644 --- a/packages/definitions/src/integration.ts +++ b/packages/definitions/src/integration.ts @@ -339,7 +339,6 @@ export const integrationDefs = { secretKinds: [["apiKey"]], iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/immich.svg", category: ["photoService"], - // @ts-expect-error TS2345 documentationUrl: createDocumentationLink("/docs/integrations/immich"), }, tracearr: { @@ -347,7 +346,6 @@ export const integrationDefs = { secretKinds: [["apiKey"]], iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/tracearr.svg", category: ["mediaMonitoring"], - // @ts-expect-error - docs page will be created when integration is merged documentationUrl: createDocumentationLink("/docs/integrations/tracearr"), }, // This integration only returns mock data, it is used during development (but can also be used in production by directly going to the create page)