Changeset 73b69b2 for ChapterX.Domain
- Timestamp:
- 03/24/26 22:13:36 (3 months ago)
- Branches:
- main
- Children:
- 7fbb91c
- Parents:
- acf690c
- Location:
- ChapterX.Domain
- Files:
-
- 4 edited
-
Entities/Notification.cs (modified) (1 diff)
-
Repositories/ICommentRepository.cs (modified) (1 diff)
-
Repositories/ILikesRepository.cs (modified) (1 diff)
-
Repositories/IReadingListItemsRepository.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ChapterX.Domain/Entities/Notification.cs
racf690c r73b69b2 14 14 public bool IsRead { get; set; } 15 15 public DateTime CreatedAt { get; set; } 16 public int? RecipientUserId { get; set; } 17 public string? Type { get; set; } 18 public string? Link { get; set; } 16 19 17 20 public ICollection<ContentType> ContentTypes { get; set; } = []; -
ChapterX.Domain/Repositories/ICommentRepository.cs
racf690c r73b69b2 6 6 { 7 7 Task<IEnumerable<Comment>> GetByChapterIdAsync(int chapterId, CancellationToken cancellationToken = default); 8 Task<IEnumerable<Comment>> GetByStoryIdAsync(int storyId, CancellationToken cancellationToken = default); 8 9 } 9 10 } -
ChapterX.Domain/Repositories/ILikesRepository.cs
racf690c r73b69b2 5 5 public interface ILikesRepository : IRepository<Likes> 6 6 { 7 Task<IEnumerable<Likes>> GetByStoryIdAsync(int storyId, CancellationToken cancellationToken = default); 8 Task<bool> DeleteByUserAndStoryAsync(int userId, int storyId, CancellationToken cancellationToken = default); 9 Task<bool> ExistsAsync(int userId, int storyId, CancellationToken cancellationToken = default); 7 10 } 8 11 } -
ChapterX.Domain/Repositories/IReadingListItemsRepository.cs
racf690c r73b69b2 6 6 { 7 7 Task<bool> ExistsAsync(int listId, int storyId, CancellationToken cancellationToken = default); 8 Task<bool> DeleteByListAndStoryAsync(int listId, int storyId, CancellationToken cancellationToken = default); 8 9 } 9 10 }
Note:
See TracChangeset
for help on using the changeset viewer.
