Repository navigation
docs(architecture): update monorepo.md api/v1 layout and scripts list - #1183
ibochielizabeth-spec wants to merge 1 commit into
Conversation
|
@ibochielizabeth-spec is attempting to deploy a commit to the Collins' projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@ibochielizabeth-spec Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
collinsezedike
left a comment
There was a problem hiding this comment.
The api layout and the scripts list match the repo. One line needs a correction, noted inline.
| │ ├── _lib/ | ||
| │ │ └── middleware.ts # CORS + rate-limit helpers shared by handlers | ||
| │ └── v1/ | ||
| │ ├── admin/ # POST /api/v1/admin/:resource |
There was a problem hiding this comment.
This handler is GET only: api/v1/admin/[resource].ts rejects any non-GET request with Allow: GET. This comment should read GET /api/v1/admin/:resource.
|
@ibochielizabeth-spec closing in favour of #1218, which is the same change for #1146 on a current base. The admin GET correction from the inline review is already reflected there. |
Closes #1146
Summary
Updates
apps/docs/architecture/monorepo.mdto reflect the current consolidatedapi/v1tree layout and completescripts/directory entries.Changes
api/v1tree inapps/docs/architecture/monorepo.md:admin/[resource].ts(POST /api/v1/admin/:resource).keepers/[action].ts(POST /api/v1/keepers/:action).tx/*intotx/[action].ts(POST /api/v1/tx/:action).positions/[publicKey]/history.ts(GET /api/v1/positions/:publicKey/history) alongsidepositions/[publicKey].ts.scripts/tree description to list all scripts and directories:deploy-testnet.sh,deploy-mainnet.sh,redeploy-blend-adapter.sh,deploy-external-pinger.sh,build-vercel.sh,verify-contract-addresses.ts,lib/, andload-test/.Verification
pnpm prettier apps/docs/architecture/monorepo.md --check(passes).