Attic is a cozy space with lofty ambitions.
attic.social
1import type { PrivateUserData } from "$lib/valibot";
2import type { OAuthClient } from "@atcute/oauth-node-client";
3
4declare global {
5 namespace App {
6 // interface Error {}
7 interface Locals {
8 oAuthClient?: OAuthClient;
9 user?: PrivateUserData;
10 locale?: string;
11 }
12 // interface PageData {}
13 // interface PageState {}
14 interface Platform {
15 env: {
16 ASSETS: {
17 fetch: typeof fetch;
18 };
19 ORIGIN: string;
20 PRIVATE_COOKIE_KEY: string;
21 PRIVATE_KEY_JWK?: string;
22 };
23 }
24 }
25}
26
27export {};