profile.ts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. totalDonatedAmount: number|null;
  26. isDonationPublic: boolean;
  27. isFollowing: boolean;
  28. isSelf: boolean;
  29. }
  30. export interface UserPostRow {
  31. postID: number;
  32. boardID: number;
  33. boardCode: string;
  34. boardName: string;
  35. subject: string;
  36. thumbnail: string|null;
  37. views: number;
  38. likes: number;
  39. comments: number;
  40. createdAt: string;
  41. }
  42. export interface UserPostsResponse {
  43. total: number;
  44. list: UserPostRow[];
  45. }
  46. export interface UserCommentRow {
  47. commentID: number;
  48. postID: number;
  49. postSubject: string;
  50. boardCode: string;
  51. boardName: string;
  52. content: string;
  53. likes: number;
  54. createdAt: string;
  55. }
  56. export interface UserCommentsResponse {
  57. total: number;
  58. list: UserCommentRow[];
  59. }