UNPKG

@ui5/task-adaptation

Version:

Custom task for ui5-builder which allows building UI5 Flexibility Adaptation Projects for SAP BTP, Cloud Foundry environment

14 lines (13 loc) 788 B
export default class ResourceUtil { static getRootFolder(projectNamespace?: string): string; static relativeToRoot(resourcePath: string, projectNamespace?: string): string; static getResourcePath(projectNamespace?: string, ...paths: string[]): string; static write(dir: string, files: Map<string, string>): Promise<void[]>; private static _read; static read(folder: string): Map<string, string>; static getString(resource: any): Promise<string>; static getJson(resource: any): Promise<any>; static setString(resource: any, str: string): void; static createResource(filename: string, projectNamespace: string, content: string): any; static toFileMap(resources: ReadonlyArray<Resource>, projectNamespace: string): Promise<Map<string, string>>; }