File tree Expand file tree Collapse file tree 1 file changed +16
-13
lines changed
Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Original file line number Diff line number Diff line change 1- import { type RentalType , type RoomType } from '@/shared/types' ;
2-
31export interface SharedPostListItem {
42 id : number ;
53 title : string ;
@@ -47,7 +45,15 @@ export interface SharedPost {
4745 id : number ;
4846 title : string ;
4947 content : string ;
50- roomMateFeatures : string [ ] ;
48+ roomMateFeatures : {
49+ location : string ;
50+ features : {
51+ smoking : string ;
52+ roomSharingOption : string ;
53+ mateAge : string ;
54+ options : string ; // 프런트에서 파싱 필요.
55+ } ;
56+ } ;
5157 participants : Array < { memberId : string ; profileImage : string } > ;
5258 roomImages : Set < {
5359 fileName : string ;
@@ -61,29 +67,26 @@ export interface SharedPost {
6167 birthYear : string ;
6268 gender : string ;
6369 phoneNumber : string ;
64- myCardFeatures : string [ ] ;
65- mateCardFeatures : string [ ] ;
70+ profileImageFileName : string ;
6671 createdAt : Date ;
6772 createdBy : string ;
6873 modifiedAt : Date ;
6974 modifiedBy : string ;
7075 } ;
76+ address : {
77+ oldAddress : string ;
78+ roadAddress : string ;
79+ } ;
7180 roomInfo : {
7281 id : number ;
73- address : {
74- city : string ;
75- oldAddress : string ;
76- roadAddress : string ;
77- detailAddress ?: string ;
78- } ;
79- roomType : RoomType ;
82+ roomType : string ;
8083 floorType : string ;
8184 size : number ;
8285 numberOfRoom : number ;
8386 numberOfBathRoom : number ;
8487 hasLivingRoom : boolean ;
8588 recruitmentCapacity : number ;
86- rentalType : RentalType ;
89+ rentalType : string ;
8790 expectedPayment : number ;
8891 extraOption : {
8992 canPark : boolean ;
You can’t perform that action at this time.
0 commit comments