///
import ArtifactsManager from './ArtifactsManager';
import { type Logger, type PackageArtifactsInfo } from './type';
export { ArtifactsManager };
interface EventArtifact {
artifactUrl: string;
belongsTo: string;
}
interface EventArtifactsInfo {
namespace: string;
artifacts: EventArtifact[];
}
export interface MobileDistGeneratorOptions {
namespace: string;
platformPkgDir: string;
eventsArtifactsDir: string;
componentsArtifactsDir: string;
materailComponentsArtifactsDirs: Array<{
sourceDir: string;
distInPlatformPkgDir: string;
}>;
artifactsInfo?: PackageArtifactsInfo;
cdnBaseUrl: string;
commonPkgZipBuffer?: Buffer;
logger?: Logger;
}
export default class MobileDistGenerator {
private options;
static fetchEvents(cdnBaseUrl: string, eventOptions?: {
output: string;
artifactsInfoList: EventArtifactsInfo[];
}): Promise;
constructor(options: MobileDistGeneratorOptions);
mergeAll(): Promise;
private unzipPkg;
private compileEvents;
private fetchArtifacts;
private mergeComponentsArtifacts;
private mergeMaterialComponentsArtifacts;
}