summaryrefslogtreecommitdiff
path: root/packages/backend/src/models/Notification.ts
diff options
context:
space:
mode:
authorlqvp <183242690+lqvp@users.noreply.github.com>2025-02-11 10:15:33 +0900
committerGitHub <noreply@github.com>2025-02-11 01:15:33 +0000
commite3392936736c16000b837f1549943d2f241e01b2 (patch)
tree6b2c743e5982e990ce6ec832706f95642eccb6dd /packages/backend/src/models/Notification.ts
parentfix(frontend): コンディショナルロールを手動で割り当てで... (diff)
downloadsharkey-e3392936736c16000b837f1549943d2f241e01b2.tar.gz
sharkey-e3392936736c16000b837f1549943d2f241e01b2.tar.bz2
sharkey-e3392936736c16000b837f1549943d2f241e01b2.zip
feat: アクセストークン発行時に通知するように (#15422)
* feat: アクセストークン発行時に通知するように (misskey-dev/misskey#13353) * fix: 不要な翻訳を削除/インデントを揃えるように * chore(backend): 不要なawaitを削除 * chore: changelogへ追加
Diffstat (limited to 'packages/backend/src/models/Notification.ts')
-rw-r--r--packages/backend/src/models/Notification.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/backend/src/models/Notification.ts b/packages/backend/src/models/Notification.ts
index b7f8e94d69..5772ace338 100644
--- a/packages/backend/src/models/Notification.ts
+++ b/packages/backend/src/models/Notification.ts
@@ -91,6 +91,10 @@ export type MiNotification = {
id: string;
createdAt: string;
} | {
+ type: 'createToken';
+ id: string;
+ createdAt: string;
+} | {
type: 'app';
id: string;
createdAt: string;