[PR #182] [CLOSED] Add API annotations all routes #254

Closed
opened 2026-02-17 17:06:31 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Drop-OSS/drop/pull/182
Author: @DecDuck
Created: 8/10/2025
Status: Closed

Base: developHead: fix-types


📝 Commits (10+)

  • 7af29ef feat: add initial type hints for API docs
  • ef7a62b partial: new documentation additions (company admin)
  • e3feaeb fix: omit droplet manifest
  • 29fdfcb partial: add admin game annotations
  • 90b02b7 partial: admin import annotations
  • 80f7757 partial: annotate rest of admin routes
  • a0b4381 partial: user routes
  • 94e7957 fix: client handler typing
  • 824b4e7 fix: client route type hacking
  • 7c23406 feat: annotated client routes

📊 Changes

133 files changed (+1381 additions, -895 deletions)

View changed files

📝 drop-base (+1 -1)
📝 pages/setup.vue (+23 -67)
📝 server/api/v1/admin/auth/index.get.ts (+3 -0)
📝 server/api/v1/admin/auth/invitation/index.delete.ts (+4 -0)
📝 server/api/v1/admin/auth/invitation/index.get.ts (+3 -0)
📝 server/api/v1/admin/auth/invitation/index.post.ts (+3 -0)
📝 server/api/v1/admin/company/[id]/banner.post.ts (+5 -0)
📝 server/api/v1/admin/company/[id]/game.delete.ts (+27 -21)
📝 server/api/v1/admin/company/[id]/game.patch.ts (+25 -19)
📝 server/api/v1/admin/company/[id]/game.post.ts (+52 -46)
📝 server/api/v1/admin/company/[id]/icon.post.ts (+5 -0)
📝 server/api/v1/admin/company/[id]/index.delete.ts (+4 -0)
📝 server/api/v1/admin/company/[id]/index.get.ts (+4 -0)
📝 server/api/v1/admin/company/[id]/index.patch.ts (+5 -0)
📝 server/api/v1/admin/company/index.get.ts (+3 -0)
📝 server/api/v1/admin/company/index.post.ts (+38 -33)
📝 server/api/v1/admin/game/[id]/index.delete.ts (+4 -0)
📝 server/api/v1/admin/game/[id]/index.get.ts (+4 -0)
📝 server/api/v1/admin/game/[id]/index.patch.ts (+5 -0)
📝 server/api/v1/admin/game/[id]/metadata.post.ts (+5 -0)

...and 80 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Drop-OSS/drop/pull/182 **Author:** [@DecDuck](https://github.com/DecDuck) **Created:** 8/10/2025 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `fix-types` --- ### 📝 Commits (10+) - [`7af29ef`](https://github.com/Drop-OSS/drop/commit/7af29ef0eb38132b0b64632b85dfed80e772c87a) feat: add initial type hints for API docs - [`ef7a62b`](https://github.com/Drop-OSS/drop/commit/ef7a62bf0ba793a6da923478e15797570a36c601) partial: new documentation additions (company admin) - [`e3feaeb`](https://github.com/Drop-OSS/drop/commit/e3feaeb9701347617b66a3ef70c133aed6b95ea9) fix: omit droplet manifest - [`29fdfcb`](https://github.com/Drop-OSS/drop/commit/29fdfcbdd4f4b75cd04cbe726ce99f1e18f0cbfa) partial: add admin game annotations - [`90b02b7`](https://github.com/Drop-OSS/drop/commit/90b02b7f8e86d494d10e398158aa611136a0d8b5) partial: admin import annotations - [`80f7757`](https://github.com/Drop-OSS/drop/commit/80f7757558d30fd4ec3704f056aed5faabcfbc25) partial: annotate rest of admin routes - [`a0b4381`](https://github.com/Drop-OSS/drop/commit/a0b4381f0ba934a3952f9b4b0a2c3c48bcc8ce6f) partial: user routes - [`94e7957`](https://github.com/Drop-OSS/drop/commit/94e795787e4ab4b20a00e93b8fa6b00c58c25830) fix: client handler typing - [`824b4e7`](https://github.com/Drop-OSS/drop/commit/824b4e708bbe63efce34e85cdacb52db8a0297df) fix: client route type hacking - [`7c23406`](https://github.com/Drop-OSS/drop/commit/7c234067a55e45b737b86bbe362801712d0a25a6) feat: annotated client routes ### 📊 Changes **133 files changed** (+1381 additions, -895 deletions) <details> <summary>View changed files</summary> 📝 `drop-base` (+1 -1) 📝 `pages/setup.vue` (+23 -67) 📝 `server/api/v1/admin/auth/index.get.ts` (+3 -0) 📝 `server/api/v1/admin/auth/invitation/index.delete.ts` (+4 -0) 📝 `server/api/v1/admin/auth/invitation/index.get.ts` (+3 -0) 📝 `server/api/v1/admin/auth/invitation/index.post.ts` (+3 -0) 📝 `server/api/v1/admin/company/[id]/banner.post.ts` (+5 -0) 📝 `server/api/v1/admin/company/[id]/game.delete.ts` (+27 -21) 📝 `server/api/v1/admin/company/[id]/game.patch.ts` (+25 -19) 📝 `server/api/v1/admin/company/[id]/game.post.ts` (+52 -46) 📝 `server/api/v1/admin/company/[id]/icon.post.ts` (+5 -0) 📝 `server/api/v1/admin/company/[id]/index.delete.ts` (+4 -0) 📝 `server/api/v1/admin/company/[id]/index.get.ts` (+4 -0) 📝 `server/api/v1/admin/company/[id]/index.patch.ts` (+5 -0) 📝 `server/api/v1/admin/company/index.get.ts` (+3 -0) 📝 `server/api/v1/admin/company/index.post.ts` (+38 -33) 📝 `server/api/v1/admin/game/[id]/index.delete.ts` (+4 -0) 📝 `server/api/v1/admin/game/[id]/index.get.ts` (+4 -0) 📝 `server/api/v1/admin/game/[id]/index.patch.ts` (+5 -0) 📝 `server/api/v1/admin/game/[id]/metadata.post.ts` (+5 -0) _...and 80 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-17 17:06:31 -05:00
yindo closed this issue 2026-02-17 17:06:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Drop-OSS/drop#254