Skip to content

Commit

Permalink
Add mutations back; no idea why they weren't present before
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Sep 27, 2024
1 parent d88c879 commit 16d364c
Showing 1 changed file with 82 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4361,6 +4361,18 @@ type Mutation {
"""
input: NoArgsMutationInput!
): NoArgsMutationPayload
postMany(
"""
The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
"""
input: PostManyInput!
): PostManyPayload
postWithSuffix(
"""
The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
"""
input: PostWithSuffixInput!
): PostWithSuffixPayload @deprecated(reason: "This is deprecated (comment on function a.post_with_suffix).")
returnVoidMutation(
"""
The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
Expand Down Expand Up @@ -6269,6 +6281,41 @@ input PostCondition {
id: Int
}

"""An input for mutations affecting `Post`"""
input PostInput {
authorId: Int
body: String
comptypes: [ComptypeInput]
enums: [AnEnum]
headline: String!
id: Int
}

"""All input for the `postMany` mutation."""
input PostManyInput {
"""
An arbitrary string value with no semantic meaning. Will be included in the
payload verbatim. May be used to track mutations by the client.
"""
clientMutationId: String
posts: [PostInput]
}

"""The output of our `postMany` mutation."""
type PostManyPayload {
"""
The exact same `clientMutationId` that was provided in the mutation input,
unchanged and unused. May be used by a client to track mutations.
"""
clientMutationId: String
posts: [Post]

"""
Our root query field type. Allows us to run any query from our mutation payload.
"""
query: Query
}

"""Represents an update to a `Post`. Fields that are set will be updated."""
input PostPatch {
authorId: Int
Expand All @@ -6279,6 +6326,41 @@ input PostPatch {
id: Int
}

"""All input for the `postWithSuffix` mutation."""
input PostWithSuffixInput {
"""
An arbitrary string value with no semantic meaning. Will be included in the
payload verbatim. May be used to track mutations by the client.
"""
clientMutationId: String
post: PostInput
suffix: String
}

"""The output of our `postWithSuffix` mutation."""
type PostWithSuffixPayload {
"""
The exact same `clientMutationId` that was provided in the mutation input,
unchanged and unused. May be used by a client to track mutations.
"""
clientMutationId: String

"""Reads a single `Person` that is related to this `Post`."""
personByAuthorId: Person
post: Post

"""An edge for our `Post`. May be used by Relay 1."""
postEdge(
"""The method to use when ordering `Post`."""
orderBy: [PostsOrderBy!]! = [PRIMARY_KEY_ASC]
): PostsEdge

"""
Our root query field type. Allows us to run any query from our mutation payload.
"""
query: Query
}

"""A connection to a list of `Post` values."""
type PostsConnection {
"""
Expand Down

0 comments on commit 16d364c

Please sign in to comment.