mirror of
https://github.com/immich-app/immich.git
synced 2025-01-08 12:56:48 +01:00
adae5dd758
* feat(web): SPA * chore: remove unnecessary prune * feat(web): merge with immich-server * Correct method name * fix: bugs, docs, workflows, etc. * chore: keep dockerignore for dev * chore: remove license * fix: expose 2283 --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
29 lines
760 B
TypeScript
29 lines
760 B
TypeScript
/// <reference types="@sveltejs/kit" />
|
|
|
|
// See https://kit.svelte.dev/docs/types#app
|
|
// for information about these interfaces
|
|
declare namespace App {
|
|
interface PageData {
|
|
meta: {
|
|
title: string;
|
|
description?: string;
|
|
imageUrl?: string;
|
|
};
|
|
}
|
|
|
|
interface Error {
|
|
message: string;
|
|
stack?: string;
|
|
code?: string | number;
|
|
}
|
|
}
|
|
|
|
// Source: https://stackoverflow.com/questions/63814432/typescript-typing-of-non-standard-window-event-in-svelte
|
|
// To fix the <svelte:window... in components/asset-viewer/photo-viewer.svelte
|
|
declare namespace svelteHTML {
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
interface HTMLAttributes<T> {
|
|
'on:copyImage'?: () => void;
|
|
'on:zoomImage'?: () => void;
|
|
}
|
|
}
|