add community page
This commit is contained in:
7
enjoy/src/types/post.d.ts
vendored
Normal file
7
enjoy/src/types/post.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
type PostType = {
|
||||
id: string;
|
||||
content?: string;
|
||||
user: UserType;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
2
enjoy/src/types/user.d.ts
vendored
2
enjoy/src/types/user.d.ts
vendored
@@ -3,4 +3,6 @@ type UserType = {
|
||||
name: string;
|
||||
avatarUrl?: string;
|
||||
accessToken?: string;
|
||||
recordingsCount?: number;
|
||||
recordingsDuration?: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user