Skip to main content

CreateHubLibraryResourcePayload

The output of our create HubLibraryResource mutation.

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

Fields

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

CreateHubLibraryResourcePayload.hubLibraryResource ● HubLibraryResource object

The HubLibraryResource that was created by this mutation.

CreateHubLibraryResourcePayload.query ● Query object

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

CreateHubLibraryResourcePayload.hub ● Hub object

Reads a single Hub that is related to this HubLibraryResource.

CreateHubLibraryResourcePayload.libraryResource ● LibraryResource object

Reads a single LibraryResource that is related to this HubLibraryResource.

CreateHubLibraryResourcePayload.hubLibraryResourceEdge ● HubLibraryResourcesEdge object

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

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

The method to use when ordering HubLibraryResource.

Returned By

createHubLibraryResource mutation