23 lines
806 B
TypeScript
23 lines
806 B
TypeScript
import { HttpServerHelper } from "../helpers/HttpServerHelper";
|
|
import { JsonUtil } from "../utils/JsonUtil";
|
|
import { VFS } from "../utils/VFS";
|
|
declare class BundleInfo {
|
|
modPath: string;
|
|
key: string;
|
|
path: string;
|
|
filepath: string;
|
|
dependencyKeys: string[];
|
|
constructor(modpath: string, bundle: any, bundlePath: string, bundleFilepath: string);
|
|
}
|
|
export declare class BundleLoader {
|
|
protected httpServerHelper: HttpServerHelper;
|
|
protected vfs: VFS;
|
|
protected jsonUtil: JsonUtil;
|
|
protected bundles: Record<string, BundleInfo>;
|
|
constructor(httpServerHelper: HttpServerHelper, vfs: VFS, jsonUtil: JsonUtil);
|
|
getBundles(local: boolean): BundleInfo[];
|
|
getBundle(key: string, local: boolean): BundleInfo;
|
|
addBundles(modpath: string): void;
|
|
}
|
|
export {};
|