mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2026-04-28 11:17:38 +02:00
Renamed js files to ts
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
export interface QuestionData {
|
||||
type: string
|
||||
images?: Array<string>
|
||||
hashedImages?: Array<string>
|
||||
}
|
||||
|
||||
export interface Question {
|
||||
Q: string
|
||||
A: string
|
||||
data: QuestionData
|
||||
}
|
||||
|
||||
export interface Subject {
|
||||
Name: string
|
||||
Questions: Array<Question>
|
||||
}
|
||||
|
||||
export interface QuestionDb {
|
||||
name: string
|
||||
path: string
|
||||
data: Array<Subject>
|
||||
}
|
||||
|
||||
export interface User {
|
||||
id: number
|
||||
pw: string
|
||||
created: Date
|
||||
}
|
||||
Reference in New Issue
Block a user