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:
2026-06-02 15:02:52 +02:00
committed by kawa
26 changed files with 631 additions and 91 deletions
+20
View File
@@ -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);
}