debianize-mobilizon/js/src/graphql/upload.ts
Thomas Citharel 4144e9ffd0
Introduce group basic federation, event new page and notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-03 16:01:26 +02:00

12 lines
313 B
TypeScript

import gql from "graphql-tag";
/* eslint-disable import/prefer-default-export */
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
}
}
`;