Browse Source

Fixes provider typing in cloud workspace model

main
Ramin Tadayon 1 year ago
parent
commit
021dbdc719
No known key found for this signature in database GPG Key ID: 79D60DDE3DFB95F5
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/plus/workspaces/models.ts

+ 2
- 3
src/plus/workspaces/models.ts View File

@ -1,7 +1,6 @@
import type { Disposable } from '../../api/gitlens';
import type { Container } from '../../container';
import type { Repository } from '../../git/models/repository';
import type { GkProviderId } from '../../gk/models/repositoryIdentities';
export type WorkspaceType = 'cloud' | 'local';
export type WorkspaceAutoAddSetting = 'disabled' | 'enabled' | 'prompt';
@ -150,7 +149,7 @@ export interface CloudWorkspaceRepositoryDescriptor {
name: string;
description: string;
repository_id: string;
provider: GkProviderId | null;
provider: CloudWorkspaceProviderType | null;
provider_project_name: string | null;
provider_organization_id: string;
provider_organization_name: string | null;
@ -318,7 +317,7 @@ export interface CloudWorkspaceRepositoryData {
name: string;
description: string;
repository_id: string;
provider: GkProviderId | null;
provider: CloudWorkspaceProviderType | null;
provider_project_name: string | null;
provider_organization_id: string;
provider_organization_name: string | null;

||||||
x
 
000:0
Loading…
Cancel
Save