Commit Graph

7 Commits

Author SHA1 Message Date
zetaloop ca4bef959f refactor(types): align entity types with backend API responses
Adjust all entity types to match actual backend response shapes.
String-typed numeric fields (Shop.rating, Shop.commissionValue,
WalletTransaction.amount) now correctly typed as strings.
Post.linkedOrderId changed from SnowflakeId to number (backend int64).
Removed fields absent from backend: Order consumer/player/shopName,
Review fromUserAvatar/toUserId, Dispute initiatorId/initiatorName,
Post authorRole/quotedPostId, Comment postId, ChatSession
readonly/lastMessageAt, ChatMessage senderName/senderAvatar.
Added Player.gender field.
2026-04-23 21:14:46 +08:00
zetaloop e9b0dced0e refactor(types): align core types with backend contract 2026-02-28 07:34:14 +08:00
zetaloop 527d08fb81 refactor(mock): convert mock ids to numeric strings 2026-02-28 07:26:15 +08:00
zetaloop 6ed8620ca6 fix: sync verification state with auth guards 2026-02-21 15:53:46 +08:00
zetaloop 0d01e659a1 refactor: strengthen type modeling with discriminated unions 2026-02-20 20:48:43 +08:00
zetaloop 91d1694bcd feat: favorites — type, mock data, and buttons on player/shop detail pages 2026-02-20 18:35:14 +08:00
zetaloop 02cd8a23df setup: shadcn/ui components + type definitions + mock data layer 2026-02-20 13:27:02 +08:00