mirror of
https://github.com/immich-app/immich.git
synced 2026-02-09 11:20:00 +03:00
* Add navbar button to copy image * Use global event for copy image * merge upstream * Fixed missing required props * feat(web): Show notification after copying image to clipboard * chore(web): Fix typescript error * chore(web): Formatting Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
20 lines
533 B
TypeScript
20 lines
533 B
TypeScript
/// <reference types="@sveltejs/kit" />
|
|
|
|
// See https://kit.svelte.dev/docs/types#app
|
|
// for information about these interfaces
|
|
declare namespace App {
|
|
interface Locals {
|
|
user?: import('@api').UserResponseDto;
|
|
}
|
|
|
|
// interface Platform {}
|
|
}
|
|
|
|
// 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 svelte.JSX {
|
|
interface HTMLAttributes<T> {
|
|
oncopyImage?: () => void;
|
|
}
|
|
}
|