Parcourir la source

Refines type only imports

main
Eric Amodio il y a 2 ans
Parent
révision
0c1f44d156
15 fichiers modifiés avec 21 ajouts et 21 suppressions
  1. +1
    -1
      src/git/models/author.ts
  2. +1
    -1
      src/git/models/blame.ts
  3. +2
    -2
      src/git/models/branch.ts
  4. +5
    -5
      src/git/models/commit.ts
  5. +1
    -1
      src/git/models/defaultBranch.ts
  6. +1
    -1
      src/git/models/file.ts
  7. +1
    -1
      src/git/models/issue.ts
  8. +1
    -1
      src/git/models/log.ts
  9. +1
    -1
      src/git/models/merge.ts
  10. +1
    -1
      src/git/models/pullRequest.ts
  11. +1
    -1
      src/git/models/rebase.ts
  12. +1
    -1
      src/git/models/shortlog.ts
  13. +1
    -1
      src/git/models/stash.ts
  14. +2
    -2
      src/git/models/status.ts
  15. +1
    -1
      src/git/models/tag.ts

+ 1
- 1
src/git/models/author.ts Voir le fichier

@ -1,4 +1,4 @@
import { RemoteProviderReference } from './remoteProvider';
import type { RemoteProviderReference } from './remoteProvider';
export interface Account {
provider: RemoteProviderReference;

+ 1
- 1
src/git/models/blame.ts Voir le fichier

@ -1,4 +1,4 @@
import { GitCommit, GitCommitLine } from './commit';
import type { GitCommit, GitCommitLine } from './commit';
export interface GitBlame {
readonly repoPath: string;

+ 2
- 2
src/git/models/branch.ts Voir le fichier

@ -6,9 +6,9 @@ import { debug } from '../../system/decorators/log';
import { memoize } from '../../system/decorators/memoize';
import { cancellable } from '../../system/promise';
import { sortCompare } from '../../system/string';
import { PullRequest, PullRequestState } from './pullRequest';
import type { PullRequest, PullRequestState } from './pullRequest';
import { GitBranchReference, GitReference, GitRevision } from './reference';
import { GitRemote } from './remote';
import type { GitRemote } from './remote';
import { GitStatus } from './status';
const whitespaceRegex = /\s/;

+ 5
- 5
src/git/models/commit.ts Voir le fichier

@ -8,14 +8,14 @@ import { gate } from '../../system/decorators/gate';
import { memoize } from '../../system/decorators/memoize';
import { cancellable } from '../../system/promise';
import { pad, pluralize } from '../../system/string';
import { PreviousLineComparisonUrisResult } from '../gitProvider';
import type { PreviousLineComparisonUrisResult } from '../gitProvider';
import { GitUri } from '../gitUri';
import { RichRemoteProvider } from '../remotes/provider';
import type { RichRemoteProvider } from '../remotes/provider';
import { GitFile, GitFileChange, GitFileWorkingTreeStatus } from './file';
import { PullRequest } from './pullRequest';
import type { PullRequest } from './pullRequest';
import { GitReference, GitRevision, GitRevisionReference, GitStashReference } from './reference';
import { GitRemote } from './remote';
import { Repository } from './repository';
import type { GitRemote } from './remote';
import type { Repository } from './repository';
const stashNumberRegex = /stash@{(\d+)}/;

+ 1
- 1
src/git/models/defaultBranch.ts Voir le fichier

@ -1,4 +1,4 @@
import { RemoteProviderReference } from './remoteProvider';
import type { RemoteProviderReference } from './remoteProvider';
export interface DefaultBranch {
provider: RemoteProviderReference;

+ 1
- 1
src/git/models/file.ts Voir le fichier

@ -5,7 +5,7 @@ import { memoize } from '../../system/decorators/memoize';
import { formatPath } from '../../system/formatPath';
import { relativeDir, splitPath } from '../../system/path';
import { pad, pluralize } from '../../system/string';
import { GitCommit } from './commit';
import type { GitCommit } from './commit';
export declare type GitFileStatus = GitFileConflictStatus | GitFileIndexStatus | GitFileWorkingTreeStatus;

+ 1
- 1
src/git/models/issue.ts Voir le fichier

@ -1,6 +1,6 @@
import { ColorThemeKind, ThemeColor, ThemeIcon, window } from 'vscode';
import { Colors } from '../../constants';
import { RemoteProviderReference } from './remoteProvider';
import type { RemoteProviderReference } from './remoteProvider';
export const enum IssueOrPullRequestType {
Issue = 'Issue',

+ 1
- 1
src/git/models/log.ts Voir le fichier

@ -1,5 +1,5 @@
import { Range } from 'vscode';
import { GitCommit } from './commit';
import type { GitCommit } from './commit';
export interface GitLog {
readonly repoPath: string;

+ 1
- 1
src/git/models/merge.ts Voir le fichier

@ -1,4 +1,4 @@
import { GitBranchReference, GitRevisionReference } from './reference';
import type { GitBranchReference, GitRevisionReference } from './reference';
export interface GitMergeStatus {
type: 'merge';

+ 1
- 1
src/git/models/pullRequest.ts Voir le fichier

@ -4,7 +4,7 @@ import { Colors } from '../../constants';
import { Container } from '../../container';
import { formatDate, fromNow } from '../../system/date';
import { memoize } from '../../system/decorators/memoize';
import { RemoteProviderReference } from './remoteProvider';
import type { RemoteProviderReference } from './remoteProvider';
export const enum PullRequestState {
Open = 'Open',

+ 1
- 1
src/git/models/rebase.ts Voir le fichier

@ -1,4 +1,4 @@
import { GitBranchReference, GitRevisionReference } from './reference';
import type { GitBranchReference, GitRevisionReference } from './reference';
export interface GitRebaseStatus {
type: 'rebase';

+ 1
- 1
src/git/models/shortlog.ts Voir le fichier

@ -1,4 +1,4 @@
import { GitContributor } from './contributor';
import type { GitContributor } from './contributor';
export interface GitShortLog {
readonly repoPath: string;

+ 1
- 1
src/git/models/stash.ts Voir le fichier

@ -1,4 +1,4 @@
import { GitStashCommit } from './commit';
import type { GitStashCommit } from './commit';
export interface GitStash {
readonly repoPath: string;

+ 2
- 2
src/git/models/status.ts Voir le fichier

@ -14,8 +14,8 @@ import {
GitFileWorkingTreeStatus,
} from './file';
import { GitRevision } from './reference';
import { GitRemote } from './remote';
import { GitUser } from './user';
import type { GitRemote } from './remote';
import type { GitUser } from './user';
export interface ComputedWorkingTreeGitStatus {
staged: number;

+ 1
- 1
src/git/models/tag.ts Voir le fichier

@ -3,7 +3,7 @@ import { Container } from '../../container';
import { formatDate, fromNow } from '../../system/date';
import { memoize } from '../../system/decorators/memoize';
import { sortCompare } from '../../system/string';
import { GitReference, GitTagReference } from './reference';
import type { GitReference, GitTagReference } from './reference';
export interface TagSortOptions {
current?: boolean;

||||||
x
 
000:0
Chargement…
Annuler
Enregistrer