Files
appointment-booking-software/src/app.d.ts
T
HendrikandGitHub 629351d6fa Scheduling api (#68)
* Additions for agent absencies and appointments. Schedule determination.

* Scheduling tests. Agent and appointment tests.

* Absence and Agent APIs

* Linting

* Appointment API (staffing side)

* LInting and fixed tests

* Centralised permission check

* Permission refactorings, session bugfixes

* Test fixes (first part)

* Test fixes

* Fixed type

* Linting fixes

* Fixed tests

* Formatting

* Data schema changes

* Adaptions to last merges and changes

* Incorporated changes as discussed in weekly

* Test fix
2025-09-15 16:22:41 +02:00

24 lines
549 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";
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
interface Locals {
user?: SelectUser & { userId: string; sessionId: string; exp: number };
locale?: Locale;
}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
interface PageState {
email?: string;
}
}
export {};