15 lines
469 B
C#
15 lines
469 B
C#
using Microsoft.SharePoint.Client;
|
|
using SharepointToolbox.Web.Core.Models;
|
|
|
|
namespace SharepointToolbox.Web.Services;
|
|
|
|
public interface IVersionCleanupService
|
|
{
|
|
Task<IReadOnlyList<VersionCleanupResult>> DeleteOldVersionsAsync(
|
|
ClientContext ctx, VersionCleanupOptions options,
|
|
IProgress<OperationProgress> progress, CancellationToken ct);
|
|
|
|
Task<IReadOnlyList<string>> ListLibraryTitlesAsync(
|
|
ClientContext ctx, CancellationToken ct);
|
|
}
|