diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-13 00:05:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 00:05:04 +0100 |
commit | 0066f3d8c278558eeac70d3cd7ca21c360014346 (patch) | |
tree | ca40e95496b90837fb0e7a5ff4ac5b966ceba6ec /graphql/schema/root.graphql | |
parent | 269036bdf25af8fefbca24b7455c4e0b7d1d72b5 (diff) | |
parent | ab09c03a1e55d5c2e35f332f0e5f6335c1670427 (diff) | |
download | git-bug-0066f3d8c278558eeac70d3cd7ca21c360014346.tar.gz |
Merge pull request #323 from MichaelMure/webui/typescript
Webui/typescript
Diffstat (limited to 'graphql/schema/root.graphql')
-rw-r--r-- | graphql/schema/root.graphql | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/graphql/schema/root.graphql b/graphql/schema/root.graphql index 2a12cc37..94a0b530 100644 --- a/graphql/schema/root.graphql +++ b/graphql/schema/root.graphql @@ -1,10 +1,6 @@ type Query { - """The default unnamend repository.""" - defaultRepository: Repository - """Access a repository by reference/name.""" - repository(ref: String!): Repository - - #TODO: connection for all repositories + """Access a repository by reference/name. If no ref is given, the default repository is returned if any.""" + repository(ref: String): Repository } type Mutation { @@ -20,8 +16,4 @@ type Mutation { closeBug(input: CloseBugInput!): CloseBugPayload! """Change a bug's title""" setTitle(input: SetTitleInput!): SetTitlePayload! - """Commit write the pending operations into storage. This mutation fail if nothing is pending""" - commit(input: CommitInput!): CommitPayload! - """Commit write the pending operations into storage. This mutation succed if nothing is pending""" - commitAsNeeded(input: CommitAsNeededInput!): CommitAsNeededPayload! } |