12 lines
236 B
JavaScript
12 lines
236 B
JavaScript
import { gql } from "apollo-boost";
|
|
|
|
export const INSERT_ALLOCATION = gql`
|
|
mutation INSERT_ALLOCATION($alloc: [allocations_insert_input!]!) {
|
|
insert_allocations(objects: $alloc) {
|
|
returning {
|
|
id
|
|
}
|
|
}
|
|
}
|
|
`;
|