• Upgrade saved drawings to the current document shape. Accepts a 1.9.x Drawing[] or a DrawingsDocument. Every field is validated, the 1.9.x text keys are lifted out of the style bag into text, bare level ratios become coloured levels, and array order is kept. An entry that could never be rendered is dropped; anything unparseable yields an empty document rather than an error.

    Parameters

    • input: unknown

    Returns DrawingsDocument