mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2025-06-28 20:29:53 +00:00
core: split response to two types, to improve iOS parsing memory usage (#5867)
* core: split response to two types, to improve iOS parsing memory usage * ios: split core events to separate types * comment * limit more events to CLI * fix parser * simplemq
This commit is contained in:
parent
f5c706f2dd
commit
a0d1cca389
31 changed files with 1394 additions and 1132 deletions
|
@ -84,7 +84,6 @@ export type ChatResponse =
|
|||
| CRGroupRemoved
|
||||
| CRGroupDeleted
|
||||
| CRGroupUpdated
|
||||
| CRUserContactLinkSubscribed
|
||||
| CRUserContactLinkSubError
|
||||
| CRContactConnectionDeleted
|
||||
| CRMessageError
|
||||
|
@ -182,7 +181,6 @@ type ChatResponseTag =
|
|||
| "groupRemoved"
|
||||
| "groupDeleted"
|
||||
| "groupUpdated"
|
||||
| "userContactLinkSubscribed"
|
||||
| "userContactLinkSubError"
|
||||
| "newContactConnection"
|
||||
| "contactConnectionDeleted"
|
||||
|
@ -721,10 +719,6 @@ export interface CRGroupUpdated extends CR {
|
|||
member_?: GroupMember
|
||||
}
|
||||
|
||||
export interface CRUserContactLinkSubscribed extends CR {
|
||||
type: "userContactLinkSubscribed"
|
||||
}
|
||||
|
||||
export interface CRUserContactLinkSubError extends CR {
|
||||
type: "userContactLinkSubError"
|
||||
chatError: ChatError
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue