SboxSuperuser/Core/Storage/StorageOutcome.cs

A small record type representing the result of a storage operation, containing a StorageStatus and an optional StoredRevision document.

namespace SboxSuperuser.Core.Storage;

internal sealed record StorageOutcome( StorageStatus Status, StoredRevision Document = null );