AutoBE
    Preparing search index...

    Interface AutoBeRealizeProviderIR

    Language-neutral IR for one realized provider function.

    A provider is the server-side handler behind a single API operation. AI agents emit its body as this structured tree instead of raw source, so the renderer can project the same logic into any target language while keeping database access (AutoBeRealizeQueryIR) separated from control flow.

    Database work is not inlined here: each query lives in queries and is referenced from the body through an IQueryPlaceholderExpression, so the renderer owns ORM-specific payload generation.

    sunrabbit123

    interface AutoBeRealizeProviderIR {
        file: string;
        functionName: string;
        queries: AutoBeRealizeQueryIR[];
        statements: AutoBeRealizeProviderIR.IStatement[];
        type: "provider";
        version: "v1";
    }
    Index

    Properties

    file: string

    Generated provider file path.

    functionName: string

    Exported provider function name.

    Queries referenced from the body by placeholder key.

    Ordered function body; sequence is significant.

    type: "provider"

    Type discriminator.

    version: "v1"

    IR schema version.