@blendsdk/year-planner-core
    Preparing search index...

    Type Alias PrintPlanResult

    PrintPlanResult:
        | { ok: true; plan: PrintPlan }
        | { diagnostics: Diagnostic[]; ok: false }

    A print plan or a validation failure.

    Type Declaration

    • { ok: true; plan: PrintPlan }
      • ok: true

        True when the plan was built.

      • plan: PrintPlan

        Pages, scale and diagnostics for this plan.

    • { diagnostics: Diagnostic[]; ok: false }
      • diagnostics: Diagnostic[]

        Validation diagnostics.

      • ok: false

        False when print options are invalid.