/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * Adapter registry bootstrap. * * Importing this module registers every built-in adapter with `defaultAdapterRegistry`. The CLI * (`commands/corpus/list.tsx`, `commands/corpus/run.tsx`) imports it once at startup. * * Adapters under construction live in their own subdirectories (`./wof-admin-json/`, `./ban/`, ...) * and are added to the `BUILTIN_ADAPTERS` list here as they come online. Tests that need a * pristine registry should construct their own `InMemoryAdapterRegistry` instead of mutating the * default. * * The WOF adapters export their canonical ids — `wof-admin` and `wof-postalcode` — so existing * `mailwoman corpus build` callsites do not need to change despite the Phase 1.5.1 SQLite → * JSON-bundle pivot (`./wof-admin-json/` and `./wof-postalcode-json/` directories hold the * implementations; the registered ids are unchanged). */ import type { CorpusAdapter } from "#types"; /** * Built-in adapters. Order is significant: `corpus build` iterates this list to drive every adapter in turn. * Coarse-first (admin → postcode), then street-level (BAN FR, TIGER US, OpenAddresses global), then adversarial-source * (FCC BDC US, HRSA FQHC US). * * The `usgov-samhsa-treatment-locator` adapter is intentionally absent from this list — the SAMHSA Open Data Foundry * bulk CSV the adapter was written against is no longer publicly distributed (see issue #33, 2026-05-17 investigation). * The factory + named export remain available so the adapter can be hand-registered if an operator obtains a compatible * CSV (FOIA, partner channel, upstream restoration). Re-add it here once a stable public source returns. */ export declare const BUILTIN_ADAPTERS: readonly CorpusAdapter[]; export { BAN_ADAPTER_ID, banAdapter } from "#fr/adapters/ban/adapter"; export { FCC_BDC_ADAPTER_ID, FCC_BDC_DEFAULT_LICENSE, fccBdcAdapter } from "#us/adapters/fcc-bdc/adapter"; export { GEONAMES_POSTAL_ADAPTER_ID, GEONAMES_POSTAL_DEFAULT_LICENSE, geonamesPostalAdapter, } from "#adapters/geonames/postal/adapter"; export { GEONAMES_ADAPTER_ID, GEONAMES_DEFAULT_LICENSE, geonamesAdapter } from "#adapters/geonames/adapter"; export { OPENADDRESSES_ADAPTER_ID, OPENADDRESSES_DEFAULT_LICENSE, openaddressesAdapter, } from "#adapters/openaddresses/adapter"; export { STATE_HI_SCHOOLS_ADAPTER_ID, STATE_HI_SCHOOLS_DEFAULT_LICENSE, stateHiSchoolsAdapter, } from "#us/adapters/state/hi-schools/adapter"; export { STATE_IA_CONTRACTORS_ADAPTER_ID, STATE_IA_CONTRACTORS_DEFAULT_LICENSE, stateIaContractorsAdapter, } from "#us/adapters/state/ia-contractors/adapter"; export { STATE_NY_NOTARIES_ADAPTER_ID, STATE_NY_NOTARIES_DEFAULT_LICENSE, stateNyNotariesAdapter, } from "#us/adapters/state/ny-notaries/adapter"; export { STATE_TX_NOTARIES_ADAPTER_ID, STATE_TX_NOTARIES_DEFAULT_LICENSE, stateTxNotariesAdapter, } from "#us/adapters/state/tx-notaries/adapter"; export { TIGER_ADAPTER_ID, TIGER_DEFAULT_LICENSE, tigerAdapter } from "#us/adapters/tiger/adapter"; export { USGOV_HRSA_FQHC_ADAPTER_ID, USGOV_HRSA_FQHC_DEFAULT_LICENSE, usgovHrsaFqhcAdapter, } from "#us/adapters/usgov/hrsa-fqhc/adapter"; export { USGOV_IMLS_PLS_ADAPTER_ID, USGOV_IMLS_PLS_DEFAULT_LICENSE, usgovImlsPlsAdapter, } from "#us/adapters/usgov/imls-pls/adapter"; export { USGOV_IRS_BMF_ADAPTER_ID, USGOV_IRS_BMF_DEFAULT_LICENSE, USGovIRSBMFAdapter, } from "#us/adapters/usgov/irs-bmf/adapter"; export { USGOV_NAD_ADAPTER_ID, USGOV_NAD_DEFAULT_LICENSE, usgovNADAdapter } from "#us/adapters/usgov/nad/adapter"; export { USGOV_NPPES_ADAPTER_ID, USGOV_NPPES_DEFAULT_LICENSE, usgovNPPESAdapter, } from "#us/adapters/usgov/nppes/adapter"; export { USGOV_SAMHSA_ADAPTER_ID, USGOV_SAMHSA_DEFAULT_LICENSE, usgovSamhsaTreatmentLocatorAdapter, } from "#us/adapters/usgov/samhsa-treatment-locator/adapter"; export { WOF_ADMIN_ADAPTER_ID, wofAdminAdapter } from "#adapters/wof/admin/json/adapter"; export { WOF_POSTALCODE_ADAPTER_ID, wofPostalcodeAdapter } from "#adapters/wof/postalcode-json/adapter"; //# sourceMappingURL=index.d.ts.map