chore: fix build issues
This commit is contained in:
@@ -8,6 +8,8 @@ import {
|
|||||||
SharedVaultListingInterface,
|
SharedVaultListingInterface,
|
||||||
VaultListingInterface,
|
VaultListingInterface,
|
||||||
KeySystemRootKeyStorageMode,
|
KeySystemRootKeyStorageMode,
|
||||||
|
EmojiString,
|
||||||
|
IconType,
|
||||||
} from '@standardnotes/models'
|
} from '@standardnotes/models'
|
||||||
import { SharedVaultServiceInterface } from './SharedVaultServiceInterface'
|
import { SharedVaultServiceInterface } from './SharedVaultServiceInterface'
|
||||||
import { SharedVaultServiceEvent, SharedVaultServiceEventPayload } from './SharedVaultServiceEvent'
|
import { SharedVaultServiceEvent, SharedVaultServiceEventPayload } from './SharedVaultServiceEvent'
|
||||||
@@ -118,12 +120,14 @@ export class SharedVaultService
|
|||||||
async createSharedVault(dto: {
|
async createSharedVault(dto: {
|
||||||
name: string
|
name: string
|
||||||
description?: string
|
description?: string
|
||||||
|
iconString: IconType | EmojiString
|
||||||
userInputtedPassword: string | undefined
|
userInputtedPassword: string | undefined
|
||||||
storagePreference?: KeySystemRootKeyStorageMode
|
storagePreference?: KeySystemRootKeyStorageMode
|
||||||
}): Promise<VaultListingInterface | ClientDisplayableError> {
|
}): Promise<VaultListingInterface | ClientDisplayableError> {
|
||||||
return this._createSharedVault.execute({
|
return this._createSharedVault.execute({
|
||||||
vaultName: dto.name,
|
vaultName: dto.name,
|
||||||
vaultDescription: dto.description,
|
vaultDescription: dto.description,
|
||||||
|
vaultIcon: dto.iconString,
|
||||||
userInputtedPassword: dto.userInputtedPassword,
|
userInputtedPassword: dto.userInputtedPassword,
|
||||||
storagePreference: dto.storagePreference ?? KeySystemRootKeyStorageMode.Synced,
|
storagePreference: dto.storagePreference ?? KeySystemRootKeyStorageMode.Synced,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -122,6 +122,7 @@ export class InviteToVault implements UseCaseInterface<SharedVaultInviteServerHa
|
|||||||
metadata: {
|
metadata: {
|
||||||
name: params.sharedVault.name,
|
name: params.sharedVault.name,
|
||||||
description: params.sharedVault.description,
|
description: params.sharedVault.description,
|
||||||
|
iconString: params.sharedVault.iconString,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user