mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
feat: able to test files
This commit is contained in:
1 parent
af27780763
commit
625c1a80da
5 files changed
+99
-28
No files matched your search
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user