Language-neutral expression tree for realize artifacts.
AI agents build a collector's value mappings as these structured nodes
instead of raw code strings, so the renderer can emit the same intent into
any target language (TypeScript, Java, ...) while keeping type safety. Each
variant maps to one concrete construct: a literal, a reference into the
input, an object/array shape, a control-flow choice, a built-in generator, or
a Prisma relation/collector hand-off.
Reference reads (AutoBeRealizeReference) are part of this union: they
pull values out of props, locals, or query results to feed the rest of the
tree.
Language-neutral expression tree for realize artifacts.
AI agents build a collector's value mappings as these structured nodes instead of raw code strings, so the renderer can emit the same intent into any target language (TypeScript, Java, ...) while keeping type safety. Each variant maps to one concrete construct: a literal, a reference into the input, an object/array shape, a control-flow choice, a built-in generator, or a Prisma relation/collector hand-off.
Reference reads (AutoBeRealizeReference) are part of this union: they pull values out of
props, locals, or query results to feed the rest of the tree.