Code/SboxSuperuser/Core/Storage/StorageOutcome.cs

A small result record for the storage layer. Pairs a StorageStatus with the StoredRevision document that was written or read, which is null when the operation did not produce one.

namespace SboxSuperuser.Core.Storage;

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