UNPKG

@openinc/parse-server-opendash

Version:
22 lines (21 loc) 630 B
import { ImportOptions, ImportResult } from "../types"; import { _User, Tenant } from "../../../types"; /** * Main Documentation Importer class */ export declare class DocumentationImporter { private githubClient; constructor(token: string); /** * Import documentation from a GitHub repository */ importFromRepository(options: ImportOptions, user: _User | undefined, tenant: Tenant | undefined): Promise<ImportResult>; /** * Validate that a branch exists */ private validateBranch; /** * Get file content from GitHub */ getFileContent(path: string): Promise<any>; }