transaction.graphql

 1scalar TxId
 2
 3input StartTransactionInput {
 4    """A unique identifier for the client performing the mutation."""
 5    clientMutationId: String
 6    """"The name of the repository. If not set, the default repository is used."""
 7    repoRef: String
 8    """The bug ID's prefix."""
 9    prefix: String!
10}
11
12type StartTransactionPayload {
13    """A unique identifier for the client performing the mutation."""
14    clientMutationId: String
15    """The identifier of the transaction"""
16    id: TxId!
17}
18
19input CommitInput {
20    """A unique identifier for the client performing the mutation."""
21    clientMutationId: String
22    """The identifier of the transaction"""
23    id: TxId!
24}
25
26type CommitPayload {
27    """A unique identifier for the client performing the mutation."""
28    clientMutationId: String
29    """The identifier of the transaction"""
30    id: TxId!
31    """The affected bug."""
32    bug: Bug!
33}
34
35input RollbackInput {
36    """A unique identifier for the client performing the mutation."""
37    clientMutationId: String
38    """The identifier of the transaction"""
39    id: TxId!
40}
41
42type RollbackPayload {
43    """A unique identifier for the client performing the mutation."""
44    clientMutationId: String
45    """The identifier of the transaction"""
46    id: TxId!
47    """The affected bug."""
48    bug: Bug!
49}