namespace Sandbox.Services; public record struct SortOrder( string Name, string Title, string Icon ); /// /// Returned when favouriting or unfavouriting a package /// public record struct PackageFavouriteResult( bool Success, bool State, int Total ); /// /// Returned when rating a package /// public record struct PackageRateResult( bool Success, int VotesUp, int VotesDown ); public enum AggregationType : byte { Sum, Highest, Lowest, Latest, Median }