fix: refactor application event observing on web

This commit is contained in:
Karol Sójko
2022-10-21 14:28:03 +02:00
parent bd40a49484
commit 9fb85cd77a
11 changed files with 238 additions and 47 deletions

View File

@@ -1,3 +1 @@
import { Either } from '@standardnotes/common'
export type SubscriptionInviteAcceptResponseBody = Either<{ success: true }, { success: false; message: string }>
export type SubscriptionInviteAcceptResponseBody = { success: true } | { success: false; message: string }