This is the documentation of version 0.55.1. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ByodSourceUrlValidation

    ByodSourceUrlValidation: { valid: true } | { reason: string; valid: false }

    Verdict returned by a ByodSourceUrlValidator: explicitly allow the fetch with { valid: true }, or block it with { valid: false, reason } — the reason is surfaced to the model as the tool error.