UNPKG

@sap/cf-tools

Version:
19 lines (18 loc) 1.29 kB
import { IServiceQuery, IServiceFilters } from "./types"; export declare function dataContentAsObject(filePath: string): Promise<any>; export declare function ensureQuery(query?: IServiceQuery): IServiceQuery; export declare function padQuery(query: IServiceQuery, otherFilters: IServiceFilters[]): IServiceQuery; export declare function getGuid(resource: any): string; export declare function getName(resource: any): string; export declare function getLabel(resource: any): string; export declare function getDescription(resource: any): string; export declare function getSpaceFieldGUID(spaceField: any): string; export declare function getOrgGUID(resource: any): string; export declare function getTags(resource: any): string[]; export declare function cfGetConfigFilePath(target?: string): string; export declare function isUpsType(resource: any): boolean; export declare function cfGetConfigFileJson(target?: string): Promise<unknown>; export declare function cfGetConfigFileField(field: string, target?: string): Promise<any>; export declare function getSpaceGuidThrowIfUndefined(): Promise<string>; export declare function padQuerySpace(query: IServiceQuery, otherFilters?: IServiceFilters[]): Promise<IServiceQuery>; export declare function parseRawDictData(data: string): unknown;