Scheduling bug fixes. IO-153

This commit is contained in:
Patrick Fic
2021-02-01 11:04:33 -08:00
parent bf83ae5779
commit 5bbd56115e
4 changed files with 30 additions and 7 deletions

View File

@@ -54,6 +54,25 @@ export const QUERY_ALL_ACTIVE_APPOINTMENTS = gql`
}
`;
export const INSERT_APPOINTMENT_BLOCK = gql`
mutation INSERT_APPOINTMENT_BLOCK(
$app: [appointments_insert_input!]!
) {
insert_appointments(objects: $app) {
returning {
id
start
end
arrived
title
isintake
block
}
}
}
`;
export const INSERT_APPOINTMENT = gql`
mutation INSERT_APPOINTMENT(
$app: [appointments_insert_input!]!