The SharePoint Search Data Provider and Data Source allow querying data from the SharePoint Online Search. They can be used to serve data for the different widgets available in the hub.
They can be configured either by the properties of the SharePointSearchDataProviderConfig type or the properties of the SearchDataSourceUserConfig.
There are already a lot of preconfigured properties mappers that simplify the access to the properties of the result items returned by the data provider or the data source. You can find them listed in the reference where their names start with