Commit f427a24
feat: メール一括送信APIでユーザーID指定による送信をサポート (#259)
* feat: メール一括送信APIでユーザーID指定による送信をサポート
addressesに加えてuserIdsでも送信先を指定可能にし、ユーザーIDから学籍番号を取得して大学メールアドレスを自動生成する機能を追加。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: PR #259 レビュー指摘事項を修正
- SQLでuser_profiles.student_numberをusers.student_numberに修正し不要なJOINを削除
- UserIdsのvalidateタグからuuidを削除(openapi_types.UUIDに適用不可のため)
- sendToAdminのdefault: falseをスキーマに復活
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent bde266a commit f427a24
File tree
7 files changed
+205
-114
lines changed- document
- schemas
- pkg
- api
- db/sql/user
- mail
- user
7 files changed
+205
-114
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3211 | 3211 | | |
3212 | 3212 | | |
3213 | 3213 | | |
3214 | | - | |
3215 | 3214 | | |
3216 | 3215 | | |
3217 | 3216 | | |
3218 | 3217 | | |
3219 | 3218 | | |
3220 | | - | |
3221 | 3219 | | |
3222 | 3220 | | |
3223 | 3221 | | |
3224 | 3222 | | |
3225 | | - | |
| 3223 | + | |
3226 | 3224 | | |
| 3225 | + | |
| 3226 | + | |
| 3227 | + | |
| 3228 | + | |
| 3229 | + | |
| 3230 | + | |
| 3231 | + | |
| 3232 | + | |
3227 | 3233 | | |
3228 | 3234 | | |
3229 | 3235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | | - | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | | - | |
| 11 | + | |
14 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments