mirror of
				https://gitlab.com/MrFry/mrfrys-node-server
				synced 2025-04-01 20:24:18 +02:00 
			
		
		
		
	Possible answers penalty fixes, logging imporvements, added tests
This commit is contained in:
		| @@ -31,8 +31,9 @@ export interface QuestionData { | ||||
|   images?: Array<string> | ||||
|   hashedImages?: Array<string> | ||||
|   possibleAnswers?: Array<{ | ||||
|     text: string | ||||
|     selectedByUser: boolean | ||||
|     type: string | ||||
|     val: string | ||||
|     selectedByUser?: boolean | ||||
|   }> | ||||
| } | ||||
|  | ||||
| @@ -96,7 +97,11 @@ export interface User { | ||||
| export interface Request<T = any> extends express.Request { | ||||
|   body: T | ||||
|   cookies: any | ||||
|   session: any | ||||
|   session: { | ||||
|     user?: User | ||||
|     sessionID?: string | ||||
|     isException?: boolean | ||||
|   } | ||||
|   files: any | ||||
|   query: { [key: string]: string } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user