@lcap/nasl
Version:
NetEase Application Specific Language
28 lines • 1.05 kB
TypeScript
import { App, View, Frontend } from '../concepts';
import { RawOptions } from '.';
import type { BundleFileGeneratorConfig as Config } from './release-body/types';
export declare let entityList: string[];
export declare let officalEntityList37: string[];
export declare function checkOfficalPermissTemplate(app: any): boolean;
export interface Route {
path?: string;
component?: RawOptions;
children?: Array<Route>;
redirect?: string;
lazyPath?: string;
meta?: {
[key: string]: any;
};
}
export declare function stringifyMetaData(obj: any): string;
export declare function genBundleFiles(app: App, frontend: Frontend, config: Config): Promise<any[]>;
export declare function genFrontendBundleFiles(app: App, frontends: Array<Frontend>, config: Config): Promise<any[]>;
export declare function getOneFiles(options: {
app: App;
frontend: Frontend;
view: View;
action: 'current' | 'all';
cacheRouters: Route[];
config: Config;
}): Promise<any[]>;
//# sourceMappingURL=genBundleFiles.d.ts.map