@crowdin/app-project-module
Version:
Module that generates for you all common endpoints for serving standalone Crowdin App
8 lines (7 loc) • 394 B
TypeScript
/// <reference types="node" />
/// <reference types="node" />
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[]>;