moves types and interfaces to specific types file
Signed-off-by: Brian Fletcher <brian@roadie.io>
This commit is contained in:
@@ -23,7 +23,7 @@ import {
|
||||
GithubCredentials,
|
||||
GithubCredentialsProvider,
|
||||
GithubCredentialType,
|
||||
} from './GithubCredentialsProvider';
|
||||
} from './types';
|
||||
|
||||
type InstallationData = {
|
||||
installationId: number;
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -28,5 +28,5 @@ export type {
|
||||
GithubCredentials,
|
||||
GithubCredentialsProvider,
|
||||
GithubCredentialType,
|
||||
} from './GithubCredentialsProvider';
|
||||
} from './types';
|
||||
export { GitHubIntegration, replaceGitHubUrlType } from './GitHubIntegration';
|
||||
|
||||
Reference in New Issue
Block a user