mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Domain specific data files
This commit is contained in:
@@ -20,12 +20,20 @@ export interface Subject {
|
||||
export interface DataFile {
|
||||
path: string
|
||||
name: string
|
||||
shouldSave: (recData: any) => boolean
|
||||
shouldSave: {
|
||||
location?: {
|
||||
val: string
|
||||
}
|
||||
version?: {
|
||||
compare: string
|
||||
val: string
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export interface QuestionDb extends DataFile {
|
||||
data: Array<Subject>
|
||||
index: Number
|
||||
index: number
|
||||
}
|
||||
|
||||
export interface User {
|
||||
|
Reference in New Issue
Block a user