UNPKG

@accounter/shaam-uniform-format-generator

Version:

Fully typed application that generates, parses, and validates SHAAM uniform format tax reports (INI.TXT and BKMVDATA.TXT).

13 lines (12 loc) 450 B
/** * Input validation utilities */ import type { ReportInput, ValidationError } from '../types/index.cjs'; /** * Validates report input data against the schema * * @param input - The input data to validate * @param mode - Validation mode ('fail-fast' or 'collect-all') * @returns Array of validation errors (empty if valid) */ export declare function validateInput(input: ReportInput, mode?: 'fail-fast' | 'collect-all'): ValidationError[];