Skip to content

Add API client docs, env vars, and quest system to engage-native page#63

Open
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/engage-native-api-docs-1774090304
Open

Add API client docs, env vars, and quest system to engage-native page#63
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/engage-native-api-docs-1774090304

Conversation

@mintlify
Copy link

@mintlify mintlify bot commented Mar 21, 2026

Summary

Updates repositories/d-sports-engage-native.mdx to reflect the initial commit of the d-sports-engage-native repository (d-sports-ecosystem/d-sports-engage-native@4e362d9).

Changes

  • Added environment variables table listing all EXPO_PUBLIC_* keys required to run the app
  • Documented the API client architecture (lib/api/client.ts) including the normalized ApiResponse<T> envelope and useApi() hook
  • Added a complete API modules reference table covering all 10 modules (user, quests, leaderboard, wallet, lockerRoom, teams, collectibles, shop, checkout)
  • Documented the quest and rewards system — multi-step quests, daily visits, check-progress, and rewards claiming
  • Added a note on the Phase 2 API normalization migration (hybrid legacy/normalized handling in client.ts)
  • Converted getting-started steps to use the <Steps> component
  • Updated the features list to include quests/rewards and expanded leaderboard/locker room descriptions

Trigger

Merge to main in d-sports-engage-native: feat: align native quest api and batch b docs

Files changed in trigger repo (key files)

  • lib/api/quests-api.ts — quest types (QuestStatus, CheckProgressResponse, DailyVisitResponse), rewards endpoints
  • lib/api/client.ts — normalized envelope parsing with legacy fallback
  • lib/api/index.ts — barrel file with useApi() hook
  • types/api.ts — centralized type re-exports
  • .env — environment variable definitions
  • All lib/api/*-api.ts modules (user, wallet, leaderboard, locker-room, checkout, teams, collectibles, shop)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants