63 lines
2.2 KiB
TypeScript
63 lines
2.2 KiB
TypeScript
|
|
// this file is generated — do not edit it
|
|
|
|
|
|
declare module "svelte/elements" {
|
|
export interface HTMLAttributes<T> {
|
|
'data-sveltekit-keepfocus'?: true | '' | 'off' | undefined | null;
|
|
'data-sveltekit-noscroll'?: true | '' | 'off' | undefined | null;
|
|
'data-sveltekit-preload-code'?:
|
|
| true
|
|
| ''
|
|
| 'eager'
|
|
| 'viewport'
|
|
| 'hover'
|
|
| 'tap'
|
|
| 'off'
|
|
| undefined
|
|
| null;
|
|
'data-sveltekit-preload-data'?: true | '' | 'hover' | 'tap' | 'off' | undefined | null;
|
|
'data-sveltekit-reload'?: true | '' | 'off' | undefined | null;
|
|
'data-sveltekit-replacestate'?: true | '' | 'off' | undefined | null;
|
|
}
|
|
}
|
|
|
|
export {};
|
|
|
|
|
|
declare module "$app/types" {
|
|
export interface AppTypes {
|
|
RouteId(): "/" | "/access-denied" | "/accounts" | "/accounts/new" | "/accounts/[id]" | "/api" | "/api/files" | "/api/files/[...path]" | "/api/toggle-darkmode" | "/items" | "/items/[id]" | "/login" | "/logout" | "/receipts" | "/receipts/new" | "/receipts/[id]" | "/transactions" | "/transactions/new" | "/transactions/[id]";
|
|
RouteParams(): {
|
|
"/accounts/[id]": { id: string };
|
|
"/api/files/[...path]": { path: string };
|
|
"/items/[id]": { id: string };
|
|
"/receipts/[id]": { id: string };
|
|
"/transactions/[id]": { id: string }
|
|
};
|
|
LayoutParams(): {
|
|
"/": { id?: string; path?: string };
|
|
"/access-denied": Record<string, never>;
|
|
"/accounts": { id?: string };
|
|
"/accounts/new": Record<string, never>;
|
|
"/accounts/[id]": { id: string };
|
|
"/api": { path?: string };
|
|
"/api/files": { path?: string };
|
|
"/api/files/[...path]": { path: string };
|
|
"/api/toggle-darkmode": Record<string, never>;
|
|
"/items": { id?: string };
|
|
"/items/[id]": { id: string };
|
|
"/login": Record<string, never>;
|
|
"/logout": Record<string, never>;
|
|
"/receipts": { id?: string };
|
|
"/receipts/new": Record<string, never>;
|
|
"/receipts/[id]": { id: string };
|
|
"/transactions": { id?: string };
|
|
"/transactions/new": Record<string, never>;
|
|
"/transactions/[id]": { id: string }
|
|
};
|
|
Pathname(): "/" | `/api/files/${string}` & {} | "/login" | "/logout" | "/receipts" | "/receipts/new" | `/receipts/${string}` & {};
|
|
ResolvedPathname(): `${"" | `/${string}`}${ReturnType<AppTypes['Pathname']>}`;
|
|
Asset(): "/icon.svg" | "/manifest.webmanifest" | string & {};
|
|
}
|
|
} |