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>
This commit is contained in:
tamaina 2021-09-21 02:50:35 +09:00 committed by GitHub
parent fa98dabeec
commit f278390012
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 3 deletions

View File

@ -1 +1,2 @@
- Notificationsの型を修正
- MessagingMessageの型を修正

View File

@ -2275,10 +2275,14 @@ type Notification_2 = {
userId: User['id'];
} | {
type: 'groupInvited';
invitation: UserGroup;
user: User;
userId: User['id'];
} | {
type: 'app';
header?: string | null;
body: string;
icon: string;
icon?: string | null;
});
// @public (undocumented)

View File

@ -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 = {