mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 08:33:09 +02:00
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:
parent
fa98dabeec
commit
f278390012
3 changed files with 12 additions and 3 deletions
|
@ -1 +1,2 @@
|
||||||
|
- Notificationsの型を修正
|
||||||
- MessagingMessageの型を修正
|
- MessagingMessageの型を修正
|
||||||
|
|
|
@ -2275,10 +2275,14 @@ type Notification_2 = {
|
||||||
userId: User['id'];
|
userId: User['id'];
|
||||||
} | {
|
} | {
|
||||||
type: 'groupInvited';
|
type: 'groupInvited';
|
||||||
|
invitation: UserGroup;
|
||||||
|
user: User;
|
||||||
|
userId: User['id'];
|
||||||
} | {
|
} | {
|
||||||
type: 'app';
|
type: 'app';
|
||||||
|
header?: string | null;
|
||||||
body: string;
|
body: string;
|
||||||
icon: string;
|
icon?: string | null;
|
||||||
});
|
});
|
||||||
|
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
|
|
|
@ -150,11 +150,15 @@ export type Notification = {
|
||||||
user: User;
|
user: User;
|
||||||
userId: User['id'];
|
userId: User['id'];
|
||||||
} | {
|
} | {
|
||||||
type: 'groupInvited'; // TODO
|
type: 'groupInvited';
|
||||||
|
invitation: UserGroup;
|
||||||
|
user: User;
|
||||||
|
userId: User['id'];
|
||||||
} | {
|
} | {
|
||||||
type: 'app';
|
type: 'app';
|
||||||
|
header?: string | null;
|
||||||
body: string;
|
body: string;
|
||||||
icon: string;
|
icon?: string | null;
|
||||||
});
|
});
|
||||||
|
|
||||||
export type MessagingMessage = {
|
export type MessagingMessage = {
|
||||||
|
|
Loading…
Reference in a new issue