pub fn validate_source(source: &str) -> Result<JsValue, JsError>
Validate a Beancount source string.
Parses, interpolates, and validates in one step. Returns a ValidationResult indicating whether the ledger is valid.
ValidationResult