aboutsummaryrefslogtreecommitdiff
path: root/src/app.d.ts
blob: b41fa6f6fb536106e83e242d2eb5bbbc9c7ba550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/// <reference types="@sveltejs/kit" />

// // See https://kit.svelte.dev/docs/typescript
// // for information about these interfaces
declare namespace App {
	interface Locals {
		sid: string | undefined
	}


	interface Platform {
		env: {
			DISCORD_CLIENT_ID: string | undefined
			SKYBLOCK_STATS_API_KEY: string | undefined
		}
		context: {
			waitUntil(promise: Promise<any>): void
		}
	}

	interface Session {
		sid: string | undefined
	}

	// interface Stuff {}
}