@frontitude/cli
Version:
The Frontitude CLI enables product teams to integrate their code with Frontitude (frontitude.com), thus creating a single source of truth for their product copy, from design to development.
16 lines (15 loc) • 604 B
TypeScript
export declare const getDataAndFileCombinedResult: (filePath: string, data: {
[key: string]: any;
}) => Promise<any>;
export declare const updateFileWithData: (filePath: string, data: {
[key: string]: any;
}) => Promise<{
added: number;
edited: number;
}>;
export declare const getFileDiff: (oldFileContent: any, newFileContent: any) => {
added: number;
edited: number;
};
export declare const extendTextsPullOptions: (baseTextsPullOptions: TextsPullOptions) => TextsPullOptions;
export declare const getDryRunResult: (filePath: string, data: any) => Promise<any>;