From cbde50b102bd64cf18a3c51bc52009c7259877f0 Mon Sep 17 00:00:00 2001 From: Tim Miller Date: Thu, 31 Oct 2024 16:43:48 +0900 Subject: [PATCH] Add missing fields (#75) * Add pinned posts * Clean up docs --- Directory.Packages.props | 1 - README.md | 2 +- src/FishyFlip/Models/FeedProfile.cs | 1 + src/FishyFlip/Models/PinnedPost.cs | 33 ++++++++++++++++++++++++ src/FishyFlip/README.md | 2 +- src/FishyFlip/SourceGenerationContext.cs | 1 + website/index.md | 2 +- 7 files changed, 38 insertions(+), 4 deletions(-) create mode 100644 src/FishyFlip/Models/PinnedPost.cs diff --git a/Directory.Packages.props b/Directory.Packages.props index b241c556..ca983970 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -29,7 +29,6 @@ - diff --git a/README.md b/README.md index 85cfc10e..1f7daaa9 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ For documentation, check out https://drasticactions.github.io/FishyFlip ### Third-Party Libraries -- [Nerdbank.GitVersioning](https://github.com/dotnet/Nerdbank.GitVersioning) +- [GitVersion](https://github.com/GitTools/GitVersion) FishyFlip diff --git a/src/FishyFlip/Models/FeedProfile.cs b/src/FishyFlip/Models/FeedProfile.cs index ca703eb4..f67d92d3 100644 --- a/src/FishyFlip/Models/FeedProfile.cs +++ b/src/FishyFlip/Models/FeedProfile.cs @@ -16,6 +16,7 @@ public record FeedProfile(ATDid Did, int FollowsCount, int FollowersCount, int PostsCount, + PinnedPost? PinnedPost, DateTime IndexedAt, Viewer Viewer, IReadOnlyList