aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/schema/root.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/schema/root.graphql')
-rw-r--r--graphql/schema/root.graphql12
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!
}