Selva Compute API Reference - v3.0.1
    Preparing search index...

    Type Alias SolveResult

    SolveResult:
        | {
            definitionReuploaded?: boolean;
            durationMs: number;
            fromCache: boolean;
            response: GrasshopperComputeResponse;
            status: "success";
        }
        | { durationMs: number; error: RhinoComputeError; status: "error" }
        | { status: "superseded" }

    Type Declaration

    • {
          definitionReuploaded?: boolean;
          durationMs: number;
          fromCache: boolean;
          response: GrasshopperComputeResponse;
          status: "success";
      }
      • OptionaldefinitionReuploaded?: boolean

        Definition-cache telemetry for a real compute call (not a Selva-cache fromCache hit). false → the server reused its cached definition via the pointer (no upload); true → the pointer was cold/stale so the full definition was re-uploaded. undefined when the server-definition-cache fast path didn't run (reuse disabled, or a non-reusable definition such as a remote URL).

      • durationMs: number
      • fromCache: boolean
      • response: GrasshopperComputeResponse
      • status: "success"
    • { durationMs: number; error: RhinoComputeError; status: "error" }
    • { status: "superseded" }