feat(web): add authenticated app shell

This commit is contained in:
zl-q
2026-05-09 16:00:29 +08:00
parent c12320cb79
commit 5aa46d3311
73 changed files with 2571 additions and 250 deletions
+20
View File
@@ -0,0 +1,20 @@
export const API_ROUTES = {
auth: {
sendOtp: '/api/v1/auth/otp/send',
emailSession: '/api/v1/auth/email-session',
refreshSession: '/api/v1/auth/sessions/refresh',
deleteSession: '/api/v1/auth/sessions',
},
users: {
profile: '/api/v1/users/me/profile',
},
points: {
balance: '/api/v1/points/balance',
},
notifications: {
unreadCount: '/api/v1/notifications/unread-count',
},
agent: {
history: '/api/v1/agent/history',
},
} as const;