feed-generator/src/config.ts

20 lines
388 B
TypeScript
Raw Normal View History

2023-12-27 02:57:08 +00:00
import { Database } from './db'
import { DidResolver } from '@atproto/did-resolver'
export type AppContext = {
db: Database
didResolver: DidResolver
cfg: Config
}
export type Config = {
port: number
listenhost: string
hostname: string
sqliteLocation: string
subscriptionEndpoint: string
serviceDid: string
publisherDid: string
subscriptionReconnectDelay: number
}