brepjs API Reference
    Preparing search index...

    Interface SuccessResponse

    Response indicating that the requested operation completed successfully.

    interface SuccessResponse {
        id: string;
        resultBrep?: string;
        resultData?: unknown;
        success: true;
    }

    Hierarchy (View Summary)

    Index

    Properties

    id: string

    Matches the WorkerRequest.id of the originating request.

    resultBrep?: string

    BREP-serialized result shape, when the operation produces geometry.

    resultData?: unknown

    Arbitrary result data for non-geometric outputs (e.g., measurements).

    success: true

    Discriminant: true for success, false for error.