Skip to content

Commit

Permalink
Renames integrationAuthentication -> integrationAuthenticationProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
axosoft-ramint committed Jan 23, 2025
1 parent 58991fd commit 9b8e414
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { wrapForForcedInsecureSSL } from '@env/fetch';
import type { IntegrationId } from '../../../../constants.integrations';
import type { Container } from '../../../../container';
import { sequentialize } from '../../../../system/function';
import type { IntegrationAuthenticationSessionDescriptor } from '../../../integrations/authentication/integrationAuthentication';
import type { IntegrationAuthenticationSessionDescriptor } from '../../../integrations/authentication/integrationAuthenticationProvider';
import type { ProviderAuthenticationSession } from '../../../integrations/authentication/models';

export const getBuiltInIntegrationSession = sequentialize(
Expand Down
4 changes: 2 additions & 2 deletions src/plus/integrations/authentication/azureDevOps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import type { Disposable, QuickInputButton } from 'vscode';
import { env, ThemeIcon, Uri, window } from 'vscode';
import { HostingIntegrationId } from '../../../constants.integrations';
import { base64 } from '../../../system/string';
import type { IntegrationAuthenticationSessionDescriptor } from './integrationAuthentication';
import { LocalIntegrationAuthenticationProvider } from './integrationAuthentication';
import type { IntegrationAuthenticationSessionDescriptor } from './integrationAuthenticationProvider';
import { LocalIntegrationAuthenticationProvider } from './integrationAuthenticationProvider';
import type { ProviderAuthenticationSession } from './models';

export class AzureDevOpsAuthenticationProvider extends LocalIntegrationAuthenticationProvider<HostingIntegrationId.AzureDevOps> {
Expand Down
4 changes: 2 additions & 2 deletions src/plus/integrations/authentication/bitbucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import type { Disposable, QuickInputButton } from 'vscode';
import { env, ThemeIcon, Uri, window } from 'vscode';
import { HostingIntegrationId } from '../../../constants.integrations';
import { base64 } from '../../../system/string';
import type { IntegrationAuthenticationSessionDescriptor } from './integrationAuthentication';
import { LocalIntegrationAuthenticationProvider } from './integrationAuthentication';
import type { IntegrationAuthenticationSessionDescriptor } from './integrationAuthenticationProvider';
import { LocalIntegrationAuthenticationProvider } from './integrationAuthenticationProvider';
import type { ProviderAuthenticationSession } from './models';

export class BitbucketAuthenticationProvider extends LocalIntegrationAuthenticationProvider<HostingIntegrationId.Bitbucket> {
Expand Down
4 changes: 2 additions & 2 deletions src/plus/integrations/authentication/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { wrapForForcedInsecureSSL } from '@env/fetch';
import { HostingIntegrationId, SelfHostedIntegrationId } from '../../../constants.integrations';
import type { Sources } from '../../../constants.telemetry';
import type { Container } from '../../../container';
import type { IntegrationAuthenticationSessionDescriptor } from './integrationAuthentication';
import type { IntegrationAuthenticationSessionDescriptor } from './integrationAuthenticationProvider';
import {
CloudIntegrationAuthenticationProvider,
LocalIntegrationAuthenticationProvider,
} from './integrationAuthentication';
} from './integrationAuthenticationProvider';
import type { IntegrationAuthenticationService } from './integrationAuthenticationService';
import type { ProviderAuthenticationSession } from './models';

Expand Down
4 changes: 2 additions & 2 deletions src/plus/integrations/authentication/gitlab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import type { Disposable, QuickInputButton } from 'vscode';
import { env, ThemeIcon, Uri, window } from 'vscode';
import { HostingIntegrationId, SelfHostedIntegrationId } from '../../../constants.integrations';
import type { Container } from '../../../container';
import type { IntegrationAuthenticationSessionDescriptor } from './integrationAuthentication';
import type { IntegrationAuthenticationSessionDescriptor } from './integrationAuthenticationProvider';
import {
CloudIntegrationAuthenticationProvider,
LocalIntegrationAuthenticationProvider,
} from './integrationAuthentication';
} from './integrationAuthenticationProvider';
import type { IntegrationAuthenticationService } from './integrationAuthenticationService';
import type { ProviderAuthenticationSession } from './models';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import type { Container } from '../../../container';
import { gate } from '../../../system/decorators/-webview/gate';
import { log } from '../../../system/decorators/log';
import { supportedIntegrationIds } from '../providers/models';
import type { IntegrationAuthenticationProvider } from './integrationAuthentication';
import { BuiltInAuthenticationProvider } from './integrationAuthentication';
import type { IntegrationAuthenticationProvider } from './integrationAuthenticationProvider';
import { BuiltInAuthenticationProvider } from './integrationAuthenticationProvider';
import type { ConfiguredIntegrationDescriptor } from './models';
import { isSupportedCloudIntegrationId } from './models';

Expand Down
2 changes: 1 addition & 1 deletion src/plus/integrations/authentication/jira.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { IssueIntegrationId } from '../../../constants.integrations';
import { CloudIntegrationAuthenticationProvider } from './integrationAuthentication';
import { CloudIntegrationAuthenticationProvider } from './integrationAuthenticationProvider';

export class JiraAuthenticationProvider extends CloudIntegrationAuthenticationProvider<IssueIntegrationId.Jira> {
protected override get authProviderId(): IssueIntegrationId.Jira {
Expand Down
2 changes: 1 addition & 1 deletion src/plus/integrations/integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { isSubscriptionStatePaidOrTrial } from '../gk/utils/subscription.utils';
import type {
IntegrationAuthenticationProviderDescriptor,
IntegrationAuthenticationSessionDescriptor,
} from './authentication/integrationAuthentication';
} from './authentication/integrationAuthenticationProvider';
import type { IntegrationAuthenticationService } from './authentication/integrationAuthenticationService';
import type { ProviderAuthenticationSession } from './authentication/models';
import type {
Expand Down
2 changes: 1 addition & 1 deletion src/plus/integrations/providers/azureDevOps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import type {
} from '../../../git/models/pullRequest';
import type { RepositoryMetadata } from '../../../git/models/repositoryMetadata';
import { Logger } from '../../../system/logger';
import type { IntegrationAuthenticationProviderDescriptor } from '../authentication/integrationAuthentication';
import type { IntegrationAuthenticationProviderDescriptor } from '../authentication/integrationAuthenticationProvider';
import type { ResourceDescriptor } from '../integration';
import { HostingIntegration } from '../integration';
import type { ProviderRepository } from './models';
Expand Down
2 changes: 1 addition & 1 deletion src/plus/integrations/providers/bitbucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import type {
SearchedPullRequest,
} from '../../../git/models/pullRequest';
import type { RepositoryMetadata } from '../../../git/models/repositoryMetadata';
import type { IntegrationAuthenticationProviderDescriptor } from '../authentication/integrationAuthentication';
import type { IntegrationAuthenticationProviderDescriptor } from '../authentication/integrationAuthenticationProvider';
import type { ResourceDescriptor } from '../integration';
import { HostingIntegration } from '../integration';
import { providersMetadata } from './models';
Expand Down
2 changes: 1 addition & 1 deletion src/plus/integrations/providers/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import type { RepositoryMetadata } from '../../../git/models/repositoryMetadata'
import type { PullRequestUrlIdentity } from '../../../git/utils/pullRequest.utils';
import { log } from '../../../system/decorators/log';
import { ensurePaidPlan } from '../../gk/utils/-webview/plus.utils';
import type { IntegrationAuthenticationProviderDescriptor } from '../authentication/integrationAuthentication';
import type { IntegrationAuthenticationProviderDescriptor } from '../authentication/integrationAuthenticationProvider';
import type { IntegrationAuthenticationService } from '../authentication/integrationAuthenticationService';
import type { RepositoryDescriptor, SupportedIntegrationIds } from '../integration';
import { HostingIntegration } from '../integration';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ import { GitDocumentState } from '../../../../trackers/trackedDocument';
import { getBuiltInIntegrationSession } from '../../../gk/utils/-webview/integrationAuthentication.utils';
import type { GitHubAuthorityMetadata, Metadata, RemoteHubApi } from '../../../remotehub';
import { getRemoteHubApi, HeadType, RepositoryRefType } from '../../../remotehub';
import type { IntegrationAuthenticationSessionDescriptor } from '../../authentication/integrationAuthentication';
import type { IntegrationAuthenticationSessionDescriptor } from '../../authentication/integrationAuthenticationProvider';
import type { GitHubApi } from './github';
import { fromCommitFileStatus } from './models';
import { BranchesGitSubProvider } from './sub-providers/branches';
Expand Down
2 changes: 1 addition & 1 deletion src/plus/integrations/providers/gitlab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import type { PullRequestUrlIdentity } from '../../../git/utils/pullRequest.util
import { log } from '../../../system/decorators/log';
import { uniqueBy } from '../../../system/iterable';
import { ensurePaidPlan } from '../../gk/utils/-webview/plus.utils';
import type { IntegrationAuthenticationProviderDescriptor } from '../authentication/integrationAuthentication';
import type { IntegrationAuthenticationProviderDescriptor } from '../authentication/integrationAuthenticationProvider';
import type { IntegrationAuthenticationService } from '../authentication/integrationAuthenticationService';
import type { RepositoryDescriptor } from '../integration';
import { HostingIntegration } from '../integration';
Expand Down
2 changes: 1 addition & 1 deletion src/plus/integrations/providers/jira.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { Issue, SearchedIssue } from '../../../git/models/issue';
import type { IssueOrPullRequest } from '../../../git/models/issueOrPullRequest';
import { filterMap, flatten } from '../../../system/iterable';
import { Logger } from '../../../system/logger';
import type { IntegrationAuthenticationProviderDescriptor } from '../authentication/integrationAuthentication';
import type { IntegrationAuthenticationProviderDescriptor } from '../authentication/integrationAuthenticationProvider';
import type { IssueResourceDescriptor } from '../integration';
import { IssueIntegration } from '../integration';
import { IssueFilter, providersMetadata, toAccount, toSearchedIssue } from './models';
Expand Down

0 comments on commit 9b8e414

Please sign in to comment.