my-kaiqiuwang/__test__
kyuuseiryuu fd8257e194 feat(api): add user location management endpoints and database model
- Added `UserLocation` model to `prisma/schema.prisma` to store user location data including coordinates (point geometry), name, avatar, and bindings to Logto and Kaiqiu users.
- Created new API endpoints under `/api/account/location` to handle location operations:
  - `POST`: Create a new location record for a user.
  - `GET`: Retrieve nearby locations based on latitude and longitude.
  - `PUT`: Update an existing location record, including coordinate updates via spatial index.
  - `DELETE`: Remove a specific location record.
- Integrated the custom spatial operations from `xprisma` DAO to support geospatial queries and updates.
- Updated dependencies to include `@mui/icons-material` (and its peer dependencies like `prop-types` and `react-transition-group` which are implicitly required by the new icon components).
- Implemented `verifyLogtoToken` logic to secure the new endpoints and associate locations with authenticated users.

No breaking changes in API contracts; new endpoints are additive.
2026-03-19 00:29:02 +09:00
..
data fix(global) .gitkeep 2026-01-29 22:14:39 +09:00
fav-dao.test.ts feat: implement user favorite player system with Logto sync 2026-03-09 10:16:27 +09:00
kaiqiu-login.test.ts feat(auth): add Kaiqiu account binding and update WebSocket architecture 2026-03-18 01:18:34 +09:00
kaiqiu.test.ts feat(app): split game selector and implement club detail page 2026-03-13 10:27:05 +09:00
location.test.ts feat(api): add user location management endpoints and database model 2026-03-19 00:29:02 +09:00
redis.test.ts feat: add current-score grouping flow with cached uid score API 2026-02-26 00:13:37 +09:00
utils.load-html.test.ts refactor(utils): split shared helpers and server scraping modules 2026-02-26 00:26:25 +09:00
utils.test.ts refactor(utils): split shared helpers and server scraping modules 2026-02-26 00:26:25 +09:00
xcxapi.test.ts init 2026-01-29 22:00:49 +09:00