mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Rename APIChangelog to APIChangelogBuild
This commit is contained in:
@ -5,7 +5,7 @@ using osu.Game.Online.API.Requests.Responses;
|
||||
|
||||
namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
public class GetChangelogBuildRequest : APIRequest<APIChangelog>
|
||||
public class GetChangelogBuildRequest : APIRequest<APIChangelogBuild>
|
||||
{
|
||||
private readonly string name;
|
||||
private readonly string version;
|
||||
|
@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
public class GetChangelogLatestBuildsRequest : APIRequest<List<APIChangelog>>
|
||||
public class GetChangelogLatestBuildsRequest : APIRequest<List<APIChangelogBuild>>
|
||||
{
|
||||
protected override string Target => @"changelog/latest-builds";
|
||||
protected override string Uri => $@"https://houtarouoreki.github.io/fake-api/{Target}"; // for testing
|
||||
|
@ -5,7 +5,7 @@ using osu.Game.Online.API.Requests.Responses;
|
||||
|
||||
namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
public class GetChangelogRequest : APIRequest<APIChangelog[]>
|
||||
public class GetChangelogRequest : APIRequest<APIChangelogBuild[]>
|
||||
{
|
||||
protected override string Target => @"changelog";
|
||||
protected override string Uri => $@"https://houtarouoreki.github.io/fake-api/{Target}/index"; // for testing
|
||||
|
@ -7,7 +7,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace osu.Game.Online.API.Requests.Responses
|
||||
{
|
||||
public class APIChangelog
|
||||
public class APIChangelogBuild
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public long Id { get; set; }
|
||||
@ -40,10 +40,10 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
public class Versions
|
||||
{
|
||||
[JsonProperty("next")]
|
||||
public APIChangelog Next { get; set; }
|
||||
public APIChangelogBuild Next { get; set; }
|
||||
|
||||
[JsonProperty("previous")]
|
||||
public APIChangelog Previous { get; set; }
|
||||
public APIChangelogBuild Previous { get; set; }
|
||||
}
|
||||
|
||||
public class ChangelogEntry
|
Reference in New Issue
Block a user