All external config properties could be undefined (#27803)

All external config attributes could be undefined
This commit is contained in:
Timothy
2025-11-05 15:57:51 +01:00
committed by GitHub
parent d35e6c0092
commit b6abbdafb8

View File

@@ -293,18 +293,18 @@ type EMIncomingMessage =
type EMIncomingMessageHandler = (msg: EMIncomingMessageCommands) => boolean; type EMIncomingMessageHandler = (msg: EMIncomingMessageCommands) => boolean;
export interface ExternalConfig { export interface ExternalConfig {
hasSettingsScreen: boolean; hasSettingsScreen?: boolean;
hasSidebar: boolean; hasSidebar?: boolean;
canWriteTag: boolean; canWriteTag?: boolean;
hasExoPlayer: boolean; hasExoPlayer?: boolean;
canCommissionMatter: boolean; canCommissionMatter?: boolean;
canImportThreadCredentials: boolean; canImportThreadCredentials?: boolean;
canTransferThreadCredentialsToKeychain: boolean; canTransferThreadCredentialsToKeychain?: boolean;
hasAssist: boolean; hasAssist?: boolean;
hasBarCodeScanner: number; hasBarCodeScanner?: number;
canSetupImprov: boolean; canSetupImprov?: boolean;
downloadFileSupported: boolean; downloadFileSupported?: boolean;
appVersion: string; appVersion?: string;
} }
export class ExternalMessaging { export class ExternalMessaging {