issue #
- Api Url 공용 코드화
This commit is contained in:
42
src/scheduler/http/HttpApiUrl.ts
Normal file
42
src/scheduler/http/HttpApiUrl.ts
Normal file
@@ -0,0 +1,42 @@
|
||||
export const HttpApiUrl = {
|
||||
Account: {
|
||||
base: '/account',
|
||||
root: '/',
|
||||
checkDuplication: '/check-duplication',
|
||||
sendEmailVerificationCode: '/send-email-verification-code',
|
||||
verifyEmailVerificationCode: '/verify-email-verification-code',
|
||||
sendResetPasswordCode: '/send-reset-password-code',
|
||||
verifyResetPasswordCode: '/verify-reset-password-code',
|
||||
resetPassword: '/reset-password',
|
||||
signup: '/signup',
|
||||
login: '/login',
|
||||
refreshToken: '/refresh-token'
|
||||
},
|
||||
Schedule: {
|
||||
base: '/schedule',
|
||||
getList: '/',
|
||||
getDetail: '/:id',
|
||||
create: '/create',
|
||||
update: '/update',
|
||||
delete: '/delete'
|
||||
},
|
||||
follow: {
|
||||
base: '/follow',
|
||||
getList: '/',
|
||||
followUser: '/follow-user',
|
||||
unfollowUser: '/unfollow-user'
|
||||
},
|
||||
comment: {
|
||||
base: '/comment',
|
||||
create: '/create',
|
||||
update: '/update',
|
||||
delete: '/delete'
|
||||
},
|
||||
notification: {
|
||||
base: '/notification',
|
||||
getList: '/',
|
||||
getDetail: '/:id',
|
||||
read: '/read',
|
||||
delete: '/delete'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user