2024-01-21 14:54:48 +10:00
|
|
|
// See https://kit.svelte.dev/docs/types#app
|
|
|
|
// for information about these interfaces
|
|
|
|
declare global {
|
2024-04-19 14:20:02 +10:00
|
|
|
namespace App {
|
2024-04-24 20:23:24 +10:00
|
|
|
interface Error {
|
|
|
|
code: string;
|
|
|
|
id: string;
|
|
|
|
message: string;
|
|
|
|
}
|
2024-04-19 14:20:02 +10:00
|
|
|
// interface Locals {}
|
2024-04-25 00:47:33 +10:00
|
|
|
interface PageData {}
|
|
|
|
interface PageState {}
|
2024-04-20 19:23:32 +10:00
|
|
|
interface Platform {
|
|
|
|
env: {
|
|
|
|
COUNTER: DurableObjectNamespace;
|
|
|
|
};
|
|
|
|
context: {
|
|
|
|
waitUntil(promise: Promise<any>): void;
|
|
|
|
};
|
|
|
|
caches: CacheStorage & { default: Cache };
|
|
|
|
}
|
2024-04-19 14:20:02 +10:00
|
|
|
}
|
2024-01-21 14:54:48 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
export {};
|