@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
16 lines (15 loc) • 899 B
TypeScript
import { GuidValue, BundleTargetTypes } from "../../models";
export interface IFromServerInstallable {
install: () => Promise<void>;
}
export interface ExternallyLoadedGroupedManifest {
manifestId: GuidValue;
autoInstall: boolean;
}
export declare class ServerSideLoader {
private static serverLoaded;
static registerForLoading: (omniaServiceId: string, manifestId: string, groupedManifests: Array<ExternallyLoadedGroupedManifest>, type?: BundleTargetTypes) => void;
static groupLoadingRegistration: (omniaServiceId: string, groupableResourceManifestId: string, groupManifestId: string, registerFunc: () => void, webpackInitFunc: () => void) => void;
static isServerLoaded: (omniaServiceId: string, manifestId: string, type: BundleTargetTypes) => boolean;
static get: (omniaServiceId: string, manifestId: string, type: BundleTargetTypes) => IFromServerInstallable;
}