inbox-schema-fix
This commit is contained in:
parent
b70e70cba3
commit
87c45a48a2
|
@ -43,6 +43,8 @@ export const InboxProvider = (props: { children: JSX.Element }) => {
|
|||
},
|
||||
onerror(err) {
|
||||
console.error('sse connection closed by error', err)
|
||||
|
||||
throw new Error() // NOTE: simple hack to close the connection
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
@ -67,7 +67,6 @@ export type Chat = {
|
|||
title?: Maybe<Scalars['String']>
|
||||
unread?: Maybe<Scalars['Int']>
|
||||
updatedAt: Scalars['Int']
|
||||
users?: Maybe<Array<Maybe<Scalars['Int']>>>
|
||||
}
|
||||
|
||||
export type ChatInput = {
|
||||
|
@ -78,7 +77,7 @@ export type ChatInput = {
|
|||
|
||||
export type ChatMember = {
|
||||
id: Scalars['Int']
|
||||
lastSeen?: Maybe<Scalars['DateTime']>
|
||||
lastSeen: Maybe<Scalars['Int']>
|
||||
name: Scalars['String']
|
||||
online?: Maybe<Scalars['Boolean']>
|
||||
slug: Scalars['String']
|
||||
|
|
Loading…
Reference in New Issue
Block a user