feat: able to test files

This commit is contained in:
Lin, Hung-Shin authored and wancat committed 2023-10-29 17:41:38 +08:00
1 parent af27780763
commit 625c1a80da
5 files changed
+99 -28

No files matched your search

+8 -2
View File
@@ -11,9 +11,15 @@ const responseSchema = new Schema({
})
const fileConditionSchema = new Schema({
path: String,
path: {
type: String,
required: true,
},
type: String,
exists: Boolean,
exists: {
type: Boolean,
default: true,
},
})
const conditionSchema = new Schema({