fix: MessagingMessageの型を修正 (#28)

* fix messaging

* add changelog
This commit is contained in:
tamaina 2021-09-21 02:49:31 +09:00 committed by GitHub
parent 1243e6a655
commit fa98dabeec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View File

@ -1 +1 @@
- MessagingMessageの型を修正

View File

@ -2171,7 +2171,10 @@ type MessagingMessage = {
text: string | null; text: string | null;
user: User; user: User;
userId: User['id']; userId: User['id'];
groupId: string; recipient?: User | null;
recipientId: User['id'] | null;
group?: UserGroup | null;
groupId: UserGroup['id'] | null;
}; };
// @public (undocumented) // @public (undocumented)

View File

@ -167,7 +167,10 @@ export type MessagingMessage = {
text: string | null; text: string | null;
user: User; user: User;
userId: User['id']; userId: User['id'];
groupId: string; // TODO recipient?: User | null;
recipientId: User['id'] | null;
group?: UserGroup | null;
groupId: UserGroup['id'] | null;
}; };
export type CustomEmoji = { export type CustomEmoji = {