mobilizon/js/src/graphql/upload.ts

11 lines
287 B
TypeScript
Raw Normal View History

import gql from 'graphql-tag';
export const UPLOAD_PICTURE = gql`
2019-05-31 17:58:03 +02:00
mutation UploadPicture($file: Upload!, $alt: String, $name: String!, $actorId: ID!){
uploadPicture(file: $file, alt: $alt, name: $name, actorId: $actorId) {
url,
id
}
}
`;