feat(api): add account mutation clients

This commit is contained in:
zetaloop
2026-04-25 14:13:45 +08:00
parent 70230483f8
commit d7cc6b0141
4 changed files with 98 additions and 5 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
export { login, register, resetPassword } from "./auth"
export { login, logout, register, resetPassword } from "./auth"
export { sendForgotPasswordCode } from "./auth-extra"
export { getChatSessionById, listChatMessages, listChatSessions } from "./chat"
export { requestWithAuth } from "./client"
@@ -6,7 +6,7 @@ export { addComment, listCommentsByPost, toggleCommentLike } from "./comments"
export { getDisputeByOrderId, listDisputes } from "./disputes"
export { sendEmailVerificationCode } from "./email"
export { isFavorited, listFavorites } from "./favorites"
export { getFileById } from "./files"
export { getFileById, uploadFile } from "./files"
export { getGameById, listGames } from "./games"
export { listNotifications, markNotificationAsRead } from "./notifications"
export { getOrderById, listOrders, listOrdersByConsumer } from "./orders"
@@ -16,4 +16,4 @@ export { listReviews, listReviewsByOrder, listReviewsByTargetUser } from "./revi
export { getServiceById, listServices, listServicesByPlayer } from "./services"
export { getShopById, getShopByOwnerId, listShops } from "./shops"
export { getWalletBalance, listWalletTransactions } from "./transactions"
export { getCurrentUserForLogin, getUserById } from "./users"
export { getCurrentUserForLogin, getUserById, switchCurrentRole, updateCurrentUser } from "./users"