add community page

This commit is contained in:
an-lee
2024-01-11 17:10:00 +08:00
parent 551b848ade
commit 94d4a0a338
19 changed files with 604 additions and 33 deletions

7
enjoy/src/types/post.d.ts vendored Normal file
View File

@@ -0,0 +1,7 @@
type PostType = {
id: string;
content?: string;
user: UserType;
createdAt: string;
updatedAt: string;
}

View File

@@ -3,4 +3,6 @@ type UserType = {
name: string;
avatarUrl?: string;
accessToken?: string;
recordingsCount?: number;
recordingsDuration?: number;
};