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
					
				|  | @ -1 +1,2 @@ | |||
| - Notificationsの型を修正 | ||||
| - MessagingMessageの型を修正 | ||||
|  |  | |||
|  | @ -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) | ||||
|  |  | |||
|  | @ -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 = { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue