-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from FFXIV-CombatReborn/better-changelog
Added a much prettier and way more functional changelog window
- Loading branch information
Showing
2 changed files
with
319 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,185 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace RotationSolver.Data | ||
{ | ||
public class GitHubCommitComparison | ||
{ | ||
[JsonProperty("url")] | ||
public string Url { get; set; } | ||
|
||
[JsonProperty("html_url")] | ||
public string HtmlUrl { get; set; } | ||
|
||
[JsonProperty("permalink_url")] | ||
public string PermalinkUrl { get; set; } | ||
|
||
[JsonProperty("diff_url")] | ||
public string DiffUrl { get; set; } | ||
|
||
[JsonProperty("patch_url")] | ||
public string PatchUrl { get; set; } | ||
|
||
[JsonProperty("base_commit")] | ||
public Commit BaseCommit { get; set; } | ||
|
||
[JsonProperty("merge_base_commit")] | ||
public Commit MergeBaseCommit { get; set; } | ||
|
||
[JsonProperty("status")] | ||
public string Status { get; set; } | ||
|
||
[JsonProperty("ahead_by")] | ||
public int AheadBy { get; set; } | ||
|
||
[JsonProperty("behind_by")] | ||
public int BehindBy { get; set; } | ||
|
||
[JsonProperty("total_commits")] | ||
public int TotalCommits { get; set; } | ||
|
||
[JsonProperty("commits")] | ||
public List<Commit> Commits { get; set; } | ||
|
||
[JsonProperty("files")] | ||
public List<CommitFile> Files { get; set; } | ||
} | ||
|
||
public class Commit | ||
{ | ||
[JsonProperty("sha")] | ||
public string Sha { get; set; } | ||
|
||
[JsonProperty("node_id")] | ||
public string NodeId { get; set; } | ||
|
||
[JsonProperty("commit")] | ||
public CommitData CommitData { get; set; } | ||
|
||
[JsonProperty("url")] | ||
public string Url { get; set; } | ||
|
||
[JsonProperty("html_url")] | ||
public string HtmlUrl { get; set; } | ||
|
||
[JsonProperty("comments_url")] | ||
public string CommentsUrl { get; set; } | ||
|
||
[JsonProperty("author")] | ||
public GithubRelease.Author Author { get; set; } | ||
|
||
[JsonProperty("committer")] | ||
public GithubRelease.Author Committer { get; set; } | ||
|
||
[JsonProperty("parents")] | ||
public List<Parent> Parents { get; set; } | ||
} | ||
|
||
public class CommitData | ||
{ | ||
[JsonProperty("author")] | ||
public Author CommitAuthor { get; set; } | ||
|
||
[JsonProperty("committer")] | ||
public Author CommitCommitter { get; set; } | ||
|
||
[JsonProperty("message")] | ||
public string Message { get; set; } | ||
|
||
[JsonProperty("tree")] | ||
public Tree Tree { get; set; } | ||
|
||
[JsonProperty("url")] | ||
public string Url { get; set; } | ||
|
||
[JsonProperty("comment_count")] | ||
public int CommentCount { get; set; } | ||
|
||
[JsonProperty("verification")] | ||
public Verification Verification { get; set; } | ||
} | ||
|
||
public class Author | ||
{ | ||
[JsonProperty("name")] | ||
public string Name { get; set; } | ||
|
||
[JsonProperty("email")] | ||
public string Email { get; set; } | ||
|
||
[JsonProperty("date")] | ||
public DateTime Date { get; set; } | ||
} | ||
|
||
public class Tree | ||
{ | ||
[JsonProperty("sha")] | ||
public string Sha { get; set; } | ||
|
||
[JsonProperty("url")] | ||
public string Url { get; set; } | ||
} | ||
|
||
public class Verification | ||
{ | ||
[JsonProperty("verified")] | ||
public bool Verified { get; set; } | ||
|
||
[JsonProperty("reason")] | ||
public string Reason { get; set; } | ||
|
||
[JsonProperty("signature")] | ||
public string Signature { get; set; } | ||
|
||
[JsonProperty("payload")] | ||
public string Payload { get; set; } | ||
} | ||
|
||
public class Parent | ||
{ | ||
[JsonProperty("sha")] | ||
public string Sha { get; set; } | ||
|
||
[JsonProperty("url")] | ||
public string Url { get; set; } | ||
|
||
[JsonProperty("html_url")] | ||
public string HtmlUrl { get; set; } | ||
} | ||
|
||
public class CommitFile | ||
{ | ||
[JsonProperty("sha")] | ||
public string Sha { get; set; } | ||
|
||
[JsonProperty("filename")] | ||
public string Filename { get; set; } | ||
|
||
[JsonProperty("status")] | ||
public string Status { get; set; } | ||
|
||
[JsonProperty("additions")] | ||
public int Additions { get; set; } | ||
|
||
[JsonProperty("deletions")] | ||
public int Deletions { get; set; } | ||
|
||
[JsonProperty("changes")] | ||
public int Changes { get; set; } | ||
|
||
[JsonProperty("blob_url")] | ||
public string BlobUrl { get; set; } | ||
|
||
[JsonProperty("raw_url")] | ||
public string RawUrl { get; set; } | ||
|
||
[JsonProperty("contents_url")] | ||
public string ContentsUrl { get; set; } | ||
|
||
[JsonProperty("patch")] | ||
public string Patch { get; set; } | ||
} | ||
} |
Oops, something went wrong.