[READ ONLY MIRROR] Spark Social AppView Server github.com/sprksocial/server
atproto deno hono lexicon
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

at eb947da8a3a8a7d485ff132b3ff0db4a8baaac19 27 lines 691 B view raw
1import { Logger } from "@logtape/logtape"; 2import { Database } from "./data-plane/db/index.ts"; 3import { DataPlane } from "./data-plane/index.ts"; 4import { Hydrator } from "./hydration/index.ts"; 5import { Views } from "./views/index.ts"; 6import { IdResolver } from "@atp/identity"; 7import { AuthVerifier } from "./auth-verifier.ts"; 8import { ServerConfig } from "./config.ts"; 9 10export type AppContext = { 11 db: Database; 12 dataplane: DataPlane; 13 hydrator: Hydrator; 14 views: Views; 15 logger: Logger; 16 idResolver: IdResolver; 17 authVerifier: AuthVerifier; 18 cfg: ServerConfig; 19}; 20 21export type AppEnv = { 22 Bindings: AppContext; 23 Variables: { 24 did: string; 25 isAdmin: boolean; 26 }; 27};