@@ -8,7 +8,7 @@ import { IGetAppsFilter } from './IGetAppsFilter';
88import { AppAccessorManager , AppApiManager , AppExternalComponentManager , AppLicenseManager , AppListenerManager , AppSchedulerManager , AppSettingsManager , AppSlashCommandManager } from './managers' ;
99import { IMarketplaceInfo } from './marketplace' ;
1010import { ProxiedApp } from './ProxiedApp' ;
11- import { AppLogStorage , AppMetadataStorage } from './storage' ;
11+ import { AppLogStorage , AppMetadataStorage , IAppStorageItem } from './storage' ;
1212import { AppSourceStorage } from './storage/AppSourceStorage' ;
1313export interface IAppInstallParameters {
1414 enable : boolean ;
@@ -101,6 +101,16 @@ export declare class AppManager {
101101 update ( appPackage : Buffer , permissionsGranted : Array < IPermission > , updateOptions ?: {
102102 loadApp : boolean ;
103103 } ) : Promise < AppFabricationFulfillment > ;
104+ /**
105+ * Updates the local instance of an app.
106+ *
107+ * If the second parameter is a Buffer of an app package,
108+ * unpackage and instantiate the app's main class
109+ *
110+ * With an instance of a ProxiedApp, start it up and replace
111+ * the reference in the local app collection
112+ */
113+ updateLocal ( stored : IAppStorageItem , appPackageOrInstance : ProxiedApp | Buffer ) : Promise < void > ;
104114 getLanguageContent ( ) : {
105115 [ key : string ] : object ;
106116 } ;
@@ -117,6 +127,7 @@ export declare class AppManager {
117127 private runStartUpProcess ;
118128 private installApp ;
119129 private initializeApp ;
130+ private purgeAppConfig ;
120131 /**
121132 * Determines if the App's required settings are set or not.
122133 * Should a packageValue be provided and not empty, then it's considered set.
0 commit comments