57 lines
2.0 KiB
TypeScript
57 lines
2.0 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(): "/" | "/api" | "/api/darkmode" | "/api/notifications" | "/api/notifications/[id]" | "/api/sso" | "/api/sso/exchange" | "/login" | "/logout" | "/notifications" | "/profile" | "/training" | "/users" | "/users/[id]" | "/[site]";
|
|
RouteParams(): {
|
|
"/api/notifications/[id]": { id: string };
|
|
"/users/[id]": { id: string };
|
|
"/[site]": { site: string }
|
|
};
|
|
LayoutParams(): {
|
|
"/": { id?: string; site?: string };
|
|
"/api": { id?: string };
|
|
"/api/darkmode": Record<string, never>;
|
|
"/api/notifications": { id?: string };
|
|
"/api/notifications/[id]": { id: string };
|
|
"/api/sso": Record<string, never>;
|
|
"/api/sso/exchange": Record<string, never>;
|
|
"/login": Record<string, never>;
|
|
"/logout": Record<string, never>;
|
|
"/notifications": Record<string, never>;
|
|
"/profile": Record<string, never>;
|
|
"/training": Record<string, never>;
|
|
"/users": { id?: string };
|
|
"/users/[id]": { id: string };
|
|
"/[site]": { site: string }
|
|
};
|
|
Pathname(): "/" | "/api/darkmode" | "/api/notifications" | `/api/notifications/${string}` & {} | "/api/sso/exchange" | "/login" | "/logout" | "/notifications" | "/profile" | "/training" | "/users" | `/users/${string}` & {} | `/${string}` & {};
|
|
ResolvedPathname(): `${"" | `/${string}`}${ReturnType<AppTypes['Pathname']>}`;
|
|
Asset(): string & {};
|
|
}
|
|
} |