Skip to main content
A bundle is what export writes:
  • walk(run) → every statement in the tree, each with a path and a depth. The path format (2.if.0) is the shared address: a lint finding, a review comment and a runtime error written by three different tools all name the same node.
  • subStacks(raw) → the nested stacks a statement carries, keyed by where they are stored and labelled by what they mean — a try/catch reuses the conditional’s generic keys (if/else for try/catch, plus then for finally). Found by shape, so a nesting form added later is still walked. SUB_STACK_KEYS is the key set, and statementPath(segments) builds the 2.if.0 address from its parts.
  • statementCatalog() → the stored mvp:* name to its authoring path, minus the namespace (mvp:dbo_view → db.query, the sPath you write after s.) — which is the point: the stored name is often not the one you’d guess.
  • structuralHash(raw) → a diff key for a statement and everything under it, with engine-filled operands excluded — so adding a column to a table leaves db.edit / db.add_or_edit unchanged. A db.add writes every column, so its hash does change. canonicalJson(value) is the key-sorted serialization it hashes.
  • tableRefOf(column) / linkedTableOf(column) → the table a column points at.
  • normalize(value) → the normalizer npx @xano/sdk preflight compares with, for diffing a stored workspace against a compiled one; deepEqual(a, b) is the comparison it pairs with.
  • The stored-shape types (StackItemXdo, FieldXdo, InputXdo, FilterXdo, ExprNode, …) are re-exported here, so a tool types what it walks with one import.
Everything on the entry is pure — no filesystem, network, or Node built-ins — so it runs anywhere.
Generated from @xano/sdk 1.0.34.