mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: implement $not and $or condition
This commit is contained in:
1 parent
e52682686a
commit
b7ecfe3980
4 files changed
+42
-166
No files matched your search
@@ -25,8 +25,8 @@ const conditionSchema = new Schema({
|
||||
})
|
||||
|
||||
conditionSchema.add({
|
||||
OR: [conditionSchema],
|
||||
NOT: conditionSchema,
|
||||
$or: [conditionSchema],
|
||||
$not: conditionSchema,
|
||||
})
|
||||
|
||||
const stageSchema = new Schema({
|
||||
|
||||
Reference in new issue
Block a user