fix(api): workspace creation arguments

This commit is contained in:
Karol Sójko
2022-10-10 10:40:46 +02:00
parent 8863ee82bb
commit a275a45753
19 changed files with 61 additions and 41 deletions

View File

@@ -1,8 +1,11 @@
import { WorkspaceType } from '@standardnotes/common'
export interface WorkspaceClientInterface {
createWorkspace(dto: {
encryptedWorkspaceKey: string
encryptedPrivateKey: string
publicKey: string
workspaceType: WorkspaceType
encryptedWorkspaceKey?: string
encryptedPrivateKey?: string
publicKey?: string
workspaceName?: string
}): Promise<{ uuid: string } | null>
}