mirror of
https://github.com/open-reception/appointment-booking-software.git
synced 2026-09-22 08:54:52 +02:00
* Basic implementation * Syntax fixes * Implemented PRF for passkey administration. Updated docs, renamed confusing endpoints. * Update src/routes/api/auth/passkeys/[passkeyId]/crypto/+server.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Removed unused param * Merge fixes, formatting fixes, database migrations --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
32 lines
617 B
TypeScript
32 lines
617 B
TypeScript
// See https://svelte.dev/docs/kit/types#app.d.ts
|
|
|
|
import type { SelectUser } from "$lib/server/db/central-schema";
|
|
import type { Locale } from "$i18n/runtime";
|
|
|
|
interface SessionInfo {
|
|
passkeyId?: string;
|
|
session: {
|
|
sessionId: string;
|
|
exp: number;
|
|
};
|
|
}
|
|
|
|
// for information about these interfaces
|
|
declare global {
|
|
namespace App {
|
|
// interface Error {}
|
|
interface Locals {
|
|
user?: SelectUser & SessionInfo;
|
|
locale?: Locale;
|
|
}
|
|
// interface PageData {}
|
|
// interface PageState {}
|
|
// interface Platform {}
|
|
}
|
|
interface PageState {
|
|
email?: string;
|
|
}
|
|
}
|
|
|
|
export {};
|