-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add summary support Add tank api provider Add suggestion tags feature Reorganize archive's special tags
- Loading branch information
Showing
26 changed files
with
446 additions
and
218 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
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 |
---|---|---|
@@ -1,15 +1,10 @@ | ||
| ||
namespace LRReader.Shared.Models.Main | ||
namespace LRReader.Shared.Models.Main; | ||
|
||
public class TagStats | ||
{ | ||
public class TagStats | ||
{ | ||
public string @namespace { get; set; } = null!; | ||
public string text { get; set; } = null!; | ||
public int weight { get; set; } | ||
public string @namespace { get; set; } = null!; | ||
public string text { get; set; } = null!; | ||
public int weight { get; set; } | ||
|
||
public string GetNamespacedTag() | ||
{ | ||
return string.IsNullOrEmpty(@namespace) ? text : @namespace + ":" + text; | ||
} | ||
} | ||
public string GetNamespacedTag() => string.IsNullOrEmpty(@namespace) ? text : @namespace + ":" + text; | ||
} |
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,31 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace LRReader.Shared.Models.Main | ||
{ | ||
public class Tankoubons | ||
{ | ||
public List<string> archives { get; set; } = null!; | ||
public string id { get; set; } = null!; | ||
public string name { get; set; } = null!; | ||
public List<Archive>? full_data { get; set; } | ||
} | ||
|
||
public class TankoubonsList | ||
{ | ||
public List<Tankoubons> result { get; set; } = null!; | ||
public int filtered { get; set; } | ||
public int total { get; set; } | ||
} | ||
|
||
public class TankoubonsItem | ||
{ | ||
public Tankoubons result { get; set; } = null!; | ||
public int filtered { get; set; } | ||
public int total { get; set; } | ||
} | ||
|
||
public class ArchiveTankoubons : GenericApiResult | ||
{ | ||
public List<string> tankoubons { get; set; } = null!; | ||
} | ||
} |
Oops, something went wrong.