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