@uipath/maestro-builder-sdk 6.11.5 → 6.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/api-index.md +83 -56
  2. package/dist/api-members.md +362 -261
  3. package/dist/bpmn/bpmn-expr-check.js +8 -1
  4. package/dist/bpmn/bpmn-sdk.d.ts +1026 -27
  5. package/dist/bpmn/bpmn-sdk.js +1328 -83
  6. package/dist/bpmn/check-cli.js +19 -4
  7. package/dist/bpmn/check.d.ts +1 -1
  8. package/dist/bpmn/check.js +529 -13
  9. package/dist/bpmn/connector.d.ts +2 -2
  10. package/dist/bpmn/connector.js +74 -37
  11. package/dist/bpmn/data-service.d.ts +124 -0
  12. package/dist/bpmn/data-service.js +98 -0
  13. package/dist/bpmn/decompile-cli.js +70 -8
  14. package/dist/bpmn/decompile.d.ts +71 -0
  15. package/dist/bpmn/decompile.js +845 -31
  16. package/dist/bpmn/graph.d.ts +69 -0
  17. package/dist/bpmn/graph.js +98 -0
  18. package/dist/bpmn/intsvc.js +2 -2
  19. package/dist/bpmn/known-methods.d.ts +15 -0
  20. package/dist/bpmn/known-methods.js +271 -0
  21. package/dist/bpmn/lift-verify.d.ts +40 -0
  22. package/dist/bpmn/lift-verify.js +133 -0
  23. package/dist/bpmn/serialize.d.ts +65 -1
  24. package/dist/bpmn/serialize.js +169 -22
  25. package/dist/bpmn/typed-node.d.ts +37 -6
  26. package/dist/bpmn/typed-node.js +81 -19
  27. package/dist/check-cli.js +2 -1
  28. package/dist/check.d.ts +13 -0
  29. package/dist/check.js +11 -0
  30. package/dist/cli/commands/bpmn.js +7 -1
  31. package/dist/cli-library.d.ts +7 -0
  32. package/dist/cli-library.js +19 -0
  33. package/dist/compile-cli.js +8 -5
  34. package/dist/core/byoa.d.ts +69 -0
  35. package/dist/core/byoa.js +98 -0
  36. package/dist/core/library.d.ts +23 -0
  37. package/dist/core/library.js +47 -1
  38. package/dist/core/lookup-store.d.ts +12 -0
  39. package/dist/core/lookup-store.js +25 -0
  40. package/dist/index.d.ts +5 -2
  41. package/dist/index.js +3 -0
  42. package/dist/registry/generators/descriptors.d.ts +1 -1
  43. package/dist/registry/generators/descriptors.js +20 -2
  44. package/dist/registry/generators/markdown/page.js +3 -1
  45. package/dist/registry/generators/markdown/sections/event-facts.d.ts +2 -0
  46. package/dist/registry/generators/markdown/sections/event-facts.js +45 -0
  47. package/dist/registry/library-build/events.d.ts +32 -3
  48. package/dist/registry/library-build/events.js +48 -19
  49. package/dist/registry/prepare/byoa-ledger.d.ts +12 -0
  50. package/dist/registry/prepare/byoa-ledger.js +26 -0
  51. package/dist/registry/prepare/event.d.ts +5 -1
  52. package/dist/registry/prepare/event.js +22 -8
  53. package/dist/registry/prepare/messages.d.ts +2 -0
  54. package/dist/registry/prepare/messages.js +4 -0
  55. package/dist/serialize.js +24 -1
  56. package/package.json +2 -2
@@ -148,8 +148,15 @@ function walk(nodes, flows, rootsIn, out) {
148
148
  // enclosing scope (before entry); the body and completion see the sub-scope.
149
149
  checkExpr(n.loop?.collection, `${at} loop collection`, roots, out);
150
150
  const subRoots = { vars: new Set(roots.vars), varIds: new Set(roots.varIds), bindings: roots.bindings };
151
- for (const v of n.variables)
151
+ // By ID as well as display name, exactly as the root scope below: an expression
152
+ // reads `vars.<id>`. This added the name alone, so a sub-process variable whose
153
+ // display name differed from its id — every `errorVar`, displayed as `Error` —
154
+ // was unreadable inside the very scope that declares it.
155
+ for (const v of n.variables) {
156
+ subRoots.vars.add(v.id);
152
157
  subRoots.vars.add(v.name);
158
+ subRoots.varIds.add(v.id);
159
+ }
153
160
  checkExpr(n.loop?.completion, `${at} loop completion`, subRoots, out);
154
161
  walk(n.nodes, n.flows, subRoots, out);
155
162
  }