Skip to content

Commit 021dbdc

Browse files
Fixes provider typing in cloud workspace model
1 parent 7346bde commit 021dbdc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/plus/workspaces/models.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { Disposable } from '../../api/gitlens';
22
import type { Container } from '../../container';
33
import type { Repository } from '../../git/models/repository';
4-
import type { GkProviderId } from '../../gk/models/repositoryIdentities';
54

65
export type WorkspaceType = 'cloud' | 'local';
76
export type WorkspaceAutoAddSetting = 'disabled' | 'enabled' | 'prompt';
@@ -150,7 +149,7 @@ export interface CloudWorkspaceRepositoryDescriptor {
150149
name: string;
151150
description: string;
152151
repository_id: string;
153-
provider: GkProviderId | null;
152+
provider: CloudWorkspaceProviderType | null;
154153
provider_project_name: string | null;
155154
provider_organization_id: string;
156155
provider_organization_name: string | null;
@@ -318,7 +317,7 @@ export interface CloudWorkspaceRepositoryData {
318317
name: string;
319318
description: string;
320319
repository_id: string;
321-
provider: GkProviderId | null;
320+
provider: CloudWorkspaceProviderType | null;
322321
provider_project_name: string | null;
323322
provider_organization_id: string;
324323
provider_organization_name: string | null;

0 commit comments

Comments
 (0)