Skip to content

Commit

Permalink
Merge branch 'main' into merge/FE-51
Browse files Browse the repository at this point in the history
  • Loading branch information
newjinlee committed Jul 30, 2024
2 parents c7f2191 + c762ee5 commit 6f48ad0
Show file tree
Hide file tree
Showing 42 changed files with 1,329 additions and 32 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,8 @@
}
]
}
}
},
"cSpell.words": [
"clsx"
]
}
17 changes: 17 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
images: {
domains: ['sprint-fe-project.s3.ap-northeast-2.amazonaws.com', 'localhost'],
remotePatterns: [
{
protocol: 'https',
hostname: 'via.placeholder.com',
port: '',
pathname: '/**',
},
],
},
rewrites: async () => [
{
source: '/api/proxy/:path*',
destination: 'https://sprint-fe-project.s3.ap-northeast-2.amazonaws.com/:path*',
},
],
};

export default nextConfig;
150 changes: 136 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@lukemorales/query-key-factory": "^1.3.4",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-radio-group": "^1.2.0",
Expand All @@ -28,6 +29,8 @@
"axios": "^1.7.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"date-fns": "^3.6.0",
"formik": "^2.4.6",
"lucide-react": "^0.402.0",
"next": "14.2.4",
"qs": "^6.12.2",
Expand All @@ -38,13 +41,14 @@
"sharp": "^0.33.4",
"tailwind-merge": "^2.4.0",
"tailwindcss-animate": "^1.0.7",
"yup": "^1.4.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^5.50.0",
"@types/node": "^20",
"@types/node": "^20.14.10",
"@types/qs": "^6.9.15",
"@types/react": "^18",
"@types/react": "^18.3.3",
"@types/react-dom": "^18",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
Expand All @@ -63,7 +67,7 @@
"postcss": "8.4.39",
"prettier": "^3.2.5",
"prettier-eslint": "^16.3.0",
"tailwindcss": "3.4.4",
"typescript": "^5"
"tailwindcss": "^3.4.4",
"typescript": "^5.5.3"
}
}
5 changes: 5 additions & 0 deletions public/icon/arrow-bottom-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/icon/arrow-right-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions public/md.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/apis/emotion.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { GetMonthlyEmotionLogsRequestType, GetMonthlyEmotionLogsResponseType } from '@/schema/emotion';

import httpClient from '.';

const getMonthlyEmotionLogs = async (request: GetMonthlyEmotionLogsRequestType): Promise<GetMonthlyEmotionLogsResponseType> => {
const response = await httpClient.get(`/emotionLogs/monthly`, {
params: request,
});
return response.data;
};

export default getMonthlyEmotionLogs;
Loading

0 comments on commit 6f48ad0

Please sign in to comment.