UNPKG

glabc

Version:

Node.js Client for the Codeberg API

67 lines 1.45 kB
/** * Forgejo API * This documentation describes the Forgejo API. * * The version of the OpenAPI document: 12.0.1-69-f75e427e+gitea-1.22.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from './configuration.js'; import type { AxiosInstance, RawAxiosRequestConfig } from 'axios'; export declare const BASE_PATH: string; /** * * @export */ export declare const COLLECTION_FORMATS: { csv: string; ssv: string; tsv: string; pipes: string; }; /** * * @export * @interface RequestArgs */ export interface RequestArgs { url: string; options: RawAxiosRequestConfig; } /** * * @export * @class BaseAPI */ export declare class BaseAPI { protected basePath: string; protected axios: AxiosInstance; protected configuration: Configuration | undefined; constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance); } /** * * @export * @class RequiredError * @extends {Error} */ export declare class RequiredError extends Error { field: string; constructor(field: string, msg?: string); } interface ServerMap { [key: string]: { url: string; description: string; }[]; } /** * * @export */ export declare const operationServerMap: ServerMap; export {}; //# sourceMappingURL=base.d.ts.map