-
Notifications
You must be signed in to change notification settings - Fork 1
API Specification
BangDori edited this page Apr 16, 2024
·
30 revisions
interface Image {
id: number;
imageUrl: string;
}
interface Feed {
id: number;
user: {
id: number;
profileImage: string;
name: string;
};
title: string;
content: string;
images: Image[];
likeCount: number;
commentCount: number;
createdAt: string;
updatedAt: string;
}
interface Comment {
id: number;
user: {
id: number;
profileImage: string;
name: string;
};
content: string;
createdAt: string;
updatedAt: string;
}
interface User {
id: number;
profileImage: string;
name: string;
content: string;
}
interface ProfileFeed {
id: number;
title: string;
content: string;
thubnailImage: string;
};