chore: fix mobile device interface

This commit is contained in:
Mo
2023-07-03 09:08:27 -05:00
parent 96f42643a9
commit 27fc4be886
6 changed files with 13 additions and 18 deletions

View File

@@ -1,4 +1,3 @@
import { ApplicationInterface } from './../Application/ApplicationInterface'
import { ApplicationIdentifier } from '@standardnotes/common'
import {
FullyFormedTransferPayload,
@@ -34,9 +33,6 @@ export interface DeviceInterface {
removeRawStorageValuesForIdentifier(identifier: ApplicationIdentifier): Promise<void>
setApplication(application: ApplicationInterface): void
removeApplication(application: ApplicationInterface): void
/**
* On web platforms, databased created may be new.
* New databases can be because of new sessions, or if the browser deleted it.

View File

@@ -1,3 +1,4 @@
import { ApplicationInterface } from './../Application/ApplicationInterface'
import { DeviceInterface } from './DeviceInterface'
import { RawKeychainValue } from '@standardnotes/models'
@@ -7,4 +8,7 @@ export interface WebOrDesktopDeviceInterface extends DeviceInterface {
getKeychainValue(): Promise<RawKeychainValue>
setKeychainValue(value: RawKeychainValue): Promise<void>
setApplication(application: ApplicationInterface): void
removeApplication(application: ApplicationInterface): void
}