@willwade/aac-processors
    Preparing search index...

    Class GridsetValidator

    Validator for Grid3/Smartbox Gridset files (.gridset, .gridsetx)

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _blocked: boolean = false
    _checks: ValidationCheck[] = []
    _errors: number = 0
    _sub_checks: ValidationResult[] = []
    _warnings: number = 0

    Accessors

    Methods

    • Add a validation check that will be executed

      Parameters

      • type: string

        Category of the check

      • description: string

        Human-readable description

      • checkFn: () => Promise<void>

        Async function that performs the check

      Returns Promise<void>

    • Throw a validation error

      Parameters

      • message: string

        Error message

      • blocker: boolean = false

        If true, stop further validation

      Returns never