terminus-cloud-settings-sync
Version:
Cloud Services sync the Tabby config and connections across platform devices.
12 lines (11 loc) • 611 B
TypeScript
import { ConfigService, PlatformService } from 'terminus-core';
import Gist from '../gist';
import { ToastrService } from 'ngx-toastr';
import { GistParams } from '../../../interface';
declare class Github extends Gist {
constructor(id: string, accessToken: string);
testConnection: (platform: PlatformService) => Promise<any>;
sync: (config: ConfigService, platform: PlatformService, toast: ToastrService, params: GistParams, firstInit?: boolean) => Promise<any>;
syncLocalSettingsToCloud(platform: PlatformService, toast: ToastrService, gistFiles: any): Promise<any>;
}
export default Github;