2024-11-24 15:55:29 +01:00
|
|
|
// See https://svelte.dev/docs/kit/types#app.d.ts
|
2024-12-18 02:25:47 +01:00
|
|
|
|
|
|
|
import type { ErrorCode } from "$api/error";
|
|
|
|
|
2024-11-24 15:55:29 +01:00
|
|
|
// for information about these interfaces
|
|
|
|
declare global {
|
|
|
|
namespace App {
|
2024-12-18 02:25:47 +01:00
|
|
|
interface Error {
|
|
|
|
message: string;
|
|
|
|
status: number;
|
|
|
|
code: ErrorCode;
|
|
|
|
id: string;
|
|
|
|
}
|
2024-11-24 15:55:29 +01:00
|
|
|
// interface Error {}
|
|
|
|
// interface Locals {}
|
|
|
|
// interface PageData {}
|
|
|
|
// interface PageState {}
|
|
|
|
// interface Platform {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export {};
|