Skip to content

Commit 21bda44

Browse files
author
Stephen Gutekanst
committed
npm run graphql
1 parent a6f341c commit 21bda44

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

src/typings/SourcegraphGQL.d.ts

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,25 @@ declare namespace SourcegraphGQL {
315315

316316
/**
317317
* When present, lists only the threads whose target is a repository with this ID.
318+
*
319+
* Only one of 'targetRepositoryID', 'targetRepositoryName', or 'targetRepositoryGitCloneURL' may be specified.
318320
*/
319321
targetRepositoryID?: string | null;
320322

323+
/**
324+
* When present, lists only the threads whose target is a repository with this name.
325+
*
326+
* Only one of 'targetRepositoryID', 'targetRepositoryName', or 'targetRepositoryGitCloneURL' may be specified.
327+
*/
328+
targetRepositoryName?: string | null;
329+
330+
/**
331+
* When present, lists only the threads whose target is a repository with this Git clone URL.
332+
*
333+
* Only one of 'targetRepositoryID', 'targetRepositoryName', or 'targetRepositoryGitCloneURL' may be specified.
334+
*/
335+
targetRepositoryGitCloneURL?: string | null;
336+
321337
/**
322338
* When present, lists only the threads whose target is a repository with this file path.
323339
*
@@ -6333,8 +6349,24 @@ declare namespace SourcegraphGQL {
63336349
interface IDiscussionThreadTargetRepoInput {
63346350
/**
63356351
* The repository in which the thread was created.
6352+
*
6353+
* One of 'repositoryID', 'repositoryGitCloneURL', or 'repositoryName' must be specified.
63366354
*/
6337-
repository: string;
6355+
repositoryID?: string | null;
6356+
6357+
/**
6358+
* The repository in which the thread was created.
6359+
*
6360+
* One of 'repositoryID', 'repositoryGitCloneURL', or 'repositoryName' must be specified.
6361+
*/
6362+
repositoryName?: string | null;
6363+
6364+
/**
6365+
* The repository in which the thread was created.
6366+
*
6367+
* One of 'repositoryID', 'repositoryGitCloneURL', or 'repositoryName' must be specified.
6368+
*/
6369+
repositoryGitCloneURL?: string | null;
63386370

63396371
/**
63406372
* The path (relative to the repository root) of the file or directory that

0 commit comments

Comments
 (0)