mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[PR #630] [MERGED] feat: support admin api bind address to user #666
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#666
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/630
Author: @dreamhunter2333
Created: 4/12/2025
Status: ✅ Merged
Merged: 4/12/2025
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
264f5d6feat: support admin api bind address to user📊 Changes
4 files changed (+22 additions, -16 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
worker/src/admin_api/admin_user_api.ts(+6 -15)📝
worker/src/admin_api/index.ts(+1 -0)📝
worker/src/user_api/bind_address.ts(+14 -1)📄 Description
User description
#628
PR Type
Enhancement
Description
Added API endpoint to bind address to user.
Refactored address binding logic into a separate module.
Updated existing API to use the new module.
Updated changelog to reflect new API addition.
Changes walkthrough 📝
admin_user_api.ts
Add and refactor address binding methodsworker/src/admin_api/admin_user_api.ts
bindAddressmethod to bind address to user.getBindedAddressesto use new module.index.ts
Add route for binding address to userworker/src/admin_api/index.ts
bind_address.ts
Refactor address binding logic into moduleworker/src/user_api/bind_address.ts
UserBindAddressModule.bindByIDandgetBindedAddressesByIdmethods.CHANGELOG.md
Update changelog for new admin APICHANGELOG.md
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.