From 1bacca2cbe244606aa441d3b3be1298577c4d4cd Mon Sep 17 00:00:00 2001 From: Eli Kogan-Wang Date: Wed, 22 Jan 2025 03:17:50 +0100 Subject: [PATCH] fix: update import paths to use correct relative references for $types --- .../routes/(authenticated)/configuration/(subpages)/+layout.ts | 2 +- .../(authenticated)/configuration/(subpages)/+page.server.ts | 2 +- .../configuration/(subpages)/configuration-details/+page.svelte | 2 +- .../(authenticated)/configuration/(subpages)/edit/+page.svelte | 2 +- .../configuration/(subpages)/terminal/+page.svelte | 2 +- .../(authenticated)/configuration/(subpages)/vnc/+page.svelte | 2 +- .../(authenticated)/configuration/(subpages)/vnc/+page.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/routes/(authenticated)/configuration/(subpages)/+layout.ts b/frontend/src/routes/(authenticated)/configuration/(subpages)/+layout.ts index b48ead73..6d19732e 100644 --- a/frontend/src/routes/(authenticated)/configuration/(subpages)/+layout.ts +++ b/frontend/src/routes/(authenticated)/configuration/(subpages)/+layout.ts @@ -1,4 +1,4 @@ -import type { LayoutLoad } from '../$types'; +import type { LayoutLoad } from './$types'; import { getDeploymentInfosByConfigId, type DeploymentInfo } from '$lib/deploymentInfo'; import { redirect } from '@sveltejs/kit'; diff --git a/frontend/src/routes/(authenticated)/configuration/(subpages)/+page.server.ts b/frontend/src/routes/(authenticated)/configuration/(subpages)/+page.server.ts index 66087398..29bd9fed 100644 --- a/frontend/src/routes/(authenticated)/configuration/(subpages)/+page.server.ts +++ b/frontend/src/routes/(authenticated)/configuration/(subpages)/+page.server.ts @@ -1,5 +1,5 @@ import { redirect } from '@sveltejs/kit'; -import type { PageServerLoad } from '../$types'; +import type { PageServerLoad } from './$types'; export const load = (async () => { redirect(303, '/overview'); diff --git a/frontend/src/routes/(authenticated)/configuration/(subpages)/configuration-details/+page.svelte b/frontend/src/routes/(authenticated)/configuration/(subpages)/configuration-details/+page.svelte index fddb7ba6..55e652d2 100644 --- a/frontend/src/routes/(authenticated)/configuration/(subpages)/configuration-details/+page.svelte +++ b/frontend/src/routes/(authenticated)/configuration/(subpages)/configuration-details/+page.svelte @@ -1,6 +1,6 @@ diff --git a/frontend/src/routes/(authenticated)/configuration/(subpages)/vnc/+page.svelte b/frontend/src/routes/(authenticated)/configuration/(subpages)/vnc/+page.svelte index 5be432dd..b0580960 100644 --- a/frontend/src/routes/(authenticated)/configuration/(subpages)/vnc/+page.svelte +++ b/frontend/src/routes/(authenticated)/configuration/(subpages)/vnc/+page.svelte @@ -14,7 +14,7 @@ import Tabbar from '$lib/components/Tabbar.svelte'; import { getDeploymentInfosByConfigId } from '$lib/deploymentInfo'; - import type { PageData } from '../../$types'; + import type { PageData } from './$types'; export let data: PageData; const getConfigFromIdentifier = (identifier: string) => { diff --git a/frontend/src/routes/(authenticated)/configuration/(subpages)/vnc/+page.ts b/frontend/src/routes/(authenticated)/configuration/(subpages)/vnc/+page.ts index 072ff0ef..43c08dcb 100644 --- a/frontend/src/routes/(authenticated)/configuration/(subpages)/vnc/+page.ts +++ b/frontend/src/routes/(authenticated)/configuration/(subpages)/vnc/+page.ts @@ -1,5 +1,5 @@ import { getAllDeploymentInfosAsMapFromConfigId } from '$lib/deploymentInfo'; -import type { PageLoad } from '../../$types'; +import type { PageLoad } from './$types'; export const load = (async ({ fetch }) => { const allDeploymentInfos = await getAllDeploymentInfosAsMapFromConfigId(fetch);