summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortamaina <tamaina@hotmail.co.jp>2021-09-21 02:50:35 +0900
committerGitHub <noreply@github.com>2021-09-21 02:50:35 +0900
commitf2783900127afd103ae485ab1cd0f00aff2fcdd9 (patch)
treecef0f3b573d7c7746e3a629a04a3016a7fb6ab67 /src
parentfix: MessagingMessageの型を修正 (#28) (diff)
downloadmisskey-f2783900127afd103ae485ab1cd0f00aff2fcdd9.tar.gz
misskey-f2783900127afd103ae485ab1cd0f00aff2fcdd9.tar.bz2
misskey-f2783900127afd103ae485ab1cd0f00aff2fcdd9.zip
fix: Notificationsの型を修正 (#27)
* Update entities.ts * Update entities.ts * extract * fix app define extract * appの定義を修正 * 改行コード修正 * add changelog * fix Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Diffstat (limited to 'src')
-rw-r--r--src/entities.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/entities.ts b/src/entities.ts
index 87c8134637..f21036d960 100644
--- a/src/entities.ts
+++ b/src/entities.ts
@@ -150,11 +150,15 @@ export type Notification = {
user: User;
userId: User['id'];
} | {
- type: 'groupInvited'; // TODO
+ type: 'groupInvited';
+ invitation: UserGroup;
+ user: User;
+ userId: User['id'];
} | {
type: 'app';
+ header?: string | null;
body: string;
- icon: string;
+ icon?: string | null;
});
export type MessagingMessage = {