UNPKG

terminus-sync-config

Version:

Sync configuration files to GitHub Gist or Gitee Gist

13 lines (12 loc) 511 B
import { GistFile } from "gist/Gist"; export declare function syncGist(type: 'Gitee' | 'GitHub' | 'GitLab', token: string, baseUrl: string, gistId: string, files: Array<GistFile>): Promise<string>; export declare function getGist(type: string, token: string, baseUrl: string, gistId: string): Promise<Map<string, GistFile>>; export declare class Connection { host: string; port?: number; user: string; auth?: { password: string; encryptType: 'NONE' | 'AES'; }; }