import { publishRepository } from './publish' ; import { API as GitAPI , RemoteSourcePublisher , Repository } from './typings/git' ; export class GithubRemoteSourcePublisher implements RemoteSourcePublisher { readonly name = 'GitHub' ; readonly icon = 'github' ; constructor ( private gitAPI ) { } publishRepository ( repository ) { return publishRepository ( this . gitAPI , repository ) ; } }