chore: enum support for new API (#7110)

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
Ben McCann
2024-02-14 06:38:57 -08:00
committed by GitHub
parent 6f5648569a
commit 87ae0be081
108 changed files with 545 additions and 379 deletions
@@ -7,8 +7,7 @@
import ThemeButton from '$lib/components/shared-components/theme-button.svelte';
import { user } from '$lib/stores/user.store';
import { handleError } from '$lib/utils/handle-error';
import { SharedLinkType } from '@api';
import { getMySharedLink } from '@immich/sdk';
import { getMySharedLink, SharedLinkType } from '@immich/sdk';
import type { PageData } from './$types';
export let data: PageData;
+1 -2
View File
@@ -1,7 +1,6 @@
import { getAssetThumbnailUrl } from '$lib/utils';
import { authenticate } from '$lib/utils/auth';
import { ThumbnailFormat } from '@api';
import { getMySharedLink } from '@immich/sdk';
import { ThumbnailFormat, getMySharedLink } from '@immich/sdk';
import { error as throwError } from '@sveltejs/kit';
import type { AxiosError } from 'axios';
import type { PageLoad } from './$types';