mobilizon/js/src/graphql/upload.ts
2019-05-31 18:07:37 +02:00

11 lines
287 B
TypeScript

import gql from 'graphql-tag';
export const UPLOAD_PICTURE = gql`
mutation UploadPicture($file: Upload!, $alt: String, $name: String!, $actorId: ID!){
uploadPicture(file: $file, alt: $alt, name: $name, actorId: $actorId) {
url,
id
}
}
`;