@agility/content-fetch
Version:
JS/TS library for the Agility Fetch API
15 lines (14 loc) • 881 B
TypeScript
import { Config } from "./types/Config";
interface LogProps {
config: Config;
message: string;
}
declare function logDebug({ config, message }: LogProps): void;
declare function logInfo({ config, message }: LogProps): void;
declare function logWarning({ config, message }: LogProps): void;
declare function logError({ config, message }: LogProps): void;
declare function buildRequestUrlPath(config: any, locale: any): string;
declare function buildPathUrl(contentType: any, referenceName: any, skip: any, take: any, sort: any, direction: any, filters: any, filtersLogicOperator: any, filterString: any, contentLinkDepth: any, expandAllContentLinks: any): string;
declare function buildAuthHeader(config: any): any;
declare function isHttps(url: any): boolean;
export { buildPathUrl, buildAuthHeader, buildRequestUrlPath, isHttps, logError, logDebug, logInfo, logWarning };