|
|
@ -48,8 +48,8 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); |
|
|
|
allWorkFlowInfo[workflow.id] = { |
|
|
|
allWorkFlowInfo[workflow.id] = { |
|
|
|
isValid: invalidPathsWithoutEnding.length == 0 ? true : false, |
|
|
|
isValid: invalidPathsWithoutEnding.length == 0 ? true : false, |
|
|
|
root: { |
|
|
|
root: { |
|
|
|
validPaths: tree, |
|
|
|
// validPaths: tree,
|
|
|
|
invalidPaths: invalidPathsWithoutEnding, |
|
|
|
// invalidPaths: invalidPathsWithoutEnding,
|
|
|
|
valid: tree.length, |
|
|
|
valid: tree.length, |
|
|
|
invalid: invalidPathsWithoutEnding.length, |
|
|
|
invalid: invalidPathsWithoutEnding.length, |
|
|
|
subFlowList: subFlowParentIds |
|
|
|
subFlowList: subFlowParentIds |
|
|
@ -89,8 +89,8 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); |
|
|
|
subFlowInfo[subFlowId] = { |
|
|
|
subFlowInfo[subFlowId] = { |
|
|
|
valid: subTreePath.length, |
|
|
|
valid: subTreePath.length, |
|
|
|
invalid: invalidSubPathsWithoutEnding.length, |
|
|
|
invalid: invalidSubPathsWithoutEnding.length, |
|
|
|
validSubTreePath: subTreePath, |
|
|
|
// validSubTreePath: subTreePath,
|
|
|
|
invalidSubTreePath: invalidSubPathsWithoutEnding |
|
|
|
// invalidSubTreePath: invalidSubPathsWithoutEnding
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|