[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 17a4453b336a3693a4e2b55eced2d8a4a0cf1bd5 29 lines 784 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"; 9import { ParsedLabelers } from "./util.ts"; 10 11export type AppContext = { 12 db: Database; 13 dataplane: DataPlane; 14 hydrator: Hydrator; 15 views: Views; 16 logger: Logger; 17 idResolver: IdResolver; 18 authVerifier: AuthVerifier; 19 cfg: ServerConfig; 20 reqLabelers: (req: Request) => ParsedLabelers; 21}; 22 23export type AppEnv = { 24 Bindings: AppContext; 25 Variables: { 26 did: string; 27 isAdmin: boolean; 28 }; 29};