12 lines
447 B
C#
12 lines
447 B
C#
using StellaOps.Graph.Api.Contracts;
|
|
|
|
namespace StellaOps.Graph.Api.Services;
|
|
|
|
public record GraphExportJob(string JobId, string Tenant, string Format, string ContentType, byte[] Payload, string Sha256, long SizeBytes, DateTimeOffset CompletedAt);
|
|
|
|
public interface IGraphExportService
|
|
{
|
|
Task<GraphExportJob> StartExportAsync(string tenant, GraphExportRequest request, CancellationToken ct = default);
|
|
GraphExportJob? Get(string jobId);
|
|
}
|