mirror of
https://github.com/open-reception/appointment-booking-software.git
synced 2026-09-11 11:47:39 +02:00
* 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
24 lines
549 B
TypeScript
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 {};
|