chore(web): auto sort imports (#7118)

chore(web): auto sort impomrts
This commit is contained in:
Jason Rasmussen
2024-02-14 10:54:32 -05:00
committed by GitHub
parent 2906950188
commit 747df0ae86
8 changed files with 32 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
import '@testing-library/jest-dom';
import { render, type RenderResult, waitFor } from '@testing-library/svelte';
import { render, waitFor, type RenderResult } from '@testing-library/svelte';
import { get } from 'svelte/store';
import { notificationController, NotificationType } from '../notification';
import { NotificationType, notificationController } from '../notification';
import NotificationList from '../notification-list.svelte';
function _getNotificationListElement(sut: RenderResult<NotificationList>): HTMLAnchorElement | null {

View File

@@ -1,7 +1,7 @@
import { QueryParameter } from '$lib/constants';
import { authenticate } from '$lib/utils/auth';
import { search, type AssetResponseDto, type SearchResponseDto } from '@immich/sdk';
import type { PageLoad } from './$types';
import { QueryParameter } from '$lib/constants';
export const load = (async (data) => {
await authenticate();

View File

@@ -1,9 +1,9 @@
import { AppRoute } from '$lib/constants';
import { user } from '$lib/stores/user.store';
import { authenticate } from '$lib/utils/auth';
import { redirect } from '@sveltejs/kit';
import type { PageLoad } from './$types';
import { get } from 'svelte/store';
import { user } from '$lib/stores/user.store';
import type { PageLoad } from './$types';
export const load = (async () => {
await authenticate();

View File

@@ -1,6 +1,6 @@
import type { PageLoad } from './$types';
import { authenticate } from '$lib/utils/auth';
import { loadConfig } from '$lib/stores/server-config.store';
import { authenticate } from '$lib/utils/auth';
import type { PageLoad } from './$types';
export const load = (async () => {
await authenticate({ admin: true });