moves types and interfaces to specific types file

Signed-off-by: Brian Fletcher <brian@roadie.io>
This commit is contained in:
Brian Fletcher
2021-12-20 11:05:58 +00:00
parent 7228b18c0f
commit 6984c4988a
5 changed files with 4 additions and 4 deletions
@@ -23,7 +23,7 @@ import {
GithubCredentials,
GithubCredentialsProvider,
GithubCredentialType,
} from './GithubCredentialsProvider';
} from './types';
type InstallationData = {
installationId: number;
+1 -1
View File
@@ -16,7 +16,7 @@
import { GitHubIntegrationConfig } from './config';
import { getGitHubFileFetchUrl, getGitHubRequestOptions } from './core';
import { GithubCredentials } from './GithubCredentialsProvider';
import { GithubCredentials } from './types';
describe('github core', () => {
const appCredentials: GithubCredentials = {
+1 -1
View File
@@ -16,7 +16,7 @@
import parseGitUrl from 'git-url-parse';
import { GitHubIntegrationConfig } from './config';
import { GithubCredentials } from './GithubCredentialsProvider';
import { GithubCredentials } from './types';
/**
* Given a URL pointing to a file on a provider, returns a URL that is suitable
+1 -1
View File
@@ -28,5 +28,5 @@ export type {
GithubCredentials,
GithubCredentialsProvider,
GithubCredentialType,
} from './GithubCredentialsProvider';
} from './types';
export { GitHubIntegration, replaceGitHubUrlType } from './GitHubIntegration';