From 78a56b6c9d5e185a3df281628f18a6bdcf0dc2a7 Mon Sep 17 00:00:00 2001 From: Tim Miller Date: Mon, 28 Oct 2024 17:05:11 +0900 Subject: [PATCH 1/7] Add missing fields to ThreadView/PostView (#69) * Add Parent to ThreadView * Add PostViewer --- src/FishyFlip/Models/PostView.cs | 3 ++- src/FishyFlip/Models/PostViewer.cs | 16 ++++++++++++++++ src/FishyFlip/Models/ThreadView.cs | 9 ++++++++- src/FishyFlip/SourceGenerationContext.cs | 1 + 4 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 src/FishyFlip/Models/PostViewer.cs diff --git a/src/FishyFlip/Models/PostView.cs b/src/FishyFlip/Models/PostView.cs index a41f70e0..23da6d0c 100644 --- a/src/FishyFlip/Models/PostView.cs +++ b/src/FishyFlip/Models/PostView.cs @@ -17,4 +17,5 @@ public record PostView( FeedProfile Author, Post? Record, DateTime IndexedAt, - IReadOnlyList