Skip to main content

UpsertHubLibraryResourcePayload

The output of our upsert HubLibraryResource mutation.

type UpsertHubLibraryResourcePayload {
clientMutationId: String
hubLibraryResource: HubLibraryResource
query: Query
hub: Hub
libraryResource: LibraryResource
hubLibraryResourceEdge(
orderBy: [HubLibraryResourcesOrderBy!] = [PRIMARY_KEY_ASC]
): HubLibraryResourcesEdge
}

Fields

UpsertHubLibraryResourcePayload.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.

UpsertHubLibraryResourcePayload.hubLibraryResource ● HubLibraryResource object

The HubLibraryResource that was upserted by this mutation.

UpsertHubLibraryResourcePayload.query ● Query object

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

UpsertHubLibraryResourcePayload.hub ● Hub object

Reads a single Hub that is related to this HubLibraryResource.

UpsertHubLibraryResourcePayload.libraryResource ● LibraryResource object

Reads a single LibraryResource that is related to this HubLibraryResource.

UpsertHubLibraryResourcePayload.hubLibraryResourceEdge ● HubLibraryResourcesEdge object

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

UpsertHubLibraryResourcePayload.hubLibraryResourceEdge.orderBy ● [HubLibraryResourcesOrderBy!] list enum

The method to use when ordering HubLibraryResource.

Returned By

upsertHubLibraryResourceByHubIdAndLibraryResourceId mutation ● upsertHubLibraryResourceById mutation