DATAVIEW_PLUGIN_ADAPTER
The ThirdPartyPluginAdapter of Dataview, for watchThirdPartyPluginApi, the waits and createThirdPartyPluginDependency.
It reads plugin.api, the same object Dataview installs as the DataviewAPI global, and verifies the query entry points (page, pages, query) before handing it over typed as DataviewApi, whose declarations come from @mnaoumov/obsidian-dataview.
Import:
import { DATAVIEW_PLUGIN_ADAPTER } from '@mnaoumov/obsidian-lib/dataview';Signature:
const DATAVIEW_PLUGIN_ADAPTER: ThirdPartyPluginAdapter<DataviewApi>Type: ThirdPartyPluginAdapter<DataviewApi>