Merge pull request 'Add report logos and configurable folder scan depth' (#2) from feat/report-logos-and-scan-depth into main
Reviewed-on: #2
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using SharepointToolbox.Web.Core.Models;
|
||||
|
||||
namespace SharepointToolbox.Web.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Discovers SharePoint sites in a tenant via Microsoft Graph so users can
|
||||
/// pick multiple sites to scan instead of typing URLs one at a time.
|
||||
/// </summary>
|
||||
public interface ISiteDiscoveryService
|
||||
{
|
||||
/// <summary>
|
||||
/// Returns sites matching <paramref name="query"/> (defaults to all sites).
|
||||
/// OneDrive personal sites are excluded; results are de-duplicated by URL
|
||||
/// and ordered by title.
|
||||
/// </summary>
|
||||
Task<IReadOnlyList<SiteInfo>> SearchSitesAsync(
|
||||
TenantProfile profile,
|
||||
string? query = null,
|
||||
CancellationToken ct = default);
|
||||
}
|
||||
Reference in New Issue
Block a user