Skip to content

Instantly share code, notes, and snippets.

@scottdixon
Created May 23, 2021 23:49
const STAGED_UPLOADS_CREATE = gql`
mutation stagedUploadsCreate($input: [StagedUploadInput!]!) {
stagedUploadsCreate(input: $input) {
stagedTargets {
resourceUrl
url
parameters {
name
value
}
}
userErrors {
field
message
}
}
}
`;
const COLLECTION_UPDATE = gql`
mutation collectionUpdate($input: CollectionInput!) {
collectionUpdate(input: $input) {
collection {
id
image {
originalSrc
}
}
userErrors {
field
message
}
}
}
`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment