-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing fields to ThreadView/PostView (#69)
* Add Parent to ThreadView * Add PostViewer
- Loading branch information
1 parent
81ebb9f
commit 0f43355
Showing
4 changed files
with
27 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// <copyright file="PostViewer.cs" company="Drastic Actions"> | ||
// Copyright (c) Drastic Actions. All rights reserved. | ||
// </copyright> | ||
|
||
namespace FishyFlip.Models; | ||
|
||
/// <summary> | ||
/// Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests. | ||
/// </summary> | ||
public record PostViewer( | ||
bool ThreadMuted, | ||
bool ReplyDisabled, | ||
bool EmbeddingDisabled, | ||
bool Pinned, | ||
ATUri? Like, | ||
ATUri? Repost); |
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