19 lines
631 B
C#
19 lines
631 B
C#
// Licensed to StellaOps under the BUSL-1.1 license.
|
|
using StellaOps.ReachGraph.Schema;
|
|
|
|
namespace StellaOps.ReachGraph.Persistence;
|
|
|
|
/// <summary>
|
|
/// Summary of a stored graph (without full blob).
|
|
/// </summary>
|
|
public sealed record ReachGraphSummary
|
|
{
|
|
public required string Digest { get; init; }
|
|
public required string ArtifactDigest { get; init; }
|
|
public required int NodeCount { get; init; }
|
|
public required int EdgeCount { get; init; }
|
|
public required int BlobSizeBytes { get; init; }
|
|
public required DateTimeOffset CreatedAt { get; init; }
|
|
public required ReachGraphScope Scope { get; init; }
|
|
}
|