Code/SboxSuperuser/Core/Storage/StorageOutcome.cs

A small record type representing the result of a storage operation. It stores a StorageStatus enum and an optional StoredRevision document.

namespace SboxSuperuser.Core.Storage;

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