Skip to main content

UpdateResourcePayload

The output of our update Resource mutation.

type UpdateResourcePayload {
clientMutationId: String
resource: Resource
query: Query
accord: Accord
ownerAccount: Account
ownerProfile: Profile
parentFolder: Resource
libraryResourceVersion: LibraryResourceVersion
resourceEdge(
orderBy: [ResourcesOrderBy!] = [PRIMARY_KEY_ASC]
): ResourcesEdge
}

Fields

UpdateResourcePayload.clientMutationId ● String scalar

The exact same clientMutationId that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations.

UpdateResourcePayload.resource ● Resource object

The Resource that was updated by this mutation.

UpdateResourcePayload.query ● Query object

Our root query field type. Allows us to run any query from our mutation payload.

UpdateResourcePayload.accord ● Accord object

Reads a single Accord that is related to this Resource.

UpdateResourcePayload.ownerAccount ● Account object

Reads a single Account that is related to this Resource.

UpdateResourcePayload.ownerProfile ● Profile object

Reads a single Profile that is related to this Resource.

UpdateResourcePayload.parentFolder ● Resource object

Reads a single Resource that is related to this Resource.

UpdateResourcePayload.libraryResourceVersion ● LibraryResourceVersion object

Reads a single LibraryResourceVersion that is related to this Resource.

UpdateResourcePayload.resourceEdge ● ResourcesEdge object

An edge for our Resource. May be used by Relay 1.

UpdateResourcePayload.resourceEdge.orderBy ● [ResourcesOrderBy!] list enum

The method to use when ordering Resource.

Returned By

updateResource mutation ● updateResourceByNodeId mutation