chore: fix mobile device interface
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user