-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Adam Hathcock
committed
Sep 11, 2023
1 parent
735185e
commit d3283ad
Showing
78 changed files
with
2,534 additions
and
2,015 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
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
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,11 +1,10 @@ | ||
namespace Conduit.Domain | ||
namespace Conduit.Domain; | ||
|
||
public class ArticleFavorite | ||
{ | ||
public class ArticleFavorite | ||
{ | ||
public int ArticleId { get; set; } | ||
public Article? Article { get; set; } | ||
public int ArticleId { get; set; } | ||
public Article? Article { get; set; } | ||
|
||
public int PersonId { get; set; } | ||
public Person? Person { get; set; } | ||
} | ||
} | ||
public int PersonId { get; set; } | ||
public Person? Person { get; set; } | ||
} |
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,11 +1,10 @@ | ||
namespace Conduit.Domain | ||
namespace Conduit.Domain; | ||
|
||
public class ArticleTag | ||
{ | ||
public class ArticleTag | ||
{ | ||
public int ArticleId { get; set; } | ||
public Article? Article { get; set; } | ||
public int ArticleId { get; set; } | ||
public Article? Article { get; set; } | ||
|
||
public string? TagId { get; set; } | ||
public Tag? Tag { get; set; } | ||
} | ||
} | ||
public string? TagId { get; set; } | ||
public Tag? Tag { get; set; } | ||
} |
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,28 +1,27 @@ | ||
using System; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Conduit.Domain | ||
namespace Conduit.Domain; | ||
|
||
public class Comment | ||
{ | ||
public class Comment | ||
{ | ||
[JsonPropertyName("id")] | ||
public int CommentId { get; set; } | ||
[JsonPropertyName("id")] | ||
public int CommentId { get; set; } | ||
|
||
public string? Body { get; set; } | ||
public string? Body { get; set; } | ||
|
||
public Person? Author { get; set; } | ||
public Person? Author { get; set; } | ||
|
||
[JsonIgnore] | ||
public int AuthorId { get; set; } | ||
[JsonIgnore] | ||
public int AuthorId { get; set; } | ||
|
||
[JsonIgnore] | ||
public Article? Article { get; set; } | ||
[JsonIgnore] | ||
public Article? Article { get; set; } | ||
|
||
[JsonIgnore] | ||
public int ArticleId { get; set; } | ||
[JsonIgnore] | ||
public int ArticleId { get; set; } | ||
|
||
public DateTime CreatedAt { get; set; } | ||
public DateTime CreatedAt { get; set; } | ||
|
||
public DateTime UpdatedAt { get; set; } | ||
} | ||
} | ||
public DateTime UpdatedAt { get; set; } | ||
} |
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,11 +1,10 @@ | ||
namespace Conduit.Domain | ||
namespace Conduit.Domain; | ||
|
||
public class FollowedPeople | ||
{ | ||
public class FollowedPeople | ||
{ | ||
public int ObserverId { get; set; } | ||
public Person? Observer { get; set; } | ||
public int ObserverId { get; set; } | ||
public Person? Observer { get; set; } | ||
|
||
public int TargetId { get; set; } | ||
public Person? Target { get; set; } | ||
} | ||
} | ||
public int TargetId { get; set; } | ||
public Person? Target { get; set; } | ||
} |
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,11 +1,10 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Conduit.Domain | ||
namespace Conduit.Domain; | ||
|
||
public class Tag | ||
{ | ||
public class Tag | ||
{ | ||
public string? TagId { get; set; } | ||
public string? TagId { get; set; } | ||
|
||
public List<ArticleTag> ArticleTags { get; set; } = new(); | ||
} | ||
} | ||
public List<ArticleTag> ArticleTags { get; set; } = new(); | ||
} |
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,6 +1,5 @@ | ||
using Conduit.Domain; | ||
|
||
namespace Conduit.Features.Articles | ||
{ | ||
public record ArticleEnvelope(Article Article); | ||
} | ||
namespace Conduit.Features.Articles; | ||
|
||
public record ArticleEnvelope(Article Article); |
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
Oops, something went wrong.