feat(api): add inviting to workspace
This commit is contained in:
@@ -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>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user