UNPKG

@crowdin/app-project-module

Version:

Module that generates for you all common endpoints for serving standalone Crowdin App

8 lines (7 loc) 389 B
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: Request | import("../types").CrowdinClientRequest, res: Response, next: Function) => void;