p2p fixes

This commit is contained in:
mrfry 2023-03-26 19:11:07 +02:00
parent 2edc87d5dd
commit 16d6f04936
17 changed files with 707 additions and 582 deletions

View file

@ -114,7 +114,6 @@ export interface Request<T = any> extends express.Request {
export interface ModuleSpecificData {
// TODO: rename to something more meaningfull
questionDbs: QuestionDb[]
setQuestionDbs: (newVal: QuestionDb[]) => void
getQuestionDbs: () => QuestionDb[]
dbsFile: string
@ -175,6 +174,6 @@ export interface PeerInfo {
port: number
publicKey: string
contact: string
lastSync?: Date
lastSync?: number
note?: string
}