feed-generator/src/config.ts
2023-12-26 18:57:08 -08:00

19 lines
388 B
TypeScript

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
}