@@ -129,6 +129,8 @@ export const API_CONFIG = {
129129 GET_CHAT_MESSAGES : ( page : number , size : number , conversationId : string ) =>
130130 `/chat/messages?page=${ page } &size=${ size } &conversationId=${ conversationId } ` ,
131131 GET_POST_DETAILS : ( postId : string ) => `/post/${ postId } ` ,
132+ GET_SAVED_POSTS : ( page : number , size : number ) =>
133+ `/profile/posts/saved?page=${ page } &size=${ size } ` ,
132134 GET_COMMENT_BY_POST_ID : (
133135 postId : string ,
134136 page : number ,
@@ -202,6 +204,7 @@ export const API_CONFIG = {
202204 SET_ROLE_FOR_USER_CHAT : ( groupId : string ) =>
203205 `/chat/conversation/group/${ groupId } /role` ,
204206 REACTION_POST : ( postId : string ) => `/post/${ postId } /reaction/toggle` ,
207+ SAVE_POST : ( postId : string ) => `/profile/post/${ postId } /save` ,
205208 ADD_COMMENT_POST : ( postId : string ) => `/post/${ postId } /comment` ,
206209 ADD_REPLY_COMMENT_POST : ( postId : string , commentId : string ) =>
207210 `/post/${ postId } /comment/${ commentId } ` ,
@@ -242,6 +245,7 @@ export const API_CONFIG = {
242245 DELETE_GROUP_CHAT : ( groupId : string ) =>
243246 `/chat/conversation/group/${ groupId } ` ,
244247 DELETE_POST : ( postId : string ) => `/post/${ postId } ` ,
248+ UNSAVE_POST : ( postId : string ) => `/profile/post/${ postId } /save` ,
245249 DELETE_COMMENT_POST : ( commentId : string ) => `/post/comment/${ commentId } ` ,
246250 UNSAVE_EXERCISE : ( exerciseId : string ) =>
247251 `/profile/exercise/${ exerciseId } /save` ,
0 commit comments