UNPKG

@ui5/task-adaptation

Version:

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

31 lines (30 loc) 1.09 kB
export default class MetadataJsonUtil { static mapAnnotationsPerTarget(json: any): Map<string, IJsonIndex>; static getVersion(json: any): any; static getAnnotations(json: any): any[]; static setAnnotations(json: any, annotations: any[]): void; static getSchemaNode(json: any): any; static getSchemaReference(json: any): MetadataInclude; static getEdmx(json: any): any; static getDataServices(json: any): any; static getReferences(json: any): MetadataReference[]; static toArrayReadOnly(json: any): any[]; static toArrayTransform(json: any, property: string): void; } export declare class MetadataReference { uri: string; includes: MetadataInclude[]; constructor(referenceJson: any); getAlias(namespace: string): string | undefined; } export declare class MetadataInclude { namespace: string; alias: string; constructor(alias: string, namespace: string); equals(other: MetadataInclude): boolean; static fromJson(json: any): MetadataInclude; } export interface IJsonIndex { json: any; index: number; }