docs: add workflow / step tags (#10731)
This commit is contained in:
1 parent
bff031ba8f
commit
97baa56d71
551 files changed
+656643
-651258
No files matched your search
@@ -223,7 +223,10 @@ class WorkflowsPlugin {
|
||||
stepDepth++
|
||||
})
|
||||
|
||||
const uniqueResources = addTagsToReflection(parentReflection, resources)
|
||||
const uniqueResources = addTagsToReflection(parentReflection, [
|
||||
...resources,
|
||||
"workflow",
|
||||
])
|
||||
this.updateWorkflowsTagsMap(workflowId, uniqueResources)
|
||||
}
|
||||
|
||||
@@ -560,7 +563,9 @@ class WorkflowsPlugin {
|
||||
},
|
||||
])
|
||||
)
|
||||
addTagsToReflection(stepReflection, resources)
|
||||
const resourcesForType =
|
||||
stepType === "step" || stepType === "hook" ? [stepType] : []
|
||||
addTagsToReflection(stepReflection, [...resources, ...resourcesForType])
|
||||
|
||||
if (parentReflection.isDocument()) {
|
||||
parentReflection.addChild(documentReflection)
|
||||
|
||||
Reference in new issue
Block a user