@crowdin/app-project-module
Version:
Module that generates for you all common endpoints for serving standalone Crowdin App
6 lines (5 loc) • 543 B
TypeScript
/// <reference types="qs" />
import { Response } from 'express';
import { CrowdinClientRequest } from '../../types';
import { AiRequestProcessorModule, AiStreamProcessorModule } from './types';
export default function handle(module: AiRequestProcessorModule | AiStreamProcessorModule, canHandleStream?: boolean): (req: CrowdinClientRequest | import("express").Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: Function) => void;