-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1024 from academic-relations/dev
merge dev into main
- Loading branch information
Showing
38 changed files
with
800 additions
and
321 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
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
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,49 @@ | ||
import { HttpStatusCode } from "axios"; | ||
import { z } from "zod"; | ||
|
||
/** | ||
* @version v0.1 | ||
* @description 집행부원으로서 동아리 등록 신청을 수락(activityStatusEnumId.Approved)합니다. | ||
*/ | ||
|
||
const url = (activityId: number) => | ||
`/executive/activities/activity/${activityId}/approval`; | ||
const method = "PATCH"; | ||
|
||
const requestParam = z.object({ | ||
activityId: z.coerce.number().int().min(1), | ||
}); | ||
|
||
const requestQuery = z.object({}); | ||
|
||
const requestBody = z.object({}); | ||
|
||
const responseBodyMap = { | ||
[HttpStatusCode.Ok]: z.object({}), | ||
}; | ||
|
||
const responseErrorMap = {}; | ||
|
||
const apiAct016 = { | ||
url, | ||
method, | ||
requestParam, | ||
requestQuery, | ||
requestBody, | ||
responseBodyMap, | ||
responseErrorMap, | ||
}; | ||
|
||
type ApiAct016RequestParam = z.infer<typeof apiAct016.requestParam>; | ||
type ApiAct016RequestQuery = z.infer<typeof apiAct016.requestQuery>; | ||
type ApiAct016RequestBody = z.infer<typeof apiAct016.requestBody>; | ||
type ApiAct016ResponseOk = z.infer<(typeof apiAct016.responseBodyMap)[200]>; | ||
|
||
export default apiAct016; | ||
|
||
export type { | ||
ApiAct016RequestParam, | ||
ApiAct016RequestQuery, | ||
ApiAct016RequestBody, | ||
ApiAct016ResponseOk, | ||
}; |
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
Oops, something went wrong.