refactor: native feature management (#2350)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { SNComponent } from '@standardnotes/models'
|
||||
import { ComponentInterface } from '@standardnotes/models'
|
||||
|
||||
export interface DesktopManagerInterface {
|
||||
syncComponentsInstallation(components: SNComponent[]): void
|
||||
registerUpdateObserver(callback: (component: SNComponent) => void): () => void
|
||||
syncComponentsInstallation(components: ComponentInterface[]): void
|
||||
registerUpdateObserver(callback: (component: ComponentInterface) => void): () => void
|
||||
getExtServerHost(): string
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@ export interface MobileDeviceInterface extends DeviceInterface {
|
||||
authenticateWithBiometrics(): Promise<boolean>
|
||||
hideMobileInterfaceFromScreenshots(): void
|
||||
stopHidingMobileInterfaceFromScreenshots(): void
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
consoleLog(...args: any[]): void
|
||||
handleThemeSchemeChange(isDark: boolean, bgColor: string): void
|
||||
shareBase64AsFile(base64: string, filename: string): Promise<void>
|
||||
|
||||
Reference in New Issue
Block a user