mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
added nearly complete p2p implementation
This commit is contained in:
parent
11dacdae64
commit
5c22f575dd
25 changed files with 14320 additions and 12563 deletions
|
@ -19,7 +19,7 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
import type { Response, NextFunction, RequestHandler } from 'express'
|
||||
import type { Request } from '../types/basicTypes'
|
||||
import type { Request, User } from '../types/basicTypes'
|
||||
import type { Database } from 'better-sqlite3'
|
||||
|
||||
import logger from '../utils/logger'
|
||||
|
@ -32,11 +32,13 @@ interface Options {
|
|||
exceptions: Array<string>
|
||||
}
|
||||
|
||||
export const testUser = {
|
||||
export const testUser: User = {
|
||||
id: 19,
|
||||
avaiblePWRequests: 645,
|
||||
pwRequestCount: 19,
|
||||
created: new Date(),
|
||||
created: new Date().getTime(),
|
||||
lastLogin: new Date().getTime(),
|
||||
lastAccess: new Date().getTime(),
|
||||
pw: '5d146f72-e1b8-4440-a6e3-f22f31810316',
|
||||
loginCount: 3,
|
||||
createdBy: 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue