Rindle

API index and search · Build metadata

Supporting declarations

packages/devtools/src/ast.ts. These declarations explain referenced types. Only package-page symbols are package exports.

Exact source

collectTables

/** Every base table this query can read: the root, each `related` subquery, and any correlated
 *  subquery in the `where` tree (recursively). Mirrors the optimistic backend's `queryTables`
 *  derivation (DEBUG-TOOLS-BROWSER-DESIGN §4.2 — a `count(comments)` subquery names `comment`, so a
 *  comment mutation flips this query's pending axis). */
export declare function collectTables(ast: Ast, into?: Set<string>): Set<string>;

summarizeAst

/** A compact, one-line description of a query AST for the inspector header — best-effort and
 *  truncation-friendly (the full AST is available for a collapsible pretty-print alongside). */
export declare function summarizeAst(ast: Ast): string;