Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/contrail. atproto backend in a bottle flo-bit.dev/contrail
Something went wrong. Try again.
835 B · 34 lines
TypeScript
1234567891011121314151617181920212223242526272829303132333435// See https://svelte.dev/docs/kit/types#app.d.ts// for information about these interfacesimport type { OAuthSession } from '@atcute/oauth-node-client';import type { Client } from '@atcute/client';import type { Did } from '@atcute/lexicons';
declare global { namespace App { // interface Error {} interface Locals { session: OAuthSession | null; client: Client | null; did: Did | null; } // interface PageData {} // interface PageState {} interface Platform { env: { OAUTH_SESSIONS: KVNamespace; OAUTH_STATES: KVNamespace; CLIENT_ASSERTION_KEY: string; COOKIE_SECRET: string; OAUTH_PUBLIC_URL: string; PROFILE_CACHE?: KVNamespace; DB: D1Database; CRON_SECRET: string; }; } }}import type {} from '@atcute/atproto';import type {} from '@atcute/bluesky';
export {};