Add admin pinning and user favorites with role management

This commit is contained in:
爱喝水的木子
2026-03-20 13:55:27 +08:00
parent e6788d0e8f
commit 8e6bd210a8
19 changed files with 629 additions and 101 deletions

View File

@@ -11,4 +11,8 @@ export type Post = {
createdAt: string;
updatedAt: string;
views?: number;
isPinned?: boolean;
pinnedAt?: string;
favoriteCount?: number;
isFavorited?: boolean;
};