4144e9ffd0
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
12 lines
313 B
TypeScript
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
|
|
}
|
|
}
|
|
`;
|