feat(api): add accepting invites by the client

This commit is contained in:
Karol Sójko
2022-10-21 10:24:49 +02:00
parent 401a35f4db
commit 4f0805d5b0
6 changed files with 76 additions and 7 deletions

View File

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