-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.ts
More file actions
129 lines (125 loc) · 3.33 KB
/
data.ts
File metadata and controls
129 lines (125 loc) · 3.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
// 장소 리스트
export const places = {
totalPage: 4,
currentPage: 1,
nextUrl: '?page=2',
results: [
{
_id: 123,
locationType: '음식점',
name: '몬플몬플 숙대점',
address: '서울특별시 용산구 청파동 청파로',
latitude: 37.544127,
longitude: 126.9667812,
distance: 0.5,
isToiletExists: true,
isChargerExists: true,
isElevatorExists: false,
isSlopeExists: false,
googlePlaceId: 'ChIJN2x0fu2ifDUR51BupseGYmE',
},
{
_id: 124,
locationType: '음식점',
name: '육쌈냉면 숙대점',
address: '서울특별시 용산구 청파동 청파로',
latitude: 37.544127,
longitude: 126.9667812,
distance: 0.5,
isToiletExists: true,
isChargerExists: true,
isElevatorExists: true,
isSlopeExists: true,
googlePlaceId: 'ChIJN2x0fu2ifDUR51BupseGYmE',
},
{
_id: 125,
locationType: '음식점',
name: '코피티암 숙대점',
address: '서울특별시 용산구 청파동 청파로',
latitude: 37.544127,
longitude: 126.9667812,
distance: 0.5,
isToiletExists: true,
isChargerExists: true,
isElevatorExists: false,
isSlopeExists: false,
googlePlaceId: 'ChIJN2x0fu2ifDUR51BupseGYmE',
},
],
}
// 장소 디테일
export const placeDetail = {
message: 'Retrieve Location By Id Success',
response: {
_id: 1,
locationType: 'subway',
name: '국립중앙박물관',
address: '137 Seobinggo-ro',
latitude: 37.5238506,
longitude: 126.9804702,
distance: 1.5,
isToiletExists: true,
isChargerExists: true,
isElevatorExists: true,
isSlopeExists: true,
googlePlaceId: 'ChIJN2x0fu2ifDUR51BupseGYmE',
},
}
// 충전기 디테일
export const chargerDetail = {
message: 'get charger info success',
data: {
locationId: 12,
airinjectoryn: 'Y',
moblphonchrstnyn: 'Y',
smtmuseco: '2',
weekdayoperopenhhmm: '09:00',
weekdayopercolsehhmm: '18:00',
satoperoperopenhhmm: '00:00',
satoperclosehhmm: '00:00',
holidayoperopenhhmm: '00:00',
holidaycloseopenhhmm: '00:00',
fcltynm: '용산행복장애인자립생활센터',
institutionnm: '용산행복장애인자립생활센터',
institutionphonenumber: '02-704-0420',
instllcdesc: '센터 1층',
work_dttm: '1646631453000',
referencedate: '2021-09-15',
},
}
// 리뷰 평균 및 개수
export const reviewAverageCount = {
count: 5,
average: 4.5,
}
// 리뷰 리스트
export const reviews = {
message: 'List Review of location number 1 Success',
data: [
{
_id: '62343510c3dd5a345c6431d4',
locationId: 1,
userId: null,
userType: 'anonymous',
good: 1,
bad: 2,
detail:
'매장이 넓고 경사로가 있어서 이용하기 편리했어요 카페 내부도 예뻐요! 입구는 하나라 경사로 찾기 쉬울 것 같아요',
star: 4.5,
createdAt: '2022-03-18T09:40:53.077Z',
},
{
_id: '62343510c3dd5a345c6431d5',
locationId: 2,
userId: null,
userType: 'anonymous',
good: 1,
bad: 3,
detail:
'매장이 넓고 경사로가 있어서 이용하기 편리했어요 카페 내부도 예뻐요!',
star: 4.2,
createdAt: '2022-03-19T09:40:53.077Z',
},
],
}