mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 11:24:37 +02:00
dd638ac207
* fix(web): slideshow on iphone * make requestFullscreen type optional
30 lines
649 B
TypeScript
30 lines
649 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;
|
|
}
|
|
}
|
|
|
|
declare module '$env/static/public' {
|
|
export const PUBLIC_IMMICH_PAY_HOST: string;
|
|
export const PUBLIC_IMMICH_BUY_HOST: string;
|
|
}
|
|
|
|
interface Element {
|
|
// Make optional, because it's unavailable on iPhones.
|
|
requestFullscreen?(options?: FullscreenOptions): Promise<void>;
|
|
}
|