mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
Revert "refactor(directory): ♻ use string rather than System.Uri for query context URLs for seeding support"
This reverts commit 627c7cb85d5da82a7ffc0c9c48da695e2ceaeb05.
This commit is contained in:
parent
44411b122e
commit
7bdcde5692
8 changed files with 17 additions and 17 deletions
|
|
@ -10,8 +10,8 @@
|
|||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(QueryDbContext))]
|
||||
[Migration("20200827213520_InitialData")]
|
||||
partial class InitialData
|
||||
[Migration("20200827115451_Initial")]
|
||||
partial class Initial
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class InitialData : Migration
|
||||
public partial class Initial : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
|
@ -17,15 +17,15 @@ public class FilterList
|
|||
public IReadOnlyCollection<FilterListLanguage> FilterListLanguages { get; private set; } = new HashSet<FilterListLanguage>();
|
||||
public IReadOnlyCollection<FilterListTag> FilterListTags { get; private set; } = new HashSet<FilterListTag>();
|
||||
public IReadOnlyCollection<FilterListViewUrl> ViewUrls { get; private set; } = new HashSet<FilterListViewUrl>();
|
||||
public string? HomeUrl { get; set; }
|
||||
public string? OnionUrl { get; set; }
|
||||
public string? PolicyUrl { get; set; }
|
||||
public string? SubmissionUrl { get; set; }
|
||||
public string? IssuesUrl { get; set; }
|
||||
public string? ForumUrl { get; set; }
|
||||
public string? ChatUrl { get; set; }
|
||||
public Uri? HomeUrl { get; set; }
|
||||
public Uri? OnionUrl { get; set; }
|
||||
public Uri? PolicyUrl { get; set; }
|
||||
public Uri? SubmissionUrl { get; set; }
|
||||
public Uri? IssuesUrl { get; set; }
|
||||
public Uri? ForumUrl { get; set; }
|
||||
public Uri? ChatUrl { get; set; }
|
||||
public string? EmailAddress { get; set; }
|
||||
public string? DonateUrl { get; set; }
|
||||
public Uri? DonateUrl { get; set; }
|
||||
public IReadOnlyCollection<FilterListMaintainer> FilterListMaintainers { get; private set; } = new HashSet<FilterListMaintainer>();
|
||||
public IReadOnlyCollection<Fork> UpstreamFilterLists { get; private set; } = new HashSet<Fork>();
|
||||
public IReadOnlyCollection<Fork> ForkFilterLists { get; private set; } = new HashSet<Fork>();
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@ public class FilterListViewUrl
|
|||
{
|
||||
public int SegmentNumber { get; set; }
|
||||
public int Primariness { get; set; }
|
||||
public string Url { get; set; } = null!;
|
||||
public Uri Url { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
|
|
@ -10,7 +10,7 @@ public class License
|
|||
public int Id { get; set; }
|
||||
public string Name { get; set; } = null!;
|
||||
public string? GitHubKey { get; set; }
|
||||
public string? Url { get; set; }
|
||||
public Uri? Url { get; set; }
|
||||
public IReadOnlyCollection<FilterList> FilterLists { get; private set; } = new HashSet<FilterList>();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ public class Maintainer
|
|||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = null!;
|
||||
public string? Url { get; set; }
|
||||
public Uri? Url { get; set; }
|
||||
public string? EmailAddress { get; set; }
|
||||
public string? TwitterHandle { get; set; }
|
||||
public IReadOnlyCollection<FilterListMaintainer> FilterListMaintainers { get; private set; } = new HashSet<FilterListMaintainer>();
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ public class Software
|
|||
public int Id { get; set; }
|
||||
public string Name { get; set; } = null!;
|
||||
public string? Description { get; set; }
|
||||
public string? HomeUrl { get; set; }
|
||||
public string? DownloadUrl { get; set; }
|
||||
public Uri? HomeUrl { get; set; }
|
||||
public Uri? DownloadUrl { get; set; }
|
||||
public bool SupportsAbpUrlScheme { get; set; }
|
||||
public IReadOnlyCollection<SoftwareSyntax> SoftwareSyntaxes { get; private set; } = new HashSet<SoftwareSyntax>();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ public class Syntax
|
|||
public int Id { get; set; }
|
||||
public string Name { get; set; } = null!;
|
||||
public string? Description { get; set; }
|
||||
public string? Url { get; set; }
|
||||
public Uri? Url { get; set; }
|
||||
public IReadOnlyCollection<FilterListSyntax> FilterListSyntaxes { get; private set; } = new HashSet<FilterListSyntax>();
|
||||
public IReadOnlyCollection<SoftwareSyntax> SoftwareSyntaxes { get; private set; } = new HashSet<SoftwareSyntax>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue