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.
882 B · 35 lines
TypeScript
123456789101112131415161718192021222324252627282930313233343536// 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';import type {} from './lib/lexicons/index.js';
export {};