1
1
import { Endpoint } from "endpoint-client" ;
2
2
3
3
/**
4
- * GET /books/:bookId/sections/:sectionId/block-comments/:blockCommentId/notification
4
+ * GET /books/:bookId/sections/:sectionId/block-comments/:blockCommentId/notifications
5
5
* 블록 댓글 알림을 활성화했는지 조회합니다.
6
6
*/
7
7
export const GetIsBlockCommentNotificationOn : Endpoint <
@@ -10,7 +10,7 @@ export const GetIsBlockCommentNotificationOn: Endpoint<
10
10
> = {
11
11
method : "GET" ,
12
12
path : ( e ) =>
13
- `/books/${ e . bookId } /sections/${ e . sectionId } /block-comments/${ e . blockCommentId } /notification ` ,
13
+ `/books/${ e . bookId } /sections/${ e . sectionId } /block-comments/${ e . blockCommentId } /notifications ` ,
14
14
pathParams : [ "bookId" , "sectionId" , "blockCommentId" ] ,
15
15
} ;
16
16
export type GetBlockCommentNotificationReqPath = {
@@ -24,7 +24,7 @@ export type GetBlockCommentNotificationRes = {
24
24
} ;
25
25
26
26
/**
27
- * POST /books/:bookId/sections/:sectionId/block-comments/:blockCommentId/notification
27
+ * POST /books/:bookId/sections/:sectionId/block-comments/:blockCommentId/notifications
28
28
* 블록 댓글 알림을 활성화합니다.
29
29
*/
30
30
export const SetBlockCommentNotificationOn : Endpoint <
@@ -33,7 +33,7 @@ export const SetBlockCommentNotificationOn: Endpoint<
33
33
> = {
34
34
method : "POST" ,
35
35
path : ( e ) =>
36
- `/books/${ e . bookId } /sections/${ e . sectionId } /block-comments/${ e . blockCommentId } /notification ` ,
36
+ `/books/${ e . bookId } /sections/${ e . sectionId } /block-comments/${ e . blockCommentId } /notifications ` ,
37
37
pathParams : [ "bookId" , "sectionId" , "blockCommentId" ] ,
38
38
} ;
39
39
export type SetBlockCommentNotificationOnReqPath = {
@@ -46,7 +46,7 @@ export type SetBlockCommentNotificationOnReq =
46
46
export type SetBlockCommentNotificationOnRes = { } ;
47
47
48
48
/**
49
- * DELETE /books/:bookId/sections/:sectionId/block-comments/:blockCommentId/notification
49
+ * DELETE /books/:bookId/sections/:sectionId/block-comments/:blockCommentId/notifications
50
50
* 블록 댓글 알림을 비활성화합니다.
51
51
*/
52
52
export const SetBlockCommentNotificationOff : Endpoint <
@@ -55,7 +55,7 @@ export const SetBlockCommentNotificationOff: Endpoint<
55
55
> = {
56
56
method : "DELETE" ,
57
57
path : ( e ) =>
58
- `/books/${ e . bookId } /sections/${ e . sectionId } /block-comments/${ e . blockCommentId } /notification ` ,
58
+ `/books/${ e . bookId } /sections/${ e . sectionId } /block-comments/${ e . blockCommentId } /notifications ` ,
59
59
pathParams : [ "bookId" , "sectionId" , "blockCommentId" ] ,
60
60
} ;
61
61
export type SetBlockCommentNotificationOffReqPath = {
0 commit comments