Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Commit 2b52a66

Browse files
ofrobotsJustinBeckwith
authored andcommitted
1 parent c7a75eb commit 2b52a66

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

src/agent/config.ts

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ export interface AliasContext {
4646
}
4747

4848
export interface CloudRepoSourceContext {
49-
repoId: RepoId;
50-
revisionId: string;
51-
aliasName?: string;
52-
aliasContext: AliasContext;
49+
cloudRepo: {
50+
repoId: RepoId; revisionId: string;
51+
aliasName?: string; aliasContext: AliasContext;
52+
};
5353
}
5454

5555
export interface CloudWorkspaceId {
@@ -58,22 +58,21 @@ export interface CloudWorkspaceId {
5858
}
5959

6060
export interface CloudWorkspaceSourceContext {
61-
workspaceId: CloudWorkspaceId;
62-
snapshotId: string;
61+
cloudWorkspace: {workspaceId: CloudWorkspaceId; snapshotId: string;};
6362
}
6463

6564
export interface GerritSourceContext {
66-
hostUri: string;
67-
gerritProject: string;
68-
// one of:
69-
revisionId?: string;
70-
aliasName?: string;
71-
aliasContext?: AliasContext;
65+
gerrit: {
66+
hostUri: string; gerritProject: string;
67+
// one of:
68+
revisionId?: string;
69+
aliasName?: string;
70+
aliasContext?: AliasContext;
71+
};
7272
}
7373

7474
export interface GitSourceContext {
75-
url: string;
76-
revisionId: string;
75+
git: {url: string; revisionId: string;};
7776
}
7877

7978
export interface ResolvedDebugAgentConfig extends GoogleAuthOptions {

0 commit comments

Comments
 (0)