brows3r — TypeScript API
    Preparing search index...
    • Look up a profile and return whether it has been validated this session.

      As a side-effect, fires a lazy profile_validate once per session for any profile that has not yet been validated (and is not already being validated). Subsequent renders see validatedAt populated and skip the gate without the user ever clicking a "Validate" button.

      The validation status (idle / validating / ok / error) lives in useValidationStore so the sidebar dot + any future "needs auth" UI can render a unified state.

      Returns isValidated = false and profile = null when:

      • profileId is null / undefined
      • the profiles list is still loading
      • the profile is not found in the list
      • profile.validatedAt is null / undefined

      Parameters

      • profileId: string | null | undefined

      Returns UseValidatedProfileResult