-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* api: 텃밭 조회 api 정의 #225 * feat: 텃밭 조회 api 연결 #225 * refact: 텃밭 색상을 정의한 변수 위치 이동 #225 * refact: 텃밭 관련 mocks data 삭제 #225
- Loading branch information
Showing
6 changed files
with
58 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* eslint-disable import/prefer-default-export */ | ||
import { fetcher } from './fetcher'; | ||
|
||
const gardenFetcher = fetcher(); | ||
|
||
const getGarden = (teamId: number) => gardenFetcher(`/garden/${teamId}`); | ||
|
||
export { getGarden }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* eslint-disable import/prefer-default-export */ | ||
|
||
export interface GardenColor { | ||
ceil: string; | ||
side1: string; | ||
side2: string; | ||
} | ||
|
||
export const gardenColor: GardenColor[] = [ | ||
{ | ||
ceil: '#EDF2F7', | ||
side1: '#CBD5E0', | ||
side2: '#A0AEC0', | ||
}, | ||
{ | ||
ceil: '#D4EDC3', | ||
side1: '#C9E2AF', | ||
side2: '#B1D195', | ||
}, | ||
{ | ||
ceil: '#B3D8AB', | ||
side1: '#99C490', | ||
side2: '#7EAF74', | ||
}, | ||
{ | ||
ceil: '#81AF7E', | ||
side1: '#709B6D', | ||
side2: '#5D845B', | ||
}, | ||
{ | ||
ceil: '#567754', | ||
side1: '#4C6B4A', | ||
side2: '#425B40', | ||
}, | ||
]; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters