@crowdin/app-project-module
Version:
Module that generates for you all common endpoints for serving standalone Crowdin App
6 lines (5 loc) • 332 B
TypeScript
import { ProcessFileString } from '../types';
export declare const MAX_BODY_SIZE: number;
export declare function storeFile(fileContent: Buffer, folder: string): Promise<string>;
export declare function getFileContent(url: string): Promise<Buffer>;
export declare function getFileStrings(url: string): Promise<ProcessFileString[]>;