AutoBE
    Preparing search index...

    Interface AutoBeRealizeCollectorIR

    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.

    sunrabbit123

    interface AutoBeRealizeCollectorIR {
        assignments: IAssignment[];
        dependencies: string[];
        locals?: ILocal[];
        queries?: AutoBeRealizeQueryIR[];
        type: "collector";
    }
    Index

    Properties

    assignments: IAssignment[]

    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.

    dependencies: string[]

    Names of neighbor collectors invoked via collectorCall/relationCreate.

    locals?: ILocal[]

    Named 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.

    Database lookups feeding the assignments.

    Optional: omit when the mapping needs no lookup. Each query is referenced from an assignment expression by its key.

    type: "collector"

    Type discriminator.