mirror of
https://github.com/standardnotes/server
synced 2026-10-17 21:03:09 -04:00
feat(workspace): add invite access level
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { WorkspaceType } from '@standardnotes/common'
|
||||
import { WorkspaceAccessLevel, WorkspaceType } from '@standardnotes/common'
|
||||
import 'reflect-metadata'
|
||||
|
||||
import { CreateWorkspace } from '../Domain/UseCase/CreateWorkspace/CreateWorkspace'
|
||||
@@ -42,6 +42,7 @@ describe('WorkspacesController', () => {
|
||||
const result = await createController().inviteToWorkspace({
|
||||
inviteeEmail: '[email protected]',
|
||||
workspaceUuid: 'w-1-2-3',
|
||||
accessLevel: WorkspaceAccessLevel.ReadOnly,
|
||||
})
|
||||
|
||||
expect(result).toEqual({
|
||||
|
||||
Reference in New Issue
Block a user