:refactor: Central post fetching logic

This commit is contained in:
2024-11-26 00:00:09 +08:00
parent 41e2b08bcc
commit 356d3d4d3e
10 changed files with 206 additions and 140 deletions

View File

@ -53,6 +53,7 @@ class SnPost with _$SnPost {
@freezed
class SnPostPreload with _$SnPostPreload {
const factory SnPostPreload({
required SnAttachment? thumbnail,
required List<SnAttachment?>? attachments,
}) = _SnPostPreload;