One entry per persistence-input member to populate.
The core of the collector: every required Prisma CreateInput member must
have an assignment with a concrete expression.
Names of neighbor collectors invoked via collectorCall/relationCreate.
OptionallocalsNamed intermediate values shared across assignments.
Optional: omit when no intermediate is needed. Use to compute a value once (e.g. a generated id) and reference it from several assignments.
OptionalqueriesDatabase lookups feeding the assignments.
Optional: omit when the mapping needs no lookup. Each query is referenced from an assignment expression by its key.
Type discriminator.
Canonical language-neutral collector IR for DTO -> persistence input.
A collector maps one create DTO onto its Prisma
CreateInput. AI agents submit this IR instead of raw code, so the renderer can project the same mapping into any target language. The renderer reads optional lookups and locals first, then emits each member of the persistence input from assignments.Author
sunrabbit123