mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 11:30:13 +08:00
feat: refactor stage to multiple route design
This commit is contained in:
1 parent
52c6c6ab93
commit
e16b328892
6 files changed
+51
-32
No files matched your search
@@ -15,6 +15,12 @@ const stageSchema = new Schema({
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
requirements: [
|
||||
{
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
condition: {
|
||||
command: {
|
||||
type: [String],
|
||||
|
||||
@@ -39,8 +39,7 @@ const Session = model(
|
||||
default: Date.now,
|
||||
required: true,
|
||||
},
|
||||
progress: String,
|
||||
completion: [String],
|
||||
completed: [String],
|
||||
hints: [String],
|
||||
graph: {
|
||||
type: nodeSchema,
|
||||
|
||||
Reference in new issue
Block a user