aemfed
Version:
Upload front-end changes into AEM, refresh relevant resources in the page and get instant notifications from the error.log, all for easier and faster development.
20 lines (19 loc) • 910 B
TypeScript
import { IUpdateCheck } from "./update-check";
export interface IMapping {
jcrPath: number;
filePath: number;
line: number;
column: number;
}
export interface ISourceFileReference {
jcrPath?: string;
absoluteFilePath?: string;
relativeFilePath?: string;
line?: number;
column?: number;
}
export declare function getRef(message: string, pattern: RegExp, jcrContentRoots: string[], mapping?: IMapping): ISourceFileReference | undefined;
export declare function getLocalSourceLine({ absoluteFilePath, relativeFilePath, line, column }: ISourceFileReference): string | undefined;
export declare function formatMessage(ref: ISourceFileReference | undefined): string | undefined;
export declare function formatUpdateMessage(update?: IUpdateCheck): string | undefined;
export declare function setFilePath(ref: ISourceFileReference, jcrContentRoots: string[]): ISourceFileReference;