Files
Superalgos/client/src/GraphQL/Calls/clones.js
T
mati108@gmail.com f942581f58 Realease candidate update
- Rename to superalgos
- Improved version of listing bots
- History bots
- Create new bots
2019-01-24 10:05:31 -03:00

43 lines
773 B
JavaScript

import gql from 'graphql-tag';
import { clone } from '../Fragments';
const OPERATIONS_ADD_CLONE = gql`
mutation Operations_AddClone($clone: operations_CloneInput!) {
operations_AddClone(clone: $clone) {
...clone
}
}
${clone}
`;
const OPERATIONS_LIST_CLONES = gql`
query Operations_Clones{
operations_Clones {
...clone
}
}
${clone}
`;
const OPERATIONS_HISTORY_CLONES = gql`
query Operations_HistoryClones{
operations_HistoryClones {
...clone
}
}
${clone}
`;
const OPERATIONS_REMOVE_CLONE = gql`
mutation Operations_RemoveClone($id: ID!){
operations_RemoveClone( id: $id)
}
`;
export default {
OPERATIONS_LIST_CLONES,
OPERATIONS_HISTORY_CLONES,
OPERATIONS_ADD_CLONE,
OPERATIONS_REMOVE_CLONE
};