Skip to content

Commit

Permalink
fix: update import paths to use correct relative references for $types
Browse files Browse the repository at this point in the history
  • Loading branch information
elikoga committed Jan 22, 2025
1 parent b79e98b commit 1bacca2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
Original file line number Diff line number Diff line change
@@ -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');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { t } from 'svelte-i18n';
import type { PageData } from '../../$types';
import type { PageData } from './$types';
import { Badge, Card } from 'flowbite-svelte';
import {
globalNavSelectedConfig,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
globalNavSelectedConfig
} from '$lib/state';
import DeployActions from '$lib/components/DeployActions.svelte';
import type { PageData } from '../../$types';
import type { PageData } from './$types';
import ConfigModuleCard from '$lib/config/ModuleCard.svelte';
import HardDrive from 'lucide-svelte/icons/hard-drive';
import TagIcon from 'lucide-svelte/icons/tag';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Terminal from '$lib/terminal/Terminal.svelte';
import { globalNavSelectedConfig, globalNavSelectedTarget } from '$lib/state';
import Tabbar from '$lib/components/Tabbar.svelte';
import type { PageData } from '../../$types';
import type { PageData } from './$types';
export let data: PageData;
</script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -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);
Expand Down

0 comments on commit 1bacca2

Please sign in to comment.