Post browse by categories, tags

This commit is contained in:
2025-08-21 23:21:30 +08:00
parent 3d473e2fec
commit f98e5a0aec
16 changed files with 366 additions and 58 deletions

View File

@@ -15,6 +15,7 @@ sealed class SnPostCategory with _$SnPostCategory {
required String slug,
String? name,
@Default([]) List<SnPost> posts,
@Default(0) int usage,
}) = _SnPostCategory;
factory SnPostCategory.fromJson(Map<String, dynamic> json) =>