feat(api): add inviting to workspace

This commit is contained in:
Karol Sójko
2022-10-10 11:57:44 +02:00
parent a275a45753
commit 158ca6ac6a
15 changed files with 165 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
import { WorkspaceType } from '@standardnotes/common'
import { Uuid, WorkspaceType } from '@standardnotes/common'
export interface WorkspaceClientInterface {
createWorkspace(dto: {
@@ -8,4 +8,8 @@ export interface WorkspaceClientInterface {
publicKey?: string
workspaceName?: string
}): Promise<{ uuid: string } | null>
inviteToWorkspace(dto: {
inviteeEmail: string
workspaceUuid: Uuid
}): Promise<{ uuid: string } | null>
}