Package cleanup & transition to latest apollo.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import gql from "graphql-tag";
|
||||
import { gql } from "@apollo/client";
|
||||
|
||||
export const QUERY_ALL_ACTIVE_APPOINTMENTS = gql`
|
||||
query QUERY_ALL_ACTIVE_APPOINTMENTS(
|
||||
@@ -54,11 +54,8 @@ export const QUERY_ALL_ACTIVE_APPOINTMENTS = gql`
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
export const INSERT_APPOINTMENT_BLOCK = gql`
|
||||
mutation INSERT_APPOINTMENT_BLOCK(
|
||||
$app: [appointments_insert_input!]!
|
||||
) {
|
||||
mutation INSERT_APPOINTMENT_BLOCK($app: [appointments_insert_input!]!) {
|
||||
insert_appointments(objects: $app) {
|
||||
returning {
|
||||
id
|
||||
|
||||
Reference in New Issue
Block a user