diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-12 22:02:11 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-02-12 22:02:11 +0100 |
commit | 0c17d248ee1536aa02ab5beb0c935607421a6b8d (patch) | |
tree | 523e39e06f5e52cf75f7518e37567f5acb20dfd2 /graphql/schema | |
parent | 929480fa0a7fa40ba14850aed17158a20cdf6391 (diff) | |
download | git-bug-0c17d248ee1536aa02ab5beb0c935607421a6b8d.tar.gz |
graphql: server side take responsability to commit
Diffstat (limited to 'graphql/schema')
-rw-r--r-- | graphql/schema/mutations.graphql | 32 | ||||
-rw-r--r-- | graphql/schema/root.graphql | 4 |
2 files changed, 0 insertions, 36 deletions
diff --git a/graphql/schema/mutations.graphql b/graphql/schema/mutations.graphql index 3eeeae6a..e6b70faf 100644 --- a/graphql/schema/mutations.graphql +++ b/graphql/schema/mutations.graphql @@ -136,35 +136,3 @@ type SetTitlePayload { """The resulting operation""" operation: SetTitleOperation! } - -input CommitInput { - """A unique identifier for the client performing the mutation.""" - clientMutationId: String - """"The name of the repository. If not set, the default repository is used.""" - repoRef: String - """The bug ID's prefix.""" - prefix: String! -} - -type CommitPayload { - """A unique identifier for the client performing the mutation.""" - clientMutationId: String - """The affected bug.""" - bug: Bug! -} - -input CommitAsNeededInput { - """A unique identifier for the client performing the mutation.""" - clientMutationId: String - """"The name of the repository. If not set, the default repository is used.""" - repoRef: String - """The bug ID's prefix.""" - prefix: String! -} - -type CommitAsNeededPayload { - """A unique identifier for the client performing the mutation.""" - clientMutationId: String - """The affected bug.""" - bug: Bug! -} diff --git a/graphql/schema/root.graphql b/graphql/schema/root.graphql index 317cf56a..94a0b530 100644 --- a/graphql/schema/root.graphql +++ b/graphql/schema/root.graphql @@ -16,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! } |