@crowdin/app-project-module
Version:
Module that generates for you all common endpoints for serving standalone Crowdin App
21 lines (20 loc) • 414 B
TypeScript
export declare enum RequestMethods {
GET = "GET",
POST = "POST",
PUT = "PUT",
PATCH = "PATCH",
DELETE = "DELETE"
}
export interface ApiEndpoints {
key: string;
name: string;
url: string;
method: RequestMethods;
description?: string;
documentationUrl?: string;
}
export interface ApiModule {
default?: boolean;
endpoints?: ApiEndpoints[];
docFile?: string;
}