@crowdin/app-project-module
Version:
Module that generates for you all common endpoints for serving standalone Crowdin App
11 lines (10 loc) • 498 B
TypeScript
import { Request, Response, NextFunction } from 'express';
import { Config, UnauthorizedConfig } from '../types';
export declare function getAboutPageOptions(config: Config | UnauthorizedConfig): Promise<{
name: string;
logo: string;
manifest: string;
storeLink: string;
showDebugLink: boolean;
}>;
export default function handle(config: Config | UnauthorizedConfig): (req: Request, res: Response, next: NextFunction) => Promise<Response<any, Record<string, any>> | undefined>;