@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
43 lines (42 loc) • 1.29 kB
TypeScript
/**
* The Manifest service class.
* (Localized string cannot be used in this class due to initialization phase when the strings are not ready yet.)
*/
export declare class ManifestLoader {
private static readonly logSourceName;
private static gatewayUrl;
private static manifestFile;
private static deferred;
private static internalLoaded;
/**
* Manifest loading promise.
*/
get loaded(): Promise<void>;
/**
* Load the manifest.
*/
static loadManifest(): Promise<void>;
/**
* Load the manifest into the MsftSme.Environment.
*
* @param hostCoreManager the hostCoreManager object to load the manifest.
* @param manifest the self loading manifest.
* @return Promise<any> the promise object.
*/
private static load;
/**
* Merges the GatewayUrl manifest with the passed in shell manifest
* Merges modules only at this time with a preference for modules included in the shell
*/
private static mergeGatewayManifest;
/**
* retrieves all of the side loaded manifests.
*
* @return Observable<any[]> the manifests.
*/
private static fetchSideloadManifests;
/**
* Update the environment by the manifest.
*/
private static update;
}