mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Lotsa typescript bullshit
This commit is contained in:
parent
b7ac485689
commit
b927988017
65 changed files with 801 additions and 8447 deletions
|
@ -1,3 +1,5 @@
|
|||
import express from 'express'
|
||||
|
||||
export interface QuestionData {
|
||||
type: string
|
||||
images?: Array<string>
|
||||
|
@ -26,3 +28,18 @@ export interface User {
|
|||
pw: string
|
||||
created: Date
|
||||
}
|
||||
|
||||
export interface ModuleType {
|
||||
app: express.Application
|
||||
dailyAction?: Function
|
||||
}
|
||||
|
||||
// TODO: add more props based on db
|
||||
export interface User {
|
||||
id: number
|
||||
pw: string
|
||||
pwRequestCount: number
|
||||
pwGotFromCID: number
|
||||
avaiblePWRequests: number
|
||||
loginCount: number
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue