profile.ts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. export interface UserProfileDto {
  2. memberID: number;
  3. memberSID: string;
  4. name: string|null;
  5. thumb: string|null;
  6. bannerUrl: string|null;
  7. summary: string|null;
  8. intro: string|null;
  9. isCreator: boolean;
  10. isAdmin: boolean;
  11. isAuthCertified: boolean;
  12. joinedAt: string;
  13. lastLoginAt: string|null;
  14. channelSID: string|null;
  15. channelHandle: string|null;
  16. followerCount: number;
  17. followingCount: number;
  18. postCount: number;
  19. commentCount: number;
  20. feedPostCount: number;
  21. attendanceCount: number;
  22. consecutiveDays: number;
  23. exp: number;
  24. likeReceivedCount: number;
  25. isFollowing: boolean;
  26. isSelf: boolean;
  27. }
  28. export interface UserPostRow {
  29. postID: number;
  30. boardID: number;
  31. boardCode: string;
  32. boardName: string;
  33. subject: string;
  34. thumbnail: string|null;
  35. views: number;
  36. likes: number;
  37. comments: number;
  38. createdAt: string;
  39. }
  40. export interface UserPostsResponse {
  41. total: number;
  42. list: UserPostRow[];
  43. }
  44. export interface UserCommentRow {
  45. commentID: number;
  46. postID: number;
  47. postSubject: string;
  48. boardCode: string;
  49. boardName: string;
  50. content: string;
  51. likes: number;
  52. createdAt: string;
  53. }
  54. export interface UserCommentsResponse {
  55. total: number;
  56. list: UserCommentRow[];
  57. }