namespace DigitalData.TaskFlow.Domain.Common; /// /// Represents the standard API envelope that contains meta information and payload data. /// /// Type of the payload in the response. public sealed record ApiEnvelope { /// /// Gets the list of metadata entries describing the business result. /// public required IReadOnlyList Meta { get; init; } /// /// Gets the payload data returned by the endpoint. /// public T? Data { get; init; } }